Repository navigation
Docs: correct executable catalog evidence anchors (#148) - #149
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 48 minutes. View limit detailsLimit details: You’ve used the included review currently available. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (2)
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. Comment |
|
Additional verified documentation finding: KEEP-CATALOG-008 in docs/formats/segment-store-v1/requirements.md names absent tests/catalog_filesystem_publication.rs. Actual executable owner is src/adapters/filesystem_catalog_publisher_tests.rs, which includes the authority/directory/initialization/refusal modules under tests/catalog_filesystem_publication/. This belongs to the same coherent catalog-evidence anchor correction as #148; no runtime behavior or original acceptance requirement changes. RED: old owner path must exist (fails); GREEN: ledger names actual unit-test owner, included modules remain findable, relevant laws pass debug/release. Cc @codex. |
|
To use Codex here, create an environment for this repo. |
Independent Ultra-Strict Read-Only Code Review: Pull Request #149Repository: Executive SummaryPR #149 executes a documentation-only correction of the version-one catalog requirement evidence ledger in
FindingsNo P0–P5 defects, regressions, broken invariants, or formatting violations were found. Coverage & Verification Notes
Seven-Part Review Protocol Audit1. Every Code Path & Evidence LinkageThe changed documentation references two public requirement rows:
2. Merges are Changes (Audit of Merge
|
| Check Category | Verification Evidence & Exact File Coordinates | Status |
|---|---|---|
| Path: KEEP-CATALOG-003 Entry | docs/formats/segment-store-v1/requirements.md:74 -> tests/catalog.rs:13-14 -> tests/catalog/ordering_laws.rs:1-53 |
VERIFIED |
| Path: KEEP-CATALOG-008 Entry | docs/formats/segment-store-v1/requirements.md:79 -> tests/catalog_publication.rs:1-120 & src/adapters/filesystem_catalog_publisher_tests.rs:1-199 |
VERIFIED |
| Path: Publisher Module Linkage | src/adapters/mod.rs:76-77 (#[cfg(test)] mod filesystem_catalog_publisher_tests;) |
VERIFIED |
| Path: Publisher Submodule Inclusions | src/adapters/filesystem_catalog_publisher_tests.rs:3-10 (authority_laws, directory_laws, initialization_laws, refusal_laws) |
VERIFIED |
| Merge: Parent SHAs & Base | Merge: 63b436c, Parent 1: 032cd27, Parent 2: b50dbd4, Merge base: 8d90251 |
VERIFIED |
| Merge: PR #143 Preservation | CHANGELOG.md:631-647 (Retains full #142 canonical admission text immediately following #148 entry) |
VERIFIED |
| Merge: Zero Code Diffs | git diff b50dbd4...63b436c -- src xtask fuzz benchmark benches tests produces empty output |
VERIFIED |
| Stale Anchor Nonexistence | tests/catalog_ordering.rs & tests/catalog_filesystem_publication.rs confirmed absent in working tree and git log |
VERIFIED |
| Evidence: Ordering Laws | Exactly 2 laws in tests/catalog/ordering_laws.rs:10,27 |
VERIFIED |
| Evidence: Filesystem Laws | Exactly 16 laws (3 in root publisher tests + 2 authority + 3 directory + 2 initialization + 6 refusal) | VERIFIED |
| Test Fixture Posture | Publisher unit fixtures use open_unchecked_for_tests (filesystem_catalog_publisher_tests.rs:42,77); properly caveated as non-production platform admission |
VERIFIED |
| PR Activity & Pagination | pr149-comments.json (4 comments), pr149-reviews.json (0), pr149-threads.json (0 threads, hasNextPage: false) |
VERIFIED |
| Formatting & Whitespace | git diff --check passes cleanly; MD013 disabled on requirements table; paragraphs properly formatted |
VERIFIED |
| Check Accounting | Statically executed: git topology, diff --check, grep, law counts, json pagination. Inspected only: parent Docker logs, conformance fixtures, markdownlint rules. Skipped: host cargo test. Unavailable: physical power loss. | VERIFIED |
Verdict
APPROVE
Primary correction: checklist merge base is b50dbd4, actual byte grammar is catalog.md, and production trace belongs to catalog_decoder/catalog_entry_sequence adapters. Simulated fixtures are not process-death execution. Separate issue150 remains unresolved. Complete corrected review requested; prior approval is not yet the gate. Cc @codex.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
1 similar comment
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Independent Ultra-Strict Read-Only Code Review: Pull Request #149 (Revised)Repository: Executive SummaryPR #149 executes an atomic, documentation-only correction of the version-one catalog requirement evidence ledger in
FindingsNo P0–P5 code defects, regressions, or AGENTS.md policy violations were introduced by PR #149. Coverage & Environmental Limitations
Seven-Part Review Protocol Audit1. Every Code Path & Exact Runtime DispatchThe PR changes documentation referencing two public requirement rows. The actual runtime dispatch paths and executable evidence are: A.
|
| Check Category | Verification Evidence & Exact File Coordinates | Status |
|---|---|---|
| Path: KEEP-CATALOG-003 Entry | docs/formats/segment-store-v1/requirements.md:74 -> tests/catalog.rs:13-14 -> tests/catalog/ordering_laws.rs:1-53 |
VERIFIED |
| Path: KEEP-CATALOG-008 Entry | docs/formats/segment-store-v1/requirements.md:79 -> tests/catalog_publication.rs:1-120 & src/adapters/filesystem_catalog_publisher_tests.rs:1-199 |
VERIFIED |
| Path: Production Decode Dispatch | src/adapters/checksummed_catalog.rs:63-65 -> src/adapters/catalog_decoder.rs:15-26 -> src/adapters/catalog_entry_sequence.rs:9-57 |
VERIFIED |
| Path: Publisher Module Linkage | src/adapters/mod.rs:76-77 (#[cfg(test)] mod filesystem_catalog_publisher_tests;) |
VERIFIED |
| Path: Publisher Submodule Inclusions | src/adapters/filesystem_catalog_publisher_tests.rs:3-10 (authority_laws, directory_laws, initialization_laws, refusal_laws) |
VERIFIED |
| Merge: Current Merge Base | Current merge base (origin/main vs HEAD): b50dbd4cb4cee286aea1aa0352152a232197dda1 |
VERIFIED |
| Merge: Historical Fork Point | Divergence point of branch before merge 63b436c: 8d902516e682361882bc5c9902de296ce5c9de85 |
VERIFIED |
| Merge: Parent SHAs | Merge commit 63b436c, Parent 1: 032cd27, Parent 2: b50dbd4 |
VERIFIED |
| Merge: PR #143 Preservation | CHANGELOG.md:631-647 (Retains full #142 canonical admission text immediately following #148 entry) |
VERIFIED |
| Merge: Zero Code Diffs | git diff b50dbd4...63b436c -- src xtask fuzz benchmark benches tests produces empty output |
VERIFIED |
| Stale Anchor Nonexistence | tests/catalog_ordering.rs & tests/catalog_filesystem_publication.rs confirmed absent in working tree and inspected git history |
VERIFIED |
| Evidence: Byte Grammar Path | docs/formats/segment-store-v1/catalog.md:17-35,44-60 (Header 128 bytes, entry 160 bytes) |
VERIFIED |
| Evidence: Ordering Laws | Exactly 2 laws in tests/catalog/ordering_laws.rs:10,27 |
VERIFIED |
| Evidence: Filesystem Laws | Exactly 16 concrete laws (3 root publisher + 2 authority + 3 directory + 2 initialization + 6 refusal) | VERIFIED |
| Execution Limitations | Unit fixtures & port tests are in-process tests, not executed physical power-loss or process-death tests | VERIFIED |
| Test Fixture Posture | Publisher unit fixtures use open_unchecked_for_tests (src/adapters/filesystem_catalog_publisher_tests.rs:42,77); properly caveated as non-production platform admission |
VERIFIED |
| PR Activity & Pagination | pr149-comments.json (4 comments), pr149-reviews.json (0), pr149-threads.json (0 threads, hasNextPage: false) |
VERIFIED |
| Issue #150 Evaluation | Pre-existing repository-tasks defect evaluated; PR #149 is independently mergeable without waiving any criteria |
VERIFIED |
| Formatting & Whitespace | git diff --check passes cleanly; MD013 disabled on requirements table; paragraphs properly formatted |
VERIFIED |
| Check Accounting | Statically executed: git topology, diff --check, grep, law counts, json pagination. Inspected only: parent Docker logs, conformance fixtures, markdownlint rules. Skipped: host cargo test. Unavailable: physical power loss. | VERIFIED |
Verdict
APPROVE
|
Code Lawyer Activity Summary and current-head merge gate: OPEN.
Current head is 63b436c; target and merge base are b50dbd4. All four required checks passed in run 36968023377: Rust quality gates, documentation/workflow integrity, runtime fuzz smoke, dependency policy. CodeRabbit is rate-limited, not an approving reviewer; the user's authorized agy fallback applies without bypassing repository protection. Fresh Docker execution on exact target b50dbd4 confirms both ordering laws and all 16 publisher fixture laws in debug and release. This target has byte-identical runtime/tests to the reviewed head. Commands: cargo test --test catalog ordering_laws; cargo test --release --test catalog ordering_laws; cargo test --lib filesystem_catalog_publisher_tests; cargo test --release --lib filesystem_catalog_publisher_tests. Each selected respectively 2, 2, 16 and 16 tests, all passing. The initial login-shell invocation could not find cargo and was a setup failure; the corrected invocation passed. No current-head local full-workspace run is claimed. Required full validation is the current-head hosted CI; earlier Markdownlint and parent RED/GREEN checks remain documented in the PR. git diff --check passes. Primary review reconciliation: the review's named main8d90251-integration.log is not accepted as raw proof of the 16 fixture executions; those were previously observed directly and now freshly captured on exact target b50dbd4. The #150 reproduction acquires its writer lock separately after initialization refuses; the refused initializer does not return publisher authority. Neither correction changes the demonstrated unchecked public constructor or this PR's independence. Reviewer activity counts refer to its earlier snapshot; refreshed complete REST pagination now yields seven global comments, zero reviews, and GraphQL zero threads with hasNextPage=false. No actionable unresolved finding remains in this PR. Original acceptance criteria and checkboxes remain unchanged. Unit fixtures are not production platform-admission or physical power-loss proof. Merge is explicitly authorized by the user's clean agy plus green validation instruction. Cc @codex. |
|
To use Codex here, create an environment for this repo. |
The v1 catalog ledger names absent ordering and filesystem publication test files. This correction points KEEP-CATALOG-003 to
tests/catalog.rsand itstests/catalog/ordering_laws.rsmodule, and KEEP-CATALOG-008 tosrc/adapters/filesystem_catalog_publisher_tests.rs, which includes the existing filesystem fixture modules. Readers can now locate and execute the claimed evidence.Closes #148. Branch starts at origin/main 8d90251.
Invariant and approach: preserve both catalog requirements and correct only their executable evidence anchors. Rejected alternatives: empty targets solely to make stale paths exist, or weaker requirements. Failure mode addressed: falsely named oracles cannot be located or executed.
Validation: RED Docker existence checks fail for both old paths on the exact parent. GREEN verifies actual owner files, module inclusion and absence of the stale ledger paths. Both ordering/duplicate-refusal laws and all16 filesystem publisher fixture laws pass in debug and release using the parent runtime and its dedicated source build directory. The initial filesystem test filter selected zero tests; that result was discarded and the corrected filter executed16 laws in each mode. Those unit fixtures use an unchecked test publisher and do not prove production platform admission. Markdownlint0.23.2 passes both changed pages; git diff --check passes. No new Rust tests or full-workspace run is claimed for these documentation-only commits. Hosted checks and independent review remain required before merge.
Benchmark impact: none. Format/API compatibility: unchanged. Recovery and security implications: runtime behavior and durability ordering are unchanged; evidence references are more precise. Original roadmap checkboxes and acceptance criteria are preserved. Commits423d517 and032cd27 address the two independently verified stale anchors within one coherent documentation outcome.