sc-compose adversarial fuzz report 20261007-2-fuzz-report

This historical report is superseded by 20261007-3-fuzz-report, containing supplied run5 and retained run4 evidence.

Phase T t-7 QA re-run at d47d35e: bead attach / by-path pour (ADR-0023), Phase R parity and render --append

Generated: 2026-10-07

FAIL

Summary

Fuzz run descriptionPhase T t-7 campaign re-run at d47d35e (production identical to 2e8f60b) with seeds 7023 and 48611: FUZZ-012..020 all still reproduce; 6 new confirmed bugs (FUZZ-038..043, not promoted); R5 parity fully itemised; concurrent render --append family 20/20 clean.
Iterations3508 (seed 7023: 2319, seed 48611: 1189)
Pass3261/3508
ResultFAIL
Fuzz run descriptionIterationsPassResult
ADR-0023 negative contract, path confinement, render --append failures, exit 3 vs 2; run 2 adds request-file read failures (ba13841), human graph codes, json capability (d2dd10b), missing_edges (c77838a), endpoint states (2e8f60b) 1011 928/1011 FAIL
metamorphic and differential relations (R1-R9) head d47d35e vs origin/develop 080f261, CLI vs Python, concurrency, dedicated concurrent render --append family 888 825/888 FAIL
request JSON shapes, Unicode/control ids, request-file encodings (ba13841), missing-edge recovery commands (c77838a), endpoint states (2e8f60b), render --append records 1027 972/1027 FAIL
bead templates (loops, conditionals, includes, 12..500 steps), TOML/JSON parity, every shipped help-bead recipe, human vs --json for every refusal 582 536/582 FAIL
R5 parity: the nine run-1 mismatches (head 58e3b49 vs 080f261), each with its finding id
ItemCaseRequestHeadBaselineFindingKind
R5-01name-empty:preview-pourformula_name ''exit 3 BEADS_REQUEST_DESERIALIZATION_FAILEDexit 3 BEADS_FORMULA_NAME_REQUIREDFUZZ-013r5-mm-02
R5-02name-space:preview-pourformula_name 're g0'exit 3 BEADS_REQUEST_DESERIALIZATION_FAILEDexit 2 BEADS_FORMULA_OUTSIDE_ACTIVE_REGISTRYFUZZ-013r5-mm-03
R5-03name-unicode:preview-pourformula_name 'régé'exit 3 BEADS_REQUEST_DESERIALIZATION_FAILEDexit 2 BEADS_FORMULA_OUTSIDE_ACTIVE_REGISTRYFUZZ-013r5-mm-03
R5-04bad-auth:pourpour_authorization invalidexit 3 BEADS_POUR_AUTH_INVALIDexit 3 BEADS_REQUEST_DESERIALIZATION_FAILEDFUZZ-031r5-mm-04
R5-05're g0':preview-pour (registry file re g0)formula_name 're g0'exit 3 BEADS_REQUEST_DESERIALIZATION_FAILEDexit 0 succeededFUZZ-013r5-mm-01
R5-06'café':preview-pourformula_name 'café'exit 3 BEADS_REQUEST_DESERIALIZATION_FAILEDexit 0 succeededFUZZ-013r5-mm-01
R5-07'a+b':preview-pourformula_name 'a+b'exit 3 BEADS_REQUEST_DESERIALIZATION_FAILEDexit 0 succeededFUZZ-013r5-mm-01
R5-08'Rel~1':preview-pourformula_name 'Rel~1'exit 3 BEADS_REQUEST_DESERIALIZATION_FAILEDexit 0 succeededFUZZ-013r5-mm-01
R5-09'':preview-pour (odd-name family)formula_name ''exit 3 BEADS_REQUEST_DESERIALIZATION_FAILEDexit 3 BEADS_FORMULA_NAME_REQUIREDFUZZ-013r5-mm-02
R5 parity at d47d35e: 52 mismatches of 180 cases by kind
KindCountMeaningFinding
r5-mm-0118FormulaName grammar rejects, at request parse with exit 3, a registry name that the baseline rendered or poured (FUZZ-013)FUZZ-013
r5-mm-022empty formula_name now returns BEADS_REQUEST_DESERIALIZATION_FAILED, not ADR-0021 BEADS_FORMULA_NAME_REQUIRED (same exit 3; FUZZ-013 root, the FormulaName newtype)FUZZ-013
r5-mm-038grammar-invalid name that also mismatches the path is now refused before any stage (exit 3), not at resolve_active_registry (exit 2); intended by e1b5168FUZZ-013
r5-mm-044invalid pour_authorization now gives the stable BEADS_POUR_AUTH_INVALID code (FUZZ-031, intended by 0b5dfb6)FUZZ-031
r5-mm-0512in-workdir formula outside the registry: baseline refuses; head runs the ADR-0023 by-path graph pour (additive pour_mode=graph; GRAPH_FORMULA_UNSUPPORTED when the template declares [vars])none (ADR-0023 additive by-path graph pour)
r5-mm-068formula outside the working directory: BEADS_OUTPUT_OUTSIDE_WORKING_DIR replaces BEADS_FORMULA_OUTSIDE_ACTIVE_REGISTRY at the same stage, exit 2 in both; head and baseline both leave the rendered file on disk (FUZZ-024)FUZZ-024
R5 parity at d47d35e: every mismatch
KindCaseHeadBaselineClassificationFinding
r5-mm-027023:name-empty:preview-pourexit 3 BEADS_REQUEST_DESERIALIZATION_FAILED, no stagesexit 3 BEADS_FORMULA_NAME_REQUIREDcontract change (code)FUZZ-013
r5-mm-037023:name-space:preview-pourexit 3 DESERIALIZATION_FAILED, no stagesexit 2 FORMULA_OUTSIDE_ACTIVE_REGISTRY at resolve_active_registryintended fix e1b5168FUZZ-013
r5-mm-037023:name-unicode:preview-pourexit 3 DESERIALIZATION_FAILEDexit 2 FORMULA_OUTSIDE_ACTIVE_REGISTRYintended fix e1b5168FUZZ-013
r5-mm-037023:name-leading-dot:preview-pourexit 3 DESERIALIZATION_FAILEDexit 2 FORMULA_OUTSIDE_ACTIVE_REGISTRYintended fix e1b5168FUZZ-013
r5-mm-037023:name-slash:preview-pourexit 3 DESERIALIZATION_FAILEDexit 2 FORMULA_OUTSIDE_ACTIVE_REGISTRYintended fix e1b5168FUZZ-013
r5-mm-047023:bad-auth:pourexit 3 BEADS_POUR_AUTH_INVALIDexit 3 DESERIALIZATION_FAILED (unknown variant)intended fixFUZZ-031
r5-mm-047023:bad-auth-preview:preview-pourexit 3 BEADS_POUR_AUTH_INVALIDexit 3 DESERIALIZATION_FAILEDintended fixFUZZ-031
r5-mm-057023:outside-registry-build:preview-pourexit 2 GRAPH_FORMULA_UNSUPPORTED pour_mode=graph stages render,validate,resolve_active_registry,preview_pour!exit 2 FORMULA_OUTSIDE_ACTIVE_REGISTRY at resolve_active_registryintended new feature ADR-0023none (ADR-0023 additive by-path graph pour)
r5-mm-057023:outside-registry-build-pour:pourexit 2 GRAPH_FORMULA_UNSUPPORTED pour_mode=graphexit 2 FORMULA_OUTSIDE_ACTIVE_REGISTRYintended new feature ADR-0023none (ADR-0023 additive by-path graph pour)
r5-mm-017023:odd-'a..b':preview-pourexit 3 DESERIALIZATION_FAILEDexit 0 succeeded (render,validate,resolve,preview_pour)regression vs Phase R contractFUZZ-013
r5-mm-017023:odd-'a..b':renderexit 3 DESERIALIZATION_FAILEDexit 0 succeededregressionFUZZ-013
r5-mm-017023:odd-'Rel~1':preview-pourexit 3 DESERIALIZATION_FAILEDexit 0 succeededregressionFUZZ-013
r5-mm-017023:odd-'Rel~1':renderexit 3 DESERIALIZATION_FAILEDexit 0 succeededregressionFUZZ-013
r5-mm-017023:odd-'café':preview-pourexit 3 DESERIALIZATION_FAILEDexit 0 succeededregressionFUZZ-013
r5-mm-017023:odd-'café':renderexit 3 DESERIALIZATION_FAILEDexit 0 succeededregressionFUZZ-013
r5-mm-017023:odd-'re g0':preview-pourexit 3 DESERIALIZATION_FAILEDexit 0 succeededregressionFUZZ-013
r5-mm-017023:odd-'re g0':renderexit 3 DESERIALIZATION_FAILEDexit 0 succeededregressionFUZZ-013
r5-mm-017023:odd-'a+b':preview-pourexit 3 DESERIALIZATION_FAILEDexit 0 succeededregressionFUZZ-013
r5-mm-017023:odd-'a+b':renderexit 3 DESERIALIZATION_FAILEDexit 0 succeededregressionFUZZ-013
r5-mm-067023:outside-workdir-ow0:preview-pourexit 2 BEADS_OUTPUT_OUTSIDE_WORKING_DIR at resolve_active_registry; file writtenexit 2 BEADS_FORMULA_OUTSIDE_ACTIVE_REGISTRY same stage; file writtenintended contract change ADR-0023FUZZ-024
r5-mm-067023:outside-workdir-ow0:pourexit 2 OUTPUT_OUTSIDE_WORKING_DIRexit 2 FORMULA_OUTSIDE_ACTIVE_REGISTRYintended contract changeFUZZ-024
r5-mm-057023:in-workdir-nonregistry-ow0:preview-pourexit 0 succeeded pour_mode=graph stages +preview_pour x2exit 2 FORMULA_OUTSIDE_ACTIVE_REGISTRYintended new feature ADR-0023none (ADR-0023 additive by-path graph pour)
r5-mm-057023:in-workdir-nonregistry-ow0:pourexit 0 succeeded pour_mode=graph (beads created)exit 2 FORMULA_OUTSIDE_ACTIVE_REGISTRYintended new featurenone (ADR-0023 additive by-path graph pour)
r5-mm-067023:outside-workdir-ow1:preview-pourexit 2 OUTPUT_OUTSIDE_WORKING_DIRexit 2 FORMULA_OUTSIDE_ACTIVE_REGISTRYintended contract changeFUZZ-024
r5-mm-067023:outside-workdir-ow1:pourexit 2 OUTPUT_OUTSIDE_WORKING_DIRexit 2 FORMULA_OUTSIDE_ACTIVE_REGISTRYintended contract changeFUZZ-024
r5-mm-057023:in-workdir-nonregistry-ow1:preview-pourexit 0 succeeded pour_mode=graphexit 2 FORMULA_OUTSIDE_ACTIVE_REGISTRYintended new featurenone (ADR-0023 additive by-path graph pour)
r5-mm-057023:in-workdir-nonregistry-ow1:pourexit 0 succeeded pour_mode=graphexit 2 FORMULA_OUTSIDE_ACTIVE_REGISTRYintended new featurenone (ADR-0023 additive by-path graph pour)
r5-mm-0248611:name-empty:preview-pourexit 3 DESERIALIZATION_FAILEDexit 3 FORMULA_NAME_REQUIREDcontract change (code)FUZZ-013
r5-mm-0348611:name-space:preview-pourexit 3 DESERIALIZATION_FAILEDexit 2 FORMULA_OUTSIDE_ACTIVE_REGISTRYintended fix e1b5168FUZZ-013
r5-mm-0348611:name-unicode:preview-pourexit 3 DESERIALIZATION_FAILEDexit 2 FORMULA_OUTSIDE_ACTIVE_REGISTRYintended fixFUZZ-013
r5-mm-0348611:name-leading-dot:preview-pourexit 3 DESERIALIZATION_FAILEDexit 2 FORMULA_OUTSIDE_ACTIVE_REGISTRYintended fixFUZZ-013
r5-mm-0348611:name-slash:preview-pourexit 3 DESERIALIZATION_FAILEDexit 2 FORMULA_OUTSIDE_ACTIVE_REGISTRYintended fixFUZZ-013
r5-mm-0448611:bad-auth:pourexit 3 POUR_AUTH_INVALIDexit 3 DESERIALIZATION_FAILEDintended fixFUZZ-031
r5-mm-0448611:bad-auth-preview:preview-pourexit 3 POUR_AUTH_INVALIDexit 3 DESERIALIZATION_FAILEDintended fixFUZZ-031
r5-mm-0548611:outside-registry-build:preview-pourexit 2 GRAPH_FORMULA_UNSUPPORTED pour_mode=graphexit 2 FORMULA_OUTSIDE_ACTIVE_REGISTRYintended new featurenone (ADR-0023 additive by-path graph pour)
r5-mm-0548611:outside-registry-build-pour:pourexit 2 GRAPH_FORMULA_UNSUPPORTED pour_mode=graphexit 2 FORMULA_OUTSIDE_ACTIVE_REGISTRYintended new featurenone (ADR-0023 additive by-path graph pour)
r5-mm-0148611:odd-'-lead':preview-pourexit 3 DESERIALIZATION_FAILEDexit 2 BEADS_PREVIEW_POUR_FAILED at preview_pour (bd)code/stage change; refusal moved earlierFUZZ-013
r5-mm-0148611:odd-'-lead':renderexit 3 DESERIALIZATION_FAILEDexit 0 succeededregressionFUZZ-013
r5-mm-0148611:odd-'a..b':preview-pourexit 3 DESERIALIZATION_FAILEDexit 0 succeededregressionFUZZ-013
r5-mm-0148611:odd-'a..b':renderexit 3 DESERIALIZATION_FAILEDexit 0 succeededregressionFUZZ-013
r5-mm-0148611:odd-'Rel~1':preview-pourexit 3 DESERIALIZATION_FAILEDexit 0 succeededregressionFUZZ-013
r5-mm-0148611:odd-'Rel~1':renderexit 3 DESERIALIZATION_FAILEDexit 0 succeededregressionFUZZ-013
r5-mm-0148611:odd-'a+b':preview-pourexit 3 DESERIALIZATION_FAILEDexit 0 succeededregressionFUZZ-013
r5-mm-0148611:odd-'a+b':renderexit 3 DESERIALIZATION_FAILEDexit 0 succeededregressionFUZZ-013
r5-mm-0648611:outside-workdir-ow0:preview-pourexit 2 OUTPUT_OUTSIDE_WORKING_DIR; file writtenexit 2 FORMULA_OUTSIDE_ACTIVE_REGISTRY; file writtenintended contract changeFUZZ-024
r5-mm-0648611:outside-workdir-ow0:pourexit 2 OUTPUT_OUTSIDE_WORKING_DIRexit 2 FORMULA_OUTSIDE_ACTIVE_REGISTRYintended contract changeFUZZ-024
r5-mm-0548611:in-workdir-nonregistry-ow0:preview-pourexit 0 succeeded pour_mode=graphexit 2 FORMULA_OUTSIDE_ACTIVE_REGISTRYintended new featurenone (ADR-0023 additive by-path graph pour)
r5-mm-0548611:in-workdir-nonregistry-ow0:pourexit 0 succeeded pour_mode=graphexit 2 FORMULA_OUTSIDE_ACTIVE_REGISTRYintended new featurenone (ADR-0023 additive by-path graph pour)
r5-mm-0648611:outside-workdir-ow1:preview-pourexit 2 OUTPUT_OUTSIDE_WORKING_DIRexit 2 FORMULA_OUTSIDE_ACTIVE_REGISTRYintended contract changeFUZZ-024
r5-mm-0648611:outside-workdir-ow1:pourexit 2 OUTPUT_OUTSIDE_WORKING_DIRexit 2 FORMULA_OUTSIDE_ACTIVE_REGISTRYintended contract changeFUZZ-024
r5-mm-0548611:in-workdir-nonregistry-ow1:preview-pourexit 0 succeeded pour_mode=graphexit 2 FORMULA_OUTSIDE_ACTIVE_REGISTRYintended new featurenone (ADR-0023 additive by-path graph pour)
r5-mm-0548611:in-workdir-nonregistry-ow1:pourexit 0 succeeded pour_mode=graphexit 2 FORMULA_OUTSIDE_ACTIVE_REGISTRYintended new featurenone (ADR-0023 additive by-path graph pour)

