GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — design(atlas+pm): Metadata schema v1 + evolution doctrine — additive-only, extras, strict enums, breaking-change parking lot · Issue #9095 · developing-today/code

design(atlas+pm): Metadata schema v1 + evolution doctrine — additive-only, extras, strict enums, breaking-change parking lot #9095

New issue
Copy link
New issue
Copy link
Todo
Todo
design(atlas+pm): Metadata schema v1 + evolution doctrine — additive-only, extras, strict enums, breaking-change parking lot#9095
Copy link
Labels
effort/lLarge: multi-day or open-ended; expect staged check-insepic/atlas-programReprioritization program epic (2026-11-12)kind/designA design proposal (design-architect): multi-step, phased, decision-bearingpriority/normalOrdinary priority (the default)queue/needs-reviewQueue task finished and is awaiting reviewstatus/needs-reviewReady for reviewstatus:in-reviewtask/small-fixQueue packet kind: bounded fix with reproduction and targeted testswork/assignedQueue worker lifecycle state

Description

@dezren39
dezren39
opened on Nov 12, 2026
Issue body actions

Workstream C — Metadata schema v1 + evolution doctrine (Atlas corpus AND issue/PR Metadata)

Parent program: #8983 · Proto design §C (the doctrine's canonical text lives there) · Shared with the PM program: #9060 design §12, slices #9073 (fleet Metadata superset) and #9074 (metadata DB + query) — amendments recording this doctrine are filed against both.

Why

Every Atlas item and every issue/PR carries Metadata. Classifications layered on later — by agents who will NOT hold permission to rewrite the schema — only work if the schema evolves without breaking old data. Drew's doctrine (2026-11-12): old metadata is as valid as new metadata; older embeds must run under a newer system; no dual-schema support burden.

