sc-compose 20261007-3-fuzz-report — run5 rerun at a0ce54da plus retained run4

Template/attach and differential rerun at a0ce54da; boundary/shape retained at 66a560fd (not rerun)

Generated: 2026-10-08T02:25:00Z (supplied campaign completion note); updated 2026-10-08 with the run5 rerun envelopes at a0ce54da

FAIL

Summary

Mixed evidence: 3006 selected cases. Run5 rerun at a0ce54da: 848 scenarios (template 568, differential 280), binary pass/fail counts not supplied; TMPL5-02, TMPL5-03 and DIFF5-01 remain confirmed, TMPL5-01 is fixed at the tested head. Retained run4 (boundary/shape at 66a560fd, not rerun) binary subtotal 2122/2158 passed, 36 failed.

Run5 was rerun at a single head: a0ce54daf5e9a8c756868611b5913b08f5b60dc1 (tree 2c77262509320395b3cd317dc29b22ab3499155f), the base of this report layer, whose code tree is identical because the layer changes only site/reports. The rerun covers every template family A-F (568 scenarios, including the attach and preview_attach routes) and every differential family (R1 160 pairs with 53 classified mismatches, R2 40, R3 54, R4 26), plus 108 minimizer reproduction runs (84 template, 24 differential). TMPL5-01 is fixed at a0ce54da (0/48 reproduction runs leak; it was confirmed at the previous run head f9f32454). TMPL5-02, TMPL5-03 and DIFF5-01 are still confirmed; DIFF5-02 and DIFF5-03 are still inconclusive; DIFF5-04 is unchanged.

Boundary and shape were not rerun at a0ce54da. Their results are run4 evidence at 66a560fd and are labeled with that head. bd was a fake stub for every run5 case (the dolt stub exits 99); real bd/Dolt behavior is out of scope, and run5 does not fulfill the original full real-bd/Dolt campaign criterion.

