Skip to content

feat: Generate provider schema packages from the recorded source frontier - #5215

Merged
Sinity merged 1 commit into
masterfrom
schema/tnqqt-frontier-provider-packages
Sep 15, 2026
Merged

Sinity merged 1 commit into
masterfrom
schema/tnqqt-frontier-provider-packages

Conversation

@Sinity

@Sinity Sinity commented Sep 15, 2026 •

Copy link
Copy Markdown
Owner

Summary

Regenerates every package-requiring provider schema package through the production commit route, bound to the source frontier recorded by polylogue-81bj2, and accounts for all eleven declared subjects in one pass. Closes the generation obligation of polylogue-tnqqt.

Problem

The committed provider packages were generated on 2026-09-08 against source roots that have since moved to /realm/accounts/. They were demonstrably stale: gemini-cli v3 was missing 6 structure paths and hermes v3 was missing 642. Prior attempts could not bind a conserved baseline, because live mutable roots produced a different manifest digest between two runs eleven minutes apart. polylogue-81bj2 fixed that by recording a frontier document with a digest that holds across reads.

Only seven providers had ever had a generation command run against them. antigravity, browser-capture, claude-design and grok carried committed packages with no reconciled outcome at all.

Solution

Ran devtools schema commit --provider <p> --full-corpus --frontier for each of the eleven subjects derived at execution time from SCHEMA_SUBJECTS / SCHEMA_PACKAGE_DIRECTORIES. The frontier check was green before and after (baseline digest e10c266d…, declaration digest 7168062e…, 16 roots, 48,787 members).

Provider matrix

Provider Outcome Samples Package change Candidates (incl./total)
chatgpt generated, changed 5,643 v4 new, +2018 paths 4/4
codex generated, changed 10,529,822 v4 new, +3240 paths 7,949/7,965
claude-code generated, changed 4,993,931 v3 new, +3826 paths 22,926/38,934
claude-design generated, changed 3,877 v3 new, +336 paths 5/6
hermes generated, changed 161 v3 changed, +642 paths 171/178
antigravity generated, changed 116 v3 new, +5 paths 116/291
gemini-cli generated, changed 808 v3 changed, +6 paths 39/257
claude-ai generated, unchanged 1,016 zero-diff (v1/v2/v3) 5/6
gemini generated, unchanged 12 zero-diff (v1/v2/v3) 2/2
grok declared empty denominator 0 none 0 members declared
browser-capture declared preflight refusal 0 none 0/1,243

Failed: 0. Unknown: 0. Narrowed: 0 — no package lost a path.

Every non-included candidate carries a typed terminal reason: source_class_non_session, antigravity_markdown_sidecar, antigravity_protobuf_adapter_unavailable, source_class_unsupported, no_schema_units, too_large_unstreamable_document, malformed_jsonl_record, changed_during_read, browser_capture_adapter_unavailable.

The two zero-diff results satisfy the bead's rule: the route executed non-vacuously (1,016 and 12 samples over a resolved denominator) and structural comparison proved the committed package already matched.

Verification

devtools test tests/unit/sources/test_parsers_drive_catalog.py \
  tests/unit/sources/test_parser_contract_v1.py tests/unit/sources/test_source_laws.py
  → PASSED exit=0, 168 passed

devtools test tests/unit/schemas tests/unit/devtools/test_schema_commit_command.py
  → PASSED exit=0, 344 passed

devtools gate schema-privacy      → exit 0
devtools gate schema-roundtrip --all → exit 0; 11 providers, 32 packages, 45 elements
devtools render all --check       → exit 0; zero "out of sync"
devtools verify --quick           → exit 0; all 20 gates ok (schema-closure, schema-privacy included)

Privacy review: every changed element was decompressed and scanned for conversation excerpts, filesystem paths, operator identifiers, credential-shaped tokens and UUIDs. No newly generated version contains any. Three pre-existing hits of the operator handle in already-published x-polylogue-values vocabularies (claude-ai v2, claude-design v2, grok v2) were verified byte-identical to their state at master and are untouched here.

