Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/context.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,7 @@ const MANAGED_REPO_SCAN_IGNORED_FOLDERS = [
const MANAGED_GITIGNORE_PATHS = [
'.omx/',
'.omc/',
'.codex/',
'!.vscode/',
'.vscode/*',
'!.vscode/settings.json',
Expand Down
1 change: 1 addition & 0 deletions test/cli-args-dispatch.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ test('shared context keeps the drift-prone help text, gitignore paths, and relea

assert.match(descriptions.get('setup'), /--current/);
assert.match(descriptions.get('doctor'), /--current/);
assert.ok(MANAGED_GITIGNORE_PATHS.includes('.codex/'));
assert.ok(MANAGED_GITIGNORE_PATHS.includes('!.vscode/'));
assert.ok(MANAGED_GITIGNORE_PATHS.includes('.vscode/*'));
assert.ok(MANAGED_GITIGNORE_PATHS.includes('!.vscode/settings.json'));
Expand Down
1 change: 1 addition & 0 deletions test/helpers/install-test-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ function runHumanCmd(cmd, args, cwd, options = {}) {

function assertZeroCopyManagedGitignore(content) {
assert.match(content, /# multiagent-safety:START/);
assert.match(content, /^\.codex\/$/m);
assert.match(content, /^!\.vscode\/$/m);
assert.match(content, /^\.vscode\/\*$/m);
assert.match(content, /^!\.vscode\/settings\.json$/m);
Expand Down
1 change: 1 addition & 0 deletions test/setup.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ test('setup provisions workflow files and repo config', () => {
assert.doesNotMatch(gitignoreContent, /^scripts\/agent-file-locks\.py$/m);
assert.match(gitignoreContent, /^\.githooks$/m);
assert.doesNotMatch(gitignoreContent, /^\.githooks\/pre-commit$/m);
assert.match(gitignoreContent, /^\.codex\/$/m);
assert.match(gitignoreContent, /\.omx\//);
assert.match(gitignoreContent, /\.omc\//);
assert.match(gitignoreContent, /oh-my-codex\//);
Expand Down
Loading