@memnexus-ai/mx-agent-cli 0.1.245 → 0.1.247

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.
Files changed (70) hide show
  1. package/dist/__tests__/codex-agent-gate.test.d.ts +2 -0
  2. package/dist/__tests__/codex-agent-gate.test.d.ts.map +1 -0
  3. package/dist/__tests__/codex-agent-gate.test.js +182 -0
  4. package/dist/__tests__/codex-agent-gate.test.js.map +1 -0
  5. package/dist/__tests__/runtime-claude-adapter.test.d.ts +2 -0
  6. package/dist/__tests__/runtime-claude-adapter.test.d.ts.map +1 -0
  7. package/dist/__tests__/runtime-claude-adapter.test.js +70 -0
  8. package/dist/__tests__/runtime-claude-adapter.test.js.map +1 -0
  9. package/dist/__tests__/runtime-codex-adapter.test.d.ts +2 -0
  10. package/dist/__tests__/runtime-codex-adapter.test.d.ts.map +1 -0
  11. package/dist/__tests__/runtime-codex-adapter.test.js +475 -0
  12. package/dist/__tests__/runtime-codex-adapter.test.js.map +1 -0
  13. package/dist/__tests__/runtime-codex-config.test.d.ts +2 -0
  14. package/dist/__tests__/runtime-codex-config.test.d.ts.map +1 -0
  15. package/dist/__tests__/runtime-codex-config.test.js +523 -0
  16. package/dist/__tests__/runtime-codex-config.test.js.map +1 -0
  17. package/dist/__tests__/runtime-codex-version-pin.test.d.ts +2 -0
  18. package/dist/__tests__/runtime-codex-version-pin.test.d.ts.map +1 -0
  19. package/dist/__tests__/runtime-codex-version-pin.test.js +69 -0
  20. package/dist/__tests__/runtime-codex-version-pin.test.js.map +1 -0
  21. package/dist/__tests__/runtime-resolve.test.d.ts +2 -0
  22. package/dist/__tests__/runtime-resolve.test.d.ts.map +1 -0
  23. package/dist/__tests__/runtime-resolve.test.js +172 -0
  24. package/dist/__tests__/runtime-resolve.test.js.map +1 -0
  25. package/dist/__tests__/start-rebase-never-ran.test.d.ts +25 -0
  26. package/dist/__tests__/start-rebase-never-ran.test.d.ts.map +1 -0
  27. package/dist/__tests__/start-rebase-never-ran.test.js +227 -0
  28. package/dist/__tests__/start-rebase-never-ran.test.js.map +1 -0
  29. package/dist/__tests__/start-runtime-wiring.test.d.ts +31 -0
  30. package/dist/__tests__/start-runtime-wiring.test.d.ts.map +1 -0
  31. package/dist/__tests__/start-runtime-wiring.test.js +498 -0
  32. package/dist/__tests__/start-runtime-wiring.test.js.map +1 -0
  33. package/dist/agent-config/hooks/deploy-verification-reminder.sh +143 -12
  34. package/dist/agent-config/hooks/memory-checkpoint-reminder.sh +20 -2
  35. package/dist/commands/codex-agent-gate.d.ts +23 -0
  36. package/dist/commands/codex-agent-gate.d.ts.map +1 -0
  37. package/dist/commands/codex-agent-gate.js +139 -0
  38. package/dist/commands/codex-agent-gate.js.map +1 -0
  39. package/dist/commands/start.d.ts +21 -0
  40. package/dist/commands/start.d.ts.map +1 -1
  41. package/dist/commands/start.js +190 -25
  42. package/dist/commands/start.js.map +1 -1
  43. package/dist/index.d.ts.map +1 -1
  44. package/dist/index.js +23 -1
  45. package/dist/index.js.map +1 -1
  46. package/dist/lib/claude.d.ts +72 -10
  47. package/dist/lib/claude.d.ts.map +1 -1
  48. package/dist/lib/claude.js +71 -32
  49. package/dist/lib/claude.js.map +1 -1
  50. package/dist/lib/runtime/claude-adapter.d.ts +16 -0
  51. package/dist/lib/runtime/claude-adapter.d.ts.map +1 -0
  52. package/dist/lib/runtime/claude-adapter.js +43 -0
  53. package/dist/lib/runtime/claude-adapter.js.map +1 -0
  54. package/dist/lib/runtime/codex-adapter.d.ts +90 -0
  55. package/dist/lib/runtime/codex-adapter.d.ts.map +1 -0
  56. package/dist/lib/runtime/codex-adapter.js +357 -0
  57. package/dist/lib/runtime/codex-adapter.js.map +1 -0
  58. package/dist/lib/runtime/codex-config.d.ts +254 -0
  59. package/dist/lib/runtime/codex-config.d.ts.map +1 -0
  60. package/dist/lib/runtime/codex-config.js +620 -0
  61. package/dist/lib/runtime/codex-config.js.map +1 -0
  62. package/dist/lib/runtime/resolve.d.ts +46 -0
  63. package/dist/lib/runtime/resolve.d.ts.map +1 -0
  64. package/dist/lib/runtime/resolve.js +113 -0
  65. package/dist/lib/runtime/resolve.js.map +1 -0
  66. package/dist/lib/runtime/types.d.ts +81 -0
  67. package/dist/lib/runtime/types.d.ts.map +1 -0
  68. package/dist/lib/runtime/types.js +39 -0
  69. package/dist/lib/runtime/types.js.map +1 -0
  70. package/package.json +1 -1