FUZZ-024 ruling: intentional_boundary (not a defect)

The ADRs do not name which code the outside-workdir pour refusal uses; baseline used FORMULA_OUTSIDE_ACTIVE_REGISTRY (ADR-0021 line 185), head uses OUTPUT_OUTSIDE_WORKING_DIR. Exit 2 and stage are unchanged. Recommend a one-line ADR-0023/manual clarification naming the code (doc follow-up, not a code defect). Reproduced 3/3 head vs baseline (r5-mm-06, 8 cases).

FUZZ-031 ruling: intentional_boundary (intended fix, not a defect)

Change introduced by commit 0b5dfb6 'fix(beads): emit stable invalid pour authorization error'. Exit 3 and no bd call in both binaries. r5-mm-04, 4 cases, 3/3.

Concurrent render --append family (differential-probe): 20/20 trials pass; 1068 records from 158 processes; torn 0, lost 0, duplicates 0; failing finding ids: none
SeedTrialProcessesLines per processRecord bytesStartExpectedObservedTornLostDupExitsResultFinding
7023small-absent82553absent200200000200x0PASSn/a
7023small-empty161053empty160160000160x0PASSn/a
70234k-content8104763content808000080x0; 3 pre-existing lines byte-identicalPASSn/a
70234k-absent1264763absent727200072x0PASSn/a
702370k-absent8681653absent484800048x0PASSn/a
702370k-content6481643content242400024x0; prefix intactPASSn/a
70231m-absent431166698absent121200012x0PASSn/a
70231m-empty321166481empty660006x0PASSn/a
7023mixed-malformed (procs 1,6 render array -> ERR_RENDER_APPEND_NOT_OBJECT; proc 4 malformed -> ERR_RENDER_JSON_MALFORMED)8653content303000030x0, 18x2 (every bad-proc invocation exit 2); prefix intactPASSn/a
7023no-final-newline63200no_final_newline0000018x2, all ERR_RENDER_APPEND_NO_FINAL_NEWLINE; file byte-identicalPASSn/a
48611small-absent81553absent120120000120x0PASSn/a
48611small-empty16653empty969600096x0PASSn/a
486114k-content864762content484800048x0PASSn/a
486114k-absent1264761absent727200072x0PASSn/a
4861170k-absent8481677absent323200032x0PASSn/a
4861170k-content6481620content242400024x0PASSn/a
486111m-absent421166854absent880008x0PASSn/a
486111m-empty321166765empty660006x0PASSn/a
48611mixed-malformed (procs 1,6 array; proc 4 malformed)8681674content303000030x0, 18x2; prefix intactPASSn/a
48611no-final-newline63200no_final_newline0000018x2, all ERR_RENDER_APPEND_NO_FINAL_NEWLINE; file byte-identicalPASSn/a
FUZZ-012..020 at the tested head d47d35e
FindingStatusEvidenceNext owner
FUZZ-012still_reproducesStill reproduces at d47d35e: ignored test fails (exit 3 BEADS_TEMPLATE_PATH_INVALID); boundary-probe and template-probe 3/3 from a foreign cwd.crates/sc-composer-beads (src/execute.rs validate_request, normalize_output)
FUZZ-013still_reproducesStill reproduces at d47d35e: ignored test fails (contract.rs:1073); r5-mm-01/02 on both seeds (a..b, Rel~1, cafe, 're g0', a+b, -lead, '').crates/sc-composer-beads (src/contract.rs FormulaName, BeadComposeRequest.formula_name)
FUZZ-014still_reproducesStill reproduces at d47d35e: ignored test fails (other vs build); R7 shared rendered_formula 5/5 isolation trials and 4/4 distinct-ref trials cross-contaminated; template-probe 16/30 receipts list the other template's steps.crates/sc-composer-beads (src/graph.rs run, PendingCreate::execute; src/render.rs)
FUZZ-015still_reproducesStill reproduces at d47d35e: ignored test fails (ProcessOutputLimitExceeded); live bd count=36 re-run 3/3 BEADS_PROCESS_OUTPUT_LIMIT; shape seeds 7023 (36 steps) and 48611 (40 steps).crates/sc-composer-beads (src/graph.rs GraphReader::issues; src/runner.rs PROCESS_OUTPUT_LIMIT_BYTES)
FUZZ-016still_reproducesStill reproduces at d47d35e: ignored test fails (argv show --db=/elsewhere); live parent '--help' 3/3 BEADS_GRAPH_READ_FAILED argv ['bd','show','--help','--help.inj-a'].crates/sc-composer-beads (src/graph.rs impl GraphReader for Runtime)
FUZZ-017still_reproducesStill reproduces at d47d35e: ignored test fails ({"amount":0.1,"id":1.2345678901234568e+22}); shape f7 both seeds.crates/sc-compose (src/commands/compose_output.rs append_json_record)
FUZZ-018still_reproducesStill reproduces at d47d35e: ignored test fails (include not expanded); template-probe manual recipe 'Shared step blocks' -> BEADS_COOK_FAILED.crates/sc-composer-beads (src/render.rs render_formula)
FUZZ-019still_reproducesStill reproduces at d47d35e: ignored test fails (empty stderr_excerpt); shape and template '{% if %}' 3/3.crates/sc-composer-beads (src/execute.rs render failure receipt)
FUZZ-020still_reproducesStill reproduces at d47d35e: ignored test fails (cause '{'); live bd 3/3; R7 apply failures carry cause '{'.crates/sc-composer-beads (src/graph.rs process_failure_cause; src/error.rs short_cause)
Report validation (run on this package before commit)
ToolTargetExitOutput
html-validate20261007-2-fuzz-report.html0no problems
html-validate20261007-2-fuzz-report-boundary-probe.xhtml0no problems
html-validate20261007-2-fuzz-report-differential-probe.xhtml0no problems
html-validate20261007-2-fuzz-report-shape-probe.xhtml0no problems
html-validate20261007-2-fuzz-report-template-probe.xhtml0no problems
xmllint --noout20261007-2-fuzz-report-boundary-probe.xhtml0well-formed
xmllint --noout20261007-2-fuzz-report-differential-probe.xhtml0well-formed
xmllint --noout20261007-2-fuzz-report-shape-probe.xhtml0well-formed
xmllint --noout20261007-2-fuzz-report-template-probe.xhtml0well-formed
html-validateindex.html (pre-existing, not part of this package)11:1 error DOCTYPE should be uppercase (doctype-style); line 1 is unchanged from d47d35e