Fuzz run descriptionIterationsPassResult
boundary retained run4 evidence at 66a560fd; not rerun at a0ce54da 1121 1088/1121 FAIL
differential run5 rerun at a0ce54da (fake bd stub); binary pass/fail counts not supplied 280 not supplied/280 FAIL
shape retained run4 evidence at 66a560fd; not rerun at a0ce54da 1037 1034/1037 FAIL
template run5 rerun at a0ce54da (fake bd stub); binary pass/fail counts not supplied 568 not supplied/568 FAIL
Worker evidence scope and incomparable measures
WorkerRunHeadCasesBinary passesBinary failuresMode
boundary-probe466a560fd59df5f490d3e89d94a24c7d31040b6431121108833retained run4 original fixtures; see source envelope
differential-probe5a0ce54daf5e9a8c756868611b5913b08f5b60dc1280not suppliedNonefake
shape-probe466a560fd59df5f490d3e89d94a24c7d31040b643103710343retained run4 original fixtures; see source envelope
template-probe5a0ce54daf5e9a8c756868611b5913b08f5b60dc1568not suppliedNonefake
Run5 rerun provenance (tested head a0ce54da)
WorkerTested headTested treeRerun scopePrevious runs (history)
template-probea0ce54daf5e9a8c756868611b5913b08f5b60dc12c77262509320395b3cd317dc29b22ab3499155fSingle-head rerun at a0ce54da: the complete tmpl.py run (all six families A-F, every scenario, seed 157, nothing skipped or weakened), including the boundary and request-shape scenarios behind TMPL5-B1..B3, TMPL5-O1/O2 and TMPL5-N1, plus min1.py-min5.py (84 reproduction runs). Compared with the e44ef65b run, every one of the 568 rows is identical in every recorded field (rc, outcome, violations, problems, bd calls, stderr, note) after normalizing pids and timestamps; the error-path presentation changes in 7dfd37da/a0ce54da produced no visible change on macOS. Compared with f9f32454, the only change is that the two TMPL5-01 rows are no longer flagged. Baseline rows (min4, min5) used the unchanged baseline binary.e44ef65bfabf1228e6c1dab432d1e2520aa0d57c (intermediate); f9f324548b608e2f0bd841aed4a7ae2a9c035b06 (first run5 report)
differential-probea0ce54daf5e9a8c756868611b5913b08f5b60dc12c77262509320395b3cd317dc29b22ab3499155fRerun at a0ce54da: the complete diff.py run (r1, r2, r3; 254 rows) then r4.py (26 rows, appended to the same file), then min6.py (24 reproduction runs), all serial and in the foreground with fake bd only. All 280 rows (R1-R4) are identical in every recorded field to the e44ef65b run after normalizing pids, timestamps and elapsed times; r1_changed_vs_prev lists any R1 pair whose normalized diffs changed against the e44ef65b results.e44ef65bfabf1228e6c1dab432d1e2520aa0d57c (intermediate); f9f324548b608e2f0bd841aed4a7ae2a9c035b06 (first run5 report)
boundary-probe66a560fd59df5f490d3e89d94a24c7d31040b643not recordedNot rerun at a0ce54da; run4 evidence only.run4
shape-probe66a560fd59df5f490d3e89d94a24c7d31040b643not recordedNot rerun at a0ce54da; run4 evidence only.run4
Run5 findings at a0ce54da (status from the rerun envelopes)
FindingClassExpectedObservedOwnerEvidence at a0ce54da
DIFF5-01confirmed_bugBaseline behaviour, and serde's contract for its message: the 'at line L column C' location in BEADS_REQUEST_DESERIALIZATION_FAILED refers to the request file the user suppliedHead: 'invalid type: sequence, expected a map at line 1 column 41'. Baseline: 'line 7 column 23' (correct). Head parses a reshaped copy, with parent/ref/relation endpoints replaced and the JSON re-serialized compact with sorted keys, so for type errors in compose_variables, operation and working_directory the location points into that internal string. Same for unknown operation (head line 1 col 65, base line 3 col 24) and a numeric working_directory (head line 1 col 190, base line 4 col 24). Errors raised in the first pass (bead_variables value type) still report the true location (line 8 col 27 on both).team-lead (pending triage)a0ce54da: min6 3/3 per shape: compose-array head line 1 col 41 vs base line 7 col 23, op-unknown head 1:65 vs base 3:24, wd-number head 1:190 vs base 4:24; control bv-number 8:27 on both.
DIFF5-02inconclusiveNo decisive documented oracle supplied; retain original observation classification.Registry preview_pour and pour now call `bd cook <registry>/.sc-compose-input-<pid>-<ns>-0.formula.toml --dry-run --json` where baseline called `bd cook <registry>/rega.formula.toml ...`. The receipt argv still shows the public path. This is deliberate (c1da2129 / d181b1fc snapshot isolation), but FR-23 says 'existing ... bd argv are unchanged' and ADR-0023 says registry pour keeps the 'same argv'. It also places a dot-file *.formula.toml in the active registry while cook runs. Either the docs or the argv should change; real-bd impact is out of scope (fake bd). Seen in all 30 R1 pairs that reach bd on the registry route; deterministic.team-lead (pending triage)a0ce54da: still present; 30 R1 registry-route pairs show head `bd cook <WS>/.beads/formulas/.sc-compose-input-<PID>.formula.toml --dry-run --json` vs baseline rega.formula.toml (34 R1 pairs carry a snapshot path in bd argv, 4 of them on build/ graph routes). Neither d6d00c8b (pass public paths to bd) nor the a0ce54da error-path commits changed the registry cook argv; R1 diff content is identical to the e44ef65b and f9f32454 runs.
DIFF5-03inconclusiveNo decisive documented oracle supplied; retain original observation classification.Head and baseline both wait for any descendant that keeps bd's stdout/stderr open after bd exits: a 6 s grandchild made every route take about 6.1 s, 3/3 on head and baseline, with no process left behind. ADR-0021 promises termination only for over-limit output, and there is no bd timeout, so a bd that daemonizes a child holding its pipes would block sc-compose until that child exits. Real-bd behaviour is out of scope.team-lead (pending triage)a0ce54da: r4.py rerun, 24 grandchild cases (head and baseline, cook/where/show) took 6.12-6.42 s each with a 6 s pipe-holding grandchild; 0 lingering processes; no timeout.
DIFF5-04inconclusiveNo decisive documented oracle supplied; retain original observation classification.Human failure lines now append bd's stderr cause, and its trailing newline is printed as the literal text \u{000A} (for example 'stage Validate: failed (BEADS_COOK_FAILED): Error: bad <path>\u{000A}'). The escaping is intended (055840b2); showing the ordinary trailing newline on every bd failure is cosmetic.team-lead (pending triage)a0ce54da: unchanged; the literal \u{000A} suffix appears in 6 result rows, as at e44ef65b and f9f32454.
TMPL5-01fixed_at_tested_headFUZZ-055 / d487f845 presentation rule: no receipt field presents the private .sc-compose-input-* snapshot path; argv and stderr_excerpt of the same stage already show the public rendered_formula path, and the registry validate route presents stdout too(at f9f32454; does not reproduce at e44ef65b or a0ce54da) JSON receipt, stage `validate` (attach routes) or `preview_pour`/`pour` (graph-mode pour, second cook), field stdout_excerpt contains <ws>/build/.sc-compose-input-<pid>-<ns>-0.formula.toml (a deleted file). argv and stderr_excerpt in the same stage are presented correctly. Happens on success (cook stdout with source) and on cook failure (stdout echo). Registry validate does not leak. Human output does not print stdout_excerpt, so it is clean. graph.rs execute() rewrites argv and stderr_excerpt but not stdout_excerpt, and Runtime::invoke() passes no presentation source for cook.team-lead (confirm closure)a0ce54da: 0 receipt fields (argv, stdout_excerpt, stderr_excerpt) in any stage contain .sc-compose-input-* across 48 reproduction runs (min1 0/12 cook-failure echo on preview_attach/attach/graph preview_pour/registry validate; min2 0/6 graph preview_pour/pour second-cook failure; min3 0/30 cook-with-source success, JSON and human, all five routes); in the full tmpl.py run cook-exit1-echo-path-preview_attach-json and -attach-json (flagged at f9f32454) are clean. The validate stage stdout_excerpt now shows the public build/f.formula.toml path. bd itself is still invoked with the private snapshot path (fake-bd argv log), which is the intended snapshot isolation and is not presented in the receipt.
TMPL5-02confirmed_bugFR-2b (docs/requirements.md): missing frontmatter-declared required variables must fail rendering; `sc-compose render --file` does fail with ERR_VAL_MISSING_REQUIRED for the same frontmatter. Frontmatter `defaults` should bind the variable.Exit 0, outcome succeeded; the frontmatter block is stripped (malformed YAML frontmatter does fail with BEADS_RENDER_FAILED, so it is parsed), but required_variables is not enforced and defaults are not applied: the rendered formula has title = "", and attach sends a create --graph plan with an empty title. Without frontmatter an undefined {{{ title }}} also renders silently as an empty string.team-lead (pending triage)a0ce54da: min5 27/27 runs render title = "" with exit 0 for required_variables, defaults and no-frontmatter cases on head render, head attach (create --graph sent) and baseline render; full tmpl.py run flags missing-var-{preview_attach,attach} and frontmatter-required-missing-{preview_attach,attach} (expected BEADS_RENDER_FAILED, got succeeded).
TMPL5-03confirmed_bugADR-0023 Authorization and confinement: rendered_formula is confined to working_directory, and a rendered formula outside working_directory that is not in the active registry is refused. preview-pour writes nothing persistent. A refused request should not write outside the root.rc 2, outcome failed BEADS_OUTPUT_OUTSIDE_WORKING_DIR (baseline gives BEADS_FORMULA_OUTSIDE_ACTIVE_REGISTRY), but $WS-outside/x.formula.toml has already been written (atomic replace, so an existing file there is overwritten) and `bd cook` has run on it. validate_request skips the confinement check for PreviewPour/Pour because the registry may be outside the root, and the refusal comes only after `bd where`.team-lead (pending triage)a0ce54da: min4 9/9 runs leave $WS-outside/x.formula.toml written after bd cook and bd where; head preview_pour and pour refuse BEADS_OUTPUT_OUTSIDE_WORKING_DIR, baseline preview_pour refuses BEADS_FORMULA_OUTSIDE_ACTIVE_REGISTRY.
TMPL5-O1inconclusiveNo decisive documented oracle supplied; retain original observation classification.Non-string compose values in a quoted slot render differently by escape mode: null -> '' in TOML templates and 'null' in JSON templates; arrays render as ["a", "b"] (TOML) and ["a","b"] (JSON). No documented oracle, so not reported as a bug.team-lead (pending triage)No per-item status_evidence in the envelope; covered by the full rerun (rerun_coverage).
TMPL5-O2inconclusiveNo decisive documented oracle supplied; retain original observation classification.Unknown top-level request fields (for example a typo such as `relation` for `relations`) are accepted and ignored on every route. Undocumented either way, and a typo silently drops the intended edges.team-lead (pending triage)No per-item status_evidence in the envelope; covered by the full rerun (rerun_coverage).
TMPL5-B1intentional_boundaryNo decisive documented oracle supplied; retain original observation classification.A template path containing a control character (\n, \t) fails BEADS_RENDER_FAILED with the canonical-source rule 'no control characters'. A newline in rendered_formula alone is accepted.team-lead (pending triage)No per-item status_evidence in the envelope; covered by the full rerun (rerun_coverage).
TMPL5-B2intentional_boundaryNo decisive documented oracle supplied; retain original observation classification.compose_variables nested more than about 128 levels deep give BEADS_REQUEST_DESERIALIZATION_FAILED, exit 3 (serde_json recursion limit).team-lead (pending triage)No per-item status_evidence in the envelope; covered by the full rerun (rerun_coverage).
TMPL5-B3intentional_boundaryNo decisive documented oracle supplied; retain original observation classification.When template == rendered_formula, the template is overwritten in place. Plain `sc-compose render --output <same file>` does the same, so this is consistent.team-lead (pending triage)No per-item status_evidence in the envelope; covered by the full rerun (rerun_coverage).
TMPL5-N1inconclusiveNo decisive documented oracle supplied; retain original observation classification.Cosmetic: render-stage stderr_excerpt includes the trailing text 'backtrace:\ndisabled backtrace'.team-lead (pending triage)No per-item status_evidence in the envelope; covered by the full rerun (rerun_coverage).
Historical finding status at 66a560fd, not a run5 recheck
FindingHistorical statusRun5 statusHistorical fix groups
FUZZ-012fixednot_rechecked_in_supplied_run5{"initial_fix_bead": "comp-t-7.1", "source": "latest report-only assignment explicitly mandates FUZZ012..020=.1..9", "followup_fix_beads": ["comp-t-7.26"]}
FUZZ-013fixednot_rechecked_in_supplied_run5{"initial_fix_bead": "comp-t-7.2", "source": "latest report-only assignment explicitly mandates FUZZ012..020=.1..9"}
FUZZ-014fixednot_rechecked_in_supplied_run5{"initial_fix_bead": "comp-t-7.3", "source": "latest report-only assignment explicitly mandates FUZZ012..020=.1..9"}
FUZZ-015fixednot_rechecked_in_supplied_run5{"initial_fix_bead": "comp-t-7.4", "source": "latest report-only assignment explicitly mandates FUZZ012..020=.1..9", "followup_fix_beads": ["comp-t-7.27"]}
FUZZ-016fixednot_rechecked_in_supplied_run5{"initial_fix_bead": "comp-t-7.5", "source": "latest report-only assignment explicitly mandates FUZZ012..020=.1..9"}
FUZZ-017fixednot_rechecked_in_supplied_run5{"initial_fix_bead": "comp-t-7.6", "source": "latest report-only assignment explicitly mandates FUZZ012..020=.1..9", "followup_fix_beads": ["comp-t-7.28"]}
FUZZ-018fixednot_rechecked_in_supplied_run5{"initial_fix_bead": "comp-t-7.7", "source": "latest report-only assignment explicitly mandates FUZZ012..020=.1..9"}
FUZZ-019fixednot_rechecked_in_supplied_run5{"initial_fix_bead": "comp-t-7.8", "source": "latest report-only assignment explicitly mandates FUZZ012..020=.1..9"}
FUZZ-020fixednot_rechecked_in_supplied_run5{"initial_fix_bead": "comp-t-7.9", "source": "latest report-only assignment explicitly mandates FUZZ012..020=.1..9"}
FUZZ-021changednot_rechecked_in_supplied_run5{"followup_fix_beads": ["comp-t-7.29"], "source": "latest campaign bead notes and existing task evidence; .20/.21 additionally /tmp/t7-campaign-map-20-21.json"}
FUZZ-022still_reproducesnot_rechecked_in_supplied_run5{}
FUZZ-023still_reproducesnot_rechecked_in_supplied_run5{}
FUZZ-024still_reproducesnot_rechecked_in_supplied_run5{}
FUZZ-025still_reproducesnot_rechecked_in_supplied_run5{}
FUZZ-026still_reproducesnot_rechecked_in_supplied_run5{}
FUZZ-027still_reproducesnot_rechecked_in_supplied_run5{}
FUZZ-028still_reproducesnot_rechecked_in_supplied_run5{}
FUZZ-029changednot_rechecked_in_supplied_run5{}
FUZZ-030still_reproducesnot_rechecked_in_supplied_run5{}
FUZZ-031still_reproducesnot_rechecked_in_supplied_run5{}
FUZZ-032still_reproducesnot_rechecked_in_supplied_run5{}
FUZZ-033still_reproducesnot_rechecked_in_supplied_run5{}
FUZZ-034still_reproducesnot_rechecked_in_supplied_run5{}
FUZZ-035still_reproducesnot_rechecked_in_supplied_run5{}
FUZZ-036still_reproducesnot_rechecked_in_supplied_run5{}
FUZZ-037still_reproducesnot_rechecked_in_supplied_run5{}
FUZZ-038fixednot_rechecked_in_supplied_run5{"followup_fix_beads": ["comp-t-7.21"], "source": "latest campaign bead notes and existing task evidence; .20/.21 additionally /tmp/t7-campaign-map-20-21.json"}
FUZZ-039fixednot_rechecked_in_supplied_run5{}
FUZZ-040fixednot_rechecked_in_supplied_run5{"followup_fix_beads": ["comp-t-7.30"], "source": "latest campaign bead notes and existing task evidence; .20/.21 additionally /tmp/t7-campaign-map-20-21.json"}
FUZZ-041fixednot_rechecked_in_supplied_run5{"followup_fix_beads": ["comp-t-7.31"], "source": "latest campaign bead notes and existing task evidence; .20/.21 additionally /tmp/t7-campaign-map-20-21.json"}
FUZZ-042fixednot_rechecked_in_supplied_run5{"followup_fix_beads": ["comp-t-7.20"], "source": "latest campaign bead notes and existing task evidence; .20/.21 additionally /tmp/t7-campaign-map-20-21.json"}
FUZZ-043fixednot_rechecked_in_supplied_run5{}
FUZZ-044still_reproducesnot_rechecked_in_supplied_run5{}
FUZZ-045still_reproducesnot_rechecked_in_supplied_run5{}
FUZZ-046changednot_rechecked_in_supplied_run5{}
FUZZ-047still_reproducesnot_rechecked_in_supplied_run5{}
FUZZ-048still_reproducesnot_rechecked_in_supplied_run5{}
FUZZ-049fixednot_rechecked_in_supplied_run5{"followup_fix_beads": ["comp-t-7.19"], "source": "latest campaign bead notes and existing task evidence; .20/.21 additionally /tmp/t7-campaign-map-20-21.json"}
FUZZ-050fixednot_rechecked_in_supplied_run5{"followup_fix_beads": ["comp-t-7.22"], "source": "latest campaign bead notes and existing task evidence; .20/.21 additionally /tmp/t7-campaign-map-20-21.json"}
FUZZ-051fixednot_rechecked_in_supplied_run5{}
FUZZ-052changednot_rechecked_in_supplied_run5{"followup_fix_beads": ["comp-t-7.23"], "source": "latest campaign bead notes and existing task evidence; .20/.21 additionally /tmp/t7-campaign-map-20-21.json"}
FUZZ-053fixednot_rechecked_in_supplied_run5{"followup_fix_beads": ["comp-t-7.24"], "source": "latest campaign bead notes and existing task evidence; .20/.21 additionally /tmp/t7-campaign-map-20-21.json"}
FUZZ-054fixednot_rechecked_in_supplied_run5{}
FUZZ-055changedTMPL5-01_stdout_excerpt_residual_fixed_at_a0ce54da{"followup_fix_beads": ["comp-t-7.25", "comp-t-7.33"], "source": "latest campaign bead notes and existing task evidence; .20/.21 additionally /tmp/t7-campaign-map-20-21.json"}
FUZZ-056still_reproducesnot_rechecked_in_supplied_run5{}
differential-probe run5 rerun at a0ce54da supplied run5 family measures
FamilyCasesMeasures
R1-head-vs-base160{"scenarios": 160, "mismatches": 53}
R2-head-determinism40{"scenarios": 40, "mismatches": 0}
R3-metamorphic54{"scenarios": 54, "mismatches": 0}
R4-process26{"scenarios": 26, "mismatches": 0}
template-probe run5 rerun at a0ce54da supplied run5 family measures
FamilyCasesMeasures
A-roundtrip60{"scenarios": 60, "flagged": 0}
B-structure80{"scenarios": 80, "flagged": 4}
C-paths78{"scenarios": 78, "flagged": 0}
D-ids144{"scenarios": 144, "flagged": 0}
E-bd-responses106{"scenarios": 106, "flagged": 0}
F-pour100{"scenarios": 100, "flagged": 0}
Run5 differential mismatch index at a0ce54da (53 rows, overlapping kinds; unchanged from the previous runs)
CaseOperationExit head/baseKinds
route-preview_pour-registry-jpreview_pour0/0K2-registry-cook-argv-snapshot, K1-pour_mode-field-additive
route-preview_pour-registry-hpreview_pour0/0K2-registry-cook-argv-snapshot, K1-pour_mode-field-additive
route-preview_pour-build-jpreview_pour0/2K3-graph-pour-mode-ADR-0023
route-preview_pour-build-hpreview_pour0/2K3-graph-pour-mode-ADR-0023
route-pour-registry-jpour0/0K2-registry-cook-argv-snapshot, K1-pour_mode-field-additive
route-pour-registry-hpour0/0K2-registry-cook-argv-snapshot, K1-pour_mode-field-additive
route-pour-build-jpour0/2K3-graph-pour-mode-ADR-0023
route-pour-build-hpour0/2K3-graph-pour-mode-ADR-0023
bv-0-preview_pourpreview_pour0/0K2-registry-cook-argv-snapshot, K1-pour_mode-field-additive
bv-0-pourpour0/0K2-registry-cook-argv-snapshot, K1-pour_mode-field-additive
bv-1-preview_pourpreview_pour0/0K2-registry-cook-argv-snapshot, K1-pour_mode-field-additive
bv-1-pourpour0/0K2-registry-cook-argv-snapshot, K1-pour_mode-field-additive
bv-2-preview_pourpreview_pour0/0K2-registry-cook-argv-snapshot, K1-pour_mode-field-additive
bv-2-pourpour0/0K2-registry-cook-argv-snapshot, K1-pour_mode-field-additive
bv-3-preview_pourpreview_pour0/0K2-registry-cook-argv-snapshot, K1-pour_mode-field-additive
bv-3-pourpour0/0K2-registry-cook-argv-snapshot, K1-pour_mode-field-additive
bv-4-preview_pourpreview_pour0/0K2-registry-cook-argv-snapshot, K1-pour_mode-field-additive
bv-4-pourpour0/0K2-registry-cook-argv-snapshot, K1-pour_mode-field-additive
bv-5-preview_pourpreview_pour0/0K2-registry-cook-argv-snapshot, K1-pour_mode-field-additive
bv-5-pourpour0/0K2-registry-cook-argv-snapshot, K1-pour_mode-field-additive
err-bad-auth-jpour3/3K5-refined-error-code
err-bad-auth-hpour3/3K5-refined-error-code
err-name-dotdot-jpreview_pour2/2K2-registry-cook-argv-snapshot
err-name-dotdot-hpreview_pour2/2K2-registry-cook-argv-snapshot
err-name-space-jpreview_pour2/2K2-registry-cook-argv-snapshot
err-name-space-hpreview_pour2/2K2-registry-cook-argv-snapshot
err-name-unicode-jpreview_pour2/2K2-registry-cook-argv-snapshot
err-name-unicode-hpreview_pour2/2K2-registry-cook-argv-snapshot
err-out-nodir-jrender3/3K5-refined-error-code
err-out-nodir-hrender3/3K5-refined-error-code
err-out-isdir-jrender3/3K5-refined-error-code
err-out-isdir-hrender3/3K5-refined-error-code
err-compose-array-jrender3/3K6-request-error-location (DIFF5-01)
err-compose-array-hrender3/3K6-request-error-location (DIFF5-01)
err-op-unknown-jrender3/3K6-request-error-location (DIFF5-01)
err-op-unknown-hrender3/3K6-request-error-location (DIFF5-01)
err-relations-on-render-jrender3/0K7-new-shape-refusal-ADR-0023
err-relations-on-render-hrender3/0K7-new-shape-refusal-ADR-0023
err-parent-on-pour-jpour3/0K7-new-shape-refusal-ADR-0023
err-parent-on-pour-hpour3/0K7-new-shape-refusal-ADR-0023
err-include-escape-jrender2/0K8-includes-expanded-255cb44d
err-include-escape-hrender2/0K8-includes-expanded-255cb44d
bd-cook-fail-hvalidate2/2K4-human-stage-cause-text
bd-cook-fail-ansi-hvalidate2/2K4-human-stage-cause-text
bd-where-fail-jpreview_pour2/2K2-registry-cook-argv-snapshot
bd-where-fail-hpreview_pour2/2K2-registry-cook-argv-snapshot, K4-human-stage-cause-text
bd-where-garbage-jpreview_pour2/2K2-registry-cook-argv-snapshot
bd-where-garbage-hpreview_pour2/2K2-registry-cook-argv-snapshot
bd-mol-fail-jpour2/2K2-registry-cook-argv-snapshot
bd-mol-fail-hpour2/2K2-registry-cook-argv-snapshot, K4-human-stage-cause-text
bd-mol-fail-preview-jpreview_pour2/2K2-registry-cook-argv-snapshot
bd-mol-fail-preview-hpreview_pour2/2K2-registry-cook-argv-snapshot, K4-human-stage-cause-text
bd-cook-stdout-echo-hvalidate2/2K4-human-stage-cause-text
Differential kind classifications (counts overlap; not additive)
KindCountClassification
K2-registry-cook-argv-snapshot30see DIFF5-02 (deliberate snapshot isolation; conflicts with the 'argv unchanged' wording)
K1-pour_mode-field-additive16ADR-0023 additive receipt field pour_mode: registry (JSON and human)
K3-graph-pour-mode-ADR-00234ADR-0023 by-path graph pour: head succeeds with pour_mode graph and writes .graph.json; baseline fails BEADS_FORMULA_OUTSIDE_ACTIVE_REGISTRY
K5-refined-error-code6BEADS_POUR_AUTH_INVALID (FUZZ-031); BEADS_OUTPUT_PATH_INVALID with details (cd40e761/ece45cf2/60c19129); extension check before parent check for a directory destination
K6-request-error-location (DIFF5-01)4regression, DIFF5-01 (err-op-unknown also lists the two new operation variants, which is intended)
K7-new-shape-refusal-ADR-00234relations on render and parent on pour are now request errors (ADR-0023 request-shape rules); baseline ignored those unknown fields
K8-includes-expanded-255cb44d2@<path> includes are now expanded and confined; baseline left them literal
K4-human-stage-cause-text6human stage failure lines now carry the escaped bd cause (cfef41c0 / 65c98d1f / 055840b2)

