Repository navigation
073 increment 1: extraction programs and templates on plan check and plan compile - #601
Conversation
AI review (no-findings)Reviewing the diff for spec 073 increment 1 (surface and CLI support for Byte limits for new document types ( Extraction programs route through the existing CLI validation ordering ( The flag-combination check ( Profile-path check ( The Unchanged callers ( Node commands, the WASM package, the serve offline path, and the repeat commands all use Conformance surface filtering (
The comment explains the rationale (the enum is a Golden plan identity Both No concrete bugs, security issues, or contradictions with the governance documents were found. {"head": "fe716a43b593bd789e0dcdca1b03574eabc1b03a", "verdict": "no-findings", "findings": []}Subject: 13cb581...fe716a4, diff digest f4e058972b48a01b8ee15c6892eded8e38f57159ecc4ba2da80cdf85d6cff983, 1 call(s). An AI comment is not an approval. |
fe716a4 to
ab652c1
Compare
AI review (findings)Reviewing the diff against spec 073 and the governance rules. Structural changes are consistent: One concrete defect found:
The fix is to add an No security issues were found: file I/O goes through the {"head": "ab652c150a843b3cf4884fc8263325c2bbf778f9", "verdict": "findings", "findings": [{"path": "specs/073-compile-extraction-documents-from-hosts/spec.md", "line": null, "severity": "medium", "category": "correctness", "summary": "integrations/rustev-node/src/commands.rs and src/profile.rs are modified in this PR but no extends entry for integrations/rustev-node/ is added to spec 073, and the implementation record incorrectly states the Node binding is unchanged, leaving those paths unclaimed for the coupling gate."}]}Subject: c03069f...ab652c1, diff digest 6926228adf5575d2cabb85d0727b0796a309dc476768a41040707c3fe5da14f7, 1 call(s). An AI comment is not an approval. |
AI review (findings)Reviewing the diff for spec 073 (increment 1: surface/CLI) and spec 074 (spec text only), plus the supply-chain advisory update to spec 001. Code and logic review:
One lifecycle inconsistency: Spec 073's frontmatter declares Spec 074's {"head": "ab652c150a843b3cf4884fc8263325c2bbf778f9", "verdict": "findings", "findings": [{"path": "specs/073-compile-extraction-documents-from-hosts/spec.md", "line": 7, "severity": "low", "category": "ratification", "summary": "Frontmatter declares `implementation: pending` and the opening sentence repeats the same claim, but the implementation record in the same file describes increment 1 as fully delivered in this PR; the accurate lifecycle value is `in-progress`."}]}Subject: fa50cbb...ab652c1, diff digest a57c01309a5db580f670d9819642526aaab2801267f2bd978e6f9ab6bd9b3014, 1 call(s). An AI comment is not an approval. |
…and Node's command path in 3.3.4 (AI review)
…plan compile `rustev plan check` and `plan compile` take repeatable `--extract-rules` and `--template` and compile through `compile_with_extraction_documents` (spec 073, 3.2 to 3.4); without them, the call is exactly today's. The shared rules-first golden (3.7, a synthetic airline confirmation) is pinned in the core and compiled by the CLI to the same bytes and PlanId. Five CLI conformance cases, surfaces `cli`.
ab652c1 to
c6dc918
Compare
AI review (no-findings)Reviewing the diff for spec 073 increment 1: CLI and surface plumbing for args.rs / deps.rs / io.rs — flags registered for the two commands only, count caps wired through plan.rs validation — when either new flag is present, surface/deps.rs — extraction programs read under surface/plan.rs — the early return for surface/profile.rs — refusal of extraction documents on the parameterized/profile path occurs before Other callers ( plan_diff.rs — Golden consistency — spec 073 edits — adds No concrete defects found. {"head": "c6dc9185e8bdb01f1e9442a932e8401c5c0e905a", "verdict": "no-findings", "findings": []}Subject: 9e1ab3a...c6dc918, diff digest 07b6a44f133027078694bf5bd5d0ba6288371736402215789cf6336fd583976f, 1 call(s). An AI comment is not an approval. |
Pull request was closed
AI review (no-findings)Reviewing the PR, which implements spec 073 increment 1: CLI/surface support for args.rs — New flags added only to deps.rs — plan.rs — Validation block correctly forbids profile.rs — The guard before plan_diff.rs — other callers ( golden fixtures — spec file — The two new No concrete defects found. {"head": "c6dc9185e8bdb01f1e9442a932e8401c5c0e905a", "verdict": "no-findings", "findings": []}Subject: 9e1ab3a...c6dc918, diff digest 07b6a44f133027078694bf5bd5d0ba6288371736402215789cf6336fd583976f, 1 call(s). An AI comment is not an approval. |
Summary
Spec 073 increment 1 (#598), stacked on #599.
rustev-surface:DepArgsandDepscarry extraction programs and prompt templates, read after calibrations in the order supplied, each under its type's bound.compile_definition_bytescallscompile_with_extraction_documentswhen either is given, and exactly today'scompile/compile_withotherwise (3.3.1). The instantiation path refuses them withinvalid_input(3.3.4).rustev-cli:--extract-rulesand--templateonplan checkandplan compile, capped at 4 096 files each (006 3.3.2). They are a usage error with--profile,--profile-base,--variant,--definition-versionor a second--definition. The help text is updated.crates/rustev-core/tests/golden/rules-first/holds a synthetic fictional airline confirmation (/2program withtoken_after,token_matchinganddate{dmy_name},fill: rules_first).tests/rules_first_golden.rspins its plan and PlanId, and the CLI writes the same bytes.crates/rustev-cli/tests/extraction_documents.rs(10 tests over section 5), goldensextraction-documents.*.json, and five harvested conformance cases (clihere; increment 2 addsnative).No contract type, schema, generated binding type, existing golden or existing conformance case changes.
Checks
make gate, the coupling check andmake codepass locally.