Adversarial fuzz worker

boundary-probe

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

FAIL

Fuzz run descriptionIterationsPassResult
ADR-0023 negative contract, path confinement, render --append failures, exit 3 vs 2; run 2 adds request-file read failures (ba13841), human graph codes, json capability (d2dd10b), missing_edges (c77838a), endpoint states (2e8f60b) 1011 928/1011 FAIL: 2 new confirmed bug(s); 83 failing cases incl. known findings

Inputs exercised

CaseTemplate / inputOutcome
boundary-probe/id_rule_ref/parent/step (ADR Id rule) [seed 7023]id_rule_ref/parent/step (ADR Id rule) [seed 7023]16/29 passed
boundary-probe/scope (GraphScopeMismatch) [seed 7023]scope (GraphScopeMismatch) [seed 7023]18/18 passed
boundary-probe/request_shape (exit 3 vs 2) [seed 7023]request_shape (exit 3 vs 2) [seed 7023]29/29 passed
boundary-probe/relation_request/relations/relation_types [seed 7023]relation_request/relations/relation_types [seed 7023]41/42 passed
boundary-probe/pour_mode [seed 7023]pour_mode [seed 7023]7/7 passed
boundary-probe/conflict rows (not_owned/provenance_differs/edge conflict/edge missing/parent not found) [seed 7023]conflict rows (not_owned/provenance_differs/edge conflict/edge missing/parent not found) [seed 7023]39/39 passed
boundary-probe/ids_bd [seed 7023]ids_bd [seed 7023]15/15 passed
boundary-probe/paths (template/rendered/plan confinement, symlinks) [seed 7023]paths (template/rendered/plan confinement, symlinks) [seed 7023]40/42 passed
boundary-probe/append (ERR_RENDER_* codes, usage exit 3, byte-identical) [seed 7023]append (ERR_RENDER_* codes, usage exit 3, byte-identical) [seed 7023]61/64 passed
boundary-probe/fuzz024_031 head vs baseline x3 [seed 7023]fuzz024_031 head vs baseline x3 [seed 7023]15/36 passed
boundary-probe/request_read (missing/dir/chmod000/non-UTF-8/UTF-16/empty/BOM/huge/symlinks/loop, 6 ops x json+human) [seed 7023]request_read (missing/dir/chmod000/non-UTF-8/UTF-16/empty/BOM/huge/symlinks/loop, 6 ops x json+human) [seed 7023]252/252 passed
boundary-probe/endpoint_states (attach plan from_key/from_id, partial re-run) [seed 7023]endpoint_states (attach plan from_key/from_id, partial re-run) [seed 7023]17/17 passed
boundary-probe/missing_edges (structured receipt, order, human commands runnable) [seed 7023]missing_edges (structured receipt, order, human commands runnable) [seed 7023]22/22 passed
boundary-probe/human_graph_codes (exit parity, bd unchanged, all 10 codes) [seed 7023]human_graph_codes (exit parity, bd unchanged, all 10 codes) [seed 7023]34/34 passed
boundary-probe/human_graph_codes_detail (reason/identity in human output) [seed 7023]human_graph_codes_detail (reason/identity in human output) [seed 7023]0/33 passed
boundary-probe/json_capability (clap errors with --json, 6 subcommands, parity) [seed 7023]json_capability (clap errors with --json, 6 subcommands, parity) [seed 7023]56/56 passed
boundary-probe/alias_relations [seed 7023]alias_relations [seed 7023]24/24 passed
boundary-probe/pour_endpoint_states [seed 7023]pour_endpoint_states [seed 7023]15/15 passed
boundary-probe/s48611_request_mutation (+ shuffled-key metamorphic) [seed 48611]s48611_request_mutation (+ shuffled-key metamorphic) [seed 48611]61/61 passed
boundary-probe/s48611_append [seed 48611]s48611_append [seed 48611]50/50 passed
boundary-probe/s48611_paths [seed 48611]s48611_paths [seed 48611]40/40 passed
boundary-probe/s48611_relation_table (+first-index) [seed 48611]s48611_relation_table (+first-index) [seed 48611]77/86 passed