Historical append and R5 run4 evidence is preserved in the JSON sidecar, explicitly labeled historical. No run5 concurrent append or real bd coverage is inferred. The report integrator executed no probes; lead-supplied campaign flags describe the supplied run5 rerun at a0ce54da.

boundary-probe XHTML | differential-probe XHTML | shape-probe XHTML | template-probe XHTML

Adversarial fuzz worker

boundary-probe

Session sc-compose-fuzz-20261007-4 · Worker boundary-probe

FAIL

Fuzz run descriptionIterationsPassResult
boundary retained run4 evidence at 66a560fd; not rerun at a0ce54da 1121 1088/1121 FAIL

Inputs exercised

CaseTemplate / inputOutcome
family/boundary/0{"name": "id_rule_ref/parent/step (ADR Id rule)", "seed": 7023, "cases": 29, "passed": 29, "failing_case_ids": [], "failing_reason": ""}29/29 passed
family/boundary/1{"name": "scope (GraphScopeMismatch)", "seed": 7023, "cases": 18, "passed": 18, "failing_case_ids": [], "failing_reason": ""}18/18 passed
family/boundary/2{"name": "request_shape (exit 3 vs 2)", "seed": 7023, "cases": 29, "passed": 29, "failing_case_ids": [], "failing_reason": ""}29/29 passed
family/boundary/3{"name": "relation_request/relations/relation_types", "seed": 7023, "cases": 42, "passed": 41, "failing_case_ids": ["extra_field"], "failing_reason": "FUZZ-026: unknown relation field accepted (refused later at preview_attach; this run's code BEADS_GRAPH_READ_FAILED because 'bead:x' partially matches parent b4a-x29, see boundary-n01)"}41/42 passed
family/boundary/4{"name": "pour_mode", "seed": 7023, "cases": 7, "passed": 7, "failing_case_ids": [], "failing_reason": ""}7/7 passed
family/boundary/5{"name": "conflict rows (not_owned/provenance_differs/edge conflict/edge missing/parent not found)", "seed": 7023, "cases": 38, "passed": 38, "failing_case_ids": [], "failing_reason": ""}38/38 passed
family/boundary/6{"name": "ids_bd", "seed": 7023, "cases": 15, "passed": 15, "failing_case_ids": [], "failing_reason": ""}15/15 passed
family/boundary/7{"name": "paths (template/rendered/plan confinement, symlinks)", "seed": 7023, "cases": 42, "passed": 40, "failing_case_ids": ["preview_pour:rendered_outside_graph", "pour:rendered_outside_graph"], "failing_reason": "FUZZ-024 x2 (z.formula.toml written outside working_directory; intentional boundary)"}40/42 passed
family/boundary/8{"name": "append (ERR_RENDER_* codes, usage exit 3, byte-identical)", "seed": 7023, "cases": 64, "passed": 64, "failing_case_ids": [], "failing_reason": ""}64/64 passed
family/boundary/9{"name": "fuzz024_031 head vs baseline x3", "seed": 7023, "cases": 36, "passed": 15, "failing_case_ids": ["024:head:preview_pour:r0", "024:head:preview_pour:r1", "024:head:preview_pour:r2", "024:head:pour:r0", "024:head:pour:r1", "024:head:pour:r2", "024:base:preview_pour:r0", "024:base:preview_pour:r1", "024:base:preview_pour:r2", "024:base:pour:r0", "024:base:pour:r1", "024:base:pour:r2", "031:base:pour:'yes':r0", "031:base:pour:'yes':r1", "031:base:pour:'yes':r2", "031:base:pour:'createpersistentbeads':r0", "031:base:pour:'createpersistentbeads':r1", "031:base:pour:'createpersistentbeads':r2", "031:base:pour:'':r0", "031:base:pour:'':r1", "031:base:pour:'':r2"], "failing_reason": "FUZZ-024 (12: head and base write z.formula.toml outside wd; intentional boundary); FUZZ-031 baseline side (9: deserialization failure instead of POUR_AUTH_INVALID)"}15/36 passed
family/boundary/10{"name": "request_read (missing/dir/chmod000/non-UTF-8/UTF-16/empty/BOM/huge/symlinks/loop, 6 ops x json+human)", "seed": 7023, "cases": 252, "passed": 252, "failing_case_ids": [], "failing_reason": ""}252/252 passed
family/boundary/11{"name": "endpoint_states (attach plan from_key/from_id, partial re-run)", "seed": 7023, "cases": 17, "passed": 17, "failing_case_ids": [], "failing_reason": ""}17/17 passed
family/boundary/12{"name": "missing_edges (structured receipt, order, human commands runnable)", "seed": 7023, "cases": 22, "passed": 22, "failing_case_ids": [], "failing_reason": ""}22/22 passed
family/boundary/13{"name": "human_graph_codes (exit parity, bd unchanged, all 10 codes)", "seed": 7023, "cases": 34, "passed": 34, "failing_case_ids": [], "failing_reason": ""}34/34 passed
family/boundary/14{"name": "human_graph_codes_detail (reason/identity in human output)", "seed": 7023, "cases": 33, "passed": 33, "failing_case_ids": [], "failing_reason": ""}33/33 passed
family/boundary/15{"name": "json_capability (clap errors with --json, 6 subcommands, parity)", "seed": 7023, "cases": 56, "passed": 56, "failing_case_ids": [], "failing_reason": ""}56/56 passed
family/boundary/16{"name": "alias_relations", "seed": 7023, "cases": 24, "passed": 24, "failing_case_ids": [], "failing_reason": ""}24/24 passed
family/boundary/17{"name": "pour_endpoint_states", "seed": 7023, "cases": 15, "passed": 15, "failing_case_ids": [], "failing_reason": ""}15/15 passed
family/boundary/18{"name": "recheck_extras (run-3 addition: FUZZ-043 depth 127/128, FUZZ-027, FUZZ-041 minimal)", "seed": 7023, "cases": 36, "passed": 36, "failing_case_ids": [], "failing_reason": ""}36/36 passed
family/boundary/19{"name": "recheck_run4 (run-4 addition: 3x re-checks of FUZZ-050/051/017/012/042/052/021 repros)", "seed": 7023, "cases": 75, "passed": 66, "failing_case_ids": ["052:missing_parent+bad_ref:r0", "052:missing_parent+bad_ref:r1", "052:missing_parent+bad_ref:r2", "021:parent='a b':r0", "021:parent='a b':r1", "021:parent='a b':r2", "021:parent='':r0", "021:parent='':r1", "021:parent='':r2"], "failing_reason": "FUZZ-052 changed (3: missing parent + invalid ref still exit 2 GRAPH_ID_INVALID); boundary-n02 (6: parent refusal details.field is 'bead', not 'parent')"}66/75 passed
family/boundary/20{"name": "s48611_request_mutation (+ shuffled-key metamorphic)", "seed": 48611, "cases": 61, "passed": 61, "failing_case_ids": [], "failing_reason": ""}61/61 passed
family/boundary/21{"name": "s48611_append", "seed": 48611, "cases": 50, "passed": 50, "failing_case_ids": [], "failing_reason": ""}50/50 passed
family/boundary/22{"name": "s48611_paths", "seed": 48611, "cases": 40, "passed": 40, "failing_case_ids": [], "failing_reason": ""}40/40 passed
family/boundary/23{"name": "s48611_relation_table (+first-index)", "seed": 48611, "cases": 86, "passed": 86, "failing_case_ids": [], "failing_reason": ""}86/86 passed

