Repository navigation
docs(lexicon-authoring): name the deep-observe seam's conformance evidence (#1202) - #1334
Merged
Merged
Conversation
…dence (#1202) #1202 asked for the property-level drift seam to be defined, then verified, then documented where a lexicon author would look. The first two were already true and the third was most of the way there — `lexicon-authoring/observation.mdx` already walks the reader, both hooks, the noise problem and the accepted baseline. What it did not do is the acceptance criterion's other half: name the existing implementations as the seam's conformance evidence. Five lexicons implement it — aws, azure, gcp, k8s, temporal — each with a `src/deep-observe.ts` plus `deepNormalizationHooks`, both wired through its `plugin.ts`. Verified by reading the tree, not by trusting the issue's count. That matters because of what it demonstrates: five readers over five genuinely different transports (a CloudFormation describe, an ARM GET, a Config Connector `kubectl get`, a typed Kubernetes client, a Temporal client) against one unchanged interface, with no per-lexicon branch anywhere in `lifecycle/deep-diff.ts` or `deep-observation.ts` — grepped for, and there is none. That is the claim #1202 was making about the three D slots being parallel implementations rather than three bespoke ones, and it is the evidence for it. The coverage matrix gains an `observeResourcesDeep()` column, which it lacked entirely — a lexicon author reading it could see who implements the thin contract and the artifact contract, but had no way to tell who implements the deep one short of grepping. Refs #1202 Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FBkcXzqjyY1YKWdaDFuqKs
6 tasks
4 of 11 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #1202 — the documentation task, the last open child of #1197.
#1202 asked for the property-level drift seam to be defined, then verified, then documented where a lexicon author would look. The first two were already true; the third was most of the way there.
What I verified rather than assumed
Contract sufficiency. No per-lexicon branch anywhere in
lifecycle/deep-diff.ts,lifecycle/deep-observe.tsordeep-observation.ts— grepped for"aws"/"gcp"/"azure"/"k8s"/"temporal"/lexicon ===, and there is nothing. D·gcp and D·azure need no escape hatch because none exists to need.The five implementations. Read the tree rather than trusting the issue's count — aws, azure, gcp, k8s, temporal each ship
src/deep-observe.tsanddeepNormalizationHooks, and wire both throughplugin.ts. All three, all five. No other lexicon has any part of it.What the doc was missing
observation.mdxalready walks the reader, both hooks, the noise problem and the accepted baseline. It did not name the implementations as conformance evidence — the acceptance criterion's other half — and its coverage matrix had noobserveResourcesDeep()column at all, so an author could see who implements the thin and artifact contracts but had to grep to learn who implements the deep one.Both fixed. The evidence is worth stating plainly: five readers over five genuinely different transports (a CloudFormation describe, an ARM GET, a Config Connector
kubectl get, a typed Kubernetes client, a Temporal client) against one unchanged interface, with no core branch. That is the claim #1202 was making about the D slots being parallel implementations rather than three bespoke ones.Triage of the two open defects
Posted on #1202 separately, and summarised here since it decides whether that issue can close:
PropertyDriftwith an optional owners annotation on the v1 envelope. Only SSA carries field managers at all; neither Config Connector conditions nor ARMprovisioningStatehave the concept, so D·gcp and D·azure are unaffected either way.undeclareddrift kind already exists in the wire; what suppresses the field is the k8s lexicon's ownprunehook removing foreign-owned additions before the diff runs. Where that line sits is a per-lexicon policy call, so it belongs to the k8s runtime work, not the interface.Neither blocks #1202.
🤖 Generated with Claude Code
https://claude.ai/code/session_01FBkcXzqjyY1YKWdaDFuqKs