plan: portable-core-contracts - #179
Conversation
Codex reviewer (cross-vendor, read-only)Reviewed-head: b9c82bc Posted verbatim by The plan leaves the variable manifest input list unbounded, undermining its fixed resource limits and allowing avoidable local resource exhaustion. Review comment:
|
Codex reviewer (cross-vendor, read-only)Reviewed-head: 874d972 Posted verbatim by The plan matches the accepted spec, records the correct spec blob, bounds manifest inputs, preserves the inactive-validator scope, and provides suitable implementation and proof steps. No actionable correctness issue was found. |
Final handoff — plan review clean, CI greenPlan head Formal round-1 found no actionable correctness issue: #179 (comment) The PR changes only
|
Closes #178
Pre-code plan gate
This PR proposes the exact implementation plan for the accepted
portable-core-contractsspec. It records spec blobf5b218626dec8484518295e901e427e3ff8f3dafand changes onlywork/portable-core-contracts/plan.md.The plan is the first commit on
ystack/impl/portable-core-contracts; the current reviewed head is874d9724a16150b40c9fabeb8ecf2f81f0618f1b, followed only by its plan-review fix. No implementation code or implementation PR exists.Plan outcome
core/v1/contracts.jq.scripts/core-contract.sh./yshifuchange.Review
Independent implementability and security/compliance reviews are clean. Their one shared finding was resolved before this commit: parsed depth/member/string/integer limits return
E_LIMITfromcontracts.jq, while raw byte size remains the wrapper'sE_LIMIT. The fixed validation order is raw bytes → parsed limits → shape → ref → relation.Formal round-0 found an unbounded
MANIFEST...list. Round-1 boundsvalidate-profile-setto 1–8 manifest arguments, returnsE_USAGEfor 0 or 9+ before opening any input, and requires 0/1/8/9 sentinel-path tests. Independent implementability and security reviews of that exact fix are clean.Formal round-1 reviewed exact head
874d9724a16150b40c9fabeb8ecf2f81f0618f1bagainst base1c2f1844041f5323d742e0e389b2f43fea6eeb7eand found no actionable correctness issue: #179 (comment). GitHub CI is green on the same head.Exact-head proof
Clean isolated worktree at
874d9724a16150b40c9fabeb8ecf2f81f0618f1bagainst base1c2f1844041f5323d742e0e389b2f43fea6eeb7e:work/portable-core-contracts/plan.mdchanged;spec-blob, and intent freshness: passed;git diff --check: passed.Merging this PR accepts only this exact plan and permits implementation to begin. It does not accept code, create a live validator, activate a profile, or grant agent merge authority. Any later plan change invalidates this acceptance. Human merge only.