@outerlayer/cli 0.34.0-next.20261026182624 → 0.34.0-next.20261026184303

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-26T18:28:05.559Z+12e29af","root":"/home/runner/_work/outerlayer/outerlayer","pkg":"outerlayer"}
1
+ {"id":"2026-10-26T18:44:39.555Z+c7328ed","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.20261026182624",
3
+ "version": "0.34.0-next.20261026184303",
4
4
  "description": "OuterLayer CLI — commands: init, claude, connect, doctor, login, logout, sync, daemon (alias: watch), emit, 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.",
@@ -283,6 +283,17 @@ tests at HEAD that hold the id of each proof that is not current, and runs them.
283
283
  `$OUTERLAYER_PROOF_OUT/<criterion id>.<ext>`. The kind of the file must be the
284
284
  kind the criterion declares. The test writes outside the repository, so there is
285
285
  nothing to ignore or commit.
286
+ - A `test` proof is a JUnit XML file of test results, bound to the criterion.
287
+ `--record` does not record it, so record it yourself, unless the policy file
288
+ sets `criteria.test_proof: ci`. CI then records it. Run the repository's test
289
+ command with its JUnit reporter, such as
290
+ `vitest run --reporter=junit --outputFile=<file>`, `pytest --junitxml=<file>`
291
+ or `node --test --test-reporter=junit --test-reporter-destination=<file>`.
292
+ Write the file outside the repository. Then run
293
+ `outerlayer emit artifact <file> --caption "<one sentence>" --for <criterion id>`.
294
+ Add `--test "<test name>"` for each test that cites the criterion, unless the
295
+ criterion is about the whole suite. To replace an earlier result, add
296
+ `--replaces <its id>`.
286
297
  - A proof that no test can make stays without a test. Give the reason in
287
298
  `build-reports/evidence.md`.
288
299
 
@@ -290,7 +301,7 @@ Commit the setup file and every test. Then run
290
301
  `outerlayer work proofs --record` from the committed checkout. It stops when a
291
302
  tracked file differs from HEAD. It runs only what is committed at HEAD, and
292
303
  emits each proof at HEAD. It skips a proof that is current. Never emit by hand
293
- a proof that a test can make. Always pass `--pr <number>` when the item links
304
+ a proof that a test can make, except a `test` proof, as above. Always pass `--pr <number>` when the item links
294
305
  more than one pull request in the repository.
295
306
 
296
307
  The output names each proof that is still not current, with the reason. Fix
@@ -10,7 +10,7 @@ earlier phase from the state file.
10
10
  ## The phase
11
11
 
12
12
  The orchestrator does not run the app, drive a browser or emit an artifact
13
- itself. Spawn one evidence agent in a fresh context on the Evidence brief, with
13
+ itself. The one exception is the test results it records at the last head. Spawn one evidence agent in a fresh context on the Evidence brief, with
14
14
  the issue, the pull request number, the criteria that declare a proof form, the
15
15
  instructions-file pointer and the outerlayer-evidence skill.
16
16
 
@@ -45,6 +45,11 @@ proof that is not current and skips the rest. If a commit lands after that,
45
45
  record once more after it. The final report names that head and the proofs
46
46
  recorded there.
47
47
 
48
+ `--record` skips a criterion that declares `proof: test`, and the list command
49
+ leaves it out. So at that same head, record each one as the Evidence brief in
50
+ [agent-briefs.md](agent-briefs.md) says, unless the policy file sets
51
+ `criteria.test_proof: ci`. The final report names each one with its artifact.
52
+
48
53
  Run the list command once more before the run ends. A criterion still listed
49
54
  as out of date or missing goes in `build-reports/evidence.md` with the reason.
50
55
  A written reason never excuses an `uncited` or `failed` row. Fix it first. Never