Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
afe93d8
docs(tasks): spec and slices for the human review step
RDeluxe Nov 19, 2026
f8ee5b6
docs(tasks): settle proof trigger and autoroute in the human review spec
RDeluxe Nov 19, 2026
2c8f249
docs(tasks): settle the last questions of the human review spec
RDeluxe Nov 19, 2026
93526b8
docs(tasks): record the Owner's rulings on the human review proposals
RDeluxe Nov 19, 2026
3d48d9a
docs(tasks): the Mason who did the work always fixes the review comments
RDeluxe Nov 19, 2026
904978a
docs(tasks): withdraw the resume summary from the relecture-humaine s…
RDeluxe Nov 19, 2026
190ebeb
docs(tasks): split the human review spec into rules (A) and tool (B)
RDeluxe Nov 21, 2026
a8b83d3
docs(tasks): record the Owner's answers on group A of the human revie…
RDeluxe Nov 21, 2026
80ced37
docs(tasks): carry Olympe's agreement on the captures.ts copy into sl…
RDeluxe Nov 21, 2026
ee7870f
docs(tasks): add the PR diff base and the expired wait to slice 01
RDeluxe Nov 21, 2026
c733a3b
docs(tasks): group A of the human review spec is approved and ready
RDeluxe Nov 22, 2026
81feb47
docs(tasks): plan slice 01 of the human review
RDeluxe Nov 22, 2026
ec91536
docs(tasks): approve the plan of slice 01
RDeluxe Nov 22, 2026
fe897e6
docs(tasks): revise the slice 01 plan after the Architect's rulings
RDeluxe Nov 22, 2026
4dcf64e
feat(socle): ship the synthesis template and the review section J
RDeluxe Nov 22, 2026
43c0fd1
feat(socle): add the human review step, the spec depth line and the s…
RDeluxe Nov 22, 2026
abfee56
feat(socle): add the intentions of the human review and the review se…
RDeluxe Nov 22, 2026
9111a7e
docs(tasks): tick the slice 01 plan and log the typing
RDeluxe Nov 22, 2026
983ca56
fix(socle): answer the review of the human review step
RDeluxe Nov 22, 2026
eef282f
docs(tasks): close slice 01 of the human review
RDeluxe Nov 22, 2026
7e0574c
docs(tasks): rule on the close of slice 01
RDeluxe Nov 22, 2026
a95744a
docs(tasks): start slice 02 of the human review
RDeluxe Nov 22, 2026
e81c092
docs(tasks): plan slice 02 of the human review
RDeluxe Nov 22, 2026
02c5d62
docs(tasks): approve the plan of slice 02
RDeluxe Nov 22, 2026
ff3346a
docs(tasks): write the AGENTS.md line into the slice 02 plan
RDeluxe Nov 22, 2026
c63fb44
feat(socle): the task's Mason fixes the human review's comments
RDeluxe Nov 22, 2026
64be7cd
fix(socle): answer the review of who fixes the comments
RDeluxe Nov 22, 2026
1faa0f7
docs(tasks): close slice 02 of the human review
RDeluxe Nov 22, 2026
31ef5e9
docs(tasks): start slice 03 of the human review
RDeluxe Nov 22, 2026
2d2acf5
docs(tasks): plan slice 03 of the human review, the one shot
RDeluxe Nov 22, 2026
8fe331f
docs(tasks): approve the plan of slice 03
RDeluxe Nov 22, 2026
3e83e94
docs(tasks): add PHILOSOPHY.md to the plan of slice 03
RDeluxe Nov 22, 2026
74452cc
feat(socle): a task can run in one shot
RDeluxe Nov 22, 2026
a304999
fix(socle): answer the review of the one shot
RDeluxe Nov 22, 2026
8b41670
docs(tasks): close slice 03 of the human review, the one shot
RDeluxe Nov 22, 2026
e5fd641
docs(tasks): record the slice 03 rulings in its spec and start slice 04
RDeluxe Nov 22, 2026
85c9821
docs(tasks): plan slice 04 of the human review, the visual proof
RDeluxe Nov 22, 2026
7cd7e64
docs(tasks): approve the plan of slice 04
RDeluxe Nov 22, 2026
88a4825
docs(tasks): add the two rulings of the plan reading to slice 04
RDeluxe Nov 22, 2026
c52e4d9
feat(socle): ship the capture command and the visual-proof skill
RDeluxe Nov 22, 2026
0e90832
feat(socle): the review section names the proof commands
RDeluxe Nov 22, 2026
b988229
feat(socle): the depth line asks for proofs and the close records the…
RDeluxe Nov 22, 2026
7af6067
docs(socle): intentions for the visual proof
RDeluxe Nov 22, 2026
c21a03c
docs(tasks): log the typing of slice 04 of the human review
RDeluxe Nov 22, 2026
53e2599
fix(socle): strip private names and topics from the copied capture sc…
RDeluxe Nov 22, 2026
57c7ceb
docs(tasks): close slice 04 of the human review, the visual proof
RDeluxe Nov 22, 2026
c23b2e4
docs(tasks): record the slice 04 sources and the archive of group A
RDeluxe Nov 22, 2026
afb63c4
fix(socle): write the visual-proof skill to the writing-for-agents rules
RDeluxe Nov 22, 2026
6de3bc5
docs(tasks): record the writing-for-agents comment of slice 04
RDeluxe Nov 22, 2026
f88a602
fix(socle): write the review-depth question to the writing-for-agents…
RDeluxe Nov 22, 2026
1add785
docs(tasks): record the writing-for-agents comment of slice 01
RDeluxe Nov 22, 2026
e714ed4
fix(socle): keep the whole diff in the full review-depth option
RDeluxe Nov 22, 2026
1aa60f9
fix(socle): restore the visual-proof guardrail, options and triggers
RDeluxe Nov 22, 2026
9222c1d
docs(tasks): record the review of slice 04's writing pass
RDeluxe Nov 22, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 13 additions & 12 deletions .agents/discipline.md
Original file line number Diff line number Diff line change
@@ -1,37 +1,38 @@
# Discipline — the ambient core

