@sylad/cadence 0.11.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,14 +5,16 @@ Rules: test first; commit each sub-part as soon as its tests pass, with explicit
5
5
  `git add -A` or `commit -a`), and a message that cites the lot (`feat({{lot}}): …`); run the project's
6
6
  full test suite and build before reporting; do not push, deliver, run `raf done`, `raf ux` or
7
7
  `raf review`.
8
+ Documentation: the project's README (and its usage documentation) describes the behaviour you deliver, updated in the same commits, like the CHANGELOG — a README that does not follow your change is a major finding of the review.
8
9
  Decide minor interpretation questions yourself (the wording of a message, a name, a default, the
9
10
  reading of an ambiguous line of the lot) and list each one under "choix" in your report, with the
10
11
  alternative you did not take — the reviewer re-reads them. Stop and ask (under "questions") only on a real blocker.
11
12
  A question is legitimate only if it names what it would change: the scope of the lot, the architecture, or a costly rollback (data, production, public API), AND the plan, its notes and the project's CLAUDE.md do not settle it;
12
13
  otherwise it is a choice: decide, write the alternative you did not take, go on. Minor choices to settle yourself:
13
14
  a spacing, colour or label value when a measurement or a rule justifies it; the URL of a link (the most general official page if a precise one is not certain);
14
- a News entry for a visible lot (yes, always); a written rule of the project's CLAUDE.md (apply it); who launches the review or UX pass (never the session: the program and the lead do).
15
+ a written rule of the project's CLAUDE.md (apply it); who launches the review or UX pass (never the session: the program and the lead do).
15
16
  "not my job to touch the plan" is not a question: say it in the report.
17
+ Never stop to ask about how to organise your own work (split or squash a commit, order of the sub-parts, whether to continue, "I have no question"): decide, list it under "choix", go on. Leave "questions" empty rather than writing a placeholder such as "no question".
16
18
  If the lot's commits already cover its open sub-tasks, do not ask whether to continue: make no commit and say so
17
19
  in your report (the review that follows re-reads those commits). If they do not cover them all, implement the rest.
18
20
  Report: commits (sha + subject), tests and build results with their numbers, what you could not
@@ -21,5 +23,7 @@ verify, choices made, open questions.
21
23
  You are one short session of an orchestrated wave: do not launch subagents (the Agent tool is disabled).
22
24
  Give your final report as the structured output, not as free text. If the plan is kept by the project's own tool
23
25
  (read-only for `raf`), use that tool's commands named in the project's CLAUDE.md, never `raf start|done|note`.
26
+ {{news}}
24
27
  {{commits}}
25
28
  {{reponse}}