Findings

FUZZ-041

Minimal template / frontmatter
formula 'rel' with steps build/verify/publish
Input
relations [{"from":"bead:<parent>","to":"bead:<parent>","type":"related"}] (also bead:<parent> <-> bead:<X>)
Expected
ADR-0023 Relation validation table (lines 488-491): from == to -> self_edge; both endpoints bead: -> no_step; parent_pair is only 'between a step and bead:<parent>'.
Observed
Refused BEADS_GRAPH_RELATION_INVALID with reason parent_pair ('invalid graph relation 0: parent_pair'). Coordinator 3/3.
Requirement / ADR
ADR-0023 Relation validation
Requirement / ADR follow-up
No new ADR needed.
Root cause
The parent check runs before the self_edge/no_step checks in the relation loop.
Recommended fix
Check self_edge and no_step before parent_pair.

FUZZ-043

Minimal template / frontmatter
'{"a":'*128 + '1' + '}'*128 (valid JSON, 128 levels)
Input
no variables
Expected
FR (requirements.md line 183): ERR_RENDER_JSON_MALFORMED is for malformed rendered JSON; the body is valid JSON (Python parses it).
Observed
exit 2 ERR_RENDER_JSON_MALFORMED 'rendered JSON is invalid at line 1, column 636'; 127 levels pass. Coordinator 3/3; baseline identical.
Requirement / ADR
requirements.md render JSON check; FR-7 render --append
Requirement / ADR follow-up
No new ADR needed.
Root cause
serde_json default recursion limit (128) reported as malformed input.
Recommended fix
Disable/raise the recursion limit (serde_stacker) or emit a distinct depth-limit diagnostic and document it.