@@ -0,0 +1,254 @@
1
+ import { type ClaudeLocalOptions, type ClaudeLocalDiagnostic } from '../claude.js';
2
+ /**
3
+ * Model the CodexAdapter selects (PRD Open Question 2, Option A — one known-good
4
+ * model for Phase 1; a per-worktree/profile setting is Phase 3 work).
5
+ */
6
+ export declare const CODEX_DEFAULT_MODEL = "gpt-5.5";
7
+ /**
8
+ * Codex CLI version whose behaviour was actually probed for this adapter: hooks
9
+ * file schema, hook payload shape, hook trust requirement, stdin behaviour.
10
+ *
11
+ * This is NOT "the version we happened to have installed". Same discipline as
12
+ * `REVIEWED_CODEX_VERSION` in dev-tools/scripts/codex-review.sh: bumping it
13
+ * without re-running the probes is precisely how the 0.142.4 → 0.145.0 sandbox
14
+ * reimplementation silently removed containment the wrapper relied on.
15
+ */
16
+ export declare const VERIFIED_CODEX_VERSION = "0.145.0";
17
+ /** Codex's default `project_doc_max_bytes`. FR-5's budget. */
18
+ export declare const PROJECT_DOC_MAX_BYTES: number;
19
+ /** Codex's local instruction-override file — the `CLAUDE.local.md` equivalent. */
20
+ export declare const AGENTS_OVERRIDE_FILENAME = "AGENTS.override.md";
21
+ export declare const CODEX_DIR = ".codex";
22
+ export declare const CODEX_CONFIG_FILENAME: string;
23
+ export declare const CODEX_HOOKS_FILENAME: string;
24
+ /**
25
+ * The two containment guards Phase 1 must port AND prove (task 1.10, gate G-7).
26
+ *
27
+ * Scope is deliberately these two and no more. They are the guards whose absence
28
+ * removes an agent's ONLY containment (git-expert → git-mutation-guard;
29
+ * memory-creator/dogfood-auditor → named-memory-write-guard), which is why rev 3
30
+ * moved them out of Phase 2. The remaining category-(a) hooks (worktree-guard,
31
+ * mx-guard-hook, ci-validate-hook, workflow-dispatch-guard,
32
+ * deploy-verification-reminder) are Phase 2 task 2.1 and extend this generator.
33
+ */
34
+ export declare const PHASE1_PORTED_GUARDS: readonly ["git-mutation-guard.sh", "named-memory-write-guard.sh"];
35
+ export interface McpServerSpec {
36
+ name: string;
37
+ command: string;
38
+ args: string[];
39
+ }
40
+ /**
41
+ * Read the MemNexus MCP server definition from the project's `.mcp.json` so the
42
+ * two runtimes are configured from ONE source (design principle 2). Falls back to
43
+ * the known-good invocation when `.mcp.json` is absent or unparseable — a Codex
44
+ * session with no memory server is worse than one configured from the default.
45
+ */
46
+ export declare function resolveMemnexusMcpServer(projectRoot: string): McpServerSpec;
47
+ /**
48
+ * TOML basic-string literal (security review S5).
49
+ *
50
+ * A basic string may not contain a raw newline, carriage return, tab or any other
51
+ * control character — TOML rejects the document, and Codex's config load then fails
52
+ * in a way that takes the MCP server and every setting below it with it. Escaping the
53
+ * quote and backslash alone was not enough: a newline smuggled in through
54
+ * `.mcp.json`'s `command` or `args` would emit a broken file. All C0 controls plus
55
+ * DEL are escaped using TOML's own escape sequences.
56
+ */
57
+ export declare function tomlString(value: string): string;
58
+ /**
59
+ * Sandbox mode the adapter declares (security review MF3a).
60
+ *
61
+ * `workspace-write` confines model-driven writes to the worktree — the boundary
62
+ * R-5's clearance re-established and the one R-2's mitigation leans on while the
63
+ * file-write hook gap (#16732) is open. Declaring it explicitly matters because the
64
+ * previous generator declared NO sandbox mode at all: the session inherited whatever
65
+ * the operator's `~/.codex/config.toml` happened to say, which on this machine is a
66
+ * `trust_level = "trusted"` project entry. "No danger flag is passed" is not the same
67
+ * property as "a boundary is declared", and only the second one is checkable.
68
+ */
69
+ export declare const CODEX_SANDBOX_MODE = "workspace-write";
70
+ /**
71
+ * Approval policy the adapter declares (security review MF3a).
72
+ *
73
+ * `never` means Codex does not stop to ask a human. That is not a relaxation here —
74
+ * it is the only coherent setting for `codex exec`, which is non-interactive: an
75
+ * approval prompt in a session with no human at the terminal is an indefinite hang,
76
+ * not a control. The boundary is therefore the sandbox above plus the ported guard
77
+ * hooks, and the launch banner says so. `untrusted` or `on-request` would convert
78
+ * every escalation into the 7m16s-style stall FR-6 exists to prevent.
79
+ */
80
+ export declare const CODEX_APPROVAL_POLICY = "never";
81
+ /**
82
+ * Generate `.codex/config.toml` (FR-7, MF3a).
83
+ *
84
+ * `project_doc_fallback_filenames = ["CLAUDE.md"]` is the transitional bridge for
85
+ * a worktree that has not yet regenerated its AGENTS.md — belt-and-braces during
86
+ * the Phase 0 migration, per the PRD's instruction-file model.
87
+ *
88
+ * DELIBERATELY NOT SET: `sandbox_workspace_write.network_access`. Denying network
89
+ * would cut the `mx` CLI off from core-api, so a Codex session could not write the
90
+ * memories the dogfooding standard requires, and MemNexus reaches the model over MCP
91
+ * in a separate process regardless. Narrowing egress is a Phase 2 question that needs
92
+ * its own design, not a flag flipped in passing.
93
+ */
94
+ export declare function buildCodexConfigToml(opts: {
95
+ projectRoot: string;
96
+ model?: string;
97
+ }): string;
98
+ export interface CodexHookEntry {
99
+ /** Hook script filename under `.claude/hooks/`. */
100
+ script: string;
101
+ /** Codex event name (PascalCase, as the hooks.json schema requires). */
102
+ event: 'PreToolUse' | 'PostToolUse';
103
+ /** Tool matcher. `Bash` is the shell tool — the one tool Codex hooks fire for. */
104
+ matcher: 'Bash';
105
+ }
106
+ /** The Phase 1 hook set: the two containment guards, PreToolUse, Bash-matched. */
107
+ export declare function phase1HookEntries(): CodexHookEntry[];
108
+ /** Command the SubagentStart gate hook runs. See src/commands/codex-agent-gate.ts. */
109
+ export declare const CODEX_AGENT_GATE_COMMAND = "mx-agent internal-codex-agent-gate";
110
+ /**
111
+ * Wrapper command for one ported guard.
112
+ *
113
+ * NO PATH INTERPOLATION (security review S4). The previous version embedded the
114
+ * worktree path inside a single-quoted shell string twice, so a worktree directory
115
+ * containing an apostrophe — `/workspaces/harry's-repo` — closed the quote and the
116
+ * remainder of the path was executed as shell words. Worktree names are derived from
117
+ * team slugs today, but the path comes from the filesystem, not from a validated
118
+ * allowlist, and "no team will ever have an apostrophe in its checkout path" is not a
119
+ * property this code can assert.
120
+ *
121
+ * The command now reads `CLAUDE_PROJECT_DIR` from the environment, which
122
+ * `CodexAdapter.launch` sets to the worktree path. The only interpolated value is the
123
+ * script filename, constrained by SAFE_SCRIPT_NAME.
124
+ *
125
+ * Fail-OPEN when the script is absent (`|| exit 0`) mirrors the wrapper
126
+ * `.claude/settings.json` uses for the same script: the Codex port reproduces the
127
+ * Claude semantics rather than inventing a different failure model on a security
128
+ * path. `deployCodexConfig` warns by name for each guard script that is missing, so
129
+ * the silent case is at least announced (security review S9).
130
+ */
131
+ export declare function codexHookCommand(script: string): string;
132
+ /**
133
+ * Generate `.codex/hooks.json` (FR-9, task 1.10).
134
+ *
135
+ * Shape verified on codex-cli 0.145.0 — see finding 1 in the file header.
136
+ */
137
+ export declare function buildCodexHooksJson(opts: {
138
+ worktreePath?: string;
139
+ entries?: CodexHookEntry[];
140
+ /** Guards with a paired live proof (gate G-7). Empty → the gate refuses everything. */
141
+ provenGuards?: readonly string[];
142
+ }): string;
143
+ export interface HookTrustPrecondition {
144
+ id: 'hook-trust' | 'project-trust';
145
+ satisfied: boolean;
146
+ detail: string;
147
+ }
148
+ export declare function codexHookTrustPreconditions(opts: {
149
+ worktreePath: string;
150
+ codexHome?: string;
151
+ }): HookTrustPrecondition[];
152
+ /**
153
+ * Generate `AGENTS.override.md` content (FR-7, FR-16).
154
+ *
155
+ * Carries the CLAUDE.local.md generator output — one source, so a behavioral-marker
156
+ * change cannot land on Claude and miss Codex — plus a notice naming the declared
157
+ * degradation: on Claude the marker block is re-injected every turn by a hook; Codex
158
+ * reads this file once, at session start.
159
+ *
160
+ * AND IT CARRIES THE CANONICAL AGENTS.md CONTENT TOO, because on Codex this file
161
+ * REPLACES AGENTS.md rather than adding to it (probed on codex-cli 0.145.0 — see
162
+ * finding 5 in the file header). The PRD called `AGENTS.override.md` the
163
+ * `CLAUDE.local.md` equivalent, but those two files are ADDITIVE on Claude and this
164
+ * one is a REPLACEMENT, so emitting only the local-override content would have left a
165
+ * Codex session reading its isolation context and behavioral markers while never
166
+ * seeing the canonical instructions.
167
+ */
168
+ export declare const CODEX_MARKER_DEGRADATION_NOTICE: string;
169
+ export declare const CODEX_CANONICAL_FOLD_NOTICE: string;
170
+ export declare function buildAgentsOverride(opts: ClaudeLocalOptions): {
171
+ content: string;
172
+ warning?: string;
173
+ /**
174
+ * Every line the generator produced, in order (#4707): the stale-local-tree
175
+ * fallback warning, the git-provenance line, the missing-block warning. The
176
+ * Codex path surfaces the warn-level ones so a fallback is no more silent here
177
+ * than it is on the Claude path.
178
+ */
179
+ diagnostics: ClaudeLocalDiagnostic[];
180
+ hasBehavioralBlock: boolean;
181
+ /** False when no canonical AGENTS.md was found to fold in — a real degradation. */
182
+ hasCanonicalContent: boolean;
183
+ };
184
+ export interface InstructionChainMeasurement {
185
+ /** Bytes Codex will actually read — the size of the single winning file. */
186
+ bytes: number;
187
+ cap: number;
188
+ overBudget: boolean;
189
+ /** The file Codex reads, or null when the worktree has no instruction file at all. */
190
+ readFile: string | null;
191
+ /** Every candidate found, with its own size, whether or not Codex reads it (S10). */
192
+ files: Array<{
193
+ path: string;
194
+ bytes: number;
195
+ read: boolean;
196
+ }>;
197
+ }
198
+ /**
199
+ * Measure the instruction bytes a Codex session reads (FR-5, security review S10).
200
+ *
201
+ * EXACTLY ONE FILE IS READ, in this precedence order, probed on codex-cli 0.145.0
202
+ * (finding 5 in the file header): `AGENTS.override.md`, else `AGENTS.md`, else
203
+ * `CLAUDE.md` via `project_doc_fallback_filenames`. The override REPLACES the
204
+ * canonical file rather than being appended to it, so the previous version of this
205
+ * function — which SUMMED AGENTS.md and the override — reported a total for a chain
206
+ * that does not exist. It over-counted by the size of a file Codex ignores, and it
207
+ * hid the fact that the ignored file was the canonical one.
208
+ *
209
+ * `project_doc_max_bytes` truncates that single file silently (a 433-byte file was
210
+ * cut at a 200-byte cap), so per-file and total are the same number today. Both are
211
+ * reported: `bytes` is what counts against the cap, `files` carries every candidate's
212
+ * own size so a warning can name which file is the problem.
213
+ */
214
+ export declare function measureInstructionChain(worktreePath: string,
215
+ /**
216
+ * Cap to measure against. Defaults to — and callers pass — PROJECT_DOC_MAX_BYTES,
217
+ * the same constant `buildCodexConfigToml` writes into `project_doc_max_bytes`, so
218
+ * the declared cap and the measured cap cannot drift apart (security review NEW-1).
219
+ */
220
+ cap?: number): InstructionChainMeasurement;
221
+ export interface DeployCodexConfigResult {
222
+ written: string[];
223
+ /** Advisory messages the caller surfaces at launch (never blocking). */
224
+ warnings: string[];
225
+ chain: InstructionChainMeasurement;
226
+ trust: HookTrustPrecondition[];
227
+ }
228
+ /**
229
+ * Deploy every Codex config artifact into the worktree. Idempotent — each file is
230
+ * regenerated in full, so a stale artifact cannot survive a restart.
231
+ */
232
+ export declare function deployCodexConfig(opts: {
233
+ projectRoot: string;
234
+ worktreePath: string;
235
+ worktreeName: string;
236
+ branch: string | null;
237
+ slot: number;
238
+ projectSlug?: string;
239
+ teamSlug?: string;
240
+ model?: string;
241
+ /**
242
+ * Base branch whose remote-tracking ref carries the canonical roleguides
243
+ * (#4707). Forwarded to the CLAUDE.local.md generator so a Codex session reads
244
+ * the roleguide from the same ref a Claude session does. Defaults to `main`.
245
+ */
246
+ baseBranch?: string;
247
+ /** Remote holding the canonical tree. Defaults to `origin`. */
248
+ gitRemote?: string;
249
+ /** Guards with a paired live proof (gate G-7); passed to the SubagentStart gate. */
250
+ provenGuards?: readonly string[];
251
+ }): DeployCodexConfigResult;
252
+ /** Does the worktree carry a generated Codex config tree? Used by tests and doctor-style checks. */
253
+ export declare function hasCodexConfig(worktreePath: string): boolean;
254
+ //# sourceMappingURL=codex-config.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"codex-config.d.ts","sourceRoot":"","sources":["../../../src/lib/runtime/codex-config.ts"],"names":[],"mappings":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