Repository navigation
Description
Piece: Charter index
Area: index
Summary: Proposes six user-facing feature areas, each with 3–5 sub-features, and the final wording of the three tiers (defend, prefer ours, yield).
Proposal
The exact text for docs/lastcode/charters/README.md:
# LastCode charters
A charter records what the owner intends for one feature area of LastCode, so carry decisions follow that intent instead of guessing.
## Tiers
- **defend**: our version is the product. Keep it even when upstream builds something similar. Reconcile toward upstream only when the owner decides to.
- **prefer ours**: keep our version unless intent tests show that upstream covers every intent in the charter. Then reconcile toward upstream and retire ours.
- **yield**: move to upstream's approach as soon as it covers the intent, and retire ours.
An area without a charter follows the default, **lean upstream**: retire or reconcile when upstream covers the behaviour.
## How areas are drawn
Areas are features as a user sees them, not directories. One feature touches many directories, and one directory serves many features. Every level of the hierarchy has 3–7 nodes.
Each top-level area gets one charter file, `<area-id>.md`, with its sub-features as sections. A sub-feature gets its own charter only when it needs a different tier from its parent, for example to separate the parts that must work our way from the parts where upstream's way is good enough.
A charter's `paths` are the main code paths behind the feature. They are hints and may overlap. When a carry touches several areas, the strictest tier applies: defend, then prefer ours, then yield.
## Areas
A tier of `—` means the area has no charter yet and follows lean upstream.
| Area | Tier | Sub-features |
| --- | --- | --- |
| `agent-orchestration`: Agents directing agents | — | Delegated tasks and child threads · Thread tools for agents · Waiting without polling · Scheduled tasks · PR and issue follow-through |
| `thread-organization`: Keeping many threads manageable | — | Sidebar families and conveniences · Pin, snooze and settle · Thread annotations · Archiving thread families |
| `seeing-the-work`: Seeing what agents build | — | Background browser for agent QA · Preview hosting and handoff links · Browser profiles, import and annotations · Simulator and emulator devices |
| `machines-and-checkouts`: Machines and worktrees | — | Linked environments · Pausing and resuming an environment · Worktree lifecycle (suspend, hand off, restore) · Storage cleanup and usage limits |
| `in-a-thread`: Working inside a thread | — | Composer and prompt snippets · Keyboard scrolling and focus · Terminal · Provider adjustments |
| `running-lastcode`: Running my own LastCode | — | Local nightly updates and install · Checkpoints and carry replay · Local CI and PR gates · Setup and settings import · Appearance and branding |Evidence
Why the index first. No charter index exists or is proposed, and every other piece depends on its area ids and tiers.
Why these six areas. They group what LastCode adds from a user's point of view. The sources are the fork-only and fork-modified user guides (Codex thread tools, browser annotations and import, devices, thread sidebar, LastCode appearance, composer, remote access, source control), docs/lastcode/features.json, and the LastCode product guide (scheduled tasks, usage limits, storage, dashboards, environments, browser profiles). The list is deliberately coarse. Sub-features get their own charters only when digging in shows they need a different tier.
Areas already costing checkpoints, which are the likely first new-charter pieces:
seeing-the-work: a reconcile toward upstream fix(server): queued preview actions no longer start after their deadline, except recording stop pingdotgg/t3code#16941 cost about 84 minutes of checkpoint replay before it landed in fix(browser): use upstream queue deadlines for background QA #740.running-lastcode: drift in the brand-assets test cost about 61 minutes.machines-and-checkouts: drift inPeerLinkRequests.test.tscost about 42 minutes. Its diagnostic-only part was retired in test(peer): drop diagnostic-only message from peer-link snooze assertion #741.
Open question for the owner: does "Running my own LastCode" belong among the charters? It is mostly fork tooling, not product behaviour, but its carries are replayed and break like any other.
Revision (Nov 22 PT): removed the "Dashboards" sub-feature from thread-organization, because built-in project dashboards were removed in #777.
Revision (Nov 22 PT): renamed agent-orchestration's "Resumable project actions" sub-feature to "Waiting without polling", because resumable Actions are being retired; matches #796.
Revision (Nov 22 PT): split thread-organization's "Thread annotations (pin, snooze, settle)" into "Pin, snooze and settle" and "Thread annotations", because the user guide treats annotations as Markdown notes, separate from those controls.
Activity
docs(lastcode): distinguish thread controls from annotations
docs(lastcode): add the feature charter index
docs(lastcode): distinguish thread controls from annotations