AGENT SKILL

off-by-one

暂无简介

License 许可
MIT
最近更新
2026-11-14
Stars
★ 4
Forks
0

02 资源文件 1

03 SKILL.md 正文

Subtle logic bug

Level: minimal destruction

Description

Add one subtle logic bug that fails exactly one test while the app still builds and boots.

Sabotage instructions

To benchmark repair, add exactly one subtle logic error to one application or service function. It must:

  • be small and plausible — a flipped boolean, an off-by-one, a wrong comparison, or a dropped / defaulted field — not an obvious deletion or a syntax error;
  • keep the app compiling and booting normally;
  • cause exactly one of the feature's existing tests to fail.

First skim the test files to see what behaviour is checked, then pick a handler or function those tests exercise and introduce the bug there. Make the change, then stop. Do not add comments that reveal the bug.

Constraints

  • Edit only application / service code.
  • Never edit the e2e / test specs — the tests are the fixed specification.
  • Do not touch feature config, envsets, or the Playwright config.

04 同仓库更多 Skills

ferterahadi
ferterahadi/canary-lab

multi-failure-cascade

暂无简介

★ 4
ferterahadi
ferterahadi/canary-lab

broken-delete-contract

暂无简介

★ 4
ferterahadi
ferterahadi/canary-lab

canary-lab

Use when the user wants Canary Lab to take a product repo end to end — "test this app", "onboard this repo", "run a flight", "evaluate what I just built" — through the flight pipeline (start_flight / get_flight / respond_flight_checkpoint over MCP). One conducted pipeline continues a configured suite or takes bare repo(s) to a green, covered, healed run and publishes a downloadable Report; Parallel setup continues as Canary-owned background work. Use a focused skill only when the user asks for that single capability without asking for a Flight or /canary-lab.

★ 4
ferterahadi
ferterahadi/canary-lab

canary-lab-verify

Use when verifying a Canary Lab feature against a RUNNING target — a deployed environment ("verify checkout on staging", "run the saved verify config", "check the deployed app") or a locally booted app ("verify a running app") — through the verify MCP tools (list/get/create/update_verification_config, boot_services, execute_verification, get_verification_result). No heal loop. For run + heal use canary-lab-run; for end-to-end onboarding use canary-lab (flight).

★ 4
ferterahadi
ferterahadi/canary-lab

canary-lab-run

Use when running or healing an EXISTING Canary Lab feature locally — "run <feature>", "fix the failing run", "rerun 7cvh", "drive the heal loop" — through the repair MCP tools (start_run, wait_for_heal_task, signal_run, get_heal_context, pause_run, cancel_heal, abort_run). Fix failing runs by editing app/service code, not tests. For end-to-end onboarding of a new repo use canary-lab (flight); for deployed-environment checks use canary-lab-verify.

★ 4
ferterahadi
ferterahadi/canary-lab

canary-lab-repair-discovery

Repair Playwright test discovery for an existing Canary Lab suite, reporting live progress to the Tests column through MCP. Use when the test list cannot load or Canary offers an In your agent discovery-repair command. Does not execute tests or repair a failing test run.

★ 4