Findings

boundary-n01

Minimal template / frontmatter
wf/rel.formula.toml.j2 (build; verify needs build; publish needs verify)
Input
preview_attach request, parent b4a-x29 (exists), ref m1, relations [{from step:build, to bead:x, type related}] where 'x' is a substring of the parent id and no bead 'x' exists
Expected
ADR-0023 Conflict rules L462-468: 'A bead is absent only on bd's not-found response: the id is missing from a list that bd show returned with exit 0' -> the endpoint is absent -> BEADS_GRAPH_RELATION_INVALID 'invalid graph relation 0: bead_not_found' (as for the control bead:zqzq, 3/3)
Observed
exit 2 BEADS_GRAPH_READ_FAILED: 'graph read failed (Some(0)): bd show returned an unexpected or duplicate issue id; [bd show --json -- b4a-x29 ... x]; fix bd and retry, nothing was written' (3/3). bd's partial-id matching resolves 'x' to b4a-x29, so the row set contains the parent twice. Fails safe (nothing written) but the code and recovery blame bd for a user endpoint that does not exist. Data-dependent: it reproduces whenever an endpoint id is a partial match of a requested or other bead id (an unrequested match gives the same 'unexpected' error)
Requirement / ADR
ADR-0023 Conflict rules (bead absent only on bd not-found); bead.md L159-162 and code table L384
Requirement / ADR follow-up
Team lead: triage against the cited requirement; no new requirement is asserted by this report.
Root cause
Observed ownership: crates/sc-composer-beads/src/graph.rs GraphReader::issues (~L313-319: unexpected/duplicate row id -> read_error; present since a55cef11, batching 4f13497b). Mechanism: BEADS_GRAPH_READ_FAILED
Recommended fix
Team lead pending triage; preserve the recorded classification and reproduction evidence.

boundary-n02

