@outerlayer/cli 0.34.0-next.20261027174501 → 0.34.0-next.20261027193835

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.
@@ -1 +1 @@
1
- {"id":"2026-10-27T17:46:43.062Z+c0be6ff","root":"/home/runner/_work/outerlayer/outerlayer","pkg":"outerlayer"}
1
+ {"id":"2026-10-27T19:40:53.907Z+87ae1ec","root":"/home/runner/work/outerlayer/outerlayer","pkg":"outerlayer"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@outerlayer/cli",
3
- "version": "0.34.0-next.20261027174501",
3
+ "version": "0.34.0-next.20261027193835",
4
4
  "description": "OuterLayer CLI — commands: init, claude, connect, doctor, login, logout, sync, daemon (alias: watch), emit, demo, findings, work, spec, runner, hooks, mcp, context. Capture and sync coding-agent sessions, and record proof of factory work.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Magu Studios, Inc.",
@@ -131,6 +131,14 @@ These bind the orchestrator in every phase. Rule 5 also binds every spawned agen
131
131
 
132
132
  Run the Gate command setting in place of the repository's own pre-push
133
133
  checks and tests when the team has set it. Default: those checks and tests.
134
+
135
+ The gate checks the whole branch at the end of implementation, and again
136
+ after each merge of the base branch. Every other run checks only what
137
+ changed since the commit in `build-reports/gate-passed`, when the
138
+ repository's instructions say how to limit a run to a diff. After a run
139
+ fails, fix the failure and commit. Then run the gate over only what changed
140
+ since the commit it failed on. After a run passes, write its commit to
141
+ `build-reports/gate-passed`.
134
142
  4. **Checkpoint and re-orient.** Before the first phase, write a state file at
135
143
  `"$(git rev-parse --absolute-git-dir)/build-state.json"`, replacing any
136
144
  earlier one. Record the phase, the review round, the spawned agents, the
@@ -59,6 +59,14 @@ coverage run, a repository-wide typecheck or the full gate only where this
59
59
  brief names it. Two of those at once overrun the cap, and the kernel kills
60
60
  test workers that then look like flaky tests.
61
61
 
62
+ A gate run checks the whole branch only at the end of implementation and
63
+ after a merge of the base branch. Every other gate run checks only what
64
+ changed since the commit in `build-reports/gate-passed`, when the
65
+ repository's instructions say how to limit a run to a diff. After a run fails,
66
+ fix the failure and commit. Then run the gate over only what changed since the
67
+ commit it failed on. After a run passes, write its commit to
68
+ `build-reports/gate-passed`.
69
+
62
70
  Put scratch copies and extra worktrees under the system temp directory.
63
71
 
64
72
  Never bypass a hook. Do not use `--no-verify`, skip a hook, or disable one,
@@ -206,10 +214,13 @@ its file updated.
206
214
  Run the repository's own pre-push checks and tests, as its instructions file
207
215
  names them, in the foreground with the maximum timeout. When the repository
208
216
  has a changed-lines mutation tool, run it over the final branch diff. Run it
209
- the way its instructions say CI runs it. The review's run does not count,
210
- because fixes changed lines after it. A run that ends over its time budget, or
211
- with no score, is a red gate, as a low score is: run it again with a larger
212
- budget. Then run any check the repository runs only in CI, when the diff
217
+ the way its instructions say to run it before a push, not with CI's settings.
218
+ CI's time budget is sized for a CI job. On this machine it can stop a run
219
+ before the run scores anything. Run the tool again after the review's run,
220
+ because fixes changed lines after it. When the tool can reuse an earlier run's
221
+ results, let it. Then this run tests again only what the fixes changed. A run
222
+ that ends over its time budget, or with no score, is a red gate, as a low
223
+ score is: run it again with a larger budget. Then run any check the repository runs only in CI, when the diff
213
224
  touches its domain, each in the foreground, and quote every result in your
214
225
  report. A check this machine cannot
215
226
  run is named in the report with the reason. A check that fails is a red gate,
@@ -264,6 +264,9 @@ dependencies, and give its path in your report. Reviewers are reading the
264
264
  shared tree while you run, so no mutation may touch it.
265
265
 
266
266
  1. Run the repository's changed-lines mutation tool once over the whole diff.
267
+ Run it the way the repository's instructions say to run it before a push,
268
+ not with CI's settings. When the tool can keep its results for a later
269
+ run, let it, so the run after the fixes tests only what changed.
267
270
  Every survivor it reports is a finding. Never rerun it per file, never
268
271
  lower its budget, and never run a whole suite or a coverage run. The
269
272
  tool can run longer than your shell's maximum timeout. Then your shell
@@ -36,7 +36,7 @@ wrote.
36
36
  when it has one, and a survivor on a new line is a proof-strength finding.
37
37
  There is no merger: the orchestrator reads the one report and writes the
38
38
  class table. One fix pass. The orchestrator reruns each confirmed class's
39
- test and the full gate itself. Round budget one. Only blocker and major
39
+ test and the gate itself. Round budget one. Only blocker and major
40
40
  findings block. A minor is fixed when its repair stays inside files the
41
41
  diff already touches, and otherwise goes in the final report, unverified.
42
42
  - **Medium.** The generalist plus one focused reviewer: the one whose
@@ -140,7 +140,7 @@ merged head.
140
140
  ## Check
141
141
 
142
142
  Round two is a check and never a panel. Rerun every confirmed class's test
143
- yourself, in one command, then run the full gate. Then spawn one generalist
143
+ yourself, in one command, then run the gate. Then spawn one generalist
144
144
  over the fix hunks and the code they call. It reconciles each class against
145
145
  its fix report, attacks the fix hunks and their blast radius, and hunts for a
146
146
  fix for one class that undoes another. It writes `build-reports/round-2-check.md`.