@maccesar/aiskills 1.17.0 → 1.17.1

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,15 +5,9 @@ description: 'The convention that decides WHERE a project keeps its working stat
5
5
 
6
6
  # Session Log
7
7
 
8
- Work spans sessions; context does not. Notes end up scattered — some in a context
9
- file, some in a README, some in a doc nobody opens — so neither the person nor the
10
- next assistant knows where to look.
8
+ Work spans sessions; context does not. Notes end up scattered — some in a context file, some in a README, some in a doc nobody opens — so neither the person nor the next assistant knows where to look.
11
9
 
12
- This skill fixes that with one fixed convention, installed once per project. After
13
- that, finding the notes no longer depends on this skill at all: any assistant that
14
- reads the repo's context file finds the pointer and knows where everything lives.
15
- That's the point — the convention has to survive being used by tools that never
16
- heard of it.
10
+ This skill fixes that with one fixed convention, installed once per project. After that, finding the notes no longer depends on this skill at all: any assistant that reads the repo's context file finds the pointer and knows where everything lives. That's the point — the convention has to survive being used by tools that never heard of it.
17
11
 
18
12
  ## The convention
19
13
 
@@ -36,122 +30,57 @@ docs/project/
36
30
  STABLE — loaded at startup.
37
31
  ```
38
32
 
39
- The split between `requirements.md` and `status.md` is deliberate and easy to get
40
- wrong. **The contract goes in requirements; the progress goes in status.** What a
41
- feature must do changes when the scope changes — rarely. Whether it's finished
42
- changes constantly. Putting them in one file means the contract gets rewritten
43
- every day, which invalidates the cached prefix behind it: the exact failure this
44
- convention exists to prevent.
33
+ The split between `requirements.md` and `status.md` is deliberate and easy to get wrong. **The contract goes in requirements; the progress goes in status.** What a feature must do changes when the scope changes — rarely. Whether it's finished changes constantly. Putting them in one file means the contract gets rewritten every day, which invalidates the cached prefix behind it: the exact failure this convention exists to prevent.
45
34
 
46
- Fixed names are the whole point. A convention that adapts per project isn't a
47
- convention — it's the scattered-notes problem with extra steps. Someone opening
48
- any repo should know where to look without reading anything first.
35
+ Fixed names are the whole point. A convention that adapts per project isn't a convention — it's the scattered-notes problem with extra steps. Someone opening any repo should know where to look without reading anything first.
49
36
 
50
37
  ### The client's vocabulary goes in the content, never in the paths
51
38
 
52
- Projects grow words: *modules*, *phases*, *blocks*, *deliverables*, *sprints*.
53
- Those words usually come from a conversation with whoever is paying — someone said
54
- "the work orders module" and it stuck. That's fine as a way to talk. It's a
55
- mistake as a directory structure.
39
+ Projects grow words: *modules*, *phases*, *blocks*, *deliverables*, *sprints*. Those words usually come from a conversation with whoever is paying — someone said "the work orders module" and it stuck. That's fine as a way to talk. It's a mistake as a directory structure.
56
40
 
57
- The moment the vocabulary becomes folders, two things happen. The layout stops
58
- being predictable across projects, because the next client uses a different word.
59
- And renaming becomes expensive, so the structure outlives the conversation that
60
- produced it — you end up with `docs/modulos/modulo-3-.../02-implementacion/` in
61
- one repo and `documentacion-importante/backend/` in another, both reasonable when
62
- they were created and neither findable from the outside.
41
+ The moment the vocabulary becomes folders, two things happen. The layout stops being predictable across projects, because the next client uses a different word. And renaming becomes expensive, so the structure outlives the conversation that produced it — you end up with `docs/modulos/modulo-3-.../02-implementacion/` in one repo and `documentacion-importante/backend/` in another, both reasonable when they were created and neither findable from the outside.
63
42
 
64
- So: the four files are always the four files. Parts of the project are **headings
65
- inside them** — a section per module in `requirements.md`, a line per module in
66
- `status.md`. When the vocabulary changes, you edit a heading instead of moving a
67
- tree.
43
+ So: the four files are always the four files. Parts of the project are **headings inside them** — a section per module in `requirements.md`, a line per module in `status.md`. When the vocabulary changes, you edit a heading instead of moving a tree.
68
44
 
69
- This also keeps the depth. A project with real modules still gets a detailed
70
- breakdown; it just lives under a heading rather than a path.
45
+ This also keeps the depth. A project with real modules still gets a detailed breakdown; it just lives under a heading rather than a path.
71
46
 
72
47
  ### Never put the date in the filename
73
48
 
74
- `status-2026-07-21.md`, `resumen-avances-julio.md`, `progreso-etapa-1.md` — each
75
- one is a session that created a new file instead of updating the existing one.
76
- After a month there are twenty and none of them is *the current one*; finding out
77
- which is means opening several and comparing dates. That's the scattered-notes
78
- problem reappearing inside the folder that was supposed to solve it.
49
+ `status-2026-07-21.md`, `resumen-avances-julio.md`, `progreso-etapa-1.md` — each one is a session that created a new file instead of updating the existing one. After a month there are twenty and none of them is *the current one*; finding out which is means opening several and comparing dates. That's the scattered-notes problem reappearing inside the folder that was supposed to solve it.
79
50
 
80
- The date goes **inside** `status.md`, at the top, and the file is overwritten.
81
- History is what git is for: `git log docs/project/status.md` gives you every past
82
- state, with its date, for free.
51
+ The date goes **inside** `status.md`, at the top, and the file is overwritten. History is what git is for: `git log docs/project/status.md` gives you every past state, with its date, for free.
83
52
 
84
- The same applies to anything that sounds like a holding area — `to-review/`,
85
- `pending/`, `notes-temp/`. A file whose location says "somebody should look at
86
- this eventually" gets neither read nor deleted. Either it's current and belongs in
87
- one of the four files, or it's stale and should say so.
53
+ The same applies to anything that sounds like a holding area — `to-review/`, `pending/`, `notes-temp/`. A file whose location says "somebody should look at this eventually" gets neither read nor deleted. Either it's current and belongs in one of the four files, or it's stale and should say so.
88
54
 
89
55
  ### When the project spans more than one repo
90
56
 
91
- A system with a web backend and a mobile client is one project in two
92
- repositories. Very often it's also **one working session**: someone adds an
93
- endpoint on the API side and, without switching context, wires the app that
94
- consumes it. The work is a single thought; only the folders are separate.
95
-
96
- **Install from inside each repo, separately**, and let each keep its own
97
- `status.md` two repos have two branches, two deploy states and two histories, so
98
- one shared file goes stale on whichever side isn't being edited. Installing a
99
- repo's notes from its sibling means describing a project you're looking at from
100
- outside, and the result reads like it.
101
-
102
- **When a session touched both, close both.** This is the part that gets skipped,
103
- and it's where the two halves drift into separate realities: the mobile notes say
104
- "waiting on the API" for three weeks while the backend's notes never mention that
105
- anything is waiting. Write each side from what you did to it, not from what you
106
- assume about it — and if you couldn't reach the sibling, say that in the handoff
107
- instead of guessing at its state.
108
-
109
- A **monorepo** is the opposite case and takes the opposite answer — one
110
- `docs/project/` at the root, packages as headings — because one repo has one branch,
111
- one deploy and one history to describe. And `status.md` being rewritten whole every
112
- session makes it **conflict-prone the moment a second person or branch touches it**.
113
- All three cases, with the sibling header format, are in `references/file-layout.md`;
114
- none comes up on a project with one person and one branch, which is most of them.
57
+ A system with a web backend and a mobile client is one project in two repositories. Very often it's also **one working session**: someone adds an endpoint on the API side and, without switching context, wires the app that consumes it. The work is a single thought; only the folders are separate.
58
+
59
+ **Install from inside each repo, separately**, and let each keep its own `status.md` — two repos have two branches, two deploy states and two histories, so one shared file goes stale on whichever side isn't being edited. Installing a repo's notes from its sibling means describing a project you're looking at from outside, and the result reads like it.
60
+
61
+ **When a session touched both, close both.** This is the part that gets skipped, and it's where the two halves drift into separate realities: the mobile notes say "waiting on the API" for three weeks while the backend's notes never mention that anything is waiting. Write each side from what you did to it, not from what you assume about it — and if you couldn't reach the sibling, say that in the handoff instead of guessing at its state.
62
+
63
+ A **monorepo** is the opposite case and takes the opposite answer — one `docs/project/` at the root, packages as headings — because one repo has one branch, one deploy and one history to describe. And `status.md` being rewritten whole every session makes it **conflict-prone the moment a second person or branch touches it**. All three cases, with the sibling header format, are in `references/file-layout.md`; none comes up on a project with one person and one branch, which is most of them.
115
64
 
116
65
  ### Why status.md is not loaded at startup
117
66
 
118
- Context files load at the start of every session, along with everything they
119
- import. Cached context is matched as a **prefix**: byte by byte from the start,
120
- and the first byte that differs invalidates everything after it.
67
+ Context files load at the start of every session, along with everything they import. Cached context is matched as a **prefix**: byte by byte from the start, and the first byte that differs invalidates everything after it.
121
68
 
122
- So a status line inside a startup-loaded file means every update to that line
123
- throws away the cache for all the stable content behind it — content that didn't
124
- change. The file you edit most often is the one that must not load at startup.
69
+ So a status line inside a startup-loaded file means every update to that line throws away the cache for all the stable content behind it — content that didn't change. The file you edit most often is the one that must not load at startup.
125
70
 
126
- There's a second reason. Stable context is *instructions*: it shapes how the
127
- assistant works. Status is *data*: it answers a question. Loading data as
128
- instructions every session costs tokens and dilutes the instructions that matter.
71
+ There's a second reason. Stable context is *instructions*: it shapes how the assistant works. Status is *data*: it answers a question. Loading data as instructions every session costs tokens and dilutes the instructions that matter.
129
72
 
130
- `status.md` is read on demand — when someone resumes work and asks where things
131
- stand. That's cheap, and it's when the information is actually wanted.
73
+ `status.md` is read on demand — when someone resumes work and asks where things stand. That's cheap, and it's when the information is actually wanted.
132
74
 
133
- The same arithmetic catches `decisions.md` eventually. Append-only *and* imported
134
- only works while the file is young; after two years it's a long document loaded in
135
- full every session to answer a question nobody asked. Past roughly two hundred
136
- lines, everything but the current year moves to `decisions-archive.md`, which is not
137
- imported — nothing deleted, still searchable when someone needs it.
138
- `references/file-layout.md` has the mechanics.
75
+ The same arithmetic catches `decisions.md` eventually. Append-only *and* imported only works while the file is young; after two years it's a long document loaded in full every session to answer a question nobody asked. Past roughly two hundred lines, everything but the current year moves to `decisions-archive.md`, which is not imported — nothing deleted, still searchable when someone needs it. `references/file-layout.md` has the mechanics.
139
76
 
140
77
  ## Installing it
141
78
 
142
- Write the same block into **every** context file the repo has. Not one; all of
143
- them. Different people and different tools read different files, and a note only
144
- one assistant can find is a note that disappears the day someone switches.
79
+ Write the same block into **every** context file the repo has. Not one; all of them. Different people and different tools read different files, and a note only one assistant can find is a note that disappears the day someone switches.
145
80
 
146
- The usual ones are `CLAUDE.md`, `AGENTS.md` and `GEMINI.md`, but the list keeps
147
- growing: `.github/copilot-instructions.md`, `.cursorrules` or `.cursor/rules/`,
148
- `.windsurfrules`, `CONVENTIONS.md`. Write into the ones that exist rather than
149
- creating new ones — a `GEMINI.md` invented for a repo where nobody uses Gemini is a
150
- file that will rot unread, and the point is to reach the readers who are already
151
- there.
81
+ The usual ones are `CLAUDE.md`, `AGENTS.md` and `GEMINI.md`, but the list keeps growing: `.github/copilot-instructions.md`, `.cursorrules` or `.cursor/rules/`, `.windsurfrules`, `CONVENTIONS.md`. Write into the ones that exist rather than creating new ones — a `GEMINI.md` invented for a repo where nobody uses Gemini is a file that will rot unread, and the point is to reach the readers who are already there.
152
82
 
153
- Keep the block short. Duplicated text drifts out of sync — three lines that say
154
- the same thing survive that; three paragraphs don't.
83
+ Keep the block short. Duplicated text drifts out of sync — three lines that say the same thing survive that; three paragraphs don't.
155
84
 
156
85
  ```markdown
