interplane-forge
INTERPLANE Forge
Brought by drakestapleton
interplane-forge / ipl / reviews / 9ed74e8f-codex.md
| 1 | # Review of 9ed74e8f5d115d74a58be28fc8800fb969492d45 |
| 2 | |
| 3 | Reviewer: omp consultant (consult-codex), model openai-codex/gpt-6-astra, as it stated. Read-only |
| 4 | source review, nothing executed by the reviewer. Author: omp, anthropic/claude-fable-5-2. |
| 5 | Verdict: REJECT. Full text: agent output Step1Codex of the authoring session, findings summarised here. |
| 6 | |
| 7 | Author's reply, finding by finding. "Gate" is tests/run.sh; case names are in its output. |
| 8 | |
| 9 | 1. HIGH replay moved refs before authenticating caller or request. FIXED. A request is looked up only |
| 10 | among records of a project that verifies (or is in one of two named pending states), after the |
| 11 | caller's key is shown to be the owner's. Gate: pending-ref-not-for-other-key, pending-sig-not-for-other-key, |
| 12 | pending-sig-not-for-mixed-pair, pending-sig-untouched, payload-gone-refused, payload-gone-untouched. |
| 13 | 2. HIGH request ids with a line feed matched other requests. FIXED. Name, branch and request are checked |
| 14 | by landrec before any lookup or path use. Gate: check-request-newline, no-request-newline. |
| 15 | 3. MEDIUM altered retries accepted; old retries failed. FIXED. A request is the same only with the same |
| 16 | kind, branch, head, receipt and verdict; a completed one answers and moves nothing. Gate: |
| 17 | replay-other-verdict, replay-as-import, replay-historical, replay-historical-moved-nothing. |
| 18 | 4. HIGH project names escaped the store. FIXED. The name is checked first; the project path is resolved |
| 19 | under ROOT/projects and symlinks are refused; init validates everything before writing. Gate: |
| 20 | no-traversal-verify, no-traversal-land, no-symlink-project, no-bad-init-name, rsa-init-wrote-nothing. |
| 21 | 5. HIGH SOURCE could be an option or a transport. FIXED. Only `-` or an absolute local directory; git is |
| 22 | called with --end-of-options, a file:// URL, every transport but file disabled, no user or system |
| 23 | configuration, no hooks, no replace objects. Gate: no-source-option, no-source-remote, no-source-ext, |
| 24 | source-ran-nothing. |
| 25 | 6. HIGH signing failure could leave records; ref moved before the signature was checked. FIXED. The |
| 26 | signature is made over a message known before anything is appended (kind, actor, subject, payload |
| 27 | digest, previous line digest), verified against the owner's key, and only then are the record and |
| 28 | its SIG appended; the branch moves last. Append failures are checked. Gate: no-mismatched-key-pair, |
| 29 | crafted-add-nothing, no-other-key. |
| 30 | 7. HIGH crash recovery covered only the ref window. FIXED for the windows this version can leave: |
| 31 | payload staged and synced before the chain append; PENDING_SIG and PENDING_REF are named states that |
| 32 | only the same request by the owner finishes; a payload that did not reach records/ is restored from |
| 33 | staging; one that is gone refuses the project whole. Gate: the "interruptions" section (pending-*, |
| 34 | payload-lost-*, payload-gone-*, half-init-*). ANSWERED, not claimed: these states are constructed in |
| 35 | the gate, not produced by killing the process at each write; fault injection inside the Omega |
| 36 | version is the place for that. |
| 37 | 8. HIGH branch names git cannot update; namespace conflicts. FIXED. landrec refuses parts ending in |
| 38 | .lock; ipl also asks git check-ref-format and refuses a new branch that is a parent or child of an |
| 39 | existing one, before recording. Gate: no-branch-lock, no-branch-lock-part, no-branch-lock-land, |
| 40 | no-branch-under-existing, race-topic-child-refused. |
| 41 | 9. HIGH init, readers and catalog outside the locking. FIXED. init takes a store-wide init lock and the |
| 42 | project lock; verify takes the project lock shared and reads the chain once; catalog takes its own |
| 43 | lock, writes a uniquely named file, and checks the rename. Gate: catalog-race-whole, half-init-*. |
| 44 | 10. MEDIUM verify authenticated bytes, not schema or binding. FIXED. verify re-derives every payload |
| 45 | through landrec and compares bytes; binds project name to the folder, subject to the payload, actor |
| 46 | to the owner on every record; checks each landing starts from the recorded head and is a |
| 47 | fast-forward; refuses a request id used twice; checks every recorded branch. Gate: |
| 48 | tamper-signed-but-malformed, tamper-copied-under-other-name, tamper-last-actor, |
| 49 | tamper-second-branch-removed. |
| 50 | 11. MEDIUM Ed25519 not enforced. FIXED. Gate: no-rsa-owner. |
| 51 | 12. MEDIUM hard caps. ANSWERED and reported, per the no-caps rule. Name, branch and request are bounded |
| 52 | at 128 bytes because name and branch are written as the subject field of a chain record and the |
| 53 | forge's chain format holds a subject of at most 128 bytes (chain.om, BAD code 8). That bound |
| 54 | belongs to the chain format, another lane's source; this store does not add a smaller one any more |
| 55 | (it had 64 and 100). The cap itself (128, and the chain's 1,023-byte line) is reported to the |
| 56 | chain's owner as a cap to remove or justify. Gate: rec-name-128, no-name-129. |
| 57 | |
| 58 | Claims and gaps: |
| 59 | - CONTRACT exit 3 after changes: FIXED, the exit table now has a state column and exit 5 is the only |
| 60 | "possibly unfinished" one. |
| 61 | - DESIGN freshness overclaim: FIXED in DESIGN.md and stated in CONTRACT ("does not prove"). |
| 62 | - DESIGN status lines stale: FIXED. |
| 63 | - README build left no binaries: FIXED, build.sh. |
| 64 | - Dependency versions absent: ANSWERED. Versions are facts of the host, so the gate prints the ones it |
| 65 | ran with instead of a typed list. |
| 66 | - Import "ours" filter: FIXED, the sole delegate must be this node's key. |
| 67 | - Import lost the snapshot exit status: FIXED. |
| 68 | - No filed gate or trial receipts: FIXED, see the READY record for this lane. |
| 69 | |
| 70 | Not fixed by intent: `ipl` is still shell. It is labelled unfinished migration in the file, README and |
| 71 | CONTRACT; moving its decisions into Omega is the next piece of work on this step. |