Autonomous development for real products. Governed agents build from specs you approve, follow the rules you set, and nothing merges until another agent proves it. Your decisions, judgement and taste are the bar that work must clear. Declare your vision and let agents build it.
JavaScript agentic-codingai-agentsai-governanceautonomous-agentsclaude-codeclicode-reviewcodexcoding-agentsdeveloper-toolsgit-hooksllmlocal-firstmulti-agentsoftware-factoryspec-driven-developmentverificationvibe-coding
docs(resume): document checkout release notes [N19]
Corey Olson9376cde96cb9
diff --git a/docs/formats.md b/docs/formats.mdindex 641bce76..4d12f5fa 100644--- a/docs/formats.md+++ b/docs/formats.md@@ -65,6 +65,32 @@ A bare id names a row in `SPEC.md`. A doctrine row is cited as `doctrine:<id>` i| `line` | 1-based source line. |<!-- parser-fields:end -->+## Resume release notes++<!-- resume-release-notes:start -->+`pullboard resume --json` adds a `whatsNew` field to its version-1 envelope. `whatsNew` is `null` when nothing is new. After an upgrade it contains the released versions newer than this checkout last ran, newest first:++```json+{+ "whatsNew": {+ "releases": [+ {+ "version": "0.8.7",+ "headline": "A new session",+ "paragraph": "Release headline paragraph."+ }+ ],+ "omitted": 0,+ "notes": "CHANGELOG.md"+ }+}+```++Each `releases` entry has a version number, the release headline from its `###` heading in `CHANGELOG.md`, and that heading's paragraph. Added, Changed and Fixed lists are excluded. Only the newest three releases are included; `omitted` counts the earlier releases left out, and `notes` names the full release notes.++Both text and JSON resumes record the displayed version once per checkout. Later resumes at the same version have no extra text and a null `whatsNew` field. A checkout's first run records its version quietly. The record is `pullboard-checkout/resume-version` in the checkout's Git directory, outside the shared board; linked worktrees keep separate records. JSON resume includes the notes in its response when recording that version, so a JSON call does not consume notes without exposing them.+<!-- resume-release-notes:end -->+## SQLite board schemaThe board file is in the repository's Git common directory at `.git/pullboard/board.sqlite`. File-backed connections use WAL mode, so `board.sqlite-wal` and `board.sqlite-shm` can sit beside it while connections are open. SQLite `PRAGMA user_version` records the board schema version; it also marks whether trigger repairs are reported in the event log. Schema objects are created from `src/board.js` when a board opens.diff --git a/docs/formats.test.js b/docs/formats.test.jsindex b01251c6..deb9ae06 100644--- a/docs/formats.test.js+++ b/docs/formats.test.js@@ -52,6 +52,24 @@ import { sha256, signRows } from '../src/signature.js';const guide = readFileSync(new URL('./formats.md', import.meta.url), 'utf8');+test('formats guide documents resume release notes and checkout recording [N19]', () => {+ const section = block('<!-- resume-release-notes:start -->', '<!-- resume-release-notes:end -->');+ const example = /```json\n([\s\S]*?)\n```/u.exec(section);+ assert.ok(example, 'the resume contract includes a JSON example');+ assert.deepEqual(JSON.parse(example[1]), {+ whatsNew: { releases: [{ version: '0.8.7', headline: 'A new session', paragraph: 'Release headline paragraph.' }], omitted: 0, notes: 'CHANGELOG.md' },+ });+ assert.match(section, /`whatsNew` is `null` when nothing is new/u);+ assert.match(section, /newest first/u);+ assert.match(section, /newest three/u);+ assert.match(section, /`omitted` counts the earlier releases left out/u);+ assert.match(section, /`notes` names the full release notes/u);+ assert.match(section, /Both text and JSON resumes record the displayed version once per checkout/u);+ assert.match(section, /A checkout's first run records its version quietly/u);+ assert.ok(section.includes("`pullboard-checkout/resume-version` in the checkout's Git directory"));+ assert.match(section, /outside the shared board/u);+});+test('formats guide documents collision grandfathering and doctrine citations [A5]', () => {assert.match(guide, /A bare id names a row in `SPEC\.md`/u);assert.match(guide, /`doctrine:<id>` in item spec ids and commit headers/u);