157
86
  ## Project state
@@ -165,18 +94,9 @@ Read `status.md` when resuming work. Do not import it at startup: it changes
165
94
  constantly, and loading it invalidates the cached prefix behind it.
166
95
  ```
167
96
 
168
- Import `requirements.md`, `context.md` and `decisions.md` if the tool supports
169
- imports; leave `status.md` out of every import chain. Then create the files with real
170
- content read from the repo, never placeholders — a template nobody filled in is
171
- worse than nothing, because it looks maintained.
97
+ Import `requirements.md`, `context.md` and `decisions.md` if the tool supports imports; leave `status.md` out of every import chain. Then create the files with real content read from the repo, never placeholders — a template nobody filled in is worse than nothing, because it looks maintained.
172
98
 
173
- **Write the content in the language the project is already documented in.** The
174
- templates here are in English because the skill is; the files are for whoever opens
175
- the repo next. A `status.md` in English in a project whose README, commits and
176
- client conversations are in Spanish is a small tax on every future read, and the
177
- acceptance criteria are the part that suffers most — they're quoting what someone
178
- actually agreed to, and translating that loses the words the agreement was made in.
179
- File and section names stay fixed regardless; that's what makes them findable.
99
+ **Write the content in the language the project is already documented in.** The templates here are in English because the skill is; the files are for whoever opens the repo next. A `status.md` in English in a project whose README, commits and client conversations are in Spanish is a small tax on every future read, and the acceptance criteria are the part that suffers most — they're quoting what someone actually agreed to, and translating that loses the words the agreement was made in. File and section names stay fixed regardless; that's what makes them findable.
180
100
 
181
101
  ### Check that the location is actually tracked
182
102
 
@@ -186,116 +106,59 @@ Before writing anything, confirm the target path isn't ignored:
186
106
  git check-ignore -v docs/project/status.md
187
107
  ```