Adversarial fuzz worker

differential-probe

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

PASS

Fuzz run descriptionIterationsPassResult
metamorphic and differential relations (R1-R9) head d47d35e vs origin/develop 080f261, CLI vs Python, concurrency, dedicated concurrent render --append family 888 825/888 FAIL: 63 failing cases, all attributed to known findings or intentional boundaries

Inputs exercised

CaseTemplate / inputOutcome
differential-probe/R1 attach twice == once (+mutated WIP kept, preview after apply) [seed 7023]R1 attach twice == once (+mutated WIP kept, preview after apply) [seed 7023]42/42 passed
differential-probe/R1 attach twice == once (+mutated WIP kept, preview after apply) [seed 48611]R1 attach twice == once (+mutated WIP kept, preview after apply) [seed 48611]24/24 passed
differential-probe/R2 relation permutation keeps inputs/receipt set; changed relation -> GRAPH_CONFLICT [seed 7023]R2 relation permutation keeps inputs/receipt set; changed relation -> GRAPH_CONFLICT [seed 7023]60/60 passed
differential-probe/R2 relation permutation keeps inputs/receipt set; changed relation -> GRAPH_CONFLICT [seed 48611]R2 relation permutation keeps inputs/receipt set; changed relation -> GRAPH_CONFLICT [seed 48611]35/35 passed
differential-probe/R3 LF/CRLF/CR keep revision (TOML+JSON) [seed 7023]R3 LF/CRLF/CR keep revision (TOML+JSON) [seed 7023]54/54 passed
differential-probe/R3 LF/CRLF/CR keep revision (TOML+JSON) [seed 48611]R3 LF/CRLF/CR keep revision (TOML+JSON) [seed 48611]36/36 passed
differential-probe/R4 preview==apply (nodes/edges/ids/plan bytes) + 2e8f60b explicit plan endpoint states (from/to _key xor _id, keys resolve, ids existing and unplanned) incl. resume-after-delete with relations [seed 7023]R4 preview==apply (nodes/edges/ids/plan bytes) + 2e8f60b explicit plan endpoint states (from/to _key xor _id, keys resolve, ids existing and unplanned) incl. resume-after-delete with relations [seed 7023]48/48 passed
differential-probe/R4 preview==apply + explicit plan endpoint states [seed 48611]R4 preview==apply + explicit plan endpoint states [seed 48611]32/32 passed
differential-probe/R4 fake bd create --graph responses (drop/rename/extra/no ids/garbage) -> GRAPH_APPLY_FAILED, no panic (graph.rs missing-key/resolve paths) [seed 7023]R4 fake bd create --graph responses (drop/rename/extra/no ids/garbage) -> GRAPH_APPLY_FAILED, no panic (graph.rs missing-key/resolve paths) [seed 7023]9/10 passed
differential-probe/R4 fake bd create --graph responses [seed 48611]R4 fake bd create --graph responses [seed 48611]9/10 passed
differential-probe/R5 head vs baseline (registry render/validate/preview-pour/pour, request errors, odd names, outside registry/workdir) [seed 7023]R5 head vs baseline (registry render/validate/preview-pour/pour, request errors, odd names, outside registry/workdir) [seed 7023]63/90 passed
differential-probe/R5 head vs baseline [seed 48611]R5 head vs baseline [seed 48611]65/90 passed
differential-probe/R6 CLI vs Python (33 receipts/request errors, 4 attach apply, 35 GraphEdgeMissing missing_edges structured+human+recovered, 31 request-file read failures CLI-only, 24 bead --json usage-error capability) [seed 7023]R6 CLI vs Python (33 receipts/request errors, 4 attach apply, 35 GraphEdgeMissing missing_edges structured+human+recovered, 31 request-file read failures CLI-only, 24 bead --json usage-error capability) [seed 7023]127/127 passed
differential-probe/R6 CLI vs Python (same mix) [seed 48611]R6 CLI vs Python (same mix) [seed 48611]113/113 passed
differential-probe/R7 attach concurrency (identical, distinct refs, shared rendered_formula isolation) [seed 7023]R7 attach concurrency (identical, distinct refs, shared rendered_formula isolation) [seed 7023]8/13 passed
differential-probe/R7 attach concurrency [seed 48611]R7 attach concurrency [seed 48611]6/10 passed
differential-probe/R7 concurrent render --append family [seed 7023]R7 concurrent render --append family [seed 7023]10/10 passed
differential-probe/R7 concurrent render --append family [seed 48611]R7 concurrent render --append family [seed 48611]10/10 passed
differential-probe/R8 preview determinism (rendered, plan bytes, receipt) [seed 7023]R8 preview determinism (rendered, plan bytes, receipt) [seed 7023]8/8 passed
differential-probe/R8 preview determinism [seed 48611]R8 preview determinism [seed 48611]6/6 passed
differential-probe/R9 needs==depends_on; EDGE_MISSING structured missing_edges + human 'bd dep add' then existing; retyped edge -> EDGE_CONFLICT [seed 7023]R9 needs==depends_on; EDGE_MISSING structured missing_edges + human 'bd dep add' then existing; retyped edge -> EDGE_CONFLICT [seed 7023]36/36 passed
differential-probe/R9 extra metamorphic [seed 48611]R9 extra metamorphic [seed 48611]24/24 passed
append/7023/small-absentconcurrent append small-absent: 8 processes x 25 lines, 53 B records, start absent (seed 7023)PASS: 200/200 lines, torn 0, lost 0, dup 0; exits 200x0
append/7023/small-emptyconcurrent append small-empty: 16 processes x 10 lines, 53 B records, start empty (seed 7023)PASS: 160/160 lines, torn 0, lost 0, dup 0; exits 160x0
append/7023/4k-contentconcurrent append 4k-content: 8 processes x 10 lines, 4763 B records, start content (seed 7023)PASS: 80/80 lines, torn 0, lost 0, dup 0; exits 80x0; 3 pre-existing lines byte-identical
append/7023/4k-absentconcurrent append 4k-absent: 12 processes x 6 lines, 4763 B records, start absent (seed 7023)PASS: 72/72 lines, torn 0, lost 0, dup 0; exits 72x0
append/7023/70k-absentconcurrent append 70k-absent: 8 processes x 6 lines, 81653 B records, start absent (seed 7023)PASS: 48/48 lines, torn 0, lost 0, dup 0; exits 48x0
append/7023/70k-contentconcurrent append 70k-content: 6 processes x 4 lines, 81643 B records, start content (seed 7023)PASS: 24/24 lines, torn 0, lost 0, dup 0; exits 24x0; prefix intact
append/7023/1m-absentconcurrent append 1m-absent: 4 processes x 3 lines, 1166698 B records, start absent (seed 7023)PASS: 12/12 lines, torn 0, lost 0, dup 0; exits 12x0
append/7023/1m-emptyconcurrent append 1m-empty: 3 processes x 2 lines, 1166481 B records, start empty (seed 7023)PASS: 6/6 lines, torn 0, lost 0, dup 0; exits 6x0
append/7023/mixed-malformed (procs 1,6 render array -> ERR_RENDER_APPEND_NOT_OBJECT; proc 4 malformed -> ERR_RENDER_JSON_MALFORMED)concurrent append mixed-malformed (procs 1,6 render array -> ERR_RENDER_APPEND_NOT_OBJECT; proc 4 malformed -> ERR_RENDER_JSON_MALFORMED): 8 processes x 6 lines, 53 B records, start content (seed 7023)PASS: 30/30 lines, torn 0, lost 0, dup 0; exits 30x0, 18x2 (every bad-proc invocation exit 2); prefix intact
append/7023/no-final-newlineconcurrent append no-final-newline: 6 processes x 3 lines, 200 B records, start no_final_newline (seed 7023)PASS: 0/0 lines, torn 0, lost 0, dup 0; exits 18x2, all ERR_RENDER_APPEND_NO_FINAL_NEWLINE; file byte-identical
append/48611/small-absentconcurrent append small-absent: 8 processes x 15 lines, 53 B records, start absent (seed 48611)PASS: 120/120 lines, torn 0, lost 0, dup 0; exits 120x0
append/48611/small-emptyconcurrent append small-empty: 16 processes x 6 lines, 53 B records, start empty (seed 48611)PASS: 96/96 lines, torn 0, lost 0, dup 0; exits 96x0
append/48611/4k-contentconcurrent append 4k-content: 8 processes x 6 lines, 4762 B records, start content (seed 48611)PASS: 48/48 lines, torn 0, lost 0, dup 0; exits 48x0
append/48611/4k-absentconcurrent append 4k-absent: 12 processes x 6 lines, 4761 B records, start absent (seed 48611)PASS: 72/72 lines, torn 0, lost 0, dup 0; exits 72x0
append/48611/70k-absentconcurrent append 70k-absent: 8 processes x 4 lines, 81677 B records, start absent (seed 48611)PASS: 32/32 lines, torn 0, lost 0, dup 0; exits 32x0
append/48611/70k-contentconcurrent append 70k-content: 6 processes x 4 lines, 81620 B records, start content (seed 48611)PASS: 24/24 lines, torn 0, lost 0, dup 0; exits 24x0
append/48611/1m-absentconcurrent append 1m-absent: 4 processes x 2 lines, 1166854 B records, start absent (seed 48611)PASS: 8/8 lines, torn 0, lost 0, dup 0; exits 8x0
append/48611/1m-emptyconcurrent append 1m-empty: 3 processes x 2 lines, 1166765 B records, start empty (seed 48611)PASS: 6/6 lines, torn 0, lost 0, dup 0; exits 6x0
append/48611/mixed-malformed (procs 1,6 array; proc 4 malformed)concurrent append mixed-malformed (procs 1,6 array; proc 4 malformed): 8 processes x 6 lines, 81674 B records, start content (seed 48611)PASS: 30/30 lines, torn 0, lost 0, dup 0; exits 30x0, 18x2; prefix intact
append/48611/no-final-newlineconcurrent append no-final-newline: 6 processes x 3 lines, 200 B records, start no_final_newline (seed 48611)PASS: 0/0 lines, torn 0, lost 0, dup 0; exits 18x2, all ERR_RENDER_APPEND_NO_FINAL_NEWLINE; file byte-identical

