Repository navigation
docs + skill: bug memory, kane-cli bugs and RCA categories - #231
Merged
Merged
Conversation
User guide: a 'Bug memory and feedback' page. How a failed saved test's diagnosis is remembered as a BUG-<n> ref, how the next diagnosis on the same page reads the known bugs (status, votes, latest note) and links a run only on its own evidence, the six commands (list, show, mark, note, duplicate, retire) with their flags and output, statuses, one vote per person with an agent's feedback counting as its user's, the agent line, and a troubleshooting table with the CLI's own messages. Linked from the index, testmd running, evidence, testrun and the troubleshooting index. Skill: references/bugs.md (commands, who feedback counts as, statuses, one-line JSON shapes, error codes and recovery, the after-a-failure RCA flow), a pointer in debug.md and in SKILL.md's on-failure section, a decision-tree line, a reference-table row, and 'mark known bugs' in the description (1021 chars). Synced to .claude and .agents. Kiro: steering/kane-cli-bugs.md, POWER.md steering entry and command lines, pointers in the run and testmd steering files, and the mapping table in integrations/docs/kiro-powers.md. Every new section carries '<!-- release: needs kane-cli bugs -->'. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ell the next diagnosis - `kane-cli bugs categories list|show|add|edit|remove`: the organisation's RCA categories first, then the built-in ones (read-only). The diagnosis prefers an organisation category whose description fits; permissions, next-run effect, and the refusals (BUILTIN_READ_ONLY, FORBIDDEN, DUPLICATE_NAME, AMBIGUOUS, NOT_SUPPORTED). - `kane-cli bugs list --category <name|id>`, across every family. - A category never decides which bug a failure joins, and a bug keeps the category of the run that first found it: one recorded before a category existed never takes it on. - The next diagnosis reads rulings: a recalled `done` bug seen again is reported as a regression; for a `not_a_bug` one, a product bug only when the run's evidence clearly shows the product broken. The three skill copies stay identical; the Kiro steering file carries the short form. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
# Conflicts: # .agents/skills/kane-cli/SKILL.md # .claude/skills/kane-cli/SKILL.md # skill-installer/skills/SKILL.md
Ishavyas9
pushed a commit
to LambdaTest/documentation
that referenced
this pull request
Nov 19, 2026
New page kane-cli-bugs (Evidence group): how failed tests' application bugs are remembered, what the next diagnosis reads (votes, notes, done and not_a_bug rulings), every kane-cli bugs subcommand, the organisation's RCA categories (kane-cli bugs categories), statuses, agent use and troubleshooting. Linked from the CLI reference, the debugging page and test.md running. Mirrors LambdaTest/kane-cli#231. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
shravan-lambdatest
approved these changes
Nov 20, 2026
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.
Do not merge before the kane-cli release that ships
kane-cli bugs. The command is not in 0.10.3. Every new section carries<!-- release: needs kane-cli bugs -->so it can be found when that release goes out.When a saved test fails, its diagnosis (RCA) is uploaded with the evidence, and kane-cli remembers each distinct application bug it finds as a per-project
BUG-<n>ref. The next diagnosis on the same page reads the known bugs (status, votes, latest note) and links a run to one only when that run's own evidence shows the same defect.kane-cli bugslets people and agents correct and enrich that memory. This PR documents it.User guide
docs/user-guide/bugs.md, Bug memory and feedback: how bugs appear, how the next diagnosis uses them, which test and project a command works on,list/show/mark/note/duplicate/retirewith flags and terminal output, statuses, one vote per person (an agent's--agentfeedback is recorded as the agent's, under the user, and counts the same), the agent JSON line and exit codes, and a troubleshooting table quoting the CLI's own messages (includingthe bug store is not enabled on this controller).testmd/running.md(Handling replay failures),evidence.md(debugging + next steps),testrun.md(next steps) and the troubleshooting index.Skill (installer copy, synced to
.claude/and.agents/)references/bugs.md: commands, project/test resolution, who feedback counts as, statuses, the one-line JSON shapes, error codes with recovery, and the after-a-failure RCA flow (bugs list <file>→show→mark/notefrom this run's evidence).SKILL.md: a pointer in §1.6 On failure, a decision-tree line, a reference-table row, and "mark known bugs (kane-cli bugs)" in the description (1021 chars, under 1024).references/debug.md: a short Known bugs paragraph.Kiro power
steering/kane-cli-bugs.md;POWER.mdsteering entry and fourbugslines in the command reference; pointers in therunandtestmdsteering files; the mapping and source tables inintegrations/docs/kiro-powers.md.Checks
cd skill-installer && npm test: 75 pass, 0 fail, 5 skipped.diff -r, as in the workflow).inclusion:on the new steering file, hook JSON parses, facts traced toreferences/bugs.md.troubleshooting.mdpredate this PR).Update 2026-11-19: RCA categories and rulings
kane-cli bugs categories list|show|add|edit|remove(guide section RCA categories, skill reference, Kiro steering): the organisation's categories first, then the built-in ones, which are read-only. The diagnosis prefers an organisation category whose description fits. Covers who can change them, that a change applies from the next run, and the new refusals (BUILTIN_READ_ONLY,FORBIDDEN,DUPLICATE_NAME,AMBIGUOUS,NOT_SUPPORTED).kane-cli bugs list --category <name|id>, across every kind of failure.donebug seen again is reported as a regression; for anot_a_bugone, a product bug only when the run's evidence clearly shows the product broken.main(docs + skill: scope the "no Playwright" rule and add Playwright Agents positioning #234 Playwright Agents wording). The SKILL.md description keeps main's wording plus "mark known bugs (kane-cli bugs)".skill-installernpm test75 pass / 0 fail; the three skill copies are identical.Ground truth: the
kane-cli bugscommand source and its--helptext.🤖 Generated with Claude Code