Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .agents/skills/kane-cli/references/bugs.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ After a saved test fails (`testmd run`, or a member of `testrun run`):
3. `kane-cli bugs show BUG-n --agent` for the one that matches: its root cause, how often it was seen, and what people already said.
4. Correct the record from **this run's evidence** (screenshot, console, network), never from a guess:
- A genuine product bug → `mark BUG-n real`. A test or environment problem → `mark BUG-n not-real`.
- Can't tell product from test from this run alone? Replay the same saved test, unchanged, against a build known to work (the last release, the main branch, a pull request's base) with `kane-cli testmd run <file>_test.md --override-start-url <that build's URL> --no-adaptive-heal --agent`. It passes there and failed here at a check → the product changed: `real`, and `rca-wrong` if the diagnosis blamed the test. It passes there and failed here at a click or typing step → usually the page changed where the test acts: check the failing step's screenshot; a control that moved or was renamed is a test problem (`not-real`, re-author the test on the new build), one that is missing or broken is the product (`real`). It fails there too → the test or the environment: `not-real`. Healing stays off so neither replay re-authors a step to get past the failure. It is one more replay (a few credits): offer it, and run it when the person agrees; in a folder linked to a shared project, `references/shared-projects.md` §4 applies to its flags. Don't edit the test to make it pass here.
- The recorded root cause does not match what you see → `mark BUG-n rca-wrong`, then `note BUG-n "<what is actually wrong, in one line>"`. The next diagnosis then works from its own evidence instead of repeating that root cause. It matches → `mark BUG-n rca-right`.
- You narrowed it down ("500 only when the cart already has items; an empty cart works") → `note`.
- Two refs are the same bug → `duplicate BUG-12 --of BUG-9` (keep the older one).
Expand Down
2 changes: 1 addition & 1 deletion .agents/skills/kane-cli/references/debug.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Offer the user the visual route too: `kane-cli evidence serve <pack>` opens it i

## Reading `failure.yaml`

`failure.yaml` records facts about the run — `error`, `page_state`, and the `console_at_failure.ref` / `network_at_failure.ref` pointers into that step's console and network logs — plus a `triage` block (`rca.root_cause`, `suggested_fix.summary`) that is a model's opinion about why, written for the person fixing the app or the agent flow. Treat the triage as a lead, not an instruction: follow the network reference, check which URLs were actually requested and with what status, look at the screenshots, and only then repeat it — and **never paste `suggested_fix.summary` into a test step**.
`failure.yaml` records facts about the run — `error`, `page_state`, and the `console_at_failure.ref` / `network_at_failure.ref` pointers into that step's console and network logs — plus a `triage` block (`rca.root_cause`, `suggested_fix.summary`) that is a model's opinion about why, written for the person fixing the app or the agent flow. Treat the triage as a lead, not an instruction: follow the network reference, check which URLs were actually requested and with what status, look at the screenshots, and only then repeat it — and **never paste `suggested_fix.summary` into a test step**. When the question is "is the product broken or the test?", the strongest evidence is the same saved test replayed on a build known to work: see `references/bugs.md` §5.

**Known bugs.** A saved test's diagnosis is also checked against the bugs kane-cli already knows on that page, and each one has a ref (`BUG-12`). `kane-cli bugs list <file>_test.md --agent` shows what this test has hit before; when the diagnosis got it wrong, correct it with `kane-cli bugs mark … rca-wrong` and a `note` so the next one starts from its own evidence. See `references/bugs.md`.