Adversarial fuzz worker

shape-probe

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

FAIL

Fuzz run descriptionIterationsPassResult
request JSON shapes, Unicode/control ids, request-file encodings (ba13841), missing-edge recovery commands (c77838a), endpoint states (2e8f60b), render --append records 1027 972/1027 FAIL: 2 new confirmed bug(s); 55 failing cases incl. known findings

Inputs exercised

CaseTemplate / inputOutcome
shape-probe/f1_request_shape (render request shapes, raw docs, FUZZ-013/022/035 probes, human/JSON parity) [seed 7023]f1_request_shape (render request shapes, raw docs, FUZZ-013/022/035 probes, human/JSON parity) [seed 7023]75/77 passed
shape-probe/f1r_random_request_mutation (seeded field delete/null/wrong-type/dup-key/relations; determinism + human parity) [seed 7023]f1r_random_request_mutation (seeded field delete/null/wrong-type/dup-key/relations; determinism + human parity) [seed 7023]70/70 passed
shape-probe/f1r_random_request_mutation [seed 48611]f1r_random_request_mutation [seed 48611]45/45 passed
shape-probe/f2_attach_request_shape (parent/ref/relations/auth shapes, Unicode whitespace classes) [seed 7023]f2_attach_request_shape (parent/ref/relations/auth shapes, Unicode whitespace classes) [seed 7023]49/49 passed
shape-probe/f3_attach_ids_bd (Unicode/control/look-alike/option-like parent and relation endpoints, scope) [seed 7023]f3_attach_ids_bd (Unicode/control/look-alike/option-like parent and relation endpoints, scope) [seed 7023]44/52 passed
shape-probe/f4_step_content_bd (generated step ids, titles/labels/metadata with C0/DEL/NUL/bidi/ZW/combining/non-BMP, reserved metadata) [seed 7023]f4_step_content_bd (generated step ids, titles/labels/metadata with C0/DEL/NUL/bidi/ZW/combining/non-BMP, reserved metadata) [seed 7023]56/57 passed
shape-probe/f4_step_content_bd [seed 48611]f4_step_content_bd [seed 48611]46/47 passed
shape-probe/f5_attach_rerun_bd (real attach, bd round-trip fidelity, idempotent re-run, chain size) [seed 7023]f5_attach_rerun_bd (real attach, bd round-trip fidelity, idempotent re-run, chain size) [seed 7023]12/13 passed
shape-probe/f5_attach_rerun_bd [seed 48611]f5_attach_rerun_bd [seed 48611]11/12 passed
shape-probe/f6_pour_bd (graph/registry pour shapes, mixed key/id plan endpoints) [seed 7023]f6_pour_bd (graph/registry pour shapes, mixed key/id plan endpoints) [seed 7023]14/15 passed
shape-probe/f7_render_append (record shapes, escapes, numbers, destinations, non-objects, seeded random objects, sequential appends) [seed 7023]f7_render_append (record shapes, escapes, numbers, destinations, non-objects, seeded random objects, sequential appends) [seed 7023]60/65 passed
shape-probe/f7_render_append [seed 48611]f7_render_append [seed 48611]66/71 passed
shape-probe/f8_request_file_encoding (BOM, UTF-16/32, Latin-1, overlong, CESU, NUL, CRLF/CR, trailing garbage, 40 MB, dir/000/loop/FIFO/unicode/newline paths, non-UTF-8 path, seeded byte mutations vs Python strict-JSON oracle; human/JSON parity) [seed 7023]f8_request_file_encoding (BOM, UTF-16/32, Latin-1, overlong, CESU, NUL, CRLF/CR, trailing garbage, 40 MB, dir/000/loop/FIFO/unicode/newline paths, non-UTF-8 path, seeded byte mutations vs Python strict-JSON oracle; human/JSON parity) [seed 7023]85/87 passed
shape-probe/f8_request_file_encoding [seed 48611]f8_request_file_encoding [seed 48611]85/87 passed
shape-probe/f10_missing_edge_recovery (20 parent ids with shell metachars/quotes/C0/DEL/bidi/ZW/NFC/NFD/emoji; removed edges; receipt missing_edges, stage message, human recovery lines, argv-exact recovery then no-op re-run) [seed 7023]f10_missing_edge_recovery (20 parent ids with shell metachars/quotes/C0/DEL/bidi/ZW/NFC/NFD/emoji; removed edges; receipt missing_edges, stage message, human recovery lines, argv-exact recovery then no-op re-run) [seed 7023]144/160 passed
shape-probe/f10_missing_edge_recovery [seed 48611]f10_missing_edge_recovery [seed 48611]86/96 passed
shape-probe/f11_endpoint_states (resume after deleting first/middle/last/two steps; plan *_key vs *_id per endpoint, relation endpoints both directions, node actions, no-op re-run) [seed 7023]f11_endpoint_states (resume after deleting first/middle/last/two steps; plan *_key vs *_id per endpoint, relation endpoints both directions, node actions, no-op re-run) [seed 7023]16/16 passed
shape-probe/f11_endpoint_states [seed 48611]f11_endpoint_states [seed 48611]8/8 passed