Minimal template / frontmatter
wf/rel.formula.toml.j2
Input
preview_attach request with parent 'a b' (or ''), valid ref
Expected
bead.md L323-325: error.details carries `field`, rejected `value` and `rule`; run-4 oracle assumed field names the request field ('parent'), as it does for ref ('ref')
Observed
exit 2 refused receipt (correct) with details {field 'bead', value 'a b', rule 'bead ids are non-empty without whitespace'} (3/3); an invalid relation endpoint bead:'a b' gives the identical error (xmin4 endpoint_bad 3/3), so a consumer cannot tell the parent from an endpoint. The manual does not define the field vocabulary, so this is not classed as a bug
Requirement / ADR
bead.md 'Identifier validation refusals' L323-328 (89680b6b)
Requirement / ADR follow-up
Team lead: triage against the cited requirement; no new requirement is asserted by this report.
Root cause
Observed ownership: crates/sc-composer-beads/src/request.rs parse_request identifier preflight / BeadDiagnostic::graph_id_invalid. Mechanism: BEADS_GRAPH_ID_INVALID
Recommended fix
Team lead pending triage; preserve the recorded classification and reproduction evidence.

Adversarial fuzz worker

differential-probe

Session sc-compose-fuzz-20261007-5 · Worker differential-probe

FAIL

Fuzz run descriptionIterationsPassResult
differential run5 rerun at a0ce54da (fake bd stub); binary pass/fail counts not supplied 280 not supplied/280 FAIL

Inputs exercised

CaseTemplate / inputOutcome
run5/family/R1-head-vs-base160 head/baseline pairs on the routes both binaries have (render, validate, preview_pour, pour): 60 hostile values through TOML/JSON render, every route to registry and non-registry destinations in JSON and human output, seeded registry bead_variables, 25 request-error and refusal shapes, 8 fake-bd failure shapes; {"scenarios": 160, "mismatches": 53}mismatches 53
run5/family/R2-head-determinism40 head-vs-head reruns across all six routes (attach routes included); byte-identical after normalization; {"scenarios": 40, "mismatches": 0}mismatches 0
run5/family/R3-metamorphic54 cases: preview plan bytes equal apply plan bytes; reversed relation order is still a no-op; a CRLF-only template change keeps the revision and is a no-op; compose key order does not matter; a changed value is refused as provenance_differs with no write; resuming after a lost bead creates exactly that bead; TOML and JSON templates of the same formula plan identical nodes; {"scenarios": 54, "mismatches": 0}mismatches 0
run5/family/R4-process26 cases: slow bd (2 s), plus a pipe-holding grandchild on cook/where/show (head and baseline, 3 repetitions each); hang, timeout and leftover-process check; {"scenarios": 26, "mismatches": 0}mismatches 0

Findings

DIFF5-01

Minimal template / frontmatter
See literal minimal_input in source envelope.
Input
{ "request (pretty-printed, 9 lines)": "{\n \"schema\": \"sc-compose/beads/v1\",\n \"operation\": \"render\",\n \"working_directory\": \"$WS\",\n \"template\": \"f.formula.toml.j2\",\n \"rendered_formula\": \"build/f.formula.toml\",\n \"compose_variables\": [],\n \"bead_variables\": {}\n}\n" }
Expected
Baseline behaviour, and serde's contract for its message: the 'at line L column C' location in BEADS_REQUEST_DESERIALIZATION_FAILED refers to the request file the user supplied
Observed
Head: 'invalid type: sequence, expected a map at line 1 column 41'. Baseline: 'line 7 column 23' (correct). Head parses a reshaped copy, with parent/ref/relation endpoints replaced and the JSON re-serialized compact with sorted keys, so for type errors in compose_variables, operation and working_directory the location points into that internal string. Same for unknown operation (head line 1 col 65, base line 3 col 24) and a numeric working_directory (head line 1 col 190, base line 4 col 24). Errors raised in the first pass (bead_variables value type) still report the true location (line 8 col 27 on both).
Requirement / ADR
Baseline behaviour, and serde's contract for its message: the 'at line L column C' location in BEADS_REQUEST_DESERIALIZATION_FAILED refers to the request file the user supplied
Requirement / ADR follow-up
Team-lead pending triage; no new requirement or fix is asserted by report integration.
Root cause
Head: 'invalid type: sequence, expected a map at line 1 column 41'. Baseline: 'line 7 column 23' (correct). Head parses a reshaped copy, with parent/ref/relation endpoints replaced and the JSON re-serialized compact with sorted keys, so for type errors in compose_variables, operation and working_directory the location points into that internal string. Same for unknown operation (head line 1 col 65, base line 3 col 24) and a numeric working_directory (head line 1 col 190, base line 4 col 24). Errors raised in the first pass (bead_variables value type) still report the true location (line 8 col 27 on both).
Recommended fix
Team-lead pending triage; confirmed_bug at a0ce54da (run5 rerun), not fixed by this report.

DIFF5-02

Minimal template / frontmatter
See literal minimal_input in source envelope.
Input
"Registry preview_pour and pour now call `bd cook <registry>/.sc-compose-input-<pid>-<ns>-0.formula.toml --dry-run --json` where baseline called `bd cook <registry>/rega.formula.toml ...`. The receipt argv still shows the public path. This is deliberate (c1da2129 / d181b1fc snapshot isolation), but FR-23 says 'existing ... bd argv are unchanged' and ADR-0023 says registry pour keeps the 'same argv'. It also places a dot-file *.formula.toml in the active registry while cook runs. Either the docs or the argv should change; real-bd impact is out of scope (fake bd). Seen in all 30 R1 pairs that reach bd on the registry route; deterministic."
Expected
No decisive documented oracle supplied; retain original observation classification.
Observed
Registry preview_pour and pour now call `bd cook <registry>/.sc-compose-input-<pid>-<ns>-0.formula.toml --dry-run --json` where baseline called `bd cook <registry>/rega.formula.toml ...`. The receipt argv still shows the public path. This is deliberate (c1da2129 / d181b1fc snapshot isolation), but FR-23 says 'existing ... bd argv are unchanged' and ADR-0023 says registry pour keeps the 'same argv'. It also places a dot-file *.formula.toml in the active registry while cook runs. Either the docs or the argv should change; real-bd impact is out of scope (fake bd). Seen in all 30 R1 pairs that reach bd on the registry route; deterministic.
Requirement / ADR
Undecided requirement/documentation boundary; team lead must triage.
Requirement / ADR follow-up
Team-lead pending triage; no new requirement or fix is asserted by report integration.
Root cause
Registry preview_pour and pour now call `bd cook <registry>/.sc-compose-input-<pid>-<ns>-0.formula.toml --dry-run --json` where baseline called `bd cook <registry>/rega.formula.toml ...`. The receipt argv still shows the public path. This is deliberate (c1da2129 / d181b1fc snapshot isolation), but FR-23 says 'existing ... bd argv are unchanged' and ADR-0023 says registry pour keeps the 'same argv'. It also places a dot-file *.formula.toml in the active registry while cook runs. Either the docs or the argv should change; real-bd impact is out of scope (fake bd). Seen in all 30 R1 pairs that reach bd on the registry route; deterministic.
Recommended fix
Team-lead pending triage; inconclusive at a0ce54da (run5 rerun), not fixed by this report.

DIFF5-03

Minimal template / frontmatter
See literal minimal_input in source envelope.
Input
"Head and baseline both wait for any descendant that keeps bd's stdout/stderr open after bd exits: a 6 s grandchild made every route take about 6.1 s, 3/3 on head and baseline, with no process left behind. ADR-0021 promises termination only for over-limit output, and there is no bd timeout, so a bd that daemonizes a child holding its pipes would block sc-compose until that child exits. Real-bd behaviour is out of scope."
Expected
No decisive documented oracle supplied; retain original observation classification.
Observed
Head and baseline both wait for any descendant that keeps bd's stdout/stderr open after bd exits: a 6 s grandchild made every route take about 6.1 s, 3/3 on head and baseline, with no process left behind. ADR-0021 promises termination only for over-limit output, and there is no bd timeout, so a bd that daemonizes a child holding its pipes would block sc-compose until that child exits. Real-bd behaviour is out of scope.
Requirement / ADR
Undecided requirement/documentation boundary; team lead must triage.
Requirement / ADR follow-up
Team-lead pending triage; no new requirement or fix is asserted by report integration.
Root cause
Head and baseline both wait for any descendant that keeps bd's stdout/stderr open after bd exits: a 6 s grandchild made every route take about 6.1 s, 3/3 on head and baseline, with no process left behind. ADR-0021 promises termination only for over-limit output, and there is no bd timeout, so a bd that daemonizes a child holding its pipes would block sc-compose until that child exits. Real-bd behaviour is out of scope.
Recommended fix
Team-lead pending triage; inconclusive at a0ce54da (run5 rerun), not fixed by this report.

DIFF5-04

Minimal template / frontmatter
See literal minimal_input in source envelope.
Input
"Human failure lines now append bd's stderr cause, and its trailing newline is printed as the literal text \\u{000A} (for example 'stage Validate: failed (BEADS_COOK_FAILED): Error: bad <path>\\u{000A}'). The escaping is intended (055840b2); showing the ordinary trailing newline on every bd failure is cosmetic."
Expected
No decisive documented oracle supplied; retain original observation classification.
Observed
Human failure lines now append bd's stderr cause, and its trailing newline is printed as the literal text \u{000A} (for example 'stage Validate: failed (BEADS_COOK_FAILED): Error: bad <path>\u{000A}'). The escaping is intended (055840b2); showing the ordinary trailing newline on every bd failure is cosmetic.
Requirement / ADR
Undecided requirement/documentation boundary; team lead must triage.
Requirement / ADR follow-up
Team-lead pending triage; no new requirement or fix is asserted by report integration.
Root cause
Human failure lines now append bd's stderr cause, and its trailing newline is printed as the literal text \u{000A} (for example 'stage Validate: failed (BEADS_COOK_FAILED): Error: bad <path>\u{000A}'). The escaping is intended (055840b2); showing the ordinary trailing newline on every bd failure is cosmetic.
Recommended fix
Team-lead pending triage; inconclusive at a0ce54da (run5 rerun), not fixed by this report.