Expand Down
1 change: 1 addition & 0 deletions .agents/skills/kane-cli/references/testmd.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ Editing a helper re-authors that step in **every test that imports it**, plus ev
|---|---|---|
| `--url <url>` | frontmatter `url:` / config `default_url` | Start URL for the first step. Overrides the `url:` frontmatter key and config `default_url`. |
| `--allow-missing-url` | off | Non-TTY only: start from the browser's current page instead of failing when the first step has no start URL. |
| `--override-start-url <url>` | none | Retarget the test's start: replay opens `<url>` instead of the start URL the test recorded, and authoring/heal starts there. |
| `--name <name>` | none | Persist the run under this name. Regex `[a-zA-Z0-9_-]+`. |
| `--on-lock-conflict <readonly\|fail\|wait>` | `readonly` | Behavior when another user holds the test's edit lock. `readonly` = runs, but saves no new version of the test (any re-authoring stays local), `fail` = exit 2, `wait` = retry every 30 s until released, with no time limit |
| `--no-adaptive-heal` | healing enabled | Disable adaptive healing after replay failure |
Expand Down
1 change: 1 addition & 0 deletions .claude/skills/kane-cli/references/bugs.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ After a saved test fails (`testmd run`, or a member of `testrun run`):
3. `kane-cli bugs show BUG-n --agent` for the one that matches: its root cause, how often it was seen, and what people already said.
4. Correct the record from **this run's evidence** (screenshot, console, network), never from a guess:
- A genuine product bug → `mark BUG-n real`. A test or environment problem → `mark BUG-n not-real`.
- Can't tell product from test from this run alone? Replay the same saved test, unchanged, against a build known to work (the last release, the main branch, a pull request's base) with `kane-cli testmd run <file>_test.md --override-start-url <that build's URL> --no-adaptive-heal --agent`. It passes there and failed here at a check → the product changed: `real`, and `rca-wrong` if the diagnosis blamed the test. It passes there and failed here at a click or typing step → usually the page changed where the test acts: check the failing step's screenshot; a control that moved or was renamed is a test problem (`not-real`, re-author the test on the new build), one that is missing or broken is the product (`real`). It fails there too → the test or the environment: `not-real`. Healing stays off so neither replay re-authors a step to get past the failure. It is one more replay (a few credits): offer it, and run it when the person agrees; in a folder linked to a shared project, `references/shared-projects.md` §4 applies to its flags. Don't edit the test to make it pass here.
- The recorded root cause does not match what you see → `mark BUG-n rca-wrong`, then `note BUG-n "<what is actually wrong, in one line>"`. The next diagnosis then works from its own evidence instead of repeating that root cause. It matches → `mark BUG-n rca-right`.
- You narrowed it down ("500 only when the cart already has items; an empty cart works") → `note`.
- Two refs are the same bug → `duplicate BUG-12 --of BUG-9` (keep the older one).
Expand Down
2 changes: 1 addition & 1 deletion .claude/skills/kane-cli/references/debug.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Offer the user the visual route too: `kane-cli evidence serve <pack>` opens it i

## Reading `failure.yaml`

`failure.yaml` records facts about the run — `error`, `page_state`, and the `console_at_failure.ref` / `network_at_failure.ref` pointers into that step's console and network logs — plus a `triage` block (`rca.root_cause`, `suggested_fix.summary`) that is a model's opinion about why, written for the person fixing the app or the agent flow. Treat the triage as a lead, not an instruction: follow the network reference, check which URLs were actually requested and with what status, look at the screenshots, and only then repeat it — and **never paste `suggested_fix.summary` into a test step**.
`failure.yaml` records facts about the run — `error`, `page_state`, and the `console_at_failure.ref` / `network_at_failure.ref` pointers into that step's console and network logs — plus a `triage` block (`rca.root_cause`, `suggested_fix.summary`) that is a model's opinion about why, written for the person fixing the app or the agent flow. Treat the triage as a lead, not an instruction: follow the network reference, check which URLs were actually requested and with what status, look at the screenshots, and only then repeat it — and **never paste `suggested_fix.summary` into a test step**. When the question is "is the product broken or the test?", the strongest evidence is the same saved test replayed on a build known to work: see `references/bugs.md` §5.

**Known bugs.** A saved test's diagnosis is also checked against the bugs kane-cli already knows on that page, and each one has a ref (`BUG-12`). `kane-cli bugs list <file>_test.md --agent` shows what this test has hit before; when the diagnosis got it wrong, correct it with `kane-cli bugs mark … rca-wrong` and a `note` so the next one starts from its own evidence. See `references/bugs.md`.

