commit 7399e3892e467d07797ca10a6d49acbbd7a3cf5e
parent ca65c9f29f06bcd1845e104ae380b6c24bff1f2a
Author: Bharatvaj Hemanth <bharatvaj@yahoo.com>
Date: Sat, 19 Sep 2026 03:17:14 +0530
parent ca65c9f29f06bcd1845e104ae380b6c24bff1f2a
Author: Bharatvaj Hemanth <bharatvaj@yahoo.com>
Date: Sat, 19 Sep 2026 03:17:14 +0530
Configure engineering skills: todo.txt tracker, triage labels, domain docs Records the per-repo conventions the skills read: issues as todo.txt lines tagged by component with .scratch/ bodies, the five default triage roles as status: tags, and the single-context CONTEXT.md + docs/adr layout with HANDOFF.md holding the numbered decisions. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
4 files changed, 176 insertions(+), 0 deletions(-)
A
|
69
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
diff --git a/AGENTS.md b/AGENTS.md @@ -117,3 +117,21 @@ the visual check (edit mode vs. proof vs. stamped copy, both pages). * `vendor/` and `www/vendor/` are third-party, fetched verbatim — do not edit. * `test/fixtures/` are generated by `test/make-fixtures.py` (dev machine only); they contain no real signatures or data. Never commit real signature images. + +## Agent skills + +### Issue tracker + +`todo.txt` at the repo root, one task per line, tagged by component +(`+api`, `+worker`, `+client`, …); completed lines go to `done.txt`; long-form +bodies under `.scratch/`. See `docs/agents/issue-tracker.md`. + +### Triage labels + +The five default roles, written as `status:<role>` tags on the todo line. +See `docs/agents/triage-labels.md`. + +### Domain docs + +Single-context: `CONTEXT.md` (glossary) + `docs/adr/`; state and the +decisions table live in `HANDOFF.md`. See `docs/agents/domain.md`.
diff --git a/docs/agents/domain.md b/docs/agents/domain.md @@ -0,0 +1,71 @@ +# Domain Docs + +How the engineering skills should consume this repo's domain documentation +when exploring the codebase. + +## Before exploring, read these + +- **`CONTEXT.md`** at the repo root, or +- **`CONTEXT-MAP.md`** at the repo root if it exists: it points at one + `CONTEXT.md` per context. Read each one relevant to the topic. +- **`docs/adr/`**: read ADRs that touch the area you're about to work in. In + multi-context repos, also check `src/<context>/docs/adr/` for context-scoped + decisions. + +If any of these files don't exist, **proceed silently**. Don't flag their +absence; don't suggest creating them upfront. The `/domain-modeling` skill +(reached via `/grill-with-docs` and `/improve-codebase-architecture`) creates +them lazily when terms or decisions actually get resolved. + +## This repo + +Single-context. `CONTEXT.md` is the glossary and nothing else. The numbered +decisions (`Dn`) that the glossary and the ADRs cite live in `HANDOFF.md` §2, +alongside the state of the code, known gaps and dev facts. `docs/REBUILD.md` +is the plan for moving the code to the agreed model: read it as intent, not as +a description of what the code does today. + +## File structure + +Single-context repo (most repos): + +``` +/ +├── CONTEXT.md +├── docs/adr/ +│ ├── 0001-event-sourced-orders.md +│ └── 0002-postgres-for-write-model.md +└── src/ +``` + +Multi-context repo (presence of `CONTEXT-MAP.md` at the root): + +``` +/ +├── CONTEXT-MAP.md +├── docs/adr/ ← system-wide decisions +└── src/ + ├── ordering/ + │ ├── CONTEXT.md + │ └── docs/adr/ ← context-specific decisions + └── billing/ + ├── CONTEXT.md + └── docs/adr/ +``` + +## Use the glossary's vocabulary + +When your output names a domain concept (in an issue title, a refactor +proposal, a hypothesis, a test name), use the term as defined in `CONTEXT.md`. +Don't drift to synonyms the glossary explicitly avoids. + +If the concept you need isn't in the glossary yet, that's a signal: either +you're inventing language the project doesn't use (reconsider) or there's a +real gap (note it for `/domain-modeling`). + +## Flag ADR conflicts + +If your output contradicts an existing ADR, surface it explicitly rather than +silently overriding: + +> _Contradicts ADR-0007 (event-sourced orders), but worth reopening because…_
diff --git a/docs/agents/issue-tracker.md b/docs/agents/issue-tracker.md @@ -0,0 +1,69 @@ +# Issue tracker: todo.txt + +Issues for this repo live in `todo.txt` at the repo root, one task per line in +[todo.txt format](https://github.com/todotxt/todo.txt). Completed tasks move to +`done.txt`. Anything longer than a line lives under `.scratch/`. Several +sub-projects share the file; the `+project` tag says which one a line belongs +to. + +## Line format + + (B) 2026-09-19 Reject placements outside the zone +api +test status:needs-triage id:12 spec:.scratch/rebuild/spec.md + +- optional priority `(A)`–`(Z)`, then the creation date, then the text +- `+project`: one or more component tags (list below) +- `@context`: optional, free (`@container`, `@browser`, `@owner-question`) +- `id:NN`: required, stable. Allocate max+1 across `todo.txt` **and** `done.txt`. + Skills refer to tickets by id, never by line number. +- `status:<role>`: triage state (see `triage-labels.md`); absent = untriaged +- `spec:<path>` / `note:<path>`: the body, under `.scratch/<slug>/` +- completed: `x 2026-09-20 2026-09-19 …` (done date, then creation date), + moved to `done.txt`. `wontfix` lines are completed the same way, keeping + `status:wontfix`. + +Never renumber, reorder or rewrite existing lines except to change their tags. + +## Projects + +`+api` (signet-api) · `+worker` (signetd) · `+render` (render, pdfw, ttf) · +`+client` (www) · `+pim` · `+dam` · `+schema` (sql) · `+ops` (etc/, +Containerfile, install) · `+docs` · `+test` + +## Long-form content + +`.scratch/<slug>/spec.md` for specs, `notes.md` for comments and research, +`map.md` for wayfinder maps. The todo line is the index; the file is the body. +`todo.txt`, `done.txt` and `.scratch/` are committed with the code. + +## When a skill says "publish to the issue tracker" + +Append one line per ticket to `todo.txt`: next id, today's date, projects, the +status the skill asks for (default `status:needs-triage`), and `spec:` when a +body was written. + +## When a skill says "fetch the relevant ticket" + +`grep -n 'id:NN\b' todo.txt done.txt`, then read the `spec:`/`note:` files +the line points at. + +## Comments + +Append under `## Comments` in the ticket's `notes.md`, dated; add `note:` to +the line if it had none. + +## Wayfinding operations + +Used by `/wayfinder`. The **map** is `.scratch/<effort>/map.md` (Notes / +Decisions-so-far / Fog) plus one todo line `type:map`. + +- **Child ticket**: a todo line with `map:<map id>` and + `type:<research|prototype|grilling|task>`; the question is the line text or + its `note:` file. +- **Blocking**: `blockedby:NN,NN`. Unblocked when every listed id is in + `done.txt`. +- **Frontier**: open lines with `map:<id>`, no unresolved `blockedby`, no + `owner:`; lowest id wins. +- **Claim**: add `owner:<user>` and save before any work. +- **Resolve**: answer under `## Answer` in the child's `notes.md`, complete the + line into `done.txt`, then append a context pointer (gist + path) to the + map's Decisions-so-far.
diff --git a/docs/agents/triage-labels.md b/docs/agents/triage-labels.md @@ -0,0 +1,18 @@ +# Triage Labels + +The skills speak in terms of five canonical triage roles. This file maps those +roles to the actual label strings used in this repo's issue tracker. + +| Label in mattpocock/skills | Label in our tracker | Meaning | +| -------------------------- | -------------------- | ---------------------------------------- | +| `needs-triage` | `needs-triage` | Maintainer needs to evaluate this issue | +| `needs-info` | `needs-info` | Waiting on reporter for more information | +| `ready-for-agent` | `ready-for-agent` | Fully specified, ready for an AFK agent | +| `ready-for-human` | `ready-for-human` | Requires human implementation | +| `wontfix` | `wontfix` | Will not be actioned | + +When a skill mentions a role (e.g. "apply the AFK-ready triage label"), use the +corresponding label string from this table. + +In `todo.txt` these are written as `status:<label>` tags on the line, e.g. +`status:ready-for-agent`. A line with no `status:` tag is untriaged.
: asapien/signet