Skip to content

docs(lexicon-authoring): name the deep-observe seam's conformance evidence (#1202) - #1334

Merged
lex00 merged 1 commit into
mainfrom
docs/1202-deep-seam-conformance
Aug 2, 2026
Merged

lex00 merged 1 commit into
mainfrom
docs/1202-deep-seam-conformance

Conversation

@lex00

@lex00 lex00 commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

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.ts or deep-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.ts and deepNormalizationHooks, and wire both through plugin.ts. All three, all five. No other lexicon has any part of it.

What the doc was missing

observation.mdx already 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 no observeResourcesDeep() 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:

Neither blocks #1202.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FBkcXzqjyY1YKWdaDFuqKs

…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
@lex00
lex00 merged commit 81b281d into main Aug 2, 2026
6 checks passed
@lex00
lex00 deleted the docs/1202-deep-seam-conformance branch August 2, 2026 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant