You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8359677
Browse filesBrowse the repository at this point in the historyBrowse files
Reconcile + the two 4.39.0 semantic steps: 10 Open Threads moved verbatim
from continuity.md to memory/open-threads/thread-<id>.md, last_session
dropped (derived from the newest session log), archive files union-merge,
protocol re-copied (was stock). memory-lint 0 errors; refresh-metadata
cleared the pre-existing stale tiers (the review itself remains due).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: .agent/schema.md
+67-20Lines changed: 67 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,7 +52,6 @@ Live project state. Update every session.
52
52
- project: string
53
53
- status: string
54
54
- last_enabled: YYYY-MM-DD
55
-
- last_session: YYYY-MM-DD | agent: string (or "none yet" — legacy: pre-4.32.1 enables only; a fresh enable points this at its first enable session log)
56
55
- last_review: YYYY-MM-DD | through <session-file> (or "none yet")
57
56
- last_invariant_check: YYYY-MM-DD | through <session-file> (or "none yet") — see REVIEW.md step 6
58
57
- last_harvest: YYYY-MM-DD | through <session-file> (optional; omit until first run) — when the `harvest-knowledge` skill last folded docs into memory; it reads this to scope the next harvest and stamps it on completion
@@ -62,11 +61,17 @@ Live project state. Update every session.
62
61
## Stack & Tools canonical live home for language/deps/tool versions (key: value)
63
62
## Key Decisions bullet list, present tense
64
63
## Conventions bullet list
65
-
## Open Threads - [ ] incomplete / - [x] complete (leave [x] for the review to sweep)
64
+
## Open Threads pointer note only — threads live one-per-file in memory/open-threads/ (v4.39.0)
66
65
## User Preferences bullet list — record ONLY what the user explicitly states; never infer
67
66
## Team / Members name: preferred agent
68
67
```
69
68
69
+
There is deliberately **no `last_session` field** (dropped in v4.39.0): it is fully
70
+
derivable — the newest `memory/sessions/` filename is the last session, and that log's
71
+
`**Agent:**` header names the agent — and as a scalar that changed every session it was
72
+
the most frequent merge conflict in the file. A pre-4.39.0 repo may still carry the
73
+
line; treat it as legacy-informational (latest wins on conflict; safe to delete).
74
+
70
75
`## Stack & Tools` is the single canonical home for the current stack — language
71
76
version, dependencies, tool versions. `instructions.md` gives only an enduring
72
77
high-level descriptor and points here; don't maintain the dep list in both.
@@ -82,23 +87,25 @@ lives in the project's own `CHANGELOG`/release notes and the **session logs** (e
82
87
### Concurrency & merge-friendliness (continuity.md is a shared file)
83
88
84
89
`continuity.md` is committed and edited by every teammate, on any vendor — so author it to
85
-
**merge cleanly**. Session logs avoid conflicts by construction (timestamped filenames);
86
-
`continuity.md` cannot, so follow these conventions:
90
+
**merge cleanly**. Session logs and Open Thread files avoid conflicts by construction
91
+
(one file per event / per thread); the rest of `continuity.md` cannot, so follow these
92
+
conventions:
87
93
88
94
-**One fact per line.** No monster lines. A short line that two people change is a trivial
89
95
conflict; a 20 KB line is an unresolvable one.
90
-
-**Append-only sections are independent facts.**`## Open Threads`, `## Key Decisions`,
91
-
`## Conventions` accrete bullets that don't depend on each other.
96
+
-**Append-only sections are independent facts.**`## Key Decisions` and `## Conventions`
97
+
accrete bullets that don't depend on each other. (Open Threads no longer accrete here —
98
+
each is its own file under `memory/open-threads/`, so concurrent thread work can't
99
+
conflict at all.)
92
100
-**Conflict resolution = keep both, by default.** When two branches both added to an
93
101
append-only section, the merge is a **union** — keep every side's bullets (they're
94
102
independent facts); never drop one to "resolve" faster.
95
-
-**Scalar bumps take the later value.**`last_session` / `last_review` /
96
-
`last_invariant_check` / the `status` version token: on conflict, keep the **later date /
97
-
higher version**. (`.agent/version.md` is the canonical version; `status`'s token is just a
98
-
human cue.) `last_session` is also derivable from the newest `sessions/` filename, so it's
99
-
informational — never block on it.
103
+
-**Scalar bumps take the later value.**`last_review` / `last_invariant_check` / the
104
+
`status` version token: on conflict, keep the **later date / higher version**.
105
+
(`.agent/version.md` is the canonical version; `status`'s token is just a human cue.)
100
106
-**Same-thread edits need a human.** Only a genuine semantic clash — both sides editing the
101
-
*same* Open Thread, or a `[ ]`→`[x]` race — warrants judgment; everything else is mechanical.
107
+
*same* Open Thread file, or a `[ ]`→`[x]` race — warrants judgment; everything else is
108
+
mechanical. Thread files make that clash visible as a per-file conflict.
0 commit comments