188
108
 
189
- Plenty of repos ignore `docs/` because they generate documentation into it. If
190
- that's the case here, the notes you're about to write will look fine locally and
191
- vanish on clone — the failure is silent, and it surfaces weeks later when someone
192
- else opens the project and finds nothing.
109
+ Plenty of repos ignore `docs/` because they generate documentation into it. If that's the case here, the notes you're about to write will look fine locally and vanish on clone — the failure is silent, and it surfaces weeks later when someone else opens the project and finds nothing.
193
110
 
194
- Fixing it needs care: git can't re-include a file whose parent directory is
195
- excluded, so `!docs/project/` under a `docs/` rule does nothing. The pattern has
196
- to exclude the *contents* instead:
111
+ Fixing it needs care: git can't re-include a file whose parent directory is excluded, so `!docs/project/` under a `docs/` rule does nothing. The pattern has to exclude the *contents* instead:
197
112
 
198
113
  ```gitignore
199
114
  docs/*
200
115
  !docs/project/
201
116
  ```
202
117
 
203
- If the repo ignores `docs/` for a reason you'd rather not touch, put the
204
- convention somewhere tracked and say where — a predictable location that exists
205
- beats a canonical one that doesn't.
118
+ If the repo ignores `docs/` for a reason you'd rather not touch, put the convention somewhere tracked and say where — a predictable location that exists beats a canonical one that doesn't.
206
119
 