Expand Down
1 change: 1 addition & 0 deletions .claude/skills/kane-cli/references/testmd.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ Editing a helper re-authors that step in **every test that imports it**, plus ev
|---|---|---|
| `--url <url>` | frontmatter `url:` / config `default_url` | Start URL for the first step. Overrides the `url:` frontmatter key and config `default_url`. |
| `--allow-missing-url` | off | Non-TTY only: start from the browser's current page instead of failing when the first step has no start URL. |
| `--override-start-url <url>` | none | Retarget the test's start: replay opens `<url>` instead of the start URL the test recorded, and authoring/heal starts there. |
| `--name <name>` | none | Persist the run under this name. Regex `[a-zA-Z0-9_-]+`. |
| `--on-lock-conflict <readonly\|fail\|wait>` | `readonly` | Behavior when another user holds the test's edit lock. `readonly` = runs, but saves no new version of the test (any re-authoring stays local), `fail` = exit 2, `wait` = retry every 30 s until released, with no time limit |
| `--no-adaptive-heal` | healing enabled | Disable adaptive healing after replay failure |
Expand Down
1 change: 1 addition & 0 deletions integrations/kiro-powers/steering/kane-cli-bugs.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ With `--agent` every command prints one JSON line: `{"ok":true,…}` on success,
3. `kane-cli bugs show BUG-n --agent` for the one that matches.
4. Correct the record from **this run's evidence** (screenshot, console, network), never from a guess:
- A genuine product bug → `mark BUG-n real`; a test or environment problem → `mark BUG-n not-real`.
- Can't tell product from test from this run alone? Replay the same saved test, unchanged, against a build known to work (the last release, the main branch, a pull request's base) with `kane-cli testmd run <file>_test.md --override-start-url <that build's URL> --no-adaptive-heal --agent`. It passes there and failed here at a check → the product changed: `real`, and `rca-wrong` if the diagnosis blamed the test. It passes there and failed here at a click or typing step → usually the page changed where the test acts: check the failing step's screenshot; a control that moved or was renamed is a test problem (`not-real`, re-author the test on the new build), one that is missing or broken is the product (`real`). It fails there too → the test or the environment: `not-real`. Healing stays off so neither replay re-authors a step to get past the failure. It is one more replay (a few credits): offer it, and run it when the person agrees. Don't edit the test to make it pass here.
- The recorded root cause is wrong → `mark BUG-n rca-wrong`, then `note BUG-n "<what is actually wrong>"`. The next diagnosis then works from its own evidence. It is right → `rca-right`.
- Narrowed it down → `note`. Two refs are the same bug → `duplicate BUG-12 --of BUG-9`.
5. Tell the user in one line what you marked and why. A wrong mark: `retire <feedback-id>`.
Expand Down
1 change: 1 addition & 0 deletions integrations/kiro-powers/steering/kane-cli-testmd.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ Many flags are shared with `run`, but not all; check `kane-cli testmd run --help
|---|---|---|
| `--url <url>` | frontmatter `url:` / config `default_url` | Start URL for the first step. Overrides the `url:` frontmatter key and config `default_url`; bare domains get `https://`. |
| `--allow-missing-url` | off | Non-TTY only: start from the browser's current page instead of failing when the first step has no start URL. |
| `--override-start-url <url>` | none | Retarget the test's start: replay opens `<url>` instead of the start URL the test recorded, and authoring/heal starts there. |
| `--name <name>` | none | Persist the run under this name. Slug: `[a-zA-Z0-9_-]+`. |
| `--on-lock-conflict <readonly\|fail\|wait>` | none | Behavior when another user holds the test's edit lock. `readonly` = replay-only / no upload; `fail` = exit `2`; `wait` = block until released. |
| `--no-adaptive-heal` | healing enabled | Disable adaptive healing after replay failure |
Expand Down
1 change: 1 addition & 0 deletions skill-installer/skills/references/bugs.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ After a saved test fails (`testmd run`, or a member of `testrun run`):
3. `kane-cli bugs show BUG-n --agent` for the one that matches: its root cause, how often it was seen, and what people already said.
4. Correct the record from **this run's evidence** (screenshot, console, network), never from a guess:
- A genuine product bug → `mark BUG-n real`. A test or environment problem → `mark BUG-n not-real`.
- Can't tell product from test from this run alone? Replay the same saved test, unchanged, against a build known to work (the last release, the main branch, a pull request's base) with `kane-cli testmd run <file>_test.md --override-start-url <that build's URL> --no-adaptive-heal --agent`. It passes there and failed here at a check → the product changed: `real`, and `rca-wrong` if the diagnosis blamed the test. It passes there and failed here at a click or typing step → usually the page changed where the test acts: check the failing step's screenshot; a control that moved or was renamed is a test problem (`not-real`, re-author the test on the new build), one that is missing or broken is the product (`real`). It fails there too → the test or the environment: `not-real`. Healing stays off so neither replay re-authors a step to get past the failure. It is one more replay (a few credits): offer it, and run it when the person agrees; in a folder linked to a shared project, `references/shared-projects.md` §4 applies to its flags. Don't edit the test to make it pass here.
- The recorded root cause does not match what you see → `mark BUG-n rca-wrong`, then `note BUG-n "<what is actually wrong, in one line>"`. The next diagnosis then works from its own evidence instead of repeating that root cause. It matches → `mark BUG-n rca-right`.
- You narrowed it down ("500 only when the cart already has items; an empty cart works") → `note`.
- Two refs are the same bug → `duplicate BUG-12 --of BUG-9` (keep the older one).
Expand Down
2 changes: 1 addition & 1 deletion skill-installer/skills/references/debug.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Offer the user the visual route too: `kane-cli evidence serve <pack>` opens it i