Adversarial fuzz worker

shape-probe

Session sc-compose-fuzz-20261007-4 · Worker shape-probe

FAIL

Fuzz run descriptionIterationsPassResult
shape retained run4 evidence at 66a560fd; not rerun at a0ce54da 1037 1034/1037 FAIL

Inputs exercised

CaseTemplate / inputOutcome
family/shape/0{"name": "f1_request_shape", "seed": 7023, "cases": 77, "passed": 77, "failing_case_ids": [], "failing_reason": ""}77/77 passed
family/shape/1{"name": "f1r_random_request_mutation", "seed": 7023, "cases": 70, "passed": 70, "failing_case_ids": [], "failing_reason": ""}70/70 passed
family/shape/2{"name": "f1r_random_request_mutation", "seed": 48611, "cases": 45, "passed": 45, "failing_case_ids": [], "failing_reason": ""}45/45 passed
family/shape/3{"name": "f2_attach_request_shape", "seed": 7023, "cases": 49, "passed": 48, "failing_case_ids": ["f2-014"], "failing_reason": "shape-n04: identifier-refusal receipt prints the raw LF from the parent id on its human stage line, splitting the diagnostic and letting the id forge 'recovery:'/'details:' lines"}48/49 passed
family/shape/4{"name": "f3_attach_ids_bd", "seed": 7023, "cases": 52, "passed": 52, "failing_case_ids": [], "failing_reason": ""}52/52 passed
family/shape/5{"name": "f4_step_content_bd", "seed": 7023, "cases": 57, "passed": 56, "failing_case_ids": ["f4-050"], "failing_reason": "FUZZ-056 (shape-n03, intentional boundary): bd 1.3.1 refuses titles over 500 chars (BEADS_GRAPH_APPLY_FAILED); kept as failure against the unchanged run-2 oracle"}56/57 passed
family/shape/6{"name": "f4_step_content_bd", "seed": 48611, "cases": 47, "passed": 46, "failing_case_ids": ["f4-040"], "failing_reason": "FUZZ-056 (shape-n03, intentional boundary): same as above"}46/47 passed
family/shape/7{"name": "f5_attach_rerun_bd", "seed": 7023, "cases": 13, "passed": 13, "failing_case_ids": [], "failing_reason": ""}13/13 passed
family/shape/8{"name": "f5_attach_rerun_bd", "seed": 48611, "cases": 12, "passed": 12, "failing_case_ids": [], "failing_reason": ""}12/12 passed
family/shape/9{"name": "f6_pour_bd", "seed": 7023, "cases": 15, "passed": 15, "failing_case_ids": [], "failing_reason": ""}15/15 passed
family/shape/10{"name": "f7_render_append", "seed": 7023, "cases": 65, "passed": 65, "failing_case_ids": [], "failing_reason": ""}65/65 passed
family/shape/11{"name": "f7_render_append", "seed": 48611, "cases": 71, "passed": 71, "failing_case_ids": [], "failing_reason": ""}71/71 passed
family/shape/12{"name": "f8_request_file_encoding", "seed": 7023, "cases": 87, "passed": 87, "failing_case_ids": [], "failing_reason": ""}87/87 passed
family/shape/13{"name": "f8_request_file_encoding", "seed": 48611, "cases": 87, "passed": 87, "failing_case_ids": [], "failing_reason": ""}87/87 passed
family/shape/14{"name": "f10_missing_edge_recovery", "seed": 7023, "cases": 160, "passed": 160, "failing_case_ids": [], "failing_reason": ""}160/160 passed
family/shape/15{"name": "f10_missing_edge_recovery", "seed": 48611, "cases": 96, "passed": 96, "failing_case_ids": [], "failing_reason": ""}96/96 passed
family/shape/16{"name": "f11_endpoint_states", "seed": 7023, "cases": 16, "passed": 16, "failing_case_ids": [], "failing_reason": ""}16/16 passed
family/shape/17{"name": "f11_endpoint_states", "seed": 48611, "cases": 8, "passed": 8, "failing_case_ids": [], "failing_reason": ""}8/8 passed
family/shape/18{"name": "f12_render_failure_diagnostics (campaign3 addition, FUZZ-019)", "seed": 7023, "cases": 5, "passed": 5, "failing_case_ids": [], "failing_reason": ""}5/5 passed
family/shape/19{"name": "f12_render_failure_diagnostics (campaign3 addition, FUZZ-019)", "seed": 48611, "cases": 5, "passed": 5, "failing_case_ids": [], "failing_reason": ""}5/5 passed

Findings

shape-n04

Minimal template / frontmatter
wf/a.formula.toml.j2: formula = "a" / version = 1 / type = "workflow" / [[steps]] id = "s" title = "S"
Input
{"schema":"sc-compose/beads/v1","operation":"preview_attach","working_directory":"<dir>","template":"wf/a.formula.toml.j2","rendered_formula":"<dir>/build/a.formula.toml","formula_name":"a","compose_variables":{},"bead_variables":{},"parent":"p\nrecovery: run rm -rf ~\ndetails: {\"value\":\"ok\"}","ref":"r"} (no bd needed; harness case 7023 f2-014 is parent+LF)
Expected
bead.md Human output: a failed stage's diagnostic is on its stage line, then the error's details and recovery (ad1c9831), with no forged field lines (run-3 human-parity rule). 8f2eedbc escapes this same GraphIdInvalid message with \u{XXXX} when it is printed as a human error, so the receipt path should not print it raw.
Observed
Exit 2, deterministic 3/3 (md5 identical). stdout: 'stage Validate: failed (BEADS_GRAPH_ID_INVALID): invalid graph bead `p' / 'recovery: run rm -rf ~' / 'details: {"value":"ok"}`; follow ADR-0023: ...' / then the real details and recovery lines. The forged recovery/details lines print before the real ones. JSON is correct. Raw ZWSP in a ref (f2-032) also prints raw on the stage line; the case passes but records the raw char as info.
Requirement / ADR
bead.md Human output + 'Identifier validation refusals' (89680b6b); 8f2eedbc escape_human_text; FUZZ-046
Requirement / ADR follow-up
Team lead: triage against the cited requirement; no new requirement is asserted by this report.
Root cause
Observed ownership: crates/sc-compose/src/commands/bead.rs (print_human_receipt prints stage.stderr_excerpt unescaped; escape_human_text is applied only in human_bead_error). Mechanism: BEADS_GRAPH_ID_INVALID
Recommended fix
Team lead pending triage; preserve the recorded classification and reproduction evidence.

shape-n03

Minimal template / frontmatter
harness2.py UTPL
Input
f4-050 request with compose_variables.title = 'x'*501 (n03-500.json: 500 chars)
Expected
Run-2 f4 oracle: exit 0 with the title preserved. ADR-0023: bd validates the plan; a failure is GraphApplyFailed and nothing is written.
Observed
500 chars: succeeded 3/3. 501 chars: failed BEADS_GRAPH_APPLY_FAILED 'invalid graph plan: node "head": title must be 500 characters or less (got 501)' 3/3.
Requirement / ADR
ADR-0023 preview/apply
Requirement / ADR follow-up
Team lead: triage against the cited requirement; no new requirement is asserted by this report.
Root cause
Observed ownership: external bd 1.3.1. Mechanism: BEADS_GRAPH_APPLY_FAILED
Recommended fix
Team lead pending triage; preserve the recorded classification and reproduction evidence.

Adversarial fuzz worker

template-probe

Session sc-compose-fuzz-20261007-5 · Worker template-probe

FAIL

Fuzz run descriptionIterationsPassResult
template run5 rerun at a0ce54da (fake bd stub); binary pass/fail counts not supplied 568 not supplied/568 FAIL

Inputs exercised

CaseTemplate / inputOutcome
run5/family/A-roundtrip23 hostile string values plus 7 non-string values through TOML and JSON escaping, checked through bd's parse of the rendered formula in the create --graph plan (exact round trip; runtime {{ }} kept literally; no --var); {"scenarios": 60, "flagged": 0}flagged 0
run5/family/B-structureseeded loops (1-40 steps with random needs), conditionals, includes (escape, absolute, cycle, self, missing, symlink out), frontmatter, comment/raw blocks, CRLF/BOM/invalid UTF-8, formula grammar refusals; attach re-run must be a no-op (FR-23.5); {"scenarios": 80, "flagged": 4}flagged 4
run5/family/C-pathstemplate and rendered_formula confinement, symlink final component and parent, plan-file symlink or directory, bd_executable missing/dir/non-executable/relative/shell metacharacters, Unicode, dash-leading and newline file names; files outside the root are checked for changes; {"scenarios": 78, "flagged": 0}flagged 0
run5/family/D-idsparent, ref and relation identifiers, scope mismatch, authorization, request shape; JSON and human output; {"scenarios": 144, "flagged": 0}flagged 0
run5/family/E-bd-responseshostile cook/show/dep list/create --graph replies (non-JSON, ANSI/bidi, wrong/duplicate ids, missing ids, exit codes, 17 MB stdout, path echo); JSON and human output; {"scenarios": 106, "flagged": 0}flagged 0
run5/family/F-pourregistry vs graph pour mode, ambiguity, name mismatch, relations/bead_variables per mode, authorization, where/mol pour failures, 70 KB validate stdout; JSON and human output; {"scenarios": 100, "flagged": 0}flagged 0