Findings

FUZZ-038

Minimal template / frontmatter
n/a
Input
request path argv containing one non-UTF-8 byte (0xFF), file absent
Expected
help bead: request-file read failures use BEADS_REQUEST_READ_FAILED (exit 3) with details.path/kind and recovery; FR-7 stable envelope, never a panic. Baseline 080f261: exit 3 envelope.
Observed
Exit 101, empty stdout: thread 'main' panicked at crates/sc-composer-beads/src/error_json.rs:25:17: called Result::unwrap() on Err 'path contains invalid UTF-8 characters'. JSON and human mode. Coordinator 3/3; baseline exit 3.
Requirement / ADR
help bead Request-file read failures; ADR-0023 Request errors; FR-7
Requirement / ADR follow-up
No new ADR needed.
Root cause
impl Serialize for BeadComposeError builds json!({"path": path, ...}) for RequestReadFailed; json! unwraps serde_json::to_value(PathBuf), which fails for non-UTF-8 paths. Reached via print_json and human_bead_error.
Recommended fix
Serialize the path lossily (to_string_lossy) or as bytes and never unwrap in the error serializer.

FUZZ-040

Minimal template / frontmatter
formula u: step 'head', step 'tail' needs ['head']
Input
existing parent with bd-accepted id 'spc-$(id)58' (also 'spc-a;b90', 'spc-x"q65', ESC/bidi/C0 ids); attach, bd dep remove tail head, re-run
Expected
ADR-0023 Errors: GraphEdgeMissing recovery is 'run the bd dep add command the message gives'; the message lists 'the exact command'. help bead: each recovery command printed on its own line.
Observed
Printed 'bd dep add spc-$(id)58.rdollar_subshellv2-tail spc-$(id)58.rdollar_subshellv2-head --type blocks' unquoted: a shell runs `id`; ';' splits the command; quotes merge args; control/bidi characters reach the terminal raw. Receipt missing_edges data itself is correct. Coordinator 3/3.
Requirement / ADR
ADR-0023 Errors (GraphEdgeMissing); help bead human output
Requirement / ADR follow-up
No new ADR needed.
Root cause
Commands built with plain Display format!("bd dep add {} {} --type {}") with no shell quoting or control escaping; BeadId only forbids whitespace.
Recommended fix
Shell-quote each argument (and escape control characters) in the human and message forms, or reject such ids at BeadId.

Adversarial fuzz worker

template-probe

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

FAIL

Fuzz run descriptionIterationsPassResult
bead templates (loops, conditionals, includes, 12..500 steps), TOML/JSON parity, every shipped help-bead recipe, human vs --json for every refusal 582 536/582 FAIL: 2 new confirmed bug(s); 46 failing cases incl. known findings

Inputs exercised

CaseTemplate / inputOutcome
template-probe/A render TOML/JSON fidelity vs generator (data-driven loops, Unicode, literal {{ }}) [seed 7023]A render TOML/JSON fidelity vs generator (data-driven loops, Unicode, literal {{ }}) [seed 7023]60/60 passed
template-probe/A render TOML/JSON fidelity [seed 48611]A render TOML/JSON fidelity [seed 48611]30/30 passed
template-probe/B2 preview-attach/preview-pour parity + explicit plan endpoint states + relations + human success parity [seed 7023]B2 preview-attach/preview-pour parity + explicit plan endpoint states + relations + human success parity [seed 7023]59/60 passed
template-probe/B2 preview-attach/preview-pour parity + endpoint states + relations + human parity (2 batches) [seed 48611]B2 preview-attach/preview-pour parity + endpoint states + relations + human parity (2 batches) [seed 48611]60/60 passed
template-probe/C ADR-0023 formula grammar refusals x TOML/JSON x preview-attach/preview-pour (+human code/rc parity) [seed 7023]C ADR-0023 formula grammar refusals x TOML/JSON x preview-attach/preview-pour (+human code/rc parity) [seed 7023]51/54 passed
template-probe/G whitespace control / delimiters / macros / includes (render, exact-output oracle) [seed 7023]G whitespace control / delimiters / macros / includes (render, exact-output oracle) [seed 7023]20/25 passed
template-probe/H special text through real attach (control chars, CRLF, bidi, 20k desc, literal braces) + re-run [seed 7023]H special text through real attach (control chars, CRLF, bidi, 20k desc, literal braces) + re-run [seed 7023]11/12 passed
template-probe/J graph pour with literal {{ }} text, root molecule, bd show/mol show, second pour new ids [seed 7023]J graph pour with literal {{ }} text, root molecule, bd show/mol show, second pour new ids [seed 7023]6/6 passed
template-probe/J graph pour literal braces [seed 48611]J graph pour literal braces [seed 48611]6/6 passed
template-probe/M every shipped help-bead recipe/example executed (release-under-epic, chain N, review chains, optional, @include, per-sprint loop, relations, pour, request example) [seed 7023]M every shipped help-bead recipe/example executed (release-under-epic, chain N, review chains, optional, @include, per-sprint loop, relations, pour, request example) [seed 7023]11/12 passed
template-probe/D2 real attach + relations, idempotent re-run (human+JSON), bd show/dep fidelity, TOML/JSON bd parity, partial-delete recovery, removed-edge recovery [seed 7023]D2 real attach + relations, idempotent re-run (human+JSON), bd show/dep fidelity, TOML/JSON bd parity, partial-delete recovery, removed-edge recovery [seed 7023]39/40 passed
template-probe/D2 real attach + mutations [seed 48611]D2 real attach + mutations [seed 48611]20/20 passed
template-probe/P real graph pour + relations, bd dep fidelity, human pour output [seed 7023]P real graph pour + relations, bd dep fidelity, human pour output [seed 7023]15/15 passed
template-probe/P real graph pour + relations [seed 48611]P real graph pour + relations [seed 48611]20/20 passed
template-probe/R every refusal/error type: human vs --json (rc, code, message, details, recovery, bd dep add lines) [seed 7023]R every refusal/error type: human vs --json (rc, code, message, details, recovery, bd dep add lines) [seed 7023]21/42 passed
template-probe/L large formulas 12..500 steps (range loops, fan-out/fan-in, chains): preview/attach/re-run/preview-pour/pour [seed 7023]L large formulas 12..500 steps (range loops, fan-out/fan-in, chains): preview/attach/re-run/preview-pour/pour [seed 7023]2/10 passed
template-probe/T nested loops/conditionals/filters, metamorphic lstrip_blocks indentation variant, graph parity [seed 7023]T nested loops/conditionals/filters, metamorphic lstrip_blocks indentation variant, graph parity [seed 7023]40/40 passed
template-probe/T nested loops/conditionals/filters, metamorphic variant [seed 48611]T nested loops/conditionals/filters, metamorphic variant [seed 48611]60/60 passed
template-probe/misc: known-finding probes (FUZZ-012/013/016/019), FUZZ-014 race, non-object metadata/null fields, manual partial-delete walkthrough [seed 7023]misc: known-finding probes (FUZZ-012/013/016/019), FUZZ-014 race, non-object metadata/null fields, manual partial-delete walkthrough [seed 7023]5/10 passed