These rules apply to **every** conversation in this repo, with or without a
task artifact. A one-shot fix runs under the same discipline as a sliced
task artifact. A quick fix runs under the same discipline as a sliced
feature; the only difference is the paperwork.

1. **Read before acting.** At session start, read the reading list declared in
§C · Reading list of `.agents/project.md` (by default the README and the
most recent journal entries). Say which documents and rules you are working
under.

2. **Plan first.** Even for a one-shot fix: say what you are about to do
2. **Plan first.** Even for a quick fix: say what you are about to do
before doing it. Nothing half-decided crosses into code. When the work has
a spec document, the program design is PERSISTED into its matching work
document and approved by the Architect before any code — the "Plan" and
"Read the plan" steps of `.agents/workflow.md`.

3. **🧑 zones are law.** Sections marked 🧑 in a spec document carry the
decisions of whoever approved them — the human, unless the Architect
approved a spec that carried no new decision ("Zone ownership" in
`.agents/reference.md`). Never contradict one silently: if the work
reveals a conflict with a 🧑 zone, stop and surface it.
approved a spec that carried no new decision, or one of a task in one
shot ("Zone ownership" in `.agents/reference.md`). Never contradict one
silently: if the work reveals a conflict with a 🧑 zone, stop and
surface it.

4. **Verify before "done".** Run the project's gate commands declared in
`.agents/project.md` §F (lint, tests, build; a browser check when UI
behaviour changed). Evidence first — red output is reported as red, never
narrated as green.

5. **The bridge rule.** No task artifact for casual conversation or one-shot
work. But when a conversation turns into real, scoped, multi-step work,
recognize it and PROPOSE a task under `.agents/workflow.md` — inform,
never force. Formality is opt-in; detection is not. Most work should stay
small: if everything becomes a big feature, review gets diluted and the
method has failed.
5. **The bridge rule.** No task artifact for casual conversation or a
quick fix. But when a conversation turns into real, scoped, multi-step
work, recognize it and PROPOSE a task under `.agents/workflow.md` —
inform, never force. Formality is opt-in; detection is not. Most work
should stay small: if everything becomes a big feature, review gets
diluted and the method has failed.