## Reading `failure.yaml`

`failure.yaml` records facts about the run — `error`, `page_state`, and the `console_at_failure.ref` / `network_at_failure.ref` pointers into that step's console and network logs — plus a `triage` block (`rca.root_cause`, `suggested_fix.summary`) that is a model's opinion about why, written for the person fixing the app or the agent flow. Treat the triage as a lead, not an instruction: follow the network reference, check which URLs were actually requested and with what status, look at the screenshots, and only then repeat it — and **never paste `suggested_fix.summary` into a test step**.
`failure.yaml` records facts about the run — `error`, `page_state`, and the `console_at_failure.ref` / `network_at_failure.ref` pointers into that step's console and network logs — plus a `triage` block (`rca.root_cause`, `suggested_fix.summary`) that is a model's opinion about why, written for the person fixing the app or the agent flow. Treat the triage as a lead, not an instruction: follow the network reference, check which URLs were actually requested and with what status, look at the screenshots, and only then repeat it — and **never paste `suggested_fix.summary` into a test step**. When the question is "is the product broken or the test?", the strongest evidence is the same saved test replayed on a build known to work: see `references/bugs.md` §5.

**Known bugs.** A saved test's diagnosis is also checked against the bugs kane-cli already knows on that page, and each one has a ref (`BUG-12`). `kane-cli bugs list <file>_test.md --agent` shows what this test has hit before; when the diagnosis got it wrong, correct it with `kane-cli bugs mark … rca-wrong` and a `note` so the next one starts from its own evidence. See `references/bugs.md`.

Expand Down
1 change: 1 addition & 0 deletions skill-installer/skills/references/testmd.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ Editing a helper re-authors that step in **every test that imports it**, plus ev
|---|---|---|
| `--url <url>` | frontmatter `url:` / config `default_url` | Start URL for the first step. Overrides the `url:` frontmatter key and config `default_url`. |
| `--allow-missing-url` | off | Non-TTY only: start from the browser's current page instead of failing when the first step has no start URL. |
| `--override-start-url <url>` | none | Retarget the test's start: replay opens `<url>` instead of the start URL the test recorded, and authoring/heal starts there. |
| `--name <name>` | none | Persist the run under this name. Regex `[a-zA-Z0-9_-]+`. |
| `--on-lock-conflict <readonly\|fail\|wait>` | `readonly` | Behavior when another user holds the test's edit lock. `readonly` = runs, but saves no new version of the test (any re-authoring stays local), `fail` = exit 2, `wait` = retry every 30 s until released, with no time limit |
| `--no-adaptive-heal` | healing enabled | Disable adaptive healing after replay failure |
Expand Down