Findings

FUZZ-039

Minimal template / frontmatter
formula = "m" / version = 1 / type = "workflow" / [[steps]] id = "a" title = "A"
Input
preview_attach with parent 'tpj-nosuch' (or relation bead:<P> -> bead:<P>)
Expected
ADR-0023 line 314: each reason is a closed snake_case enum '...; the CLI prints its text form.' FR-8 human-readable message.
Observed
Human output is only 'outcome: refused' and 'stage PreviewAttach: failed (BEADS_GRAPH_PARENT_NOT_FOUND)'; the reason/id/cause/recovery is only in the --json stderr_excerpt. Same for every receipt-level graph code except EDGE_MISSING (boundary 33/33, template 20/20 types + 166/166 grammar refusals). Exit codes correct. Coordinator 3/3.
Requirement / ADR
ADR-0023 Errors (line 314); FR-8; FR-23.10
Requirement / ADR follow-up
No new ADR needed.
Root cause
print_human_receipt prints stage codes and missing_edges commands only; record_error text in stderr_excerpt is never printed; human_bead_error (cfef41c) covers only the Err path.
Recommended fix
Print the failing stage's message (reason text, id, recovery) in human mode.

FUZZ-042

Minimal template / frontmatter
formula = "m" / version = 1 / type = "workflow" / [[steps]] id = "a" title = "A"
Input
render request with rendered_formula <wd>/missing_dir/m.formula.toml (template exists)
Expected
ADR-0021 line 170: TemplatePathInvalid means the *template* path is missing/malformed; FR-8 stable diagnostics.
Observed
exit 3 BEADS_TEMPLATE_PATH_INVALID 'invalid template path: <wd>/missing_dir/m.formula.toml' for every operation. Coordinator 3/3; baseline identical.
Requirement / ADR
ADR-0021 error table; FR-23.2; FR-8
Requirement / ADR follow-up
No new ADR needed.
Root cause
normalize_output maps every parent()/canonicalize()/file_name() failure of rendered_formula to TemplatePathInvalid.
Recommended fix
Report an output-path code naming rendered_formula.

Recommendations

FUZZ-012..FUZZ-020 still reproduce at d47d35e (ignored regression tests still fail as intended). 6 new confirmed bugs, not promoted (to be filed by the coordinator):

FUZZ-024 and FUZZ-031 are intentional boundaries with ADR citations above; FUZZ-024 recommends a doc clarification naming the outside-workdir pour code.

Metadata

Campaign idt7-20261007-0002
Session idsc-compose-fuzz-20261007-2
Supersedest7-20261007-0001 (report 20261007-1, head 58e3b49)
Seeds7023 (reused) + 48611 (fresh); cases 7023=2319 (2130 passed), 48611=1189 (1131 passed)
Targetfull
Baselineorigin/develop (080f261)
Tested headd47d35ed4ff0145141c0517451b576c5815c6a79 (branch fix/t-7-qa1-f1-campaign-rerun)
Production treeidentical to 2e8f60b; crates/sc-composer/src 435b9966d0608c1e92f806a1878291743f444e84; crates/sc-composer-beads/src f030915f83d937bd43d8dbc914abde58bfd999ef; crates/sc-compose/src bf0cfc8b94eaf90691c612e3d4e6550c9bdcb402; crates/sc-compose/docs 1a0e01bc266c2ff3661345788e8fb5bca80260d7; crates/sc-sha/src 16b3e44108a32e37030a24ce1a73aedb5289eb52; bindings 5393974bb99071cdb8ec75ee4b3d13b8755d13e6; Cargo.toml f2de51c3e78da8bf0415029972a16fa074e39689; Cargo.lock a7cbfbf7e075f998aa84aa1ec88afb6bcf6feb24
Previously unfuzzed commits coveredc77838a, ba13841, cfef41c, 036ecda, d2dd10b, 2e8f60b
Workersboundary-probe 1011 / differential-probe 888 / shape-probe 1027 / template-probe 582
Per-worker timeout600 s
Confirmed bugs15 (FUZZ-012..020 still reproduce; new FUZZ-038..043)
Intentional boundaries9
Inconclusive13
Validationhtml-validate 20261007-2-fuzz-report.html: exit 0; html-validate 20261007-2-fuzz-report-boundary-probe.xhtml: exit 0; html-validate 20261007-2-fuzz-report-differential-probe.xhtml: exit 0; html-validate 20261007-2-fuzz-report-shape-probe.xhtml: exit 0; html-validate 20261007-2-fuzz-report-template-probe.xhtml: exit 0; xmllint --noout 20261007-2-fuzz-report-boundary-probe.xhtml: exit 0; xmllint --noout 20261007-2-fuzz-report-differential-probe.xhtml: exit 0; xmllint --noout 20261007-2-fuzz-report-shape-probe.xhtml: exit 0; xmllint --noout 20261007-2-fuzz-report-template-probe.xhtml: exit 0; html-validate index.html (pre-existing, not part of this package): exit 1
Environmentbd v1.3.1 in scratch workspaces on a throwaway dolt sql-server 127.0.0.1:52877 (stopped after the campaign); isolated HOME; DO_NOT_TRACK=1 and metrics.disabled; Python wheel built from d47d35e in a scratch venv; no network services (html-validate installed from npm into a scratch dir only).