Repository navigation
skill: tell product from test by replaying the saved test on a known-good build - #244
Jennycruzy wants to merge 1 commit into
Conversation
…good build When one run can't settle whether a failure is the product or the test, replay the same saved test, unchanged, on a build known to work with --override-start-url and --no-adaptive-heal. bugs.md §5 gets the check, debug.md a pointer, testmd.md the --override-start-url flag (worded as in kane-cli testmd run --help). Kiro steering mirrors bugs.md and testmd.md.
|
Results from running this method on kane-cli 0.10.9, in case they help review:
The change in this PR is text only, in the skill references (bugs.md, debug.md, testmd.md); it does not change CLI behaviour. |
When a saved test fails,
references/bugs.md§5 asks the agent to mark the bugrealornot-real"from this run's evidence". Sometimes one run can't settle it: the diagnosis sees the failing step, and a product bug can look like a test that never set up the right state (#232, #241). An agent that guesses wrong edits the test until it passes.This adds one check the agent can run with flags kane-cli already has: replay the same saved test, unchanged, on a build known to work, with
--override-start-url <url> --no-adaptive-heal.real(andrca-wrongif the diagnosis blamed the test).not-real.It is one more replay (a few credits), so the agent offers it and runs it when the person agrees; in a linked folder the flag rules of
references/shared-projects.md§4 apply.Skill (installer copy, synced to
.claude/and.agents/)references/bugs.md§5: the check above, as one bullet in step 4.references/debug.md: one sentence in Readingfailure.yamlpointing to it.references/testmd.md:--override-start-urladded to thetestmd runflag table, worded as inkane-cli testmd run --help(0.10.8). It was not documented in the skill.Kiro power
steering/kane-cli-bugs.mdandsteering/kane-cli-testmd.md: the same two changes.Checks
cd skill-installer && npm test: 75 pass, 0 fail, 5 skipped.diff -r).testmd run <file>_test.md --override-start-url <url> --no-adaptive-heal --agentreplays the saved recording on the other build with every step replayed.