207
120
  ### Tracked means published
208
121
 
209
- Being tracked is the point and also the risk: these files get committed, pushed, and
210
- on a public repo indexed. Session notes attract exactly what shouldn't travel — a
211
- token pasted while debugging, a staging URL with credentials in it, a client's phone
212
- number, the reason a particular customer is unhappy.
122
+ Being tracked is the point and also the risk: these files get committed, pushed, and on a public repo indexed. Session notes attract exactly what shouldn't travel — a token pasted while debugging, a staging URL with credentials in it, a client's phone number, the reason a particular customer is unhappy.
213
123
 
214
- Write around it. "The API key is in 1Password under *Gym staging*" carries the same
215
- information to the next session and none of the exposure; "blocked on the client's
216
- approval" says what's blocked without narrating a conversation someone would rather
217
- not find on GitHub. Anything that genuinely has to be verbatim belongs wherever the
218
- project already keeps secrets, pointed at from `status.md`. Git makes this expensive
219
- to undo — a secret deleted in a later commit is still in the history — so it's much
220
- cheaper not to write it.
124
+ Write around it. "The API key is in 1Password under *Gym staging*" carries the same information to the next session and none of the exposure; "blocked on the client's approval" says what's blocked without narrating a conversation someone would rather not find on GitHub. Anything that genuinely has to be verbatim belongs wherever the project already keeps secrets, pointed at from `status.md`. Git makes this expensive to undo — a secret deleted in a later commit is still in the history — so it's much cheaper not to write it.
221
125
 
222
126
  ### Map the documentation that already exists
223
127
 
224
- Before writing `context.md`, inventory what the project has documented: everything
225
- under `docs/`, plus `README.md`, `CONTRIBUTING.md`, and any spec or plan sitting
226
- elsewhere. Open each one far enough to say what it's for in a line.
128
+ Before writing `context.md`, inventory what the project has documented: everything under `docs/`, plus `README.md`, `CONTRIBUTING.md`, and any spec or plan sitting elsewhere. Open each one far enough to say what it's for in a line.
227
129
 
228
- Then put that map in `context.md` as a section — one line per document, saying
229
- what it covers and when someone would need it. Not a file listing; a listing is
230
- what `ls` already does. The value is in "read this before touching X".
130
+ Then put that map in `context.md` as a section — one line per document, saying what it covers and when someone would need it. Not a file listing; a listing is what `ls` already does. The value is in "read this before touching X".
231
131
 
232
- This matters more than it looks. A repo usually has more documentation than
233
- anyone remembers, and the parts nobody remembers are functionally lost — the same
234
- scattered-notes problem, just with better-looking files. A doc that exists and
235
- isn't referenced anywhere will be rediscovered by accident or rewritten from
236
- scratch.
132
+ This matters more than it looks. A repo usually has more documentation than anyone remembers, and the parts nobody remembers are functionally lost — the same scattered-notes problem, just with better-looking files. A doc that exists and isn't referenced anywhere will be rediscovered by accident or rewritten from scratch.
237
133
 
238
134
  Two rules while mapping:
239
135
 
240
- - **Reference, don't absorb.** A plan, a PRD, a numbered checklist has structure
241
- someone built on purpose. Point at it and say what it's for. Flattening it into
242
- `context.md` destroys the structure and creates a second copy that will drift.
243
- - **Say when it's stale.** If a document contradicts the code, that's worth a line
244
- in the map — "describes the v2 schema, superseded by decisions.md 2026-07-31".
245
- A map that presents rotten docs as current is worse than no map.
136
+ - **Reference, don't absorb.** A plan, a PRD, a numbered checklist has structure someone built on purpose. Point at it and say what it's for. Flattening it into `context.md` destroys the structure and creates a second copy that will drift.
137
+ - **Say when it's stale.** If a document contradicts the code, that's worth a line in the map — "describes the v2 schema, superseded by decisions.md 2026-07-31". A map that presents rotten docs as current is worse than no map.
246
138
 
247
- Keep it current the same way: when a session adds or invalidates a document,
248
- the map gets a line. That's cheap, and it's what keeps the map trustworthy.
139
+ Keep it current the same way: when a session adds or invalidates a document, the map gets a line. That's cheap, and it's what keeps the map trustworthy.
249
140
 
250
- Documents other tools generate belong in the map too, and they go missing fastest —
251
- an audit report, a migration plan, a design review, read once and then the stalest
252
- file in the repo. Map them **with the date they describe**: an audit of the codebase
253
- as it stood three months ago is a historical record, not a to-do list, and whatever
254
- survived from it should already be a line in `status.md` or an entry in
255
- `decisions.md`.
141
+ Documents other tools generate belong in the map too, and they go missing fastest — an audit report, a migration plan, a design review, read once and then the stalest file in the repo. Map them **with the date they describe**: an audit of the codebase as it stood three months ago is a historical record, not a to-do list, and whatever survived from it should already be a line in `status.md` or an entry in `decisions.md`.
256
142
 