6. **Escalate, don't improvise.** Blocked twice on the same thing, or pushed
outside the approved plan → stop and report to whoever launched you. The
Expand Down Expand Up @@ -88,7 +89,7 @@ Not everything starts as a feature idea:
| Something's broken (hard bug, flake, regression) | `diagnosing-bugs` — build a repeatable failing check first, THEN theorize; regression test before the fix | the fix lands as normal work |
| A design question that talking cannot settle | `prototype` — throwaway code, one command to run; keep the answer, and keep the code on a throwaway branch out of main with a pointer to that branch | back into the spec |
| Reading legwork (docs, API facts) | `research` — background agent, cited markdown file | feeds the spec |
| So big and foggy it cannot even be sliced | `wayfinder` — map the open DECISIONS first, resolve them one by one | then the spec document and its slices |
| So big and foggy it cannot even be sliced, or a spec interview that tangles | `wayfinder` — map the open DECISIONS first, resolve them one by one | then the spec document and its slices |
| A spare moment to make the codebase nicer to work in | `improve-codebase-architecture` | produces an idea → normal flow |
| A whole repo to judge, rather than one change | `codebase-audit` — blind finders one per lens, every claim reproduced, findings triaged against what was already decided | decisions and an action plan; each piece becomes a task by the normal path |

Expand Down
4 changes: 2 additions & 2 deletions .agents/methodology.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ the answer demands them.
folder with one slice that duplicates the spec document.
- What slicing adds is **decomposition**: blocking edges, the frontier, the
order. That only has value when there are several pieces.
- Real-world distribution (dex): ~40% of work is one-shot, medium work gets a
single spec/work pair, only large work gets the full breakdown.
- Real-world distribution (dex): ~40% of work is a quick fix, medium work
gets a single spec/work pair, only large work gets the full breakdown.

What IS unconditional: the check itself, stated out loud — "this fits in one
pass" or "this needs slicing, here is the breakdown". And **vertical-slice
Expand Down
18 changes: 17 additions & 1 deletion .agents/project.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Project glue

<!-- Generated by the chisel setup questionnaire (sections A–H below). This
<!-- Generated by the chisel setup questionnaire (sections A–J below). This
file is the GLUE: the single indirection point the discipline, the workflow
and the skills read to resolve project-specific paths and behaviour.
`init` writes it once from the questionnaire answers below (each pre-filled
Expand Down Expand Up @@ -155,3 +155,19 @@ without this section means the default. -->
- **Before publishing:** the `chisel-release` skill on the open Release PR
(`deno task promote-intentions <version>`, then the gates of Section F).
It never tags, merges or publishes.

## J · Review

<!-- How far down the human goes at the human review: `full` or
`strategic`, as step 8 of `.agents/workflow.md` defines them. A spec's own
`**Review depth:**` line wins over this default. The commands prove a
screen, and each is optional: a command left at none means no proof of
that kind, and the review says so. They run against the app started as
§F's Browser check says. The proofs go in the folder named here, committed
with the work. The visual-proof skill reads this section. -->

- **Default depth:** full
- **E2E command:** _(none — example: `npm run test:e2e`)_
- **Recording command:** _(none — example: `npx playwright test --video on`)_
- **Screenshot command:** _(none — example: `node .agents/skills/visual-proof/scripts/captures.ts`)_
- **Proofs folder:** beside the spec, named by replacing `.spec.md` with `.proofs/`
11 changes: 7 additions & 4 deletions .agents/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ for every session are `.agents/discipline.md`.
| **Status** | The task's single state, one of the seven values of "Statuses" in `.agents/workflow.md`. |
| **Frontier** | The set of slices whose blockers are all done — what can be worked on right now; a task on it has the status `ready`. |
| **Expand–contract** | The sequencing for wide mechanical refactors (rename a column, retype a shared symbol): add the new form beside the old → migrate call sites in batches → delete the old form. The exception to vertical slicing. |
| **One-shot** | Work done without a task artifact. The discipline still applies; only the file bookkeeping is skipped. |
| **Quick fix** | Work done without a task artifact. The discipline still applies; only the file bookkeeping is skipped. |
| **One shot** | The lane where a task's only possible human stop is the final review, and that one only when its spec's `**One shot:**` line keeps it ("The one shot" in `.agents/workflow.md`). The other lane is the full lane. |

The roles — Architect, Mason, Typist, reviewers — are defined in "The
roles" of `.agents/workflow.md`.
Expand All @@ -36,9 +37,11 @@ decision tickets and resolves them one at a time).
A 🧑 zone belongs to whoever **approved** it. The human approves a spec that
carries decisions the task did not state; the Architect approves one written
from a clear task, and then the zones carry the task's own decisions, which
are the human's. The work document has no zone: it belongs to the Mason
that wrote it. A 🧑 zone is never overridden silently — a conflict with one
is surfaced, never edited sideways.
are the human's. In one shot the Architect approves the spec even when it
carries decisions of its own, and those decisions are then its own. The
work document has no zone: it belongs to the Mason that wrote it. A 🧑 zone
is never overridden silently — a conflict with one is surfaced, never
edited sideways.