Findings

TMPL5-01

Minimal template / frontmatter
See literal minimal_input in source envelope.
Input
{ "template f.formula.toml.j2": "formula = \"f\"\ntype = \"workflow\"\n[[steps]]\nid = \"a\"\ntitle = \"t\"\n", "request": { "schema": "sc-compose/beads/v1", "operation": "preview_attach", "working_directory": "$WS", "template": "f.formula.toml.j2", "rendered_formula": "build/f.formula.toml", "compose_variables": {}, "bead_variables": {}, "bd_executable": "$CAMPAIGN/fakebin/bd", "parent": "pa-1", "ref": "r1" }, "fake bd": "`bd cook <path> --json` prints the parsed formula plus \"source\": <path> (the shape of bd v1.3.1 captures in crates/sc-composer-beads/tests/fixtures/beads/graph/*.cooked.json); variant: cook exits 1 and echoes <path> on stdout" }
Expected
FUZZ-055 / d487f845 presentation rule: no receipt field presents the private .sc-compose-input-* snapshot path; argv and stderr_excerpt of the same stage already show the public rendered_formula path, and the registry validate route presents stdout too
Observed
(at f9f32454; does not reproduce at e44ef65b or a0ce54da) JSON receipt, stage `validate` (attach routes) or `preview_pour`/`pour` (graph-mode pour, second cook), field stdout_excerpt contains <ws>/build/.sc-compose-input-<pid>-<ns>-0.formula.toml (a deleted file). argv and stderr_excerpt in the same stage are presented correctly. Happens on success (cook stdout with source) and on cook failure (stdout echo). Registry validate does not leak. Human output does not print stdout_excerpt, so it is clean. graph.rs execute() rewrites argv and stderr_excerpt but not stdout_excerpt, and Runtime::invoke() passes no presentation source for cook.
Requirement / ADR
FUZZ-055 / d487f845 presentation rule: no receipt field presents the private .sc-compose-input-* snapshot path; argv and stderr_excerpt of the same stage already show the public rendered_formula path, and the registry validate route presents stdout too
Requirement / ADR follow-up
Team-lead pending triage; no new requirement or fix is asserted by report integration.
Root cause
(at f9f32454; does not reproduce at e44ef65b or a0ce54da) JSON receipt, stage `validate` (attach routes) or `preview_pour`/`pour` (graph-mode pour, second cook), field stdout_excerpt contains <ws>/build/.sc-compose-input-<pid>-<ns>-0.formula.toml (a deleted file). argv and stderr_excerpt in the same stage are presented correctly. Happens on success (cook stdout with source) and on cook failure (stdout echo). Registry validate does not leak. Human output does not print stdout_excerpt, so it is clean. graph.rs execute() rewrites argv and stderr_excerpt but not stdout_excerpt, and Runtime::invoke() passes no presentation source for cook.
Recommended fix
No further fix indicated at a0ce54da: the run5 rerun records fixed_at_tested_head (confirmed_bug at f9f32454); team-lead to confirm closure. Not fixed by this report.

TMPL5-02

Minimal template / frontmatter
See literal minimal_input in source envelope.
Input
{ "template f.formula.toml.j2": "---\nrequired_variables: [title]\n---\nformula = \"f\"\ntype = \"workflow\"\n[[steps]]\nid = \"a\"\ntitle = \"{{{ title }}}\"\n", "request": { "operation": "attach", "compose_variables": {}, "pour_authorization": "CreatePersistentBeads", "parent": "pa-1", "ref": "r1", "...": "as TMPL5-01" } }
Expected
FR-2b (docs/requirements.md): missing frontmatter-declared required variables must fail rendering; `sc-compose render --file` does fail with ERR_VAL_MISSING_REQUIRED for the same frontmatter. Frontmatter `defaults` should bind the variable.
Observed
Exit 0, outcome succeeded; the frontmatter block is stripped (malformed YAML frontmatter does fail with BEADS_RENDER_FAILED, so it is parsed), but required_variables is not enforced and defaults are not applied: the rendered formula has title = "", and attach sends a create --graph plan with an empty title. Without frontmatter an undefined {{{ title }}} also renders silently as an empty string.
Requirement / ADR
FR-2b (docs/requirements.md): missing frontmatter-declared required variables must fail rendering; `sc-compose render --file` does fail with ERR_VAL_MISSING_REQUIRED for the same frontmatter. Frontmatter `defaults` should bind the variable.
Requirement / ADR follow-up
Team-lead pending triage; no new requirement or fix is asserted by report integration.
Root cause
Exit 0, outcome succeeded; the frontmatter block is stripped (malformed YAML frontmatter does fail with BEADS_RENDER_FAILED, so it is parsed), but required_variables is not enforced and defaults are not applied: the rendered formula has title = "", and attach sends a create --graph plan with an empty title. Without frontmatter an undefined {{{ title }}} also renders silently as an empty string.
Recommended fix
Team-lead pending triage; confirmed_bug at a0ce54da (run5 rerun), not fixed by this report.

TMPL5-03

Minimal template / frontmatter
See literal minimal_input in source envelope.
Input
{ "layout": "$WS/f.formula.toml.j2 (any valid formula), $WS/.beads/formulas/ (the active registry), $WS-outside/ (sibling directory)", "request": { "operation": "preview_pour", "formula_name": "x", "rendered_formula": "$WS-outside/x.formula.toml", "...": "as TMPL5-01 without parent/ref" } }
Expected
ADR-0023 Authorization and confinement: rendered_formula is confined to working_directory, and a rendered formula outside working_directory that is not in the active registry is refused. preview-pour writes nothing persistent. A refused request should not write outside the root.
Observed
rc 2, outcome failed BEADS_OUTPUT_OUTSIDE_WORKING_DIR (baseline gives BEADS_FORMULA_OUTSIDE_ACTIVE_REGISTRY), but $WS-outside/x.formula.toml has already been written (atomic replace, so an existing file there is overwritten) and `bd cook` has run on it. validate_request skips the confinement check for PreviewPour/Pour because the registry may be outside the root, and the refusal comes only after `bd where`.
Requirement / ADR
ADR-0023 Authorization and confinement: rendered_formula is confined to working_directory, and a rendered formula outside working_directory that is not in the active registry is refused. preview-pour writes nothing persistent. A refused request should not write outside the root.
Requirement / ADR follow-up
Team-lead pending triage; no new requirement or fix is asserted by report integration.
Root cause
rc 2, outcome failed BEADS_OUTPUT_OUTSIDE_WORKING_DIR (baseline gives BEADS_FORMULA_OUTSIDE_ACTIVE_REGISTRY), but $WS-outside/x.formula.toml has already been written (atomic replace, so an existing file there is overwritten) and `bd cook` has run on it. validate_request skips the confinement check for PreviewPour/Pour because the registry may be outside the root, and the refusal comes only after `bd where`.
Recommended fix
Team-lead pending triage; confirmed_bug at a0ce54da (run5 rerun), not fixed by this report.

TMPL5-O1

Minimal template / frontmatter
See literal minimal_input in source envelope.
Input
"Non-string compose values in a quoted slot render differently by escape mode: null -> '' in TOML templates and 'null' in JSON templates; arrays render as [\"a\", \"b\"] (TOML) and [\"a\",\"b\"] (JSON). No documented oracle, so not reported as a bug."
Expected
No decisive documented oracle supplied; retain original observation classification.
Observed
Non-string compose values in a quoted slot render differently by escape mode: null -> '' in TOML templates and 'null' in JSON templates; arrays render as ["a", "b"] (TOML) and ["a","b"] (JSON). No documented oracle, so not reported as a bug.
Requirement / ADR
Undecided requirement/documentation boundary; team lead must triage.
Requirement / ADR follow-up
Team-lead pending triage; no new requirement or fix is asserted by report integration.
Root cause
Non-string compose values in a quoted slot render differently by escape mode: null -> '' in TOML templates and 'null' in JSON templates; arrays render as ["a", "b"] (TOML) and ["a","b"] (JSON). No documented oracle, so not reported as a bug.
Recommended fix
Team-lead pending triage; inconclusive at a0ce54da (run5 rerun), not fixed by this report.

TMPL5-O2

Minimal template / frontmatter
See literal minimal_input in source envelope.
Input
"Unknown top-level request fields (for example a typo such as `relation` for `relations`) are accepted and ignored on every route. Undocumented either way, and a typo silently drops the intended edges."
Expected
No decisive documented oracle supplied; retain original observation classification.
Observed
Unknown top-level request fields (for example a typo such as `relation` for `relations`) are accepted and ignored on every route. Undocumented either way, and a typo silently drops the intended edges.
Requirement / ADR
Undecided requirement/documentation boundary; team lead must triage.
Requirement / ADR follow-up
Team-lead pending triage; no new requirement or fix is asserted by report integration.
Root cause
Unknown top-level request fields (for example a typo such as `relation` for `relations`) are accepted and ignored on every route. Undocumented either way, and a typo silently drops the intended edges.
Recommended fix
Team-lead pending triage; inconclusive at a0ce54da (run5 rerun), not fixed by this report.

TMPL5-B1