257
- **Migrating a project that already has notes elsewhere.** Move the content into
258
- the four files, then delete the old location and point anything that referenced
259
- it at the new place. Leaving both is how you get scattered notes again. Tell the
260
- person exactly what moved where.
143
+ **Migrating a project that already has notes elsewhere.** Move the content into the four files, then delete the old location and point anything that referenced it at the new place. Leaving both is how you get scattered notes again. Tell the person exactly what moved where.
261
144
 
262
145
  Templates and wiring detail: `references/file-layout.md`.
263
146
 
264
147
  ## Requirements: the denominator
265
148
 
266
- "What's left?" is unanswerable without knowing what finished looks like. That's
267
- what `requirements.md` is for, and it's the one file that lets you say how much
268
- remains without inventing a number.
149
+ "What's left?" is unanswerable without knowing what finished looks like. That's what `requirements.md` is for, and it's the one file that lets you say how much remains without inventing a number.
269
150
 
270
- Most projects already have this somewhere — a PRD, a proposal, a numbered
271
- checklist, an email thread that got pasted into a doc. **Reference it, don't
272
- rewrite it.** `requirements.md` is an index: what the system must do, the
273
- acceptance criterion for each item, and a pointer to wherever the detail lives.
274
- If the project genuinely has nothing written, this is the file you write first —
275
- before any code, and often before there's a repo worth speaking of.
151
+ Most projects already have this somewhere — a PRD, a proposal, a numbered checklist, an email thread that got pasted into a doc. **Reference it, don't rewrite it.** `requirements.md` is an index: what the system must do, the acceptance criterion for each item, and a pointer to wherever the detail lives. If the project genuinely has nothing written, this is the file you write first — before any code, and often before there's a repo worth speaking of.
276
152
 
277
- An acceptance criterion is the useful half. "Payments work" isn't checkable;
278
- "charging a member writes a Payment row and the receipt shows the folio" is. When
279
- someone later asks whether a requirement is done, the criterion is what you
280
- verify against — and if you can't write one, the requirement isn't specified yet,
281
- which is itself worth recording.
153
+ An acceptance criterion is the useful half. "Payments work" isn't checkable; "charging a member writes a Payment row and the receipt shows the folio" is. When someone later asks whether a requirement is done, the criterion is what you verify against — and if you can't write one, the requirement isn't specified yet, which is itself worth recording.
282
154
 
283
155
  ### When there is no code yet
284
156
 
285
- Proposal, requirements gathering, design — the work is real and it's exactly where
286
- people forget where they left off, but there's no diff to verify against. Adapt
287
- rather than skip: `requirements.md` and `decisions.md` carry the weight, `status.md`
288
- records what the client agreed and what's still open, and verification runs against
289
- the artifacts that do exist — a requirement that says "as agreed in the proposal"
290
- can be checked against the proposal. Don't create empty files waiting for a phase
291
- that hasn't arrived; `references/file-layout.md` covers how to size this down.
157
+ Proposal, requirements gathering, design — the work is real and it's exactly where people forget where they left off, but there's no diff to verify against. Adapt rather than skip: `requirements.md` and `decisions.md` carry the weight, `status.md` records what the client agreed and what's still open, and verification runs against the artifacts that do exist — a requirement that says "as agreed in the proposal" can be checked against the proposal. Don't create empty files waiting for a phase that hasn't arrived; `references/file-layout.md` covers how to size this down.
292
158
 
293
159
  ## Which job this is
294
160
 
295
- Three jobs share this skill — install the convention, resume work, close a session —
296
- and the first has a variant worth catching before you write anything. Which one it
297
- is depends on the repo and on whether the person is arriving or leaving, not on how
298
- the request was phrased. Look before deciding:
161
+ Three jobs share this skill — install the convention, resume work, close a session — and the first has a variant worth catching before you write anything. Which one it is depends on the repo and on whether the person is arriving or leaving, not on how the request was phrased. Look before deciding:
299
162
 
300
163
  ```bash
301
164
  ls docs/project/ # installed already?
@@ -305,37 +168,19 @@ ls -d .claude/memory .codex .gemini .cursor/rules # notes living somewhere els
305
168
  find docs -name "*.md" -not -path "docs/project/*"; ls README.md CONTRIBUTING.md
306
169
  ```
307
170
 
308
- Read the output, not the exit status. These lines report "No such file" for whatever
309
- is absent, and that *is* the answer — but a command that failed on a missing path
310
- looks a lot like one that found nothing, and mistaking the two here is how you end
311
- up installing on top of a setup that already existed.
171
+ Read the output, not the exit status. These lines report "No such file" for whatever is absent, and that *is* the answer — but a command that failed on a missing path looks a lot like one that found nothing, and mistaking the two here is how you end up installing on top of a setup that already existed.
312
172
 
313
- **Nothing under `docs/project/`** — install the convention. Create the files that
314
- have content, fill them from what you actually read in the repo, add the pointer
315
- block to every context file found. If the third line turned something up, migrate
316
- it in and delete the old location; two places is the problem this solves. Say
317
- exactly what moved where, so the person can audit it.
173
+ **Nothing under `docs/project/`** — install the convention. Create the files that have content, fill them from what you actually read in the repo, add the pointer block to every context file found. If the third line turned something up, migrate it in and delete the old location; two places is the problem this solves. Say exactly what moved where, so the person can audit it.
318
174
 
