@lyupro/codex-bridge 0.6.14 → 0.6.15
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.
- package/CHANGELOG.md +10 -0
- package/README.md +1 -1
- package/package.json +2 -2
- package/src/home/guidance/order.md +3 -1
- package/src/home/lib/meta/paths.mjs +6 -1
- package/src/home/lib/runner/prompts.mjs +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,16 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [0.6.15] - 2026-10-12
|
|
8
|
+
|
|
9
|
+
### Fixed
|
|
10
|
+
|
|
11
|
+
- The `codex-bridge guidance order` topic and the instruction given to Codex itself now name all six folders a
|
|
12
|
+
build scope may never include, `.omc/` among them. Both had dropped it, so an orchestrator could be refused for a
|
|
13
|
+
folder its guidance never mentioned, and Codex was never told the folder was off limits. The scope check, the
|
|
14
|
+
verdict and the Codex instruction now share one list, and a repository test fails when any complete list in the
|
|
15
|
+
docs falls out of step with it.
|
|
16
|
+
|
|
7
17
|
## [0.6.14] - 2026-10-11
|
|
8
18
|
|
|
9
19
|
### Added
|
package/README.md
CHANGED
|
@@ -62,7 +62,7 @@ Run records in `~/.lyupro/.codex-bridge/runs/` (or `~/.claude/codex-runs/` befor
|
|
|
62
62
|
- **Every run leaves an audit folder.** The verbatim task, scope, before/after git state, events, report, verdict, and reason remain together.
|
|
63
63
|
- **Zero runtime dependencies and zero build steps.** The package is plain `.mjs` on the Node.js standard library.
|
|
64
64
|
|
|
65
|
-
The current suite contains **
|
|
65
|
+
The current suite contains **3664 automated tests: 3661 passing and 3 skipped**.
|
|
66
66
|
|
|
67
67
|
## Verify
|
|
68
68
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lyupro/codex-bridge",
|
|
3
|
-
"version": "0.6.
|
|
4
|
-
"description": "Claude Code-to-Codex delegation with 8 guards,
|
|
3
|
+
"version": "0.6.15",
|
|
4
|
+
"description": "Claude Code-to-Codex delegation with 8 guards, 3664 tests, zero runtime dependencies, and zero build steps.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"claude-code",
|
|
7
7
|
"codex",
|
|
@@ -36,7 +36,9 @@ Keep header values short and free of forbidden shell sequences. Empty or placeho
|
|
|
36
36
|
|
|
37
37
|
`scope new`: Comma-separated globs for new files this build may create, relative to the repository root.
|
|
38
38
|
`scope` must declare at least one existing path pattern; `scope new` does not replace it.
|
|
39
|
-
|
|
39
|
+
<!-- service-folders:begin -->
|
|
40
|
+
Never name service folders in scope: `.git/`, `.claude/`, `.codex/`, `.omx/`, `.omc/`, `node_modules/`.
|
|
41
|
+
<!-- service-folders:end -->
|
|
40
42
|
|
|
41
43
|
Example build header:
|
|
42
44
|
|
|
@@ -89,7 +89,12 @@ export const changedPaths = (before, after) => {
|
|
|
89
89
|
};
|
|
90
90
|
|
|
91
91
|
/** Directories a delegated build has no business editing, whatever the task says. */
|
|
92
|
-
export const
|
|
92
|
+
export const SERVICE_FOLDERS = Object.freeze([
|
|
93
|
+
'.omx', '.omc', '.claude', '.codex', '.git', 'node_modules',
|
|
94
|
+
]);
|
|
95
|
+
export const SERVICE_RE = new RegExp(
|
|
96
|
+
`^(${SERVICE_FOLDERS.map((name) => name.replace(/[.*+?^${}()|[\]\\]/g, '\\$&')).join('|')})/`,
|
|
97
|
+
);
|
|
93
98
|
|
|
94
99
|
/**
|
|
95
100
|
* Paths arrive from two sides that spell them differently: git prints repo-relative with
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
* (`…cli/install.mjs:` + U+0000) and 2026-09-28 (`…(docs/plans/Plan_` + `恋`).
|
|
9
9
|
*/
|
|
10
10
|
import { DEFAULTS } from '../run-config.mjs';
|
|
11
|
+
import { SERVICE_FOLDERS } from '../meta/paths.mjs';
|
|
11
12
|
import { RUN_ENV } from './run-env.mjs';
|
|
12
13
|
import { advisorSchema, schemaFor } from './schemas.mjs';
|
|
13
14
|
import { QUESTION_KIND } from './question-kind.mjs';
|
|
@@ -140,8 +141,7 @@ Working rules:
|
|
|
140
141
|
(\`dir/{a,b}.ts\`), and lists separated by \`;\` or \`,\` are prohibited: a collapsed entry will
|
|
141
142
|
match no file when the report is checked against the worktree and will fail the run even if
|
|
142
143
|
the work was done honestly.
|
|
143
|
-
- Do not fix the environment. Service directories (
|
|
144
|
-
\`node_modules/\`) and other sessions are not your task, even if they prevent you from working
|
|
144
|
+
- Do not fix the environment. Service directories (${SERVICE_FOLDERS.map((name) => `\`${name}/\``).join(', ')}) and other sessions are not your task, even if they prevent you from working
|
|
145
145
|
or finishing. Put the obstacle in leftovers instead of changing them.
|
|
146
146
|
- report_markdown is a full markdown report with sections: “What was done”, “Changes”
|
|
147
147
|
(file / what changed / why table), “Verification” (command and its actual output),
|