The doctrine (to be specified in full; proto design §C is the draft)

  1. Version always carried. Every Metadata object — corpus item, embed, issue, PR — includes its schema version (pm_meta for issue/PR Metadata per pm stack: multi-board hierarchy + full task genealogy #9060 §12; the Atlas metadata schema carries its own version field). Writers write the current version; readers accept every prior version indefinitely.
  2. Additive-only by default. A version bump may add fields and add enum values (where the enum allows). It may never remove a field and never make an optional field required.
  3. Breaking changes are parked, then batched. Required-ification and deprecations go to a single breaking-changes parking lot (a named doc/issue location). When the parked set justifies it, the set is applied as one version event, followed by a reclassify-everything pass over the corpus/items. Prudent, rare, no churn.
  4. Extras policy. The schema accepts unlisted data: unlisted keys live in an extras dictionary attribute on the object (the design evaluates root-level extras as an alternative and records why the chosen shape wins). Type-directed handling: a value whose type mismatches the declared field type is treated as an extra (relocated to extras), never an error. Coercion rules: values that losslessly convert may coerce (int-array into a string-array field is allowed; the reverse only when each value actually converts). Non-converting values relocate to extras unchanged.
  5. Strict core enums. kind, area, group, sensitivity (at minimum) are documented strict value sets in the schema. Each enum declares whether it is closed (no extra values) or open (extra values accepted and preserved). Invalid value in a safety enum defaults to the most locked-down value — e.g. a typo'd sensitivity becomes the schema's most restrictive value, never the most permissive.
  6. Optional means optional forever. Optional attributes are knowingly hard to filter/sort on; that is accepted (workstream A/G index what's extracted, the rest rides along). Optionality + versioning is the backwards-compatibility mechanism; classifying agents may add extras and classifications within the current version without schema changes.

Scope

  • The Atlas corpus metadata schema v1 (per-item + per-embed: identity, content hash, source, chunking, embedder identity + model revision, classifications per workstream D, provenance, extras) — aligned with the staging schema atlas_stage_v1 and manifest practice where they exist.
  • The issue/PR Metadata alignment: pm stack: multi-board hierarchy + full task genealogy #9060 §12's block gains the version doctrine (its pm_meta: 1 becomes a governed version, with the same additive/parking-lot rules); impl(fleet): fleet gh Metadata superset — create-path stamping + DB insert (extends #9016) #9073's required-field injection and impl(fleet): metadata database + fleet Metadata query surface #9074's extraction must implement "readers accept all versions".
  • The parking lot itself: location, entry format, and the version-event + reclassify procedure.

Acceptance

  • Schema v1 document(s) merged under doc/ for Atlas metadata; the doctrine text merged once, canonically, and referenced (not copied) by the PM-side amendment.
  • Amendments/comments landed on impl(fleet): fleet gh Metadata superset — create-path stamping + DB insert (extends #9016) #9073 and impl(fleet): metadata database + fleet Metadata query surface #9074 binding them to the doctrine; pm stack: multi-board hierarchy + full task genealogy #9060 design cross-linked.
  • Parking lot created with the entry format and the version-event procedure; seeded with any already-known candidate breaking changes (or explicitly empty).
  • A conformance fixture set: metadata at every historical version parses and is usable by the current reader (extends test(atlas): synthetic missing-versus-buried diagnostic fixture (#6020 F01) #8525–test(atlas): cost-aware placement dry-run simulator (#6020 F04) #8528 fixture family practice).

Activity

Next
  1. dezren39
    added
    kind/designA design proposal (design-architect): multi-step, phased, decision-bearing
    epic/atlas-programReprioritization program epic (2026-11-12)
    on Nov 12, 2026
  2. developing-today commented on Nov 12, 2026

    @developing-today
    developing-todayBot
    on Nov 12, 2026 – with developing.today
    Contributor
    More actions

    CODE-2798

  3. dezren39
    added a parent issue on Nov 12, 2026
    • epic: Atlas program — unified search and memory index over every corpus #8983
  4. dezren39 commented on Nov 12, 2026

    @dezren39
    dezren39
    on Nov 12, 2026
    MemberAuthor
    More actions

    Seeded: breaking-changes parking lot

    Per workstream C's doctrine, candidate breaking changes to the Metadata schemas (Atlas corpus metadata and issue/PR Metadata) are parked here as comment entries until the set justifies a single version event + reclassify-everything pass.

    Entry format: field(s) affected · proposed change (required-ify / deprecate / rename) · reason · what breaks for old-version readers · reclassification cost estimate.

    Current parked set: EMPTY (recorded explicitly at doctrine creation, 2026-11-12 — no candidate breaking changes are known today; the schemas start additive-only from v1).

  5. github-actions
    assigned
    dezren39
    on Nov 13, 2026
  6. dezren39 commented on Nov 13, 2026

    @dezren39
    dezren39
    on Nov 13, 2026
    MemberAuthor
    More actions

    Amendment — Drew's directive, 2026-11-13 11:43 CST (Reports chat; verbatim staged at workspace/reporting-architecture-intake-20261113/sources/directive-2026-11-13-pages-comments-templates-graph.md). Amendment to the schema doctrine; no new issue filed. The sweep workflow side is on #9096.

    Classification operations the doctrine must accommodate:

    1. Reclassification on schema bumps is a section-by-section review, not a blind re-run. When a new schema version loads, a fast, inexpensive model reviews any schema changes since the last loaded version section by section and reclassifies with the latest schema version, including all data from the previous version plus any new data. Doctrine consequence: a version bump triggers a bounded reclassification pass over affected sections — record in the doctrine how "affected" is determined and what happens to items whose sections didn't change (they stay valid, per additive-only; the pass must not silently re-stamp them).
    2. Every metadata artifact gets a main-store ID even if unsigned — at minimum the content-address hash of the metadata file itself. Unsigned is a valid state; absence of an ID is not.
    3. Signature companions are part of the artifact format family: .json (data), .json.signature / .cert (signature), .json.signed (a JSON or specific format containing data + asserted primary/original signature). Open convention to decide under this doctrine: sign the data vs sign the signature vs both by default — Drew notes users may conventionally link from the original signed version rather than the data, and different methods may settle into different colloquial conventions per purpose. The doctrine should name the decision and its reversal path rather than let it emerge accidentally.
    4. Linking convention: because it must be easy to sign an item and easy to add links to items, metadata artifacts are first-class link sources/targets (multi-predicate / multi-subject link expressions are specified on research(id): triple encoding bake-off — compressed binary vs JSONB vs normalized byte-key maps #9125/research(id): graph query language selection + visualization #9126) — the schema's link fields should not assume single-subject/single-predicate records.
  7. dezren39
    added
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    priority/normalOrdinary priority (the default)
    effort/lLarge: multi-day or open-ended; expect staged check-ins
    on Nov 17, 2026
  8. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · triaged (inline triage — doctrine inputs live; full specification routed to task 20294)

    • Agent: queue worker (repo-worker-code), lane any-c
    • Session / ID: task 18843
    • Found via: queue claim (bulk-intake triage packet, 2026-11-16)

    Triage verdict (fresh, 2026-11-17, via gh):

    • Issue design(atlas+pm): Metadata schema v1 + evolution doctrine — additive-only, extras, strict enums, breaking-change parking lot #9095 is OPEN with only kind/design + epic/atlas-program — no triage of record. No hard-stop labels (held, user/owned, do-not-merge, do-not-auto-edit). Labels applied this pass: task/small-fix, priority/normal, effort/l.
    • Work kind: small-fix (design specification, docs-only). Priority: normal. Effort: l.
    • Inputs verified live on the issue: the doctrine draft (proto design §C), the breaking-changes parking lot already seeded as comment entries (2026-11-12), and Drew's 2026-11-13 amendment from the reporting-architecture directive. The work is specification, not invention: version-always-carried, additive-only, readers accept every prior version indefinitely, breaks parked then batched.
    • First concrete step: write the schema v1 + doctrine as a doc PR, then file the doctrine amendments against pm stack: multi-board hierarchy + full task genealogy #9060 §12, impl(fleet): fleet gh Metadata superset — create-path stamping + DB insert (extends #9016) #9073, and impl(fleet): metadata database + fleet Metadata query surface #9074.
    • Acceptance check: the doc PR specifies the doctrine completely (including the batched-break threshold/process and reader/writer obligations), the three amendments are filed, and this issue carries the PR link + the implied implementation split.
    • Coordination note: this is the §C elaboration the design(atlas): Atlas v1 build-out — design-mill starter (proto design → full design set) #9091 design mill references — the design is filed under this workstream issue so the mill consumes it rather than re-deriving it (no competing program structure).

    Routing: design packet queued as task 20294 (small_fix, 45 min, docs-only). Task 18843 completes as triaged naming it. Issue #9095 stays open for the design.

  9. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    on Nov 17, 2026
  10. dezren39 commented on Nov 17, 2026

    @dezren39
    dezren39
    on Nov 17, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: repo-worker-code, lane code-i (OpenChamber scheduled lane)
    • Task: 20294 for issue design(atlas+pm): Metadata schema v1 + evolution doctrine — additive-only, extras, strict enums, breaking-change parking lot #9095
    • Fresh verification: design(atlas+pm): Metadata schema v1 + evolution doctrine — additive-only, extras, strict enums, breaking-change parking lot #9095 OPEN, no competing open PR found; issue is a full cross-issue design specification with amendments to pm stack: multi-board hierarchy + full task genealogy #9060/impl(fleet): fleet gh Metadata superset — create-path stamping + DB insert (extends #9016) #9073/impl(fleet): metadata database + fleet Metadata query surface #9074 and is referenced by design mill design(atlas): Atlas v1 build-out — design-mill starter (proto design → full design set) #9091.
    • Disposition: routing for summit/design-mill ownership rather than starting a large multi-part design in this workhorse lane.
  11. 26 remaining items

  12. dezren39
    removed
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    on Nov 21, 2026
  13. dezren39 commented on Nov 21, 2026

    @dezren39
    dezren39
    on Nov 21, 2026
    MemberAuthor
    More actions

    Agent note — task 20294 · PR opened

    • PR: docs(atlas+pm): specify metadata schema v1 and evolution doctrine #12259 — docs(atlas+pm): specify metadata schema v1 and evolution doctrine #12259 (docs-only; no schema implementation).
    • Design: Metadata schema v1 and evolution doctrine.
    • Implementation split implied by the contract:
      1. Freeze Atlas/PM field registries, enum inventories, JSON/hash/signature vectors, and compatibility fixtures.
      2. Build shared readers/writers for versions, unknowns, lossless coercions, mismatch reporting, current-version writes, and exact-byte identity.
      3. Update fleet gh (impl(fleet): fleet gh Metadata superset — create-path stamping + DB insert (extends #9016) #9073) to merge existing Metadata, stamp only owned fields, preserve caller data, and keep body/DB records aligned.
      4. Update metadata DB/query (impl(fleet): metadata database + fleet Metadata query surface #9074) to retain complete JSON and artifact identity, index registered fields, preserve missing-vs-false, and surface divergence.
      5. Implement adapters and affected-section reclassification with auditable manifests and retry/failure states.
      6. Add conformance/property/model coverage for IDs, preservation, enums, coercion, compatibility, links, signatures, and migration completeness.
    • Ownership: these are design slices, not new queue issues; design(atlas+pm): Metadata schema v1 + evolution doctrine — additive-only, extras, strict enums, breaking-change parking lot #9095 owns the design, while pm stack: multi-board hierarchy + full task genealogy #9060 §12, impl(fleet): fleet gh Metadata superset — create-path stamping + DB insert (extends #9016) #9073, and impl(fleet): metadata database + fleet Metadata query surface #9074 consume the contract.
    • Verification: git diff --check origin/main...HEAD passed; python3 -I scripts/research_workflow.py check returned "ok": true.
  14. dezren39
    added
    status/needs-reviewReady for review
    queue/needs-reviewQueue task finished and is awaiting review
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Nov 21, 2026
  15. developing-today
    added
    status:in-review
    on Nov 23, 2026
  16. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Lane felix — picked up #9095 for its one remaining acceptance item; landed as PR #13527 (unmerged; Felix reviews/merges).

    Done check (fresh, against origin/main):

    • ✅ Schema v1 + evolution doctrine doc merged — PR docs(atlas+pm): specify metadata schema v1 and evolution doctrine #12259, doc/2026-11-21T17-56-24Z_design_atlas_metadata_schema_v1/note.md.
    • ✅ Doctrine amendments landed on impl(fleet): fleet gh Metadata superset — create-path stamping + DB insert (extends #9016) #9073 (2026-11-21) and impl(fleet): metadata database + fleet Metadata query surface #9074 (2026-11-12); pm stack: multi-board hierarchy + full task genealogy #9060 design cross-linked (2026-11-21).
    • ✅ Breaking-changes parking lot seeded on this issue (2026-11-12), explicitly empty, entry format + version-event procedure in the design §5.2.
    • ✅ Conformance fixture set — PR test(atlas+pm): metadata version conformance fixture set (#9095) #13527. Fixtures under the design folder's fixtures/ (PM pm_meta v1 historical shapes + Atlas schema_version 1 / atlas_stage v1 shapes + exact-byte digest vectors), with executable tests against the current readers: fleet run 45227118068 (PM parse + stamp round-trip, 1 passed / 0 failed) and atlas run 45227125981 (staging byte-exact round-trip, 1 passed / 0 failed). Doctrine-projection cases (extras relocation, lossless coercion, sensitivity fallback, unknown closed enums) are recorded as oracle data for design §7 slices 2/6 — no current reader projects, so they are not asserted against one. No new persisted fields (CEN-04 §3.10 already owns the PM block/mirror facts); no new dependencies; no schedules touched.

    With #13527 merged, every acceptance item on this issue is met. The issue also remains the parking lot's home (design §5.2 names #9095 as the lot's address), so the PR carries no Closes keyword — the close call is Felix's.

  17. dezren39
    added a commit that references this issue on Nov 23, 2026

    Merge pull request #13527 from developing-today/felix/9095-metadata-c…

    8052587
  18. dezren39 commented on Nov 23, 2026

    @dezren39
    dezren39
    on Nov 23, 2026
    MemberAuthor
    More actions

    Merged by Felix — PR #13527.

    With this merge all four acceptance items are met: the schema v1 + doctrine doc (PR #12259), the doctrine amendments on #9073/#9074 with the #9060 cross-link, the seeded parking lot, and now the conformance fixture set — PM historical shapes with fail-closed cases, Atlas v1 envelopes, and exact-byte digest vectors for the §2 identity rule, each exercised by an executable conformance test (fleet run 45227118068, atlas run 45227125981, both green). The change is purely additive (fixtures + tests; no persisted field, no store written — CEN-04 §5 untouched).

    #9095 stays open deliberately: design §5.2 names this issue as the breaking-changes parking lot's address, so it remains the lot's home even with the acceptance complete.

  19. dezren39
    added a commit that references this issue on Nov 24, 2026

    docs(atlas): workstream H VFS + aggregated index design for #9100

    925a2fe
  20. dezren39 commented on Nov 24, 2026

    @dezren39
    dezren39
    on Nov 24, 2026
    MemberAuthor
    More actions

    Agent note — second-pass verdict (task 21953, pass 2 of coverage reconciliation, fresh 2026-11-24): #9095 is resolved in substance; no follow-on packet routed.

    • Schema v1 + evolution doctrine doc: merged as PR docs(atlas+pm): specify metadata schema v1 and evolution doctrine #12259 (2026-11-22) — doc/2026-11-21T17-56-24Z_design_atlas_metadata_schema_v1/note.md present in tree, §5.2 names this issue as the breaking-changes parking lot address.
    • Amendments: doctrine amendment on impl(fleet): fleet gh Metadata superset — create-path stamping + DB insert (extends #9016) #9073 (2026-11-12) + contract amendment (2026-11-21, §§2–6); doctrine amendment on impl(fleet): metadata database + fleet Metadata query surface #9074 (2026-11-12); pm stack: multi-board hierarchy + full task genealogy #9060 cross-linked (2026-11-21). Verified via issue comments.
    • Parking lot: seeded on this issue 2026-11-12, explicitly empty; entry format + version-event procedure in design §5.2.
    • Conformance fixtures + tests: merged as PR test(atlas+pm): metadata version conformance fixture set (#9095) #13527 (2026-11-23, Felix) — PM pm_meta v1 historical shapes, Atlas v1 envelopes, exact-byte digest vectors; fleet run 45227118068 and atlas run 45227125981 green.
    • Prior design packet (task 20294) is done; no other actionable queue item for design(atlas+pm): Metadata schema v1 + evolution doctrine — additive-only, extras, strict enums, breaking-change parking lot #9095 remains.

    Disposition: all four acceptance items met. Issue stays OPEN deliberately as the parking lot's home per design §5.2 (Felix decision 2026-11-23, no Closes on #13527) — open state is by design, not pending work.

  21. developing-today-fleet
    marked this as blocking on Nov 25, 2026
    • impl(atlas): query-as-data — query embeds, full tool/parameter provenance, permanent result archive, versioning #9099
  22. developing-today commented on Nov 27, 2026

    @developing-today
    developing-todayBot
    on Nov 27, 2026 – with developing.today
    Contributor
    More actions

    🤖 Agent note (lane code-j, 2026-11-26, triage task 25225): concur with the 2026-11-24 code-i verdict — resolved in substance, no packet.

    • All four acceptance items met: doctrine doc docs(atlas+pm): specify metadata schema v1 and evolution doctrine #12259 (merged 2026-11-22), amendments on impl(fleet): fleet gh Metadata superset — create-path stamping + DB insert (extends #9016) #9073/impl(fleet): metadata database + fleet Metadata query surface #9074, seeded parking lot, conformance fixtures test(atlas+pm): metadata version conformance fixture set (#9095) #13527 (merged 2026-11-23).
    • Left OPEN under status/needs-review + queue/needs-review for the reviewing workflow to close. No new work. Refs epic: Atlas program — unified search and memory index over every corpus #8983, Queue reprioritization programme 2026-11-24: full census, reorder, unblock #14158.
  23. developing-today-fleet commented on Nov 27, 2026

    @developing-today-fleet
    developing-today-fleetBot
    on Nov 27, 2026 – with developing.today fleet
    Contributor
    More actions

    Triage refresh — queue task 25628 (2026-11-27)

    Resolved in substance; no follow-on task. Live readback confirms #9095 is intentionally OPEN as the breaking-changes parking lot home. PR #12259 (schema v1/evolution doctrine) and PR #13527 (conformance fixtures/tests) are both merged. The prior triage record (task 25225, 2026-11-26) verified the amendments, seeded parking-lot entry format, and all four acceptance items; this pass found no new changes or uncovered work. No duplicate packet created and no code changed. Keeping the issue open is deliberate per doctrine §5.2, not an outstanding acceptance gap.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lLarge: multi-day or open-ended; expect staged check-insepic/atlas-programReprioritization program epic (2026-11-12)kind/designA design proposal (design-architect): multi-step, phased, decision-bearingpriority/normalOrdinary priority (the default)queue/needs-reviewQueue task finished and is awaiting reviewstatus/needs-reviewReady for reviewstatus:in-reviewtask/small-fixQueue packet kind: bounded fix with reproduction and targeted testswork/assignedQueue worker lifecycle state

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.