319
- **Something that is almost this convention** — a single `docs/status/current.md`, or
320
- three of the four files under names someone chose by hand. That's an upgrade, not a
321
- fresh install: rename into the fixed names, fold the content into the right file,
322
- and update the pointer blocks that referenced the old paths. Treat the existing
323
- content as correct until the repo says otherwise — it was written by someone who was
324
- there.
175
+ **Something that is almost this convention** — a single `docs/status/current.md`, or three of the four files under names someone chose by hand. That's an upgrade, not a fresh install: rename into the fixed names, fold the content into the right file, and update the pointer blocks that referenced the old paths. Treat the existing content as correct until the repo says otherwise — it was written by someone who was there.
325
176
 
326
- **Already there and the person is arriving** — resume. That's the next section, and
327
- it writes nothing unless they ask.
177
+ **Already there and the person is arriving** — resume. That's the next section, and it writes nothing unless they ask.
328
178
 
329
- **Already there and the person is leaving** — close the session: update `status.md`,
330
- and touch the other three only if something stable changed. That's "Closing a
331
- session", below.
179
+ **Already there and the person is leaving** — close the session: update `status.md`, and touch the other three only if something stable changed. That's "Closing a session", below.
332
180
 
333
181
  ## Resuming work
334
182
 
335
- "Where did we leave off?" is a read, and it's the moment `status.md` was written
336
- for. It's also where the file is most likely to lie — it's a snapshot of the day it
337
- was written, and nothing keeps it honest in between. Work landed, a branch got
338
- merged, someone deployed. Check it against the repo before repeating it back:
183
+ "Where did we leave off?" is a read, and it's the moment `status.md` was written for. It's also where the file is most likely to lie — it's a snapshot of the day it was written, and nothing keeps it honest in between. Work landed, a branch got merged, someone deployed. Check it against the repo before repeating it back:
339
184
 
340
185
  ```bash
341
186
  git log -1 --format='%cd' --date=short -- docs/project/status.md # when it was last committed
@@ -345,33 +190,21 @@ git branch --show-current # versus the
345
190
  git status --short # what's uncommitted now
346
191
  ```
347
192
 
348
- If `BASE` comes back empty the file has never been committed, so the date at the top
349
- of it is all you have — worth saying out loud, because an uncommitted `status.md`
350
- also means it exists on exactly one machine.
193
+ If `BASE` comes back empty the file has never been committed, so the date at the top of it is all you have — worth saying out loud, because an uncommitted `status.md` also means it exists on exactly one machine.
351
194
 
352
195
  Three kinds of drift are worth naming, because each one changes what to do next:
353
196
 
354
- - **Commits landed after it was written.** The "next step" may already be done.
355
- Say how many and from when instead of reading a stale plan as current.
356
- - **The branch moved.** A status naming `feature/payments` while HEAD is on `main`
357
- describes work that was merged, abandoned, or is sitting in a worktree — three
358
- very different situations, and the file can't tell you which.
359
- - **The tree is dirty in ways the file never mentions.** Uncommitted work from a
360
- session that ended without closing, which is the usual reason someone can't
361
- remember where they were.
197
+ - **Commits landed after it was written.** The "next step" may already be done. Say how many and from when instead of reading a stale plan as current.
198
+ - **The branch moved.** A status naming `feature/payments` while HEAD is on `main` describes work that was merged, abandoned, or is sitting in a worktree three very different situations, and the file can't tell you which.
199
+ - **The tree is dirty in ways the file never mentions.** Uncommitted work from a session that ended without closing, which is the usual reason someone can't remember where they were.
362
200
 
363
- Then answer what was asked: where things stand, what's in flight, the next step, and
364
- which parts of the file you couldn't confirm. Keep it to what someone reads in
365
- fifteen seconds — they asked to be caught up, not to be handed the file back.
201
+ Then answer what was asked: where things stand, what's in flight, the next step, and which parts of the file you couldn't confirm. Keep it to what someone reads in fifteen seconds — they asked to be caught up, not to be handed the file back.
366
202
 
367
- If the drift is bad enough that the file misleads, say so and offer to rewrite it.
368
- Rewriting is a separate act and it's their call; arriving at a project shouldn't
369
- silently overwrite the record of how it was left.
203
+ If the drift is bad enough that the file misleads, say so and offer to rewrite it. Rewriting is a separate act and it's their call; arriving at a project shouldn't silently overwrite the record of how it was left.
370
204
 
371
205
  ## Closing a session
372
206
 
373
- The evidence comes first. Base what you write on this, not on recall of the
374
- conversation:
207
+ The evidence comes first. Base what you write on this, not on recall of the conversation:
375
208
 
376
209
  ```bash
377
210
  git status --short # what's still uncommitted
@@ -379,118 +212,57 @@ git log --oneline <base>.. # what landed
379
212
  git diff --stat # the shape of it
380
213
  ```
381
214
 
