askdare's first commit is dated 29 October 2026, and 0.8.0 came out on 2 December. In those five weeks it got eight minor releases, seven npm packages, 40 Architecture Decision Records and about 1,120 commits. About 740 of those commits carry a Co-Authored-By: Claude trailer. One person maintains it. This post is about the setup that keeps that much agent work reviewable.

Why agent output needs guard rails

A coding agent writes code faster than a person reads it. In my experience three things go wrong first. The agent works from what it remembers, and the API it remembers changed last month. It re-decides questions that were settled two weeks ago. And two agents running side by side edit the same file.

What helped was plain files in the repository that every session reads, and checks that fail when a rule is broken. None of it is specific to askdare.

Rules in CLAUDE.md, and the same rules as checks

CLAUDE.md at the root is the project's instructions for Claude Code. It has a section called "Non-negotiable rules". A few of them:

## Non-negotiable rules  - **OpenAI:** - Only `packages/askdare/src/openai/` may import `openai`. - Published `.d.ts` must contain no `openai` or `next` types. - Never hardcode model IDs in the library. - **Security** ([ADR-0004](docs/adr/0004-threat-model.md)): - The client never chooses the model, instructions, tools, vector stores, raw `file_id`s or conversation IDs. - No cookies. - No message content or PII in logs. 

A rule in Markdown is a request. The rules I care most about are also enforced. Biome's import restrictions fail lint with "Only packages/askdare/src/openai/ may import openai (ADR-0002)", and a script fails the package check when a published .d.ts imports openai or next. The workflow rules are in the same file: work on a branch, commit locally, and never push, create a remote repository or publish to npm without my explicit approval.

Decisions go in ADRs

askdare had 40 ADRs at 0.8.0. The adr skill tells the agent when to write one: a change to the public API, where data lives, the threat model, packaging or a core dependency. An accepted ADR is never rewritten; a new one supersedes it and says why.

This matters more with agents than with people. CLAUDE.md says to read the relevant ADR before changing anything it covers, so an agent that wants to tidy up an odd-looking constraint finds the reason first. When evidence is missing, a throwaway spike ends with a FINDINGS.md and a go or no-go.

One task file, one branch, one pull request

The repository started with CLAUDE.md, ADRs 0001 to 0008, three vendored skills and read-only MCP servers, all committed on 29 October. On 11 November I added a roadmap and an agent-ready task template as a GitHub issue template. On 17 November tasks moved into the repository as files in tasks/. The rule from tasks/README.md:

The file is the whole brief for whoever picks it up, person or agent. If it isn't enough, improve the file rather than passing context around.

Here is the head of a real task file for 0.9:

# c1. "Searching the web…" while web search runs  - **Status:** ready (once `release/0.9` exists: the maintainer creates it when the first 0.9 code task starts) - **Release:** 0.9 - **Lane:** Core - **Touches hot files:** Yes: `chat/reducer.ts`, `i18n/texts.ts` and `i18n/locales/*`. First in 0.9's Core order; b1 starts after it. - **Changes the public API or the protocol:** Yes: a new text key (API snapshot, minor changeset); ADR-0006 is listed by 0.9's z1 - **Depends on:** none 

Below that come the goal, the ADRs to read, the files to change, what not to touch, and a Definition of Done that includes "pnpm check passes". This task also says when to stop: if the new text costs more than 40 bytes in the headless React case, the agent stops and raises it, because later work needs that room.

ROADMAP.md groups tasks into lanes that can run in parallel and lists the hot files that only one task may change at a time. Each task runs on its own branch in its own worktree, its status lives in the file rather than in a chat, and the pull request that finishes it deletes the file. Up to 0.8.0, 231 pull requests were merged.

Skills: written here, or vendored and pinned

Four skills are the project's own: typescript-conventions, openai-api, release and adr. Three come from other repositories (vercel-react-best-practices, vercel-composition-patterns and tsdown), each pinned to a commit in .claude/skills/sources.json with the date it was reviewed and what was trimmed. Each starts with an overrides block, and where a skill disagrees with CLAUDE.md or an ADR, the repository wins.

The same file lists rejected skills. One was rejected because it "Requires an unpinned global install (npm i -g agent-browser@latest)". A skill steers an agent that runs with my permissions, so I review it the way I review a dependency.

Docs over memory

