@sylad/cadence 0.2.0 → 0.6.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,10 +5,21 @@ description: Start a work session on a repository that uses cadence — gather t
5
5
 
6
6
  # Session start — resume without reciting
7
7
 
8
- The repository already carries the state: the plan (`docs/plan/raf.yaml`), the history, the notes left at
8
+ The repository already carries the state: the plan (`docs/plan/raf.yaml`, or the file named by `plan:` in `cadence.yaml`), the history, the notes left at
9
9
  the last close. The only thing missing is the human's priority for today. This skill gathers the facts,
10
10
  proposes, and stops.
11
11
 
12
+ ## Where to run
13
+
14
+ Every `cadence` / `raf` command works on the git repository of the current directory. When the
15
+ session runs from a parent folder that holds several projects (not itself a repository), run each
16
+ command inside the project concerned: `cd <project> && cadence …`. The projects are the sub-folders
17
+ that contain `docs/plan/raf.yaml`, or a `cadence.yaml` with a `plan:` key.
18
+
19
+ With no project named, run `cadence session start` in **each** project that has a plan and report
20
+ one or two lines per project (in progress, drift, notes left at the last close), then propose the
21
+ three most useful items across projects and wait. With a project named, work in that one only.
22
+
12
23
  ## Steps
13
24
 
14
25
  1. Run `cadence session start` (after a weekend: `--since "3 days ago"`). If `cadence` is not on the
@@ -20,6 +31,9 @@ proposes, and stops.
20
31
  - **Drift**: each `✗` line from the check, with the one command that fixes it.
21
32
  - **Delivery in progress** or a stale lock: no new delivery until it is resolved.
22
33
  - **Notes from the last close**, if any.
34
+ - **Project facts** ("Faits propres au projet"), when the project plugs its own morning script in
35
+ (`session.start` in `cadence.yaml`): summarise what bears on today's choice — deadlines, the
36
+ project's own planning, documentation drift — and leave the rest.
23
37
  3. **The plan drives the work.** Propose exactly three items, each with its id and one sentence of
24
38
  justification, in the order the command gives them: finish what is in progress, then ready quick
25
39
  wins, then the next ready lots. An idea that is not in the plan is only proposed together with the
@@ -27,11 +41,21 @@ proposes, and stops.
27
41
  4. **Stop and wait** for the priority. Start nothing and commit nothing before the answer — the only
28
42
  exception is a `raf note <id> "…"` on a silent lot whose cause is already known.
29
43
 
44
+ A plan kept by the project's own tool (`cadence.yaml` maps its fields) is **read-only** for `raf`:
45
+ report from it as usual, but give the project's own command for every fix or start — `raf start`,
46
+ `raf done` and `raf note` refuse.
47
+
30
48
  ## After the answer
31
49
 
32
50
  `raf start <id>` on the chosen lot, then the project's usual development workflow. Every commit cites
33
51
  the lot id (`feat(L3): …`) so that the history links itself to the plan.
34
52
 
53
+ ## A project with its own tooling
54
+
55
+ When the plan is read-only (held by the project's own tool, `plan:` with a field mapping in
56
+ `cadence.yaml`), every plan change — start, note, done — goes through that tool, not `raf`; the
57
+ project's instructions say which command. Its expert agents and its own skills stay in use.
58
+
35
59
  ## Do not
36
60
 
37
61
  - Decide for the human: close a lot, drop one, create an agent or a skill.