382
- Write: **what changed** as outcomes, not a file list; **what's half-done**, naming
383
- which half works; **the next step**; and **what was verified versus assumed** — if
384
- tests ran, the numbers; if they never ran, say so, because an unqualified "done"
385
- that turns out to be untested costs the next session an afternoon.
215
+ Write: **what changed** as outcomes, not a file list; **what's half-done**, naming which half works; **the next step**; and **what was verified versus assumed** — if tests ran, the numbers; if they never ran, say so, because an unqualified "done" that turns out to be untested costs the next session an afternoon.
386
216
 
387
217
  Three more things belong in `status.md` and are routinely left out:
388
218
 
389
- - **What's deployed, and since when.** Shipped and committed are different states,
390
- and on projects that deploy by file sync rather than by git they drift apart
391
- constantlya file can be live on the server and uncommitted, or committed and
392
- never uploaded. Never infer one from the other. Record what you actually know,
393
- and say when you don't know.
394
- - **What's blocked by someone else.** A client who hasn't sent the copy, a store
395
- review, a provider whose sandbox is down. These read like pending work but
396
- can't be unblocked by working, so mixing them into the technical list makes the
397
- list lie about what's actionable.
398
- - **Which phase the project is in** — proposal, requirements, design, build,
399
- testing, live. One line. It tells whoever arrives which of these files matters
400
- today.
401
-
402
- Update `requirements.md`, `decisions.md` or `context.md` only when something
403
- genuinely stable changed: scope moved, a choice was made, a new document appeared.
404
- Most sessions change nothing there, and that's normal.
405
-
406
- **When `status.md` grows, the cause is usually stable content that drifted in.**
407
- The test is simple: would this text be the same next week? A test checklist, an
408
- acceptance walkthrough, a list of platform-specific gotchas — those don't change
409
- between sessions, so they belong in `requirements.md` or `context.md` even though
410
- you're using them right now. Being *currently relevant* is not the same as being
411
- *volatile*, and confusing the two is how the volatile file ends up carrying half
412
- the project.
413
-
414
- The next step points at them: "run the acceptance walkthrough for requirements
415
- 13–18" is a next step. Pasting the walkthrough into `status.md` means rewriting it
416
- every session, which is both noise and the same cache problem in miniature.
219
+ - **What's deployed, and since when.** Shipped and committed are different states, and on projects that deploy by file sync rather than by git they drift apart constantly — a file can be live on the server and uncommitted, or committed and never uploaded. Never infer one from the other. Record what you actually know, and say when you don't know.
220
+ - **What's blocked by someone else.** A client who hasn't sent the copy, a store review, a provider whose sandbox is down. These read like pending work but can't be unblocked by working, so mixing them into the technical list makes the list lie about what's actionable.
221
+ - **Which phase the project is in** proposal, requirements, design, build, testing, live. One line. It tells whoever arrives which of these files matters today.
222
+
223
+ Update `requirements.md`, `decisions.md` or `context.md` only when something genuinely stable changed: scope moved, a choice was made, a new document appeared. Most sessions change nothing there, and that's normal.
224
+
225
+ **When `status.md` grows, the cause is usually stable content that drifted in.** The test is simple: would this text be the same next week? A test checklist, an acceptance walkthrough, a list of platform-specific gotchas — those don't change between sessions, so they belong in `requirements.md` or `context.md` even though you're using them right now. Being *currently relevant* is not the same as being *volatile*, and confusing the two is how the volatile file ends up carrying half the project.
226
+
227
+ The next step points at them: "run the acceptance walkthrough for requirements 13–18" is a next step. Pasting the walkthrough into `status.md` means rewriting it every session, which is both noise and the same cache problem in miniature.
417
228
 
418
229
  ### Follow the chain, not the checklist
419
230
 
420
- This is where a skill like this one can make things worse. A procedure followed
421
- carefully still produces a tidy record of a misunderstanding, and the failure
422
- looks like competence: correct format, specific file names, confident next step —
423
- resting on something that isn't there.
231
+ This is where a skill like this one can make things worse. A procedure followed carefully still produces a tidy record of a misunderstanding, and the failure looks like competence: correct format, specific file names, confident next step — resting on something that isn't there.
424
232
 
425
- Before writing a next step, follow what it depends on. A plan to add a refund
426
- route is worthless if nothing in the codebase ever persists a payment, and that
427
- gap is invisible if you're working down a list instead of reading the code. Ask
428
- what has to be true for the next step to be possible, then check that it is.
233
+ Before writing a next step, follow what it depends on. A plan to add a refund route is worthless if nothing in the codebase ever persists a payment, and that gap is invisible if you're working down a list instead of reading the code. Ask what has to be true for the next step to be possible, then check that it is.
429
234
 
430
- When the code and the plan disagree, the code wins and the note says so. "The
431
- refund route can't be built yet — nothing writes a Payment record, so there's no
432
- id to refund against" beats a well-formatted plan built on sand.
235
+ When the code and the plan disagree, the code wins and the note says so. "The refund route can't be built yet — nothing writes a Payment record, so there's no id to refund against" beats a well-formatted plan built on sand.
433
236
 
434
237
  ### Recording finished work
435
238
 
436
- Check the claim before writing it down. Name the artifacts it implies, look for
437
- those specific things, record what you found, and report the evidence with the
438
- verdict — "found `PaymentGateway.php` and the `payments.*` routes" lets the person
439
- catch a wrong conclusion; a bare "✅" doesn't.
239
+ Check the claim before writing it down. Name the artifacts it implies, look for those specific things, record what you found, and report the evidence with the verdict — "found `PaymentGateway.php` and the `payments.*` routes" lets the person catch a wrong conclusion; a bare "✅" doesn't.
440
240
 
