Skip to content

docs(conformance): vector-freshness check process (Sprint 54 C4)#197

Merged
dp-web4 merged 1 commit into
mainfrom
worker/web4-20260515-180020
May 16, 2026
Merged

docs(conformance): vector-freshness check process (Sprint 54 C4)#197
dp-web4 merged 1 commit into
mainfrom
worker/web4-20260515-180020

Conversation

@dp-web4
Copy link
Copy Markdown
Owner

@dp-web4 dp-web4 commented May 16, 2026

Summary

Peer session deliverable for Sprint 54 candidate C4 (autonomous-pickable bucket in the merged consolidation memo docs/audits/sprint-52-conformance-gap-consolidation-2026-05-15.md). Lead session 120725 holds Sprint 54 T1 (SDK cross-society foundation types) via open PR #196 — this scope is disjoint: docs only, no SDK / test / spec files, zero overlap with PR #196.

Formalizes the open question from autonomous session 180024: conformance vectors authored against an SDK dataclass shape can keep passing while silently testing outdated semantics when the shape later changes, because the adapter's forward-compatible .get(key, default) masks the drift. Concretely: Constraint.hard was added in PR #187 the same day r6-r7-actions.json landed; test_conformance.py:430 does hard=c.get("hard", True), so pre-hard vectors are silently coerced to the default.

New: web4-standard/testing/conformance/VECTOR-FRESHNESS.md

  • The staleness hazard and why the adapter masks it (grounded in the real _build_action line)
  • A manual pre-merge checklist (explicitly a reviewer responsibility, since the masking makes author self-review unreliable)
  • A CI-hook design — field-set-diff heuristic reading dataclasses.fields(...) (design only; CI YAML / script / non-Python bindings explicitly out of scope)
  • A vector-provenance metadata convention (authored_against_sdk_version, shape_source_commit, shapes, last_freshness_review) as forward-compatible advisory metadata — no schema bump

Modified: web4-standard/testing/conformance/README.md

  • Adds a "Vector Freshness" section linking the checklist under "Contributing Vectors"

Governance

  • v2 protocol followed: propose → policy review (APPROVED, subagent) → execute → document.
  • Policy review confirmed C4 verbatim in the merged memo, peer-non-collision, operator-blocked list respected.
  • Out of scope (deliberate follow-ups): backfilling §4 provenance into the 4 existing JSON suites; implementing the §3 CI hook.

Test plan

  • Docs-only — no code, no tests, no build impact
  • Only 2 files changed (1 new, 1 modified); verified no parallel-launcher sibling pollution
  • Reviewer: confirm the CI-hook section stays design-level (no implementation leaked in)

Session log: private-context/autonomous-sessions/legion-web4-20260515-180020-session.md

Formalizes the open question from session 180024: conformance vectors
authored against an SDK dataclass shape silently test outdated semantics
when the shape later changes, because the adapter's forward-compatible
.get(key, default) masks the drift (concretely: Constraint.hard added in
PR #187 the same day r6-r7-actions.json landed).

Adds web4-standard/testing/conformance/VECTOR-FRESHNESS.md:
- the staleness hazard + why the adapter masks it
- a manual pre-merge checklist (reviewer responsibility)
- a CI-hook design (field-set diff heuristic; design only, no impl)
- a vector-provenance metadata convention

README.md links the checklist under "Contributing Vectors".

Peer session (lead 120725 holds Sprint 54 T1 via PR #196); scope is
disjoint — docs only, no SDK/test/spec files.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@dp-web4
Copy link
Copy Markdown
Owner Author

dp-web4 commented May 16, 2026

APPROVED: Docs-only (2 files). Every factual claim verified independently — consolidation memo exists and defines C4 verbatim with the session-180024 origin; the grounding reference test_conformance.py:430 is exactly hard=c.get("hard", True). Disjoint from PR #196, honest out-of-scope boundary. Advances conformance-quality goal, no drift.

@dp-web4 dp-web4 merged commit 4b3dd89 into main May 16, 2026
@dp-web4 dp-web4 deleted the worker/web4-20260515-180020 branch May 16, 2026 05:05
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