29
+ Browser (Playwright): if a Playwright MCP server is available in this session (only in an orchestrated wave: a brief delegated by hand has none), the orchestrator launched it with its own output directory, in the orchestrator's run directory outside the repository: give screenshots, snapshots and traces a relative file name only (e.g. `page-home.png`), they land there. Never an absolute path, never the `--output-dir` option (the server's launch argument, which a session cannot set). If no such server is available, do not install or start one; if you use the Playwright CLI, write its outputs under the OS temp directory (or the temporary folder the project's CLAUDE.md names), never inside the repository, which must stay clean.
@@ -0,0 +1,10 @@
1
+ Pre-check for lot `{{lot}}` — "{{titre}}" — of the repository `{{chemin}}`, as the read-only pre-check reader.
2
+ Question: is the deliverable of this lot ALREADY in the repository (done by another lot, or by a correction)?
3
+ Goal of the lot: {{objectif}}
4
+ Read the lot, its notes and sub-tasks in the plan (`docs/plan/raf.yaml`, or the file named by `plan:` in `cadence.yaml`),
5
+ then look for the deliverable in the code and tests (`git log`, `grep`, reading the files the lot names). Do not
6
+ implement anything and do not run the full test suite: this is a quick look.
7
+ Answer `oui` only when every part of the lot is present, with a proof for each (file:line or commit sha); `partiel` when
8
+ some parts are present (say which); `non` otherwise. When in doubt, answer `non`: an implementation session follows.
9
+ You are read-only: do not modify, commit, push or run `raf start|done|note|review|ux`. Do not launch subagents.
10
+ Give your report as the structured output: `dejaPresent` (oui | partiel | non), `preuves` (the proofs), `resume` (one sentence).
@@ -4,7 +4,9 @@ treated them. Check that the minor findings fixed are fixed, that the fixes brok
4
4
  rest of the lot is still sound: read the diff yourself from the commits that cite the lot
5
5
  (`raf commits {{lot}}`, or `git log`), run the checks, report real defects only. A new minor finding
6
6
  is reported, not a reason to ask for another pass. This is a code review only.
7
+ {{checks}}
7
8
  {{choix}}
9
+ A proposed sub-task describes an observable bug (a wrong output, a crash, a measured regression); any other minor finding stays a note of this lot, not a sub-task.
8
10
  You are read-only: do not modify, commit, push or run `raf review|ux|done`. Do not launch subagents.
9
11
  Give your report as the structured output: counts of blocking / major / minor findings, each finding
10
12
  (severity, file, line, text), proposed sub-tasks, what you could not verify, and the one-line verdict
@@ -3,9 +3,12 @@ This lot is small: one single pass covers the code review AND the usability revi
3
3
  You are given the repository path and the lot id only: read the diff yourself from the commits that
4
4
  cite the lot (`raf commits {{lot}}`, or `git log`), run the checks, report real defects only.
5
5
  {{ux}}
6
+ {{checks}}
6
7
  {{choix}}
8
+ A proposed sub-task describes an observable bug (a wrong output, a crash, a measured regression); any other minor finding stays a note of this lot, not a sub-task.
7
9
  You are read-only: do not modify, commit, push or run `raf review|ux|done`. Do not launch subagents.
8
10
  Give your report as the structured output: counts of blocking / major / minor findings (usability
9
11
  findings included, each tied to a named rule — Nielsen heuristic or WCAG 2.2 AA criterion — or a
10
12
  measurement), each finding (severity, file, line, text), proposed sub-tasks, what you could not
11
13
  verify, and the one-line verdict for `raf review {{lot}}`.
14
+ Browser (Playwright): if a Playwright MCP server is available in this session (only in an orchestrated wave: a brief delegated by hand has none), the orchestrator launched it with its own output directory, in the orchestrator's run directory outside the repository: give screenshots, snapshots and traces a relative file name only (e.g. `page-home.png`), they land there. Never an absolute path, never the `--output-dir` option (the server's launch argument, which a session cannot set). If no such server is available, do not install or start one; if you use the Playwright CLI, write its outputs under the OS temp directory (or the temporary folder the project's CLAUDE.md names), never inside the repository, which must stay clean.
@@ -1,7 +1,9 @@
1
1
  Review lot `{{lot}}` — "{{titre}}" — of the repository `{{chemin}}`, following your agent instructions.
2
2
  You are given the repository path and the lot id only: read the diff yourself from the commits that
3
3
  cite the lot (`raf commits {{lot}}`, or `git log`), run the checks, report real defects only.
4
+ {{checks}}
4
5
  {{choix}}
6
+ A proposed sub-task describes an observable bug (a wrong output, a crash, a measured regression); any other minor finding stays a note of this lot, not a sub-task.
5
7
  You are read-only: do not modify, commit, push or run `raf review|ux|done`. Do not launch subagents.
6
8
  Give your report as the structured output: counts of blocking / major / minor findings, each finding
7
9
  (severity, file, line, text), proposed sub-tasks, what you could not verify, and the one-line verdict
@@ -2,9 +2,11 @@ Review the usability and accessibility of lot `{{lot}}` — "{{titre}}" — of t
2
2
  following your agent instructions. Read the diff yourself from the commits that cite the lot
3
3
  (`raf commits {{lot}}`, or `git log`).
4
4
  {{ux}}
5
+ A proposed sub-task describes an observable bug (a wrong output, a crash, a measured regression); any other minor finding stays a note of this lot, not a sub-task.
5
6
  You are read-only: do not modify, commit, push or run `raf review|ux|done`. Do not launch subagents.
6
7
  Ground every finding in a named rule (Nielsen heuristic, WCAG 2.2 AA criterion) or a measurement;
7
8
  describe a mockup before proposing any redesign, never code it.
8
9
  Give your report as the structured output: counts of blocking / major / minor findings, each finding
9
10
  (severity, file, line, text), proposed sub-tasks, what you could not verify, and the one-line verdict
10
11
  for `raf ux {{lot}}`.
12
+ Playwright (browser MCP): this session's Playwright server was launched by the orchestrator with its own output directory, which lies in the orchestrator's run directory, outside the repository. Every screenshot, snapshot and trace you take lands there, so give each one a relative file name only (e.g. `page-home.png`, `home-390px.png`): the lead will look at them in that directory. Never an absolute path (such as one under `/tmp`), never the `--output-dir` option (it is the server's launch argument, which a session cannot set), and never write browser outputs anywhere else; the repository must stay clean.