441
- Then **answer what was asked.** Someone asking you to mark work complete wants it
442
- marked, not a lecture on epistemics. Record the part that checks out and note the
443
- rest as open. Hedging everything into "implemented but unverified" and leaving the
444
- file untouched is refusing the request while appearing thorough.
241
+ Then **answer what was asked.** Someone asking you to mark work complete wants it marked, not a lecture on epistemics. Record the part that checks out and note the rest as open. Hedging everything into "implemented but unverified" and leaving the file untouched is refusing the request while appearing thorough.
445
242
 
446
- Per-stack specifics — Laravel, Titanium, Node, Python, Rails, Go — are in
447
- `references/verification.md`.
243
+ Per-stack specifics — Laravel, Titanium, Node, Python, Rails, Go — are in `references/verification.md`.
448
244
 
449
245
  ### Closing is not permission to edit
450
246
 
451
- You'll find real problems while taking inventory. Write them down and leave them.
452
- The uncommitted tree is the person's work in progress; a fix applied while they
453
- weren't looking is a fix they didn't review, landing in a diff they'll read
454
- tomorrow as their own.
247
+ You'll find real problems while taking inventory. Write them down and leave them. The uncommitted tree is the person's work in progress; a fix applied while they weren't looking is a fix they didn't review, landing in a diff they'll read tomorrow as their own.
455
248
 
456
- Same for publishing: don't commit, tag or push. Releasing assumes the work is
457
- finished, which is the opposite of why this exists. A log entry says "auth is
458
- half-wired, the form is missing"; a release note never says that. If the project
459
- has a release path — a `/release` command, a documented procedure — name it and
460
- stop there; deciding that this is the moment to run it is the person's call.
249
+ Same for publishing: don't commit, tag or push. Releasing assumes the work is finished, which is the opposite of why this exists. A log entry says "auth is half-wired, the form is missing"; a release note never says that. If the project has a release path — a `/release` command, a documented procedure — name it and stop there; deciding that this is the moment to run it is the person's call.
461
250
 
462
- The same boundary holds in the other direction. `status.md` records that an audit
463
- found twelve issues and where the report lives; it isn't the place to fix them, and
464
- a session that quietly repaired three on the way past leaves a record that no longer
465
- matches either the report or the diff.
251
+ The same boundary holds in the other direction. `status.md` records that an audit found twelve issues and where the report lives; it isn't the place to fix them, and a session that quietly repaired three on the way past leaves a record that no longer matches either the report or the diff.
466
252
 
467
253
  ## Before finishing
468
254
 
469
- Resolve the import chain from each context file and confirm `status.md` isn't in
470
- it. This is worth checking every time rather than assuming, because it breaks
471
- quietly: someone adds an `@` line meaning well, and from then on every progress
472
- update throws away the cached prefix behind it — the one failure this convention
473
- exists to prevent.
255
+ Resolve the import chain from each context file and confirm `status.md` isn't in it. This is worth checking every time rather than assuming, because it breaks quietly: someone adds an `@` line meaning well, and from then on every progress update throws away the cached prefix behind it — the one failure this convention exists to prevent.
474
256
 
475
- Check it, don't eyeball it — and check the files the inventory actually found, not
476
- a fixed list:
257
+ Check it, don't eyeball it — and check the files the inventory actually found, not a fixed list:
477
258
 
478
259
  ```bash
479
260
  grep -n 'status\.md' CLAUDE.md AGENTS.md # add whichever others exist
480
261
  grep -rn '^@' CLAUDE.md AGENTS.md # every import, including nested ones
481
262
  ```
482
263
 
483
- A mention of `status.md` in the pointer block is correct and expected; an `@` line
484
- pulling it in is the failure. Follow each `@` to its target and grep that file too —
485
- the break usually happens one level down, where someone imported an index that
486
- imports everything.
264
+ A mention of `status.md` in the pointer block is correct and expected; an `@` line pulling it in is the failure. Follow each `@` to its target and grep that file too — the break usually happens one level down, where someone imported an index that imports everything.
487
265
 
488
- Naming a file that doesn't exist makes `grep` exit non-zero and print nothing, which
489
- looks exactly like a clean result. If you list `GEMINI.md` on a repo that has no
490
- `GEMINI.md`, you get silence and a failed command, and reading that as "no imports
491
- found" is how a broken chain ships as verified.
266
+ Naming a file that doesn't exist makes `grep` exit non-zero and print nothing, which looks exactly like a clean result. If you list `GEMINI.md` on a repo that has no `GEMINI.md`, you get silence and a failed command, and reading that as "no imports found" is how a broken chain ships as verified.
492
267
 
493
- Then close with a short summary in the person's language: where things stand,
494
- what's half-done, the next step, and the paths you wrote. Fifteen seconds of
495
- reading — the files hold the detail, and a handoff nobody reads is a handoff that
496
- failed.
268
+ Then close with a short summary in the person's language: where things stand, what's half-done, the next step, and the paths you wrote. Fifteen seconds of reading — the files hold the detail, and a handoff nobody reads is a handoff that failed.