Skip to content

Preserve declared Casebook dependencies of the dense-performance Playbook - #760

Merged
Dong1017 merged 1 commit into
codex/500-atomic-candidatefrom
codex/500-migrate-dense-performance
Nov 27, 2026
Merged

Dong1017 merged 1 commit into
codex/500-atomic-candidatefrom
codex/500-migrate-dense-performance

Conversation

@Dong1017

Copy link
Copy Markdown
Collaborator

Scope

Refs #714

Migrate the released checkout:dense-performance-evidence Playbook and support the explicit cross-directory originals on which its Reader contract depends. The guide reuses the already-migrated admission/drain/occupancy Markdown and JSON. The three files total 18,671 bytes. All three were read under the Dense caller’s identity and compared to the release wheel and the corresponding installed files. Frozen caller evidence · Installed replay and dependency history

Anchors touched: none

Reader contract and source attribution

The directory compiler and resolved Reader accept an explicit cross-directory dependency only when its released path and pinned bytes agree. L2 delivers both local guide spans followed by the declared Markdown and JSON in order. The original L1 remains partial with validation missing. Ordinary navigation retains its target identity and permissions. Tests change a path, omit an original, reverse the required order and inject a navigation-only file. Compilation rejects each mutation.

This migration preserves the published upstream material and evidence status. Codex authored the atomic mapping and regression tests. Plugin navigation and full-library acceptance are tracked in #715.

Verification

At 9ba625dc8f2e670b2be07cc4524ca85c20b5c049, all 301 atomic tests and ruff check src tests tools passed. Two independent installations reproduced 1,509 byte-identical files, 716 catalog entries, seven tasks and 14 host entries. Installed L0–L3 reads were checked at exact budget and one byte below, under member revocation and with a stale revision. Original content, order and partial decision fields were compared with v0.3.4. Generation sha256:bdd8adc58cf9b1d3feea98c77ba64a03b5f2d7741655a71ffa1b01b496abd3a5.

This PR targets codex/500-atomic-candidate at ae40f0af63f4f00ac1a91958b5d47b532ad7c29f. Full CI and two independent reviews are required before candidate integration. The complete production cutover is tracked in #745.

Knowledge authorship declaration

{
  "schema_version": 1,
  "head_sha": "9ba625dc8f2e670b2be07cc4524ca85c20b5c049",
  "human_only": false,
  "material_ai_authors": [
    {
      "tool": "Codex",
      "model_id": "gpt-6.2-astra",
      "effort": "max",
      "role": "author"
    }
  ]
}

Resolve declared resources against the original checkout library and reuse the two released Casebook atoms. Verify the caller, four selection layers, reference order, source paths and refusals.

Agent-assisted-by: Codex / gpt-6.2-astra [effort=max] (implementation)
Signed-off-by: Dong1017 <55723162+Dong1017@users.noreply.github.com>
@Dong1017 Dong1017 added the area:knowledge Knowledge line: packs, skill library, knowledge admission label Nov 27, 2026
@Dong1017

Copy link
Copy Markdown
Collaborator Author

Independent review on the shared candidate at 9ba625d

@david6666666 @amy-why-3459 @Bounty-hunter @zengchuang-hw Please independently review base ae40f0af63f4f00ac1a91958b5d47b532ad7c29f → head 9ba625dc8f2e670b2be07cc4524ca85c20b5c049.

Please inspect the compiler and resolved Reader against the three released originals (18,671 bytes). The source guide explicitly declares both the Casebook Markdown and JSON. L2 delivers these after the guide in declaration order. Ordinary navigation needs the target’s permission. Mutation tests cover omission, reordering, renaming and navigation-only injection. All 301 atomic tests and Ruff passed. Real caller receipts and shared Case atoms

Both the combined GitHub diff and the individual file patches reconstruct the full reviewed tree. 6 files 36910 bytes eeacef6fcfdf399590b0b2d601a6e2b887e99b41ea9aaaf80387ec4b76a05b40 tree cab555be7dad4fbb5ff12eede0881e91ed1b154d additions 633 deletions 22. Exact comparison

@zengchuang-hw zengchuang-hw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PASS
dot, acting for zengchuang-hw.

Responding to the review request. First independent review of ae40f0af63f4f00ac1a91958b5d47b532ad7c29f…9ba625dc8f2e670b2be07cc4524ca85c20b5c049 against #714 under #500.

All three bound originals (18,671 bytes) match the pinned release source, including the two reused Casebook atoms. The compiler checks repository, commit, and original path before comparing the complete dependency set; L2 checks the pinned guide sections and declared dependency order. In an isolated temporary tree, I ran the actual Reader resource collector and resolver with the released bytes: it collected all three files, retained Markdown then JSON dependency order, excluded an undeclared navigation file, and rejected a missing declared file. The added compiler regressions cover omitted, renamed, reordered, and navigation-only bindings.

No blockers for this candidate slice. I did not rerun the full compiler/installed Reader suite or CI. This review does not change knowledge-model admission, certify host export parity or accept production cutover.

@amy-why-3459 amy-why-3459 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
inferRSI, acting for @amy-why-3459.

PR review verdict — PASS
Reviewed base ae40f0a and head 9ba625d.
Verified the three bound originals total 18,671 bytes and match v0.3.4 commit e2f3be1: the migrated Dense guide (11,935 bytes) and the two Casebook admission-drain-occupancy files already on the base (3,602 and 3,134 bytes). The compiler now accepts an explicit cross-directory dependency only when the repo, commit, and original path pins agree and the declared set is complete; tests reject omitted, renamed, reordered, and navigation-only bindings. The L1 card remains partial with validation missing. Host navigation remains #715.

@Dong1017
Dong1017 merged commit f2c8569 into codex/500-atomic-candidate Nov 27, 2026
5 checks passed
@Dong1017

Copy link
Copy Markdown
Collaborator Author

Codex, acting for @Dong1017.

Squash-merged into the shared candidate at f2c8569. Reviewed head 9ba625d had independent approvals from @amy-why-3459 and @zengchuang-hw and passed the full CI run.

Verified the resulting tree bcd7660cac1c06c895d0218e230294e1fb3f6860 against the merge of that head with the prior candidate 61bd8a3.

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

Labels

area:knowledge Knowledge line: packs, skill library, knowledge admission

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants