Skip to content

fix(sources): enforce complete topology capability census - #4510

Merged
Sinity merged 5 commits into
masterfrom
feature/packet/polylogue-ksgg.3
Sep 2, 2026
Merged

Sinity merged 5 commits into
masterfrom
feature/packet/polylogue-ksgg.3

Conversation

@Sinity

@Sinity Sinity commented Sep 2, 2026

Copy link
Copy Markdown
Owner

Summary

Enforce a complete, declaration-generated topology capability census and retain the production parser fix that removes fabricated Codex and Hermes message-parent links.

Problem

The census projection accepted a caller-supplied subset of OriginSpec declarations, allowing an omitted current Origin or unknown capability to appear complete. Codex and Hermes message records carry no message-parent evidence, so positional chaining fabricated topology.

Solution

The census now requires exactly one declaration for every current Origin, all five dimensions, a completed capability state, evidence, and a reason for structural absence. Mutation tests cover omitted origins and unknown states. Codex and Hermes retain explicit session-parent references while leaving message parents unset when the wire format has no such field. Their parser fingerprints now cover the affected origins: codex-session and hermes-session.

Verification

  • nix develop --accept-flake-config --command devtools test tests/unit/sources/test_origin_specs.py tests/unit/sources/test_parsers_codex.py tests/unit/sources/test_parsers_local_agent.py: 163 passed.
  • nix develop --accept-flake-config --command devtools render all --check: generated surfaces synchronized.
  • nix develop --accept-flake-config --command devtools verify --quick: exit 0; static and repository gates passed.

Residual risk

The full corpus was not run. No durable schema migration is required. The parser fingerprint change affects codex-session and hermes-session.

LANE-BRANCH: feature/packet/polylogue-ksgg.3
LANE-COMMIT: d7449bf
LANE-QUICK: green
LANE-CLASSIFICATION: parser semantics changed for codex-session and hermes-session; no schema migration


Receipt: harvest-088595f4c6ba235c620c1c91240d5145
Bead: polylogue-ksgg.3

@coderabbitai

coderabbitai Bot commented Sep 2, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Team

Run ID: 4d8bb43a-5948-4a4c-8c01-0c1893605f38


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

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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 2, 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
📝 Code Review ✅ Completed 2026-09-02T00:08:28.604383Z 2ca49e1 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.

@Sinity
Sinity merged commit d55055b into master Sep 2, 2026
3 checks passed
@Sinity
Sinity deleted the feature/packet/polylogue-ksgg.3 branch September 2, 2026 00:12
Sinity added a commit that referenced this pull request Sep 3, 2026
…route

parse_one_source_path refused every non-session path-rule verdict before
the decoded-session-evidence check, so a workflow journal that decodes as
a session was never parsed there while the live batch route admitted it.
A non-session verdict is now overridden only for a declared, parseable
(not raw-only) path rule whose content proves a session.

Tests: live-source fixtures use the current parser fingerprint (#4587)
and return the cursor write result; Codex appended messages record no
parent coordinate (#4510); the 804 proof's resume oracle is the sealed
membership minus what the interrupted generation committed (#4285).

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01YGi8wLWGR2HYBh8p8fXFXz
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