Skip to content

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.

chore(merge): integrate accepted worktree ignores [I16,I1]

Corey Olsonde6049a9ec33
diff --cc src/hooks.js
index 4cdcf8e6,695a9286..7e2fec21
--- a/src/hooks.js
+++ b/src/hooks.js
@@@ -4,8 -4,9 +4,9 @@@
* Each check returns its problems; an empty list lets git go on.
*/
import { spawnSync } from 'node:child_process';
-import { chmodSync, existsSync, mkdirSync, readFileSync, writeFileSync } from 'node:fs';
+import { chmodSync, existsSync, mkdirSync, readFileSync, statSync, writeFileSync } from 'node:fs';
import { join } from 'node:path';
+ import { DOCTRINE_FILE, LEGACY_DOCTRINE_FILE } from './config.js';
import { git, gitChildEnv, mainCheckout, tryGit } from './git.js';
import { Refused } from './refused.js';
import { outOfLane } from './lanes.js';
diff --cc src/init.js
index e543ac39,705e1dd8..24889b0b
--- a/src/init.js
+++ b/src/init.js
@@@ -203,8 -192,7 +204,8 @@@ export function initRepo({ info, openBo
const notes = [
writeNew(join(root, CONFIG_FILE), configTemplate(gate, detectFixers(root)), CONFIG_FILE, onWrite),
writeNew(join(root, 'SPEC.md'), specTemplate(basename(root), gate), 'SPEC.md', onWrite),
- writeNew(join(root, 'PRACTICE.md'), practiceTemplate(), 'PRACTICE.md', onWrite),
+ writeNew(join(root, doctrine), practiceTemplate(), doctrine, onWrite),
+ ignoreAgentWorktrees(root, onWrite),
...writeAgentDocs(root, onWrite),
...installHooks(root, onWrite),
...installSkills(root, onWrite),
diff --cc test/newcomer.test.js
index bef384e2,383f6bf6..e87e611d
--- a/test/newcomer.test.js
+++ b/test/newcomer.test.js
@@@ -46,8 -46,7 +46,8 @@@ test('init ends with a working staging
'.claude/skills/pullboard-spec-review/SKILL.md',
'.claude/skills/pullboard-verify/SKILL.md',
'.githooks/commit-msg', '.githooks/pre-push',
+ '.gitignore',
- 'AGENTS.md', 'PRACTICE.md', 'SPEC.md', 'pullboard.json',
+ 'AGENTS.md', 'DOCTRINE.md', 'SPEC.md', 'pullboard.json',
]);
assert.equal(readFileSync(join(box.root, '.env.local'), 'utf8'), 'LOCAL=1\n');
assert.equal(readFileSync(join(box.root, '.githooks', 'pre-commit'), 'utf8'), '#!/bin/sh\n# My hook\n');