Closure: polylogue/schemas/providers/** is outside the derived schema identity closure (devtools schema closure reports out). No generation code was modified, so the derived identity does not move and this change does not require reconvergence before a rebuild.

Residuals

  • browser-capture is a refusal, not a zero denominator. Its 1,243 members are all terminal unsupported with reason browser_capture_adapter_unavailable, refused unconditionally at preflight in source_inference.py. The committed v1 package therefore cannot be regenerated by this route. AC3's literal wording ("complete zero-eligible-material denominator") is not met; this is a complete, typed, declared accounting of a non-empty denominator, and needs operator adjudication.
  • devtools gate schema-audit exits 1 with 40 pass / 11 warn / 0 fail. Identical warn count before and after this change, so not a regression: the generator emits no x-polylogue-generated-at timestamp. Not in the quick set.
  • The claude-ai and claude-design receipts share one export root and report mismatched included record counts against their own sample counts. Worth a look before these counts are used as a conservation proof.
  • claude-code's frontier shows 7 added members and 3 changed_during_read outcomes from the agent session that produced this change writing its own transcript into the declared root.
  • The declared schema_sources operation pins POLYLOGUE_ARCHIVE_ROOT to the durable archive, whose source.db is at user_version 30 while current code expects 45. Generation refuses with SchemaSkew there. These runs used disposable per-provider scratch archives with POLYLOGUE_SCHEMA_FRONTIER bound explicitly; the durable-tier migration is a separate operator decision.

🤖 Generated with Claude Code

https://claude.ai/code/session_01DYUNBGoE652b3nfmq3CtqK

Summary by CodeRabbit

  • New Features

    • Added refreshed schema coverage and new versions for Antigravity, ChatGPT, Claude Design, Codex, Gemini CLI, and other providers.
    • Added support metadata for newly observed artifact types, including agent sidecars, export assets, session indexes, and database schemas.
    • Expanded provider manifests with updated artifact counts, structure identifiers, observation statuses, and evidence metadata.
  • Updates

    • Refreshed provider catalogs, timestamps, version recommendations, sample counts, and coverage records.
    • Updated schema-inference coverage records and handoff data across supported providers.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 15, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
🔒 Security Review ✅ Completed 2026-09-15T23:32:08.763993Z 759512e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Sep 15, 2026 •

Copy link
Copy Markdown

Review Change StackReview Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 6fbbc24e-bd92-47cb-b783-e1aa9239bb51

📥 Commits

Reviewing files that changed from the base of the PR and between 63645ef and 759512e.

⛔ Files ignored due to path filters (41)
  • polylogue/schemas/providers/antigravity/versions/v1/elements/session_document.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/antigravity/versions/v2/elements/session_document.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/antigravity/versions/v3/elements/agent_sidecar_meta.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/chatgpt/versions/v1/elements/session_document.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/chatgpt/versions/v2/elements/session_document.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/chatgpt/versions/v3/elements/session_document.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/chatgpt/versions/v4/elements/export_asset.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/chatgpt/versions/v4/elements/export_asset_index.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/chatgpt/versions/v4/elements/session_document.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/claude-ai/versions/v1/elements/session_document.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/claude-ai/versions/v2/elements/session_document.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/claude-ai/versions/v3/elements/session_document.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/claude-code/versions/v1/elements/session_record_stream.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/claude-code/versions/v2/elements/agent_transcript.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/claude-code/versions/v2/elements/coordinator_session_stream.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/claude-code/versions/v2/elements/session_record_stream.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/claude-code/versions/v3/elements/agent_sidecar_meta.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/claude-code/versions/v3/elements/agent_transcript.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/claude-code/versions/v3/elements/coordinator_session_stream.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/claude-code/versions/v3/elements/session_index.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/claude-code/versions/v3/elements/session_record_stream.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/claude-code/versions/v3/elements/workflow_journal.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/claude-code/versions/v3/elements/workflow_run_snapshot.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/claude-design/versions/v1/elements/session_document.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/claude-design/versions/v2/elements/session_document.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/claude-design/versions/v3/elements/session_document.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/codex/versions/v1/elements/session_record_stream.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/codex/versions/v3/elements/session_record_stream.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/codex/versions/v4/elements/session_record_stream.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/gemini-cli/versions/v1/elements/session_document.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/gemini-cli/versions/v2/elements/session_document.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/gemini-cli/versions/v3/elements/session_document.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/gemini-cli/versions/v3/elements/session_index.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/gemini-cli/versions/v3/elements/session_record_stream.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/gemini/versions/v1/elements/session_document.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/gemini/versions/v2/elements/session_document.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/gemini/versions/v3/elements/session_document.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/hermes/versions/v1/elements/session_document.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/hermes/versions/v2/elements/session_document.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/hermes/versions/v3/elements/database_schema.schema.json.gz is excluded by !**/*.gz
  • polylogue/schemas/providers/hermes/versions/v3/elements/session_document.schema.json.gz is excluded by !**/*.gz
📒 Files selected for processing (48)
  • polylogue/schemas/providers/antigravity/catalog.json
  • polylogue/schemas/providers/antigravity/manifest.json
  • polylogue/schemas/providers/antigravity/versions/v1/package.json
  • polylogue/schemas/providers/antigravity/versions/v2/package.json
  • polylogue/schemas/providers/antigravity/versions/v3/package.json
  • polylogue/schemas/providers/chatgpt/catalog.json
  • polylogue/schemas/providers/chatgpt/manifest.json
  • polylogue/schemas/providers/chatgpt/versions/v1/package.json
  • polylogue/schemas/providers/chatgpt/versions/v2/package.json
  • polylogue/schemas/providers/chatgpt/versions/v3/package.json
  • polylogue/schemas/providers/chatgpt/versions/v4/package.json
  • polylogue/schemas/providers/claude-ai/catalog.json
  • polylogue/schemas/providers/claude-ai/manifest.json
  • polylogue/schemas/providers/claude-ai/versions/v1/package.json
  • polylogue/schemas/providers/claude-ai/versions/v2/package.json
  • polylogue/schemas/providers/claude-ai/versions/v3/package.json
  • polylogue/schemas/providers/claude-code/catalog.json
  • polylogue/schemas/providers/claude-code/manifest.json
  • polylogue/schemas/providers/claude-code/versions/v1/package.json
  • polylogue/schemas/providers/claude-code/versions/v2/package.json
  • polylogue/schemas/providers/claude-code/versions/v3/package.json
  • polylogue/schemas/providers/claude-design/catalog.json
  • polylogue/schemas/providers/claude-design/manifest.json
  • polylogue/schemas/providers/claude-design/versions/v1/package.json
  • polylogue/schemas/providers/claude-design/versions/v2/package.json
  • polylogue/schemas/providers/claude-design/versions/v3/package.json
  • polylogue/schemas/providers/codex/catalog.json
  • polylogue/schemas/providers/codex/manifest.json
  • polylogue/schemas/providers/codex/versions/v1/package.json
  • polylogue/schemas/providers/codex/versions/v2/package.json
  • polylogue/schemas/providers/codex/versions/v3/package.json
  • polylogue/schemas/providers/codex/versions/v4/package.json
  • polylogue/schemas/providers/gemini-cli/catalog.json
  • polylogue/schemas/providers/gemini-cli/manifest.json
  • polylogue/schemas/providers/gemini-cli/versions/v1/package.json
  • polylogue/schemas/providers/gemini-cli/versions/v2/package.json
  • polylogue/schemas/providers/gemini-cli/versions/v3/package.json
  • polylogue/schemas/providers/gemini/catalog.json
  • polylogue/schemas/providers/gemini/manifest.json
  • polylogue/schemas/providers/gemini/versions/v1/package.json
  • polylogue/schemas/providers/gemini/versions/v2/package.json
  • polylogue/schemas/providers/gemini/versions/v3/package.json
  • polylogue/schemas/providers/hermes/catalog.json
  • polylogue/schemas/providers/hermes/manifest.json
  • polylogue/schemas/providers/hermes/versions/v1/package.json
  • polylogue/schemas/providers/hermes/versions/v2/package.json
  • polylogue/schemas/providers/hermes/versions/v3/package.json
  • polylogue/schemas/providers/schema-inference-handoff.json

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.

📜 Recent review details
🔇 Additional comments (49)
polylogue/schemas/providers/schema-inference-handoff.json (1)

9-14: LGTM!

Also applies to: 33-38, 60-100, 109-348, 357-533, 578-644, 657-659, 672-674, 703-706, 721-724, 736-867, 887-925, 936-938, 950-952, 983-990, 1015-1022

polylogue/schemas/providers/antigravity/catalog.json (1)

2-6: LGTM!

Also applies to: 10-22, 25-39, 51-57, 88-100, 102-139, 142-228

polylogue/schemas/providers/antigravity/manifest.json (1)

3-8: LGTM!

Also applies to: 10-10

polylogue/schemas/providers/antigravity/versions/v1/package.json (1)

2-3: LGTM!

Also applies to: 6-14, 17-19, 21-23, 25-25, 30-31, 43-44, 48-50

polylogue/schemas/providers/antigravity/versions/v2/package.json (1)

30-31: LGTM!

Also applies to: 36-37, 41-42

polylogue/schemas/providers/antigravity/versions/v3/package.json (1)

1-39: LGTM!

polylogue/schemas/providers/claude-design/catalog.json (1)

2-6: LGTM!

Also applies to: 10-20, 24-27, 30-351, 354-360, 705-717, 719-1266, 1269-1350

polylogue/schemas/providers/claude-design/versions/v1/package.json (1)

2-3: LGTM!

Also applies to: 6-12, 16-19, 22-343, 346-347, 351-353

polylogue/schemas/providers/claude-design/versions/v2/package.json (1)

344-345: LGTM!

Also applies to: 350-351, 355-356

polylogue/schemas/providers/claude-design/versions/v3/package.json (1)

1-549: LGTM!

polylogue/schemas/providers/claude-code/versions/v1/package.json (1)

25-26: LGTM!

polylogue/schemas/providers/claude-code/versions/v2/package.json (1)

538-539: LGTM!

Also applies to: 1069-1070, 1319-1320, 1329-1329

polylogue/schemas/providers/chatgpt/catalog.json (2)

634-642: LGTM!

Also applies to: 1287-1288, 1326-1336


632-632: 🗄️ Data Integrity & Integration

polylogue/schemas/validator_resolution.py:87 treats a package as historical when either the package or element is historical, so v3 is not selected as current alongside v4. polylogue/schemas/runtime_registry.py:938 also demotes retained packages without demoting their elements, and other repositories packages use the same status combination. No consumer or contract requires cascading the status to the element.

polylogue/schemas/providers/chatgpt/manifest.json (1)

9-10: LGTM!

polylogue/schemas/providers/chatgpt/versions/v1/package.json (1)

25-26: LGTM!

polylogue/schemas/providers/chatgpt/versions/v2/package.json (1)

27-28: LGTM!

polylogue/schemas/providers/codex/versions/v4/package.json (1)

1-13: LGTM!

Also applies to: 538-549

polylogue/schemas/providers/claude-ai/versions/v2/package.json (1)

344-345: LGTM!

polylogue/schemas/providers/claude-code/manifest.json (2)

3-9: LGTM!


13-13: 🗄️ Data Integrity & Integration

catalog.json lists packages v1, v2, and v3, and versions/v3/ exists. The claim that the catalog lacks a Claude Code v3 package is refuted.

polylogue/schemas/providers/gemini-cli/versions/v1/package.json (1)

55-56: LGTM!

polylogue/schemas/providers/gemini-cli/versions/v2/package.json (1)

55-56: LGTM!

polylogue/schemas/providers/gemini-cli/versions/v3/package.json (1)

7-9: LGTM!

Also applies to: 83-97, 216-217

polylogue/schemas/providers/gemini/catalog.json (2)

159-159: The PR description states gemini regenerated with zero diffs, but this catalog changed.

The description reports "claude-ai and gemini regenerated with zero diffs". This file advances generated_at and the v3 last_seen to 2026-09-15, adds exact_structure_ids entries, and updates structure_fingerprint, implementation_fingerprint, reduction_revision, cache counters, timings, and the input manifest digest. Update the description so the recorded outcome for gemini matches the committed data.

Also applies to: 178-178, 251-251


255-263: LGTM!

Also applies to: 275-287

polylogue/schemas/providers/chatgpt/versions/v3/package.json (1)

538-539: LGTM!

Also applies to: 548-548

polylogue/schemas/providers/chatgpt/versions/v4/package.json (1)

1-651: LGTM!

polylogue/schemas/providers/codex/catalog.json (2)

3-6: LGTM!

Also applies to: 33-34, 69-70, 618-619, 628-1190, 1216-1218, 1220-1254, 1255-1280


1327-1327: 🗄️ Data Integrity & Integration

The producer counters use separate units. included_candidate_count is len(final), while included_native_source_revision_count is len(unique). Producer metadata is computed from export_metadata, not from unique. The source also explicitly labels these terminal counts as physical_candidate and native_source_revision.

The candidate total reconciles: 7,906 + 53 - 10 = 7,949. The 8,165 value is a distinct native-revision population, so it is not expected to equal the producer-version total.

polylogue/schemas/providers/codex/manifest.json (1)

3-3: LGTM!

Also applies to: 7-8

polylogue/schemas/providers/codex/versions/v1/package.json (1)

25-26: LGTM!

polylogue/schemas/providers/codex/versions/v2/package.json (1)

25-26: LGTM!

polylogue/schemas/providers/codex/versions/v3/package.json (1)

538-539: LGTM!

Also applies to: 548-548

polylogue/schemas/providers/claude-ai/catalog.json (1)

3-3: LGTM!

Also applies to: 32-351, 705-706, 725-725, 739-1769, 1778-1783, 1792-1792, 1818-1830, 1840-1861

polylogue/schemas/providers/claude-ai/manifest.json (1)

8-8: LGTM!

polylogue/schemas/providers/claude-ai/versions/v1/package.json (1)

24-343: LGTM!

polylogue/schemas/providers/claude-ai/versions/v3/package.json (1)

7-7: LGTM!

Also applies to: 21-1051, 1060-1061

polylogue/schemas/providers/gemini-cli/catalog.json (1)

3-3: LGTM!

Also applies to: 63-64, 154-155, 174-176, 188-264, 277-374, 383-397, 423-467

polylogue/schemas/providers/gemini-cli/manifest.json (1)

4-4: LGTM!

Also applies to: 10-10

polylogue/schemas/providers/gemini/manifest.json (1)

8-8: LGTM!

polylogue/schemas/providers/gemini/versions/v1/package.json (1)

39-40: LGTM!

polylogue/schemas/providers/gemini/versions/v2/package.json (1)

41-42: LGTM!

polylogue/schemas/providers/gemini/versions/v3/package.json (1)

7-7: LGTM!

Also applies to: 21-51

polylogue/schemas/providers/hermes/catalog.json (1)

3-3: LGTM!

Also applies to: 40-41, 118-119, 138-232, 241-255, 281-325

polylogue/schemas/providers/hermes/manifest.json (1)

3-3: LGTM!

Also applies to: 9-9

polylogue/schemas/providers/hermes/versions/v1/package.json (1)

32-33: LGTM!

polylogue/schemas/providers/hermes/versions/v2/package.json (1)

32-33: LGTM!

polylogue/schemas/providers/hermes/versions/v3/package.json (1)

7-101: LGTM!

Also applies to: 110-111


📝 Walkthrough

Walkthrough

The pull request regenerates provider schema metadata for September 2026. It adds promoted package versions, new element coverage, observation counters, structure identifiers, runtime outcomes, manifests, and refreshed schema-inference handoff records.

Changes

Provider schema metadata

Layer / File(s) Summary
Antigravity and Claude Design profile updates
polylogue/schemas/providers/antigravity/*, polylogue/schemas/providers/claude-design/*
Adds current packages, updates manifests and historical package metadata, records structure identifiers, and adds observation outcomes.
ChatGPT and Codex version promotions
polylogue/schemas/providers/chatgpt/*, polylogue/schemas/providers/codex/*
Promotes ChatGPT and Codex to new versions, adds elements and structure metadata, and refreshes counts and processing outcomes.
Claude profile observations
polylogue/schemas/providers/claude-ai/*, polylogue/schemas/providers/claude-code/*
Refreshes structure inventories, timestamps, counters, artifact counts, fingerprints, and observation status values.
Gemini and Hermes observation updates
polylogue/schemas/providers/gemini*/*, polylogue/schemas/providers/hermes/*
Adds observed elements and structure identifiers, updates manifests, and regenerates observation statistics.
Schema-inference handoff coverage
polylogue/schemas/providers/schema-inference-handoff.json
Adds package hashes, manifest digests, evidence markers, nonrepresentable details, and unsupported coverage decisions.

Priority: ➖ Normal

Estimated code review effort: 4 (Complex) | ~60 minutes

Change: Feature

Merge Risk: ⚪ Minimal · up to cb286

The regenerated metadata is consistent with the repository’s distinct manifest and package counting contracts and is ready to merge.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly identifies the main change: generating provider schema packages from the recorded source frontier.
Description check ✅ Passed The description includes complete Summary, Problem, Solution, and Verification sections. The Residuals section covers risks and follow-ups. A separate Changelog entry is not required because this is a…
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch schema/tnqqt-frontier-provider-packages

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

A rabbit sorts the schema trail
New structure hashes fill the mail
Current bundles wake and glow
Historical records line below
Counters hop in tidy rows
The handoff’s map now clearly shows

Comment @coderabbitai help to get the list of available commands.

…tier

Regenerate every package-requiring provider through the production commit
route (`devtools schema commit --full-corpus --frontier`) bound to the
frontier baseline recorded by polylogue-81bj2, and account for all eleven
declared subjects in one pass.

Seven providers gained structure: chatgpt v4 (+2018 paths, 5,643 samples),
codex v4 (+3240, 10,529,822), claude-code v3 (+3826, 4,993,931),
claude-design v3 (+336, 3,877), hermes v3 (+642, 161), antigravity v3 (+5,
116) and gemini-cli v3 (+6, 808). claude-ai (1,016) and gemini (12)
regenerated non-vacuously and compared byte-identical. grok is a declared
empty denominator; browser-capture is a declared preflight refusal covering
all 1,243 candidates. No package narrowed.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01DYUNBGoE652b3nfmq3CtqK
@Sinity
Sinity force-pushed the schema/tnqqt-frontier-provider-packages branch from 759512e to cb28678 Compare September 15, 2026 23:25
@Sinity
Sinity merged commit e56edbe into master Sep 15, 2026
3 checks passed
@Sinity
Sinity deleted the schema/tnqqt-frontier-provider-packages branch September 15, 2026 23:40
Sinity added a commit that referenced this pull request Sep 18, 2026
## Summary

Job 2206 — the first nightly full-corpus `verify_all`, which fired at
03:00 as
declared in #5196 — failed with **27 tests red**. Fifteen were
deterministic and
stale. This PR is those fifteen.

They reproduce in isolation at the base commit (`15 failed, 96 passed in
9.96s`)
with node ids matching 2206 exactly, so none of them is pool contention.

## The two assertion fixes

`tests/unit/cli/test_click_app.py` asserted raw's options as
`["full", "limit", "offset"]`. **#5202 added `continuation`** to
`MESSAGE_READ_VIEW_OPTION_NAMES`. The product is right; the assertion
was stale
in two places.

## The thirteen snapshots

Regenerated. The drift is genuine fixture data, not the ephemeral state
this
file's docstring warns about — which is why each change was checked
before
committing rather than after a green:

- The seeded corpus now draws titles from
  `polylogue/schemas/synthetic/demo_themes.py` instead of `synthetic-N`
placeholders. Verified, because realistic conversation titles appearing
in a
tracked baseline is exactly the shape a private-data leak would take.
These
  are authored in-repo fixtures.
- `total_messages` moves 10 → 13. Verified against the seeded artifact,
not
  accepted from the diff: 8 + 5 messages across two sessions, every row
`identity_source=native` with `content_occurrence=0`. A message-count
drift is
also what a content-identity collision or a lineage-recomposition bug
looks
like, and regenerating over one of those would pin the bug permanently.
- `summed_wall_duration_ms` now redacts to `<HASH>` where the old
baseline
pinned a literal duration. The old baseline was doing what the docstring
  forbids; the regeneration removes a latent flake.

## Verification

`devtools test` over the four affected files through the declared
`pytest_focused` operation (job 2463): **199 passed, 4 failed**. All
four
failures are the pre-existing wire-support ones described below —
untouched by
this PR and red on master independently.

## Not in this PR: the wire-support gap

The other twelve 2206 failures split into ~7 load-shaped daemon timeouts
(still
needing isolated evidence) and 5 real wire-support failures that are
**one
design gap**, not a test bug:

`build_wire_support_receipt` synthesizes **one session document per
provider**
and validates it against **every element in every package**. That was
harmless
while each provider declared one element kind. It is not any more —
chatgpt v4
now declares `export_asset` and `export_asset_index` beside
`session_document`
(#5215), and claude-code declares nine kinds across v1–v3
(`agent_transcript`,
`session_index`, `workflow_journal`, `coordinator_session_stream`,
`agent_sidecar_meta`, …). Every element is declared `supported=True`.

The symptoms are all consequences of that: the missing `'number'` in a
type
union is `export_asset_index`'s `additionalProperties`, which has no
reason to
admit a float `create_time` because `create_time` is not a field it
models; and
the conservation "losses" at `$.body (message_body)` and `$.id
(session_title)`
are a session document parsed under an asset schema, which loses every
session
field by construction. **The chatgpt parser is not dropping content and
the
committed schemas are not wrong.**

The fix is per-element wire synthesis — a feature, not a red-fix. Filing
it
rather than forcing it: a filter that merely skips non-document elements
breaks
`test_every_catalog_provider_has_an_explicit_route_and_receipt_counts`,
which
requires an entry for every catalog element. I tried that and it was
wrong.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01DYUNBGoE652b3nfmq3CtqK

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
Sinity added a commit that referenced this pull request Sep 22, 2026
…ence (#5444)

## Summary

The schema commit route ran **no privacy review**, and no post-hoc gate
could substitute for one — because the write itself strips the evidence.
Bead: polylogue-tnqqt (AC7; bead not closed).

## Problem

`operator/commit.py` persisted without any privacy review. That matters
more than it sounds, because `replace_provider_packages` **strips
`x-polylogue-values` as it writes**.

Measured directly: committing a bundle whose `conversation_id` retains a
UUID **succeeded**, and the persisted element was `{"type": "string"}` —
the value silently dropped rather than the commit refused. `gate
schema-privacy` therefore inspects bytes the leak has already been
removed from. The gate was never going to catch this class.

## Solution

`_commit_into` runs the registered predicate on the **in-memory** bundle
and raises `SchemaCommitPrivacyError` before the write.

**Two wrong placements were found and discarded before landing**,
reported rather than hidden:

1. A *post-persist* audit — structurally incapable of catching this
class. That is the "harness more permissive than production" trap.
2. Inside `persist_generated_provider_bundle` — this grew the
schema-closure ratchet **558 -> 559** and `gate schema-closure` FAILED,
which would have made every future privacy-predicate edit move the
archive identity.

## Verification

```
devtools verify --quick     ->  PASSED (gate schema-closure ok)
devtools render all --check ->  exit 0, grep -c "out of sync" = 0
devtools test tests/unit/schemas/test_operator_commit.py  ->  PASSED
devtools schema closure polylogue/schemas/operator/commit.py  ->  out
```

Derived `index` identity `4df1149f…` is **identical at base and head** —
no rebuild-ordering constraint.

Anti-vacuity executed, not asserted: removing the call produced `Failed:
DID NOT RAISE SchemaCommitPrivacyError`, then restored. A second test
proves the check **discriminates** rather than refusing everything. A
`getattr(bundle, "package_schemas", {})` was also replaced with direct
attribute access — the `getattr` default would have made the check
silently vacuous forever under a rename.

## The rest of the bead was already satisfied

Its notes are **stale**: they cite master `da37fcf4c` (PR #4830), but
packages were regenerated since by **#5215, #5219, #5223, #5357,
#5411**. The committed `provider-matrix.json` at head has 12 subjects,
zero blockers, zero findings.

- **AC1 / AC3 / AC5 / AC6** satisfied by already-committed work:
`outcome_counts` is 8 `zero_diff`, 1 `generated`, 2
`proven_non_applicable`, 1 `declared_non_applicable` = 12, matching the
denominator exactly; per-subject `denominator.conserves: true`.
- **AC2** satisfied — `derive_provider_denominator()` derives at call
time from `SCHEMA_SUBJECTS` + `origin_specs()`, no hard-coded count.
Residual: hard-coded provider sets in `synthetic/wire_formats.py:39` and
`build_batch.py:665` will not follow a new subject.
- **AC4** satisfied — `SubjectOutcome` includes `not_run`, and
cardinality comes from the denominator, not the receipts.
- **AC8** satisfied at the aggregate matrix (all six bindings);
**unsatisfied at per-package metadata** (only `input_manifest_digest`).
Needs an operator reading of whether the aggregate suffices.
- **AC9** not attempted — owned by polylogue-rrxe4.1, downstream.

## Inherited reds, named and not fixed

10 tests in `tests/unit/schemas/test_source_cache_reuse.py` and
`test_promote_cluster_privacy_config.py` fail **identically at base and
at head** — same 10 nodeids in both runs. Unrelated to this bead
(source-evidence cache phases and default privacy-config generation) and
a large separate scope.

## Residuals

- The `db_path` generation path persists inside `generate_all_schemas`
with no pre-strip seam; unguarded, and stated in the commit message.
- **False docstring** at `provider_denominator.py:28-31` claims a
closure test exists in `test_provider_denominator.py` — it does not.
- **No gate detects the committed `provider-matrix.json` going stale**
against head's generator fingerprints; its recorded `code_revision
a5c893c8f` is not an ancestor of master.
- `schema-inference-handoff.json` records four providers as
`provider_without_wire_format` because `receipt.py:392` reads the narrow
`PROVIDER_WIRE_FORMATS` rather than `PROVIDER_WIRE_ROUTES`, which its
own docstring calls *"the authority for catalog coverage"*, discarding
the declared specific reasons. Not fixed: correcting it would change a
committed receipt that cannot be regenerated without private source.

No operator material in the diff; fixtures are synthetic.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01ToWqpkXotr573DiQex5vcy

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
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