The openai-api skill opens with a section titled "Check the docs first: your memory is stale". Before using any OpenAI endpoint or parameter, the agent checks the openaiDeveloperDocs MCP server, because the Assistants API and Prompt objects are already shut down and models keep getting renamed. .mcp.json holds only read-only servers; anything that can write to an account stays out of the repository.

One gate: pnpm check

Every task ends with the same command. From the root and the core package's package.json:

"check": "pnpm lint && pnpm build && pnpm typecheck && pnpm test && pnpm check:packages", "check:package": "publint --strict && attw --pack . --profile esm-only && node ../../scripts/check-dts-no-leak.mjs dist && node scripts/api-snapshot.mjs && node scripts/react-size.mjs && tsc -p tsconfig.eject.json && tsc -p types-test" 

publint and attw check the package as consumers will resolve it. The no-leak script is the .d.ts rule from CLAUDE.md. The API snapshot turns any change to the public surface into a visible diff, and react-size.mjs holds the React entry to its byte budget. Tests replay recorded, redacted OpenAI streams with MSW, so they never touch the network.

Live checks, with real money

Recorded fixtures only replay what someone recorded. So before 0.7.0 and 0.8.0, the new features ran against the real API, with a key from a dedicated OpenAI project that has a hard spend limit (Live testing).

The 0.8.0 checks ran on 1 December with gpt-6-luna and cost about 0.17 USD. They found two bugs, both fixed before the release:

  • OpenAI reported a Flex request with no capacity inside the stream, as flex_unavailable with no HTTP status, not as the 429 the guide describes. askdare eval treated it as an outage and stopped the run.
  • Once a file in a default OpenAI conversation expired, every later turn got a 404, so the conversation failed for good. Now the chat starts a new one.

Both fixes were written in agent sessions. No test with recorded fixtures could have caught either bug, because nobody had recorded those responses yet.

What I do

Every non-merge commit I made up to 0.8.0 carries the Claude trailer: 693 of the 734 non-merge commits, and the other 41 come from Dependabot and the release bot. So I type little of the code. My part is the rest:

  • Scope. 0.9's scope was "settled with the maintainer" on 2 December, as ROADMAP.md puts it.
  • Review and merge. Auto-merge is off; pull requests are merged by hand. Security-relevant work gets /security-review and /code-review first.
  • Yeses. Pushing, creating the release/0.9 branch and publishing all wait for me. npm releases can be staged, and then a maintainer approves each version with 2FA.
  • Calls on risk. I decided to ship @boldare/askdare-s3 0.1.0 without a run against AWS S3 or R2. CI covers it against MinIO, and the gap is listed in the roadmap.

What still goes wrong

The instructions go stale. As I write this, the first paragraph of CLAUDE.md still says "Status: 0.4.0 released on npm". It hasn't been updated since 21 November, four minor releases ago. ROADMAP.md is current, but every session still reads the old line.

Lessons have to land where the next session reads them. The openai-api skill records one from askdare's tool loop: on a turn's last step, with the bot's functions switched off, a model asked for a person searched the documents until it hit max_output_tokens, because nothing told it why its functions were gone. The fix was a rule appended to that step's instructions, and the skill now explains it.

And estimates drift: the 0.8.0 live run showed that askdare eval's token estimate was about half of what a case really spends. That is a patch task now.

Agents on the user's side

The same idea ships to people who use askdare. The package includes llms.txt, the docs and an askdare skill. npx @boldare/askdare init writes an AGENTS.md that sends coding agents to node_modules/@boldare/askdare/llms.txt, so they read the docs of the installed version instead of what they remember about askdare. The release checklist has a line to keep llms.txt and the skill current with every release.

Trade-offs

  • This isn't a controlled experiment. I can't say how long askdare would have taken without agents.
  • The process costs time. Every task needs a brief, every expensive decision an ADR, and a release with new OpenAI features a live run.
  • askdare itself has limits: it calls OpenAI only for now (OpenRouter is planned for 0.9), and it needs a Next.js app to host the chat.

askdare is MIT-licensed and made at Boldare. The setup is all in the repository: CLAUDE.md, tasks/, .claude/skills/ and the "Working with agents" section of CONTRIBUTING.md.

Sebastian Musiał (sebastianmusial.pl) builds askdare at Boldare.