Repository navigation
Description
F03 — citation and occurrence resolution conformance fixtures
Tier/status: recommended; independently ready after design merge; live adapter conditional. Parent #6020, programme #6018; design on main. Evidence: baseline V1-D04/D05, lineage analysis, architecture.
Scope and distinction
Build an offline, test-only conformance corpus plus reference resolver. Each synthetic record has a content ID, distinct occurrence ID, version, source coordinates, retained bytes/hash, coverage flag and rights; a request includes caller and current authorization. Output is an authorized source/version citation with an exact byte range or a properly scoped unavailable/not-found response. Completeness is only within the enumerated ingested, retained, permitted snapshot. Never reveal forbidden occurrence counts or paths.
This does not implement #3125's occurrence registry, backfill, CAS, storage, MCP tools or live resolution; #6035 owns span design and #6062 owns graph publication. #6266 is an independently scoped product. This fixture is an adapter-conformance oracle, not a new response wire protocol or production schema.
Failing-first steps and oracle
- Hand-author expected results for same bytes at multiple locations/rights, pinned historical version, source rename, missing coverage, deleted bytes and changed permissions. Begin with deliberately incorrect aliasing and stale-replay implementations and assert conformance rejects them.
- Implement a simple independent reference projection over explicit fixture records. Model/property tests generate occurrences and ensure each successful citation resolves to the exact retained bytes at its specified version/range; byte-identical IDs cannot merge occurrence authority. Current revocation makes old citations unavailable; a hidden insertion never changes visible counts or metadata.
- Supply a test-local adapter interface and a small deliberately correct fake; compare fake and hand-authored expected results. Avoid importing F02's test helper so either slice can ship separately. F02 checks whole-pipeline noninterference; this issue checks occurrence identity and citation fidelity.
Hard prerequisites: merged design and test-local fixture only. Soft ordering: #3125, #6035, #6062 and #6054 deletion design; real adapter needs registry and current authorization/deletion behavior, and is explicitly out of scope.
Candidate seam: verified pkgs/atlas-search/crates/atlas-core/src/types.rs and existing tests/; add isolated pkgs/atlas-search/crates/atlas-core/tests/citation_conformance.rs without modifying production types. Proposed future command: cargo test --manifest-path pkgs/atlas-search/Cargo.toml -p atlas-core --test citation_conformance. No live corpus, credentials, network, or external cost.
Risks: a hash verifies bytes, not source truth; unavailable content cannot be regenerated as historical evidence. A test fake is not evidence the registry or resolver is deployed.
Design merge gate
The reviewed design is in PR #8519. This tracker is filed now to preserve the independently buildable slice while the design PR waits on the unrelated basic-tier baseline defect #8306. Do not start implementation until #8519 is merged. The main-branch source links become available at that merge; this issue does not authorize production integration.
Activity
developing-today commentedon Nov 11, 2026
CODE-2544
dezren39 commentedon Nov 11, 2026
Filing / queue disposition — worker
repo-worker-codeDeliberately not queued in this pass. The commissioning constraint requires
--worker repo-worker-codeon every queue operation, but installed enqueue rejects that flag before writing. Omitting it is not authorized. This comment records the reason under the repository filing rule; it does not claim live queue coverage. #8519 must also merge before implementation starts (unrelated baseline blocker #8306).Complete triage packet for an authorized compatible enqueue surface / standing coverage reconciliation:
{ "title": "Triage #8526: Atlas F03 citation and occurrence conformance fixtures", "body": "Filed by task 14861 design mill; reviewed fixture-only slice. Preserve design merge gate #8519.", "queue": "repo-health-code-pilot", "priority": 30, "dedupe_key": "repo-health:v1:triage:developing-today/code:issue:8526", "payload": { "schema": "repo-task/v1", "kind": "triage", "repo": "developing-today/code", "queue": "repo-health-code-pilot", "issue": { "number": 8526, "url": "https://github.com/developing-today/code/issues/8526", "title": "test(atlas): citation and occurrence conformance fixtures (#6020 F03)", "state_checked_at": "2026-11-11T04:20:59.983654+00:00" }, "problem": "Disposition Atlas F03 independently buildable test-local follow-on; no production integration is authorized.", "evidence": [ "https://github.com/developing-today/code/issues/8526", "https://github.com/developing-today/code/pull/8519", "Committed follow-ons/F03.md specifies scope, independent oracle, negative controls and future test command." ], "acceptance": [ "Verify #8519 merged before marking implementation ready.", "Freshly dedupe, preserve fixture-only scope and route bounded implementation with PBT/MBT and decidable oracle." ], "tests": [ "Record triage verdict on issue; proposed test command is future, not already run." ], "scope": { "include": [ "Triage #8526; isolated synthetic fixtures/reference models only" ], "exclude": [ "Production API/schema, deployed authorization certification, live corpus, provider charges, automated movement/deletion" ] }, "risk": { "level": "low", "flags": [] }, "priority_reason": "Normal Atlas design follow-on; finite offline fixture/model work.", "timebox_minutes": 45, "max_attempts": 6, "context_refs": [ "https://github.com/developing-today/code/issues/8526", "https://github.com/developing-today/code/issues/6020", "https://github.com/developing-today/code/pull/8519" ], "dedupe": { "checked_at": "2026-11-11T04:20:59.983654+00:00", "basis": "248-issue Atlas survey, seven targeted issue searches and five all-state title PR searches; no duplicate fixture-only owner found. Search-bounded; recheck at triage." } } }dezren39 commentedon Nov 17, 2026
agent-note:v1
state: triaged
task: 18682 (queue repo-health-code-pilot, worker repo-worker-code, lane code-d)
Triage verdict for issue #8526: TRIAGED — independently ready; design on main, parent closed, no fixture exists. Verified fresh this shift (2026-11-17).
dezren39 commentedon Nov 17, 2026
agent-note:v1 correction (task 18682, lane code-d): the follow-on packet enqueued for issue #8526 is task 20162, not 20159 as the triage note above states. Everything else in that note stands.
dezren39 commentedon Nov 17, 2026
Task 20162: design gate verified merged — implementation parked for a full-budget claim
Fresh check 2026-11-17: the issue's hard gate — "Do not start implementation until #8519 is merged" — is satisfied: PR #8519 (docs(atlas): evidence-gated v2-v4 corpus arc, #6020) MERGED 2026-11-11T10:39:29Z, and the design is on main at
doc/2026-11-11T03-45-00Z_design_atlas_v2_v4/. No other prerequisite is outstanding (the remaining orderings — #3125, #6035, #6062, #6054 — are soft, and the real adapter is explicitly out of scope).I claimed this late in a shift with minutes left, so rather than half-build it, task 20162 is parked with the resume shape from the issue itself:
pkgs/atlas-search/crates/atlas-core/tests/citation_conformance.rs; do not modify production types (crates/atlas-core/src/types.rsis the verified reference point). Avoid importing F02's test helper — the slices ship separately.cargo test --manifest-path pkgs/atlas-search/Cargo.toml -p atlas-core --test citation_conformance. Offline only — no live corpus, credentials, or network.dezren39 commentedon Nov 17, 2026
agent-note:v1
state: in-progress
task: 20162 (queue repo-health-code-pilot, worker repo-worker-code, lane any-c)
Picked up task 20162 for issue #8526: F03 citation/occurrence conformance fixtures + reference resolver (test-only). Design gate PR #8519 was verified MERGED 2026-11-11 in the prior park note; re-verifying fresh this shift before implementing. Plan: isolated tests/citation_conformance.rs in atlas-core, failing-first hand-authored expectations, independent reference resolver, aliasing + stale-replay negative controls, cargo test on the laptop.
test(atlas): fix prop_assert format-string clash in F03 conformance t…
Merge pull request #11264 from developing-today/queue/20162-8526-cita…
dezren39 commentedon Nov 17, 2026
agent-note:v1
state: done
task: 20162 (queue repo-health-code-pilot, worker repo-worker-code, lane any-c)
Done: F03 citation/occurrence conformance fixtures + reference resolver landed as test-only pkgs/atlas-search/crates/atlas-core/tests/citation_conformance.rs via PR #11264, MERGED 2026-11-17T11:39:04Z (merge commit 557dd4f); this issue auto-closed on merge. The hand-authored corpus covers the six named cases (same bytes at multiple locations/rights, pinned historical version, source rename, missing coverage, deleted bytes, changed permissions) plus the unknown-id baseline; the aliasing and stale-replay negative controls are asserted rejected; 4 proptest properties cover exact retained bytes, no occurrence-authority merging, revocation, and hidden-insertion invisibility. Targeted test run on the laptop through the fleet build lock: cargo test -p atlas-core --test citation_conformance — 9 passed, 0 failed. Codex gate: the only Codex comment on PR #11264 is a usage-limit notice; no findings were produced to disposition.