aiki-cli 0.2.0 → 0.2.1

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 CHANGED
@@ -17,6 +17,10 @@
17
17
  intent preflight and the judge seat also writes the validation plan. The default budget is now 13 so
18
18
  a normal run still has room for one repair without skipping the validation plan.
19
19
 
20
+ ### Fixed
21
+ - Codex provider smoke no longer crashes in non-git folders; Aiki now passes Codex's verified
22
+ `--skip-git-repo-check` flag while keeping `-s read-only`.
23
+
20
24
  ## 0.2.0 — 2026-07-06 — v2 product round
21
25
 
22
26
  ### Added
package/README.md CHANGED
@@ -104,12 +104,21 @@ n = 10 cases, single run per arm — directional, not a p-value. Full method and
104
104
  aiki doctor # lists each provider: version, ready/not, read-only mode
105
105
  ```
106
106
 
107
+ `aiki doctor` is safe to run from any folder. For Codex, Aiki passes `--skip-git-repo-check` while
108
+ keeping the read-only sandbox enabled, so non-git folders do not crash the provider smoke:
109
+
110
+ ```bash
111
+ aiki doctor --fresh
112
+ ```
113
+
107
114
  ## Install
108
115
 
109
116
  ```bash
110
117
  npm install -g aiki-cli
111
118
  ```
112
119
 
120
+ The package is `aiki-cli`; it installs the `aiki` command.
121
+
113
122
  From source:
114
123
 
115
124
  ```bash
@@ -123,9 +132,24 @@ npm link # puts `aiki` on your PATH (or run directly: node dist/cl
123
132
  ## Quickstart
124
133
 
125
134
  ```bash
135
+ cd /path/to/your/project
126
136
  aiki # opens the interactive home screen
127
137
  ```
128
138
 
139
+ ## Use Aiki For
140
+
141
+ - Code review: "review this branch", "check this patch", "find bugs in this diff".
142
+ - Idea stress-testing: "pressure-test this product idea", "find risks in this plan", "what must be validated first?"
143
+ - Decisions where disagreement helps: multiple models analyze independently, cross-examine, then a judge writes the brief.
144
+
145
+ ## Do Not Use Aiki For
146
+
147
+ - Chatting, trivia, writing emails, summaries, or general Q&A.
148
+ - Questions with one straightforward answer, like "what is Docker?" or "explain React hooks".
149
+ - Asking it to edit files, run commands, or act like an autonomous coding agent.
150
+
151
+ If you want chat, use your normal assistant. Aiki is for expensive council-style review and idea pressure-testing.
152
+
129
153
  Type a command, or just describe an idea and press Enter:
130
154
 
131
155
  | Command | What it does |
@@ -1,7 +1,7 @@
1
1
  import { runAdapter } from './adapter-core.js';
2
2
  /**
3
3
  * Codex CLI (`codex`). Invocation (verified live, T3):
4
- * codex exec [-s read-only] "<prompt>" (cwd set via spawn's cwd option)
4
+ * codex exec --skip-git-repo-check [-s read-only] "<prompt>" (cwd set via spawn's cwd option)
5
5
  *
6
6
  * Output split (verified): stdout carries ONLY the model's final message; the full session
7
7
  * transcript (session id, echoed prompt, "tokens used") goes to stderr. So stdout *is* the
@@ -11,13 +11,13 @@ import { runAdapter } from './adapter-core.js';
11
11
  * Because codex mirrors the prompt + result into stderr, error classification must not scan
12
12
  * stderr on success — adapter-core.classify short-circuits on exit 0 for exactly this reason.
13
13
  *
14
- * T10 note: `codex exec` may need a git-repo/writable-cwd check for arbitrary review dirs;
15
- * verify when wiring code-review. NEVER pass --dangerously-bypass-approvals-and-sandbox (§19).
14
+ * `--skip-git-repo-check` is safe here: it only permits arbitrary cwd for run-anywhere
15
+ * support and does not bypass approvals or the read-only sandbox.
16
16
  */
17
17
  const codexSpec = {
18
18
  id: 'codex',
19
19
  buildArgs(req, flags) {
20
- const args = ['exec'];
20
+ const args = ['exec', '--skip-git-repo-check'];
21
21
  if (req.readOnly !== false && flags.readOnlyFlag === 'sandbox')
22
22
  args.push('-s', 'read-only');
23
23
  if (flags.model)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aiki-cli",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Local-first orchestration CLI binding your installed AI coding CLIs into schema-validated multi-model workflows.",
5
5
  "type": "module",
6
6
  "license": "MIT",