Skip to content

fix: guardrail against inventing an async trigger; route to work-story (#82) - #83

Merged
atamanvega merged 1 commit into
mainfrom
fix/no-fabricated-automation
Sep 22, 2026
Merged

atamanvega merged 1 commit into
mainfrom
fix/no-fabricated-automation

Conversation

@atamanvega

Copy link
Copy Markdown
Collaborator

Fixes #82.

The report

A colleague plugged the kit into their project (on Codex), used plan-backlog to create a GitHub backlog, then asked the agent to build it. Instead of routing to work-story, the agent fabricated an async, Actions-driven mechanism the kit doesn't have: /builder issue comments, self-assignment on #2/#8/#10, and a non-existent codex-builder.yml it then reported as "missing" (recommending an OPENAI_API_KEY secret + a workflow). grep across the repo confirms none of /builder / codex-builder.yml / issue-comment triggers exist in the kit — pure hallucination, pattern-matched from other products.

The fix — guardrail that routes, not just forbids

A "how work is triggered" section added to:

  • agents/coding-agent.md
  • codex/skills/work-story/SKILL.md (portable)
  • skills/plan-backlog/SKILL.md §7 handoff
  • agents/backlog-planner.md handoff

It says: the kit works stories interactively via work-story (one session per story; launch-story to parallelize) — the only trigger it provides; no CI/comment/label/assignment trigger, no workflow runner; never invent or scaffold one (/builder, codex-builder.yml). And crucially it routes: if the repo genuinely has its own async coding agent (a real .github/workflows file, or Copilot's coding agent), point the user to its actual trigger — but only after verifying it exists by reading the repo, never a fabricated one. That async path is the user's own tool, separate from the kit.

Same doctrine the kit already applies elsewhere (don't scaffold silently, verify by reading, no fabricated infrastructure).

Not in this PR

A real opt-in async delegation (hand created issues to a genuine async agent as an alternative to interactive work-story) — bigger, host-specific; separate follow-up.

Verification

  • build → 12 skills @ 0.19.13, validator clean, node --test 35/35, rebuild a no-op, source/bundle byte-identical.
  • Docs: CHANGELOG entry added. Kit → 0.19.13.

Version note: #79 (plan-definition) also carries a 0.19.13 bump on its (unmerged, in-review) branch. These don't touch the same files, so no conflict; whichever lands second re-bumps to 0.19.14 + rebuilds. I'll handle that.

🤖 Generated with Claude Code

#82)

A user with a freshly-created GitHub backlog asked the kit to build it; the
agent invented an async mechanism the kit doesn't have — /builder issue
comments, self-assignment, and a non-existent codex-builder.yml GitHub
Actions workflow it then reported as "missing". None of that exists in the
kit.

Add a "how work is triggered" guardrail to coding-agent, the portable
work-story playbook, and the plan-backlog / backlog-planner handoffs:

- The kit works stories interactively via work-story (one session per
  story; launch-story to parallelize) — the only trigger it provides.
- No CI/comment/label/assignment trigger and no workflow runner; never
  invent or scaffold one (/builder, codex-builder.yml, etc.).
- If the repo genuinely has its own async coding agent (a real
  .github/workflows file, or GitHub Copilot's coding agent), point to its
  real trigger only after verifying it exists — never a fabricated one.

A real opt-in async delegation is tracked as a separate follow-up.

Bundle rebuilt; validator + 35 tests pass. Kit → 0.19.13.

Note: #79 (plan-definition) also carries a 0.19.13 bump on its branch; if
this lands first, #79 re-bumps to 0.19.14 before merging.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@vercel

vercel Bot commented Sep 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated
claude-dev-kit-telemetry-relay Ignored Ignored Preview Sep 22, 2026 7:40am UTC

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: agent invents a /builder + GitHub Actions async trigger instead of routing to work-story

1 participant