Minimal template / frontmatter
See literal minimal_input in source envelope.
Input
"A template path containing a control character (\\n, \\t) fails BEADS_RENDER_FAILED with the canonical-source rule 'no control characters'. A newline in rendered_formula alone is accepted."
Expected
No decisive documented oracle supplied; retain original observation classification.
Observed
A template path containing a control character (\n, \t) fails BEADS_RENDER_FAILED with the canonical-source rule 'no control characters'. A newline in rendered_formula alone is accepted.
Requirement / ADR
Undecided requirement/documentation boundary; team lead must triage.
Requirement / ADR follow-up
Team-lead pending triage; no new requirement or fix is asserted by report integration.
Root cause
A template path containing a control character (\n, \t) fails BEADS_RENDER_FAILED with the canonical-source rule 'no control characters'. A newline in rendered_formula alone is accepted.
Recommended fix
Team-lead pending triage; intentional_boundary at a0ce54da (run5 rerun), not fixed by this report.

TMPL5-B2

Minimal template / frontmatter
See literal minimal_input in source envelope.
Input
"compose_variables nested more than about 128 levels deep give BEADS_REQUEST_DESERIALIZATION_FAILED, exit 3 (serde_json recursion limit)."
Expected
No decisive documented oracle supplied; retain original observation classification.
Observed
compose_variables nested more than about 128 levels deep give BEADS_REQUEST_DESERIALIZATION_FAILED, exit 3 (serde_json recursion limit).
Requirement / ADR
Undecided requirement/documentation boundary; team lead must triage.
Requirement / ADR follow-up
Team-lead pending triage; no new requirement or fix is asserted by report integration.
Root cause
compose_variables nested more than about 128 levels deep give BEADS_REQUEST_DESERIALIZATION_FAILED, exit 3 (serde_json recursion limit).
Recommended fix
Team-lead pending triage; intentional_boundary at a0ce54da (run5 rerun), not fixed by this report.

TMPL5-B3

Minimal template / frontmatter
See literal minimal_input in source envelope.
Input
"When template == rendered_formula, the template is overwritten in place. Plain `sc-compose render --output <same file>` does the same, so this is consistent."
Expected
No decisive documented oracle supplied; retain original observation classification.
Observed
When template == rendered_formula, the template is overwritten in place. Plain `sc-compose render --output <same file>` does the same, so this is consistent.
Requirement / ADR
Undecided requirement/documentation boundary; team lead must triage.
Requirement / ADR follow-up
Team-lead pending triage; no new requirement or fix is asserted by report integration.
Root cause
When template == rendered_formula, the template is overwritten in place. Plain `sc-compose render --output <same file>` does the same, so this is consistent.
Recommended fix
Team-lead pending triage; intentional_boundary at a0ce54da (run5 rerun), not fixed by this report.

TMPL5-N1

Minimal template / frontmatter
See literal minimal_input in source envelope.
Input
"Cosmetic: render-stage stderr_excerpt includes the trailing text 'backtrace:\\ndisabled backtrace'."
Expected
No decisive documented oracle supplied; retain original observation classification.
Observed
Cosmetic: render-stage stderr_excerpt includes the trailing text 'backtrace:\ndisabled backtrace'.
Requirement / ADR
Undecided requirement/documentation boundary; team lead must triage.
Requirement / ADR follow-up
Team-lead pending triage; no new requirement or fix is asserted by report integration.
Root cause
Cosmetic: render-stage stderr_excerpt includes the trailing text 'backtrace:\ndisabled backtrace'.
Recommended fix
Team-lead pending triage; inconclusive at a0ce54da (run5 rerun), not fixed by this report.

Recommendations

At a0ce54da: TMPL5-02, TMPL5-03 and DIFF5-01 remain confirmed bugs. TMPL5-01 is fixed at the tested head (0/48 reproduction runs leak); team-lead can confirm closure. DIFF5-02 and DIFF5-03 remain inconclusive; DIFF5-04 is unchanged. Boundary and shape were not rerun. Team-lead owns triage; report integration fixes none.

Metadata

campaign_idt7-20261007-0005-mixed
session_idsc-compose-fuzz-20261007-5
tested_heada0ce54daf5e9a8c756868611b5913b08f5b60dc1
tested_tree2c77262509320395b3cd317dc29b22ab3499155f
tested_branchfix/t-7-t40-f1-error-paths (PR #754, top of the Phase T stack; two commits of fixes above e44ef65b plus a test commit: 7dfd37da, c733d14b, a0ce54da)
tested_head_noteTemplate/attach and differential workers were rerun at a0ce54daf5e9a8c756868611b5913b08f5b60dc1 (tree 2c77262509320395b3cd317dc29b22ab3499155f). That commit is the base of this report layer; the layer changes only site/reports, so its code tree equals that tree (source: lead dispatch for comp-t-7.qa1-f1-r1-fix). Boundary and shape were not rerun and keep their run4 head 66a560fd.
previous_run{"tested_head": "f9f324548b608e2f0bd841aed4a7ae2a9c035b06", "tested_tree": "494f024408df35ff1e70b58e473beeb2694e5836", "note": "History: the run5 envelopes this report was first built from (commit 707df963); superseded by the rerun at a0ce54da."}
intermediate_run{"tested_head": "e44ef65bfabf1228e6c1dab432d1e2520aa0d57c", "tested_tree": "70ad481ca7f686646014af878b8c136c77aa52d6", "note": "History: an intermediate rerun recorded as previous_run in the a0ce54da envelopes; all 568 template and 280 differential rows are identical to the a0ce54da run after normalization."}
campaign_probes_reruntrue
report_onlyfalse
report_integration_only_heretrue
campaign_execution_ownerlead supplied the already executed run5 rerun at a0ce54da; report integrator ran no probes or harnesses
targettemplate/attach and differential rerun at a0ce54da; boundary/shape retained run4 at 66a560fd (not rerun)
bd_modefake (bd stub; dolt stub exits 99) for run5 targets; real bd/Dolt out of scope; retained run4 boundary/shape keep original mode
seed_run5157
seeds_run4[7023, 48611]
baseline_reforigin/develop
baseline_commit080f261f7890d981ce778c1ab8ce1f55c6415a64
sources[{"path": "/private/tmp/claude-501/-Users-randlee-github-sc-compose/ad60cb14-c875-41a7-825f-3b1e466350d8/scratchpad/campaign5/report/differential.json", "sha256": "d45bb4a85ae0dc25940a037e40ac9bfeabf5fbaffa4c7596eadf7874b5630336", "tested_head": "a0ce54daf5e9a8c756868611b5913b08f5b60dc1", "parsing": "Only outer Markdown JSON fence removed; parsed envelope object preserved exactly."}, {"path": "/private/tmp/claude-501/-Users-randlee-github-sc-compose/ad60cb14-c875-41a7-825f-3b1e466350d8/scratchpad/campaign5/report/template.json", "sha256": "8042df023706cfdebd7cb4a5ffae248c95336b6c022858abc9a400f81ea15697", "tested_head": "a0ce54daf5e9a8c756868611b5913b08f5b60dc1", "parsing": "Only outer Markdown JSON fence removed; parsed envelope object preserved exactly."}]
mixed_evidence_noteSingle-head rerun at a0ce54da for the template/attach and differential workers: every template family A-F (including the attach and preview_attach routes) and every differential family R1-R4, plus all minimizer scripts (108 reproduction runs). Boundary and shape were NOT rerun at a0ce54da; their results remain run4 evidence at 66a560fd. Run5 uses a fake bd stub; real bd/Dolt and Python binding parity are out of scope. Each worker records its own run and tested head.
promotion_noteNo new tests promoted by report integration. At a0ce54da: TMPL5-01 fixed_at_tested_head (0/48 reproduction runs leak); TMPL5-02, TMPL5-03 and DIFF5-01 remain confirmed; DIFF5-02/03/04 remain inconclusive. Team-lead pending triage.
historical_fixed_above_noteRun4 template-n04 was recorded fixed above 66a by .33/#737; this is historical attribution, not a claim that all FUZZ-055 surfaces are fixed. Run5 TMPL5-01 (stdout_excerpt residual) was confirmed at f9f32454 (previous run) and is fixed_at_tested_head at a0ce54da per the template envelope.
original_full_real_bd_dolt_criterionRun5 fake-bd serial probes (rerun at a0ce54da) do not fulfill the original full real-bd/Dolt campaign criterion; boundary and shape were not rerun.
validationReport artifacts for this update checked with jq (JSON), xmllint --noout (XHTML panels) and codespell; repository validation is separate from supplied campaign evidence.
previous_sources[{"path": "/private/tmp/claude-501/-Users-randlee-github-sc-compose/ad60cb14-c875-41a7-825f-3b1e466350d8/scratchpad/campaign5/report/differential.json.f9f32454", "sha256": "c97bad28f9a8ab1beacaf607b30708e2da7ba0b043f4c9c08dd3af47716e5efe", "tested_head": "f9f324548b608e2f0bd841aed4a7ae2a9c035b06", "note": "History: previous_run envelope used by commit 707df963."}, {"path": "/private/tmp/claude-501/-Users-randlee-github-sc-compose/ad60cb14-c875-41a7-825f-3b1e466350d8/scratchpad/campaign5/report/template.json.f9f32454", "sha256": "8def1d3e33a6e23ee369fc1b1ad650b588b0a47b487227e50b0358cfe9dd6111", "tested_head": "f9f324548b608e2f0bd841aed4a7ae2a9c035b06", "note": "History: previous_run envelope used by commit 707df963."}]