Repository navigation
chore: constrain local Test to scenario-driven evidence - #6
Merged
Merged
Conversation
Add the reviewed foreground Test guidance to the existing test mapping. Preserve evidence publication and all other configuration settings. Keep broad regression in hosted CI.
davidtandoh
added a commit
that referenced
this pull request
Sep 27, 2026
Bring fork main (2f9a106, the 2026-09-26 upstream sync plus fork fixes #2-#6) into the Kiro V3 crew branch so PR #8 merges cleanly. A merge, not a rebase, keeps the upstream PR kunchenguid#4679 merge and its authorship intact. Textual conflicts (1): - bin/fm-test-run.sh, family_for_basename live-e2e list: this branch added fm-kiro-signals-live-e2e.test.sh on its own line; main added fm-herdr-agent-liveness-live-e2e.test.sh beside the version-floor test. Kept both entries, so both live tests stay classified in the live-harness-optin family. Auto-merged files touched by both sides, checked by hand: - bin/fm-spawn.sh: main's agy Opus --effort omission (fork fix #5) sits in the agy arm next to this branch's new kiro effort arm; effort_flag_for_harness keeps the (harness, effort, model) signature on both sides. - agy.md, docs/configuration.md, docs/verification/runtime-backends.md: disjoint hunks. Semantic review: the Kiro adapter adds no arm to bin/backends/herdr.sh or fm_harness_pid_alive. Kiro reaches the fork's registration- independent Herdr liveness (fork fix #3) through fm_agent_process_classify_name, where kiro-cli classifies as agent. It is worker-only, so it stays out of the primary session-lock harness table. Claude-Session: https://claude.ai/code/session_01B4Krq5gHjEPXbmzMaaeTHs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
Approve the separate test-guidance PR and its merge after review and passing checks, so upstream sync can resume. Use scenario-driven, bounded foreground Test evidence instead of a local family/full-suite walk. Preserve test.evidence, all required gates, the existing 30-minute deadline, and the absence of commands.test. Keep broad regression and hosted CI mandatory. No global configuration or daemon change, and no merge of the upstream-sync PR itself.
What Changed
test.instructionsblock to.no-mistakes.yamlthat directs the local Test step to derive scenarios from the intent and integrated diff, drive each with the smallest existing executable test in a separate foreground invocation, and skip any family or full-suite walk. It names a boundedbin/fm-test-run.sh tests/fm-task-delivery.test.shinvocation (--jobs 1, 90-second per-script timeout, 120-second wall limit, JSON timing output) as the starting point for worker delivery-contract changes.head/tailoutput as a verdict, distinguish isolated-fixture coverage from real remote acceptance, mark unavailable live scenarios untested with a reason, and keep broad regression and hosted CI mandatory.test.evidence.store_in_repo: trueis unchanged and nocommands.testis added.test.instructionsgate default indocs/configuration.md, pointing to.no-mistakes.yamlas the owner of the exact wording.Risk Assessment
✅ Low: The change adds only a 15-line test.instructions prose block to .no-mistakes.yaml; test.evidence.store_in_repo, commands.lint, disable_project_settings and the absence of commands.test are preserved, no deadline/global/daemon setting is touched, and the example fm-test-run.sh invocation uses flags and positional-script parsing that exist in the runner.
Testing
I ran three separate bounded foreground runs of
bin/fm-test-run.shand kept the full logs and timing artifacts; no baseline commands, family walk or full-suite walk ran. First, the guidance's delivery-contract command ran verbatim: it exited 0 in about 18.5s against a 120s budget, and its JSON artifact carried the exit and gate_skip fields. Second, the existingcommands.testcontract test passed against the changed config, and a parsed config dump showedtest.evidenceand all other keys preserved. Third, an adversarial 2-second timeout produced exit 124 and a non-zero runner exit, not a false pass. Delivery of the instructions into a real Test prompt was not driven because this phase may not start or control a pipeline. Hosted CI still owns broad regression.ok - no-mistakes does not configure commands.test) and config-semantic-model.jsonEvidence: Delivery-contract command transcript
Source: Delivery-contract command transcript
Evidence: Delivery timing artifact (exit and gate-skip fields)
Source: Delivery timing artifact (exit and gate-skip fields)
Evidence: commands.test contract test transcript
Source: commands.test contract test transcript
Evidence: commands.test contract timing artifact
Source: commands.test contract timing artifact
Evidence: Parsed .no-mistakes.yaml semantic model
Source: Parsed .no-mistakes.yaml semantic model
commands: {lint: bin/fm-lint.sh}; test.evidence: {store_in_repo: true}; test.instructions: 14 lines; disable_project_settings: true; top-level keys: disable_project_settings, document, commands, testEvidence: Adversarial timeout transcript
Source: Adversarial timeout transcript
FM_TEST_END tests/fm-task-delivery.test.sh exit=124 duration_ms=2388 gate_skip=false FM_TEST_SUMMARY total=1 failed=1 skipped_gate=0 duration_ms=2475 runner exit=1Evidence: Adversarial timeout timing artifact
Source: Adversarial timeout timing artifact
Pipeline
Updates from git push no-mistakes
✅ **intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
docs/configuration.md:217- docs/configuration.md describes the tracked .no-mistakes.yaml as setting test.evidence.store_in_repo and commands.lint only; it does not mention the new trusted test.instructions block. The YAML itself is the authoritative owner and the pipeline's Document step can decide whether a one-line pointer is warranted, so no review-phase action is needed.✅ **Test** - passed
✅ No issues found.
ok - no-mistakes does not configure commands.test) and config-semantic-model.jsonbin/fm-test-run.sh tests/fm-task-delivery.test.sh --jobs 1 --per-script-timeout-secs 90 --max-wall-ms 120000 --json <evidence>/delivery-timing.json(foreground, exit 0)bin/fm-test-run.sh tests/fm-nm-test-contract.test.sh --jobs 1 --per-script-timeout-secs 90 --max-wall-ms 120000 --json <evidence>/nm-contract-timing.json(foreground, exit 0)bin/fm-test-run.sh tests/fm-task-delivery.test.sh --jobs 1 --per-script-timeout-secs 2 --max-wall-ms 120000 --json <evidence>/timeout-adversarial-timing.json(adversarial; runner exit 1 with script exit 124, as expected)ruby -ryamlparse of.no-mistakes.yamlinto a semantic model, written to config-semantic-model.jsongit status --shortafter testing (worktree clean)✅ **Document** - passed
✅ No issues found.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.