ShippedAgent context

The context file that dies with the task

Every coding agent reads an instruction file. CommitCycle keeps what does not change with the work in AGENTS.md, and writes the task itself to a gitignored file the moment work is authorised. It removes the task from that file when the work is handed in, because context that outlives its task is worse than no context at all.

The task half is known to reach Claude Code only. Count on other editors reading AGENTS.md, which carries the map and the rules but not the active task.

One block that stays, one file that goes

What does not change with the work is committed. What does is written at the gate and removed at hand-in.

Your file stays yours

CommitCycle writes one fenced block inside your AGENTS.md and owns only that block: the zone map, the board, the hand-in note it expects and the deploy rule. It is byte-identical across tasks, so it is not the file a merge conflicts on.

The block's fields
AGENTS.md
…everything you wrote… yours <!-- cc:begin --> owned by CommitCycle## CommitCycle### Where the tasks are### Protected zones### Deploys<!-- cc:end --> …everything you wrote… yours

The file says it is only advice

The active task, its non-goals and what its grant opens go to CLAUDE.local.md: gitignored, written at the gate, its task block removed at hand-in. Where nothing on the machine enforces, the file says so near the end: nothing is stopping you, so this one is on you. The file is honest about being advice.

That is a real block, trimmed: the one written for the task that produced this page, before CC-551 moved this half out of AGENTS.md. The same lines now land in CLAUDE.local.md.

The three layers
CLAUDE.local.md
<!-- cc:begin -->## CommitCycle ### You are working on CC-326 — Seven Platform menu items still point at documentation Branch `task/CC-326-seven-platform-menu-items...`. Access expires in about 8 hours. **What it should do.** …the task's own Goal…**What it must NOT do.** …its non-goals, verbatim… **No protected zone is open to this task.** Everything below is closed. **Read before working** — the playbooks for this task's topics:- .zones/playbooks/design.md- .zones/playbooks/frontend.md **Closed to this task.** You may not write there — nothing is stopping you,so this one is on you:- `schema` (deny): apps/api/migrations/**, apps/api/src/db/schema/**- `contracts` (deny): packages/contracts/**<!-- cc:end -->

Why it expires

Because the alternative was measured here, not imagined. A block for a closed task once sat on our own trunk announcing that work was active; every session that cloned the repository believed it, and the next pull request inherited the conflict. The first fix was making the hand-in commit its own clear. The one that held was moving the task out of the committed file altogether, into a gitignored one that cannot reach the trunk at all.

There is a second reason, and it is the one that decides architectures. A summary of a project is a point-in-time artefact with no maintenance loop: an assistant's stored summary once described this repository as having no product code in the week its board counted seventy-seven tasks closed (2026-08-09). Summaries orient; they never testify.

The audit record
git · trunk

Before: the task block was committed in AGENTS.md

Every clone read that work was active, and the next pull request inherited the conflict.

Now: the task block is in CLAUDE.local.md, gitignored

The task never reaches the trunk.

The block's fields are documented in the docs, the map it is generated from is the zone map, and the layer that actually says no is the enforcement stack.

The standard, and the part that was missing

Generating an AGENTS.md is not the product. Keeping it current is.

60,000+ repositories

One file, every agent

AGENTS.md is a convention now stewarded by the Linux Foundation, read by more than 25 tools. That is a real win, and it is also commodity: generating one is not a product, and we would rather say that than sell it to you.

The catch: both numbers are our own count, taken on 2026-08-09.

What no convention supplies is a lifecycle

A file written once drifts from the repository it describes, and nothing in the format notices. Here the gate writes the task when work is authorised and the hand-in clears it.

The catch: the gate can make the file current. It cannot make an agent read it.

Where it stops

What this file will not do, said plainly.

  • It advises and cannot enforceNothing here denies a write. That is the zone model, decided at the tool call, and this file is Layer 1 of three for exactly that reason
  • It cannot make an agent read itNo instruction file can. What the gate can do is make the file current, so an agent that does read it is not misled
  • It owns one block, not your fileEverything you wrote around the fence is yours and stays untouched
  • The task half is known to reach Claude Code onlyCLAUDE.local.md is Claude Code's file, and whether other editors load it has never been checked; count on them reading AGENTS.md, which carries the map and the rules but not the active task

Questions this page answers

Does CommitCycle replace my AGENTS.md?

No. It writes one fenced block inside it and owns only that block. Everything you wrote around it is untouched. The block holds what does not change with the work; the active task goes to a gitignored CLAUDE.local.md, whose task block is removed when the task is handed in.

Can an agent ignore what AGENTS.md says?

Yes, and the block says so out loud. Context advises — it cannot deny a write. That is the local hook, which is a different layer. The CI check, which could catch work done where neither ran, runs only in CommitCycle's own repository.

Ask for an invite

Signup is closed while this is small, so everyone using it early gets answered personally.

Ask for an invite

Install the plugin

/plugin install commitcycle@commitcycle

The Claude Code plugin installs without an invite.