## Model tiers

Expand Down
67 changes: 55 additions & 12 deletions .agents/skills/chisel-setup/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ disable-model-invocation: true

Turn `.agents/project.md`'s defaults into this repo's actual glue, pose the
current dev's personal file, and leave `AGENTS.md` speaking with one voice.
One pass, sections A through I, each confirmed before the next. Re-running
One pass, sections A through J, each confirmed before the next. Re-running
later to revisit a single section is normal — treat the current file as the
starting recommendation, not as done-forever. On a repo that already had a
method of its own, a first `init` stages instead of installing, and this skill
Expand Down Expand Up @@ -73,18 +73,19 @@ established is *stated* to the user, not asked. Only genuine decisions —
things the scan cannot determine on its own, or choices with real
alternatives — get a question.

## Step 2 — Walk sections A through I, one at a time
## Step 2 — Walk sections A through J, one at a time

For each section, in letter order:

1. State any relevant facts from Step 1's scan.
2. Give your **recommended** value — prefilled from the scan plus the
questionnaire defaults (root `/project-management/`; the task files as
the tracker; boilerplate reading list into
`apps/documentation`; living docs = `apps/documentation` for
boilerplate else `doc/**`; gate commands from `package.json`; glossary/ADRs
into `apps/documentation` for boilerplate else root `CONTEXT.md` +
`docs/adr/`; model tiers unset; merge and publish left to the human).
the tracker; boilerplate reading list into `apps/documentation`; living
docs = `apps/documentation` for boilerplate else `doc/**`; gate commands
from `package.json`; glossary/ADRs into `apps/documentation` for
boilerplate else root `CONTEXT.md` + `docs/adr/`; model tiers unset;
merge and publish left to the human; review depth `full`; proof commands
as §J's second question recommends).
3. Wait for the user's answer before moving to the next section. Accepting a
recommendation in one word ("yes", "ok", "sounds good") is enough to move
on — do not demand elaboration when the user is happy with the default.
Expand Down Expand Up @@ -169,6 +170,48 @@ Write the answer on §I's two lines: *ask the human* for what stays with the
human, *the agent, once the review is clean and the gates pass* for what is
handed over.

### §J — ask this, verbatim

> **When you review a pull request, how far down do you read?**
>
> 1. **Full** — the synthesis, the proofs, then the whole diff through the
> reading guide.
> 2. **Strategic** — the synthesis and the proofs; the diff only where
> something calls you further.
>
> A task can set its own depth on its spec's `**Review depth:**` line.
>
> Recommended: **1 — full**.

Write `full` or `strategic` on §J's *Default depth* line. Then ask §J's
second question, below.

### §J — then ask this, verbatim

> **Which commands prove a screen in this project? Each one is optional.**
>
> 1. **E2E**: the command that runs the end-to-end tests (example:
> `npm run test:e2e`).
> 2. **Recording**: the command that runs them and keeps a video
> (example: `npx playwright test --video on`).
> 3. **Screenshots**: the command that captures pages and compares them
> before → after (chisel ships one:
> `node .agents/skills/visual-proof/scripts/captures.ts`).
>
> Answer « none » for any the project lacks: its tasks then carry no proof
> of that kind, and the review says so.
>
> Recommended, each on its own:
>
> - e2e: the command found in `package.json`, else none;
> - recording: the command found in `package.json`, else none;
> - screenshots: chisel's capture command when Playwright is among the
> project's dependencies, else none.

Write each answer on its §J line: *E2E command*, *Recording command*,
*Screenshot command*. Keep the reference's *Proofs folder* unless the human
names another folder.

## Step 3 — §E is read-back only, never asked

Section E (Adapters) is written by `chisel init`, not by this questionnaire.
Expand All @@ -186,8 +229,8 @@ until the end of the walk. Each write is scoped to exactly one section:
- Replace everything from immediately after that heading line up to (but not
including) the next `## ` heading, or end of file if there is none.
- Leave every byte outside that span untouched: other sections, any content
a human added above §A or after §I, custom sections the file doesn't
define (e.g. a hand-added `## I · ...`).
a human added above §A or after §J, custom sections the file doesn't
define (e.g. a hand-added `## K · ...`).

**Never rewrite the whole file.** A full-file rewrite is the one mistake
that would silently discard user edits living outside the questionnaire's
Expand Down Expand Up @@ -267,7 +310,7 @@ that page first, then follow it command by command, watching each output.

This step stands alone. "Reconcile my `AGENTS.md`" runs THIS step and nothing
else — no questionnaire, no sections, no network. In the walk it comes after
§I is written and before the summary.
§J is written and before the summary.

A repo that had an `AGENTS.md` before chisel now has two voices in one file:
the text it already carried, often describing its own way of working, and the
Expand Down Expand Up @@ -379,8 +422,8 @@ project's own — and the step reports that and changes nothing.

## Step 8 — Closing summary

After §I is written, print a one-screen summary of what got written: one
line per section, A–I; one line for the personal file; one line for
After §J is written, print a one-screen summary of what got written: one
line per section, A–J; one line for the personal file; one line for
`AGENTS.md`, saying what was deleted, what moved to the reading list and what
stayed, or that the file already spoke with one voice; and, when §B named a
tracker still to set up, the one thing still to do. Then suggest the natural next move:
Expand Down
11 changes: 9 additions & 2 deletions .agents/skills/retro/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ x-upstream:
repo: mattpocock/skills
path: skills/in-progress/retro
sha: 6654f6b60cd9d5be8b54c6fafe44346dabeb3b76
changes: "adapted: sources are the session transcript AND those of its subagents first, then the repo artifacts that corroborate them (the task's spec document, and its work document with the program design, the checkboxes and the worklog, plus the diff and the journal entry) — reading is unrestricted, only the WRITING of conclusions is bound to the repo by discipline.md rule 8; calls writing-great-skills, which is this same upstream skill vendored under its former name; target files resolve via .agents/project.md instead of hardcoded paths; each proposal names its target file and zone owner; nothing is ever auto-applied, and a deferred proposal gets a dated line instead of being dropped; drops disable-model-invocation — this skill is invoked by the close step of the workflow, not only on user request; a blocker is read where the task's own documents keep it rather than in the project journal."
changes: "adapted: sources are the session transcript AND those of its subagents first, then the repo artifacts that corroborate them (the task's spec document, and its work document with the program design, the checkboxes and the worklog, plus the diff and the journal entry) — reading is unrestricted, only the WRITING of conclusions is bound to the repo by discipline.md rule 8; calls writing-great-skills, which is this same upstream skill vendored under its former name; target files resolve via .agents/project.md instead of hardcoded paths; each proposal names its target file and zone owner; nothing is ever auto-applied, and a deferred proposal gets a dated line instead of being dropped; drops disable-model-invocation — this skill is invoked by the close step of the workflow, not only on user request; a blocker is read where the task's own documents keep it rather than in the project journal; compares the depth each task chose with the floor its diff computed, from the work documents' Depth lines."
---

You are suggesting improvements to the **working rules** — the steering
Expand Down Expand Up @@ -39,7 +39,8 @@ discussed:
before a work document existed.
- Its **work document** — the program design, the implementation checkboxes,
the worklog, Notes & Snippets and the review findings, including
whatever was noted without stopping along the way.
whatever was noted without stopping along the way, and its `**Depth:**`
line.
- The diff and commit messages of the session (`git log`, `git diff`).
- The dated journal entry the work produced.
- Any blocker, and the ruling on it, where the task keeps it: an
Expand Down Expand Up @@ -82,6 +83,12 @@ discussed:
- **Information access**: opportunities to increase access to information —
tee'd logs, read-only access to a third-party service. _Use when_ a
crucial piece of information was not available.
- **Depth against floor**: compare the depth chosen with the floor the diff
computed, on the `**Depth:**` line of this task's work document and of the
recently archived ones. A candidate is a task above the floor with no
reason given, or a run of tasks above it: either the floor is too low, or
the Architect asks for more than the work needs. _Use when_ the depth
chosen and the floor differ.

4. For each candidate, resolve its **target file** via `.agents/project.md`
(the reading list of §C · Reading list, the living docs of
Expand Down
Loading
Loading