@outerlayer/cli 0.8.1 → 0.8.3

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 (86) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/README.md +27 -9
  3. package/dist/{agent-setup-K6RD2Z4P.js → agent-setup-FMTXHWWM.js} +8 -8
  4. package/dist/{build-MS34XEGN.js → build-3FSJR5OO.js} +1 -1
  5. package/dist/build-info.json +1 -1
  6. package/dist/{builder-IG6FNA54.js → builder-QZA2Z3M3.js} +3 -3
  7. package/dist/{check-GX5ND6RO.js → check-AFYUJ5SQ.js} +27 -27
  8. package/dist/{chunk-R7STSBLC.js → chunk-2E2MG3KW.js} +1 -1
  9. package/dist/{chunk-OD2VTIHN.js → chunk-2FWL7CE2.js} +3 -2
  10. package/dist/{chunk-KV47VQJZ.js → chunk-2OZH6ZY2.js} +4 -4
  11. package/dist/{chunk-PXFEYBDE.js → chunk-33GOCSRO.js} +3 -3
  12. package/dist/{chunk-7ZR5UPMB.js → chunk-36H5BONJ.js} +169 -3
  13. package/dist/{chunk-ZZXLM64C.js → chunk-42OX3Q3A.js} +1 -1
  14. package/dist/{chunk-MQ3IPHIZ.js → chunk-47RS42OZ.js} +6 -3
  15. package/dist/{chunk-HSN5QNS5.js → chunk-4GS22GWM.js} +10 -10
  16. package/dist/{chunk-BQFNZOMQ.js → chunk-4NOIKXUL.js} +4 -4
  17. package/dist/{chunk-KSLNQOOS.js → chunk-7HWIKEU5.js} +1 -1
  18. package/dist/{chunk-PWBILI5P.js → chunk-7KI224YS.js} +1 -1
  19. package/dist/{chunk-Q4432IZT.js → chunk-BORFBENT.js} +5 -5
  20. package/dist/{chunk-M4ERCYDB.js → chunk-BPTAOD6W.js} +232 -15
  21. package/dist/{chunk-2BRSMBBB.js → chunk-CLURXEWV.js} +2 -2
  22. package/dist/{chunk-AX23QKHS.js → chunk-CRLAB4PM.js} +1 -1
  23. package/dist/{chunk-I7CJIRMM.js → chunk-ERI5GBNI.js} +6 -1
  24. package/dist/{chunk-ILEA3YHM.js → chunk-EWBM2USM.js} +2 -2
  25. package/dist/{chunk-GAYWY4GI.js → chunk-HN2JBGSI.js} +2 -1
  26. package/dist/{chunk-ZOAEPWGL.js → chunk-HWMYGAKF.js} +1 -1
  27. package/dist/{chunk-ABIWDUMS.js → chunk-IS4DIGBQ.js} +13 -1
  28. package/dist/{chunk-WVGSB3Z2.js → chunk-J5DPVNL3.js} +2 -2
  29. package/dist/{chunk-M3SQ4YGD.js → chunk-KZ2FOICE.js} +1 -1
  30. package/dist/{chunk-TEKZRTM3.js → chunk-NPBLDMSD.js} +1 -1
  31. package/dist/{chunk-QB5JQH5V.js → chunk-NT5M6LF3.js} +72 -19
  32. package/dist/{chunk-Z2THOHPP.js → chunk-OCHRV5A6.js} +2 -2
  33. package/dist/{chunk-VXLJORHL.js → chunk-OPSPDEVU.js} +1 -1
  34. package/dist/{chunk-EV3M3EH7.js → chunk-OULFBETM.js} +2 -2
  35. package/dist/{chunk-BOLTI6LR.js → chunk-PLMTLGYH.js} +1 -1
  36. package/dist/{chunk-4FPWKV7L.js → chunk-SMPKFYKY.js} +3 -3
  37. package/dist/{chunk-5ODHQP6O.js → chunk-SPUWEK2Q.js} +55 -12
  38. package/dist/{chunk-QNRSFEGY.js → chunk-VITHLJOZ.js} +1 -1
  39. package/dist/{chunk-4ACZCY4I.js → chunk-WMPO3SKK.js} +3 -3
  40. package/dist/{chunk-TTNFGMHO.js → chunk-Y7UQHKFY.js} +19 -1
  41. package/dist/{chunk-BF4KKEFY.js → chunk-YCHJIAP2.js} +3 -3
  42. package/dist/{cli-X5ONGYNY.js → cli-L2TU7WDF.js} +87 -84
  43. package/dist/{command-7NFU3IPO.js → command-J5KLUIOI.js} +24 -21
  44. package/dist/{config-Z3USDBLU.js → config-OOBPCY7Q.js} +2 -2
  45. package/dist/{connect-cmd-PNZ6IJLJ.js → connect-cmd-NV7WVBY7.js} +3 -3
  46. package/dist/{context-adopt-D2Z7F7PB.js → context-adopt-3GFYGDRT.js} +5 -5
  47. package/dist/{context-materialize-4PMTDS6K.js → context-materialize-YBOW5YCC.js} +5 -5
  48. package/dist/{dist-3ZTZF2TP.js → dist-2LNAXGPZ.js} +1 -1
  49. package/dist/{docker-PRHRSJM5.js → docker-RSALMGPL.js} +4 -4
  50. package/dist/{doctor-KALLPCRB.js → doctor-M65EXDE6.js} +57 -23
  51. package/dist/{emit-artifact-cmd-D5GMVWNC.js → emit-artifact-cmd-SGDZQNHP.js} +6 -6
  52. package/dist/{emit-cmd-2QRMYPYO.js → emit-cmd-KBVRX42C.js} +3 -3
  53. package/dist/{emit-criteria-cmd-IE7VIM64.js → emit-criteria-cmd-PSZYZ32B.js} +4 -4
  54. package/dist/{emit-finding-cmd-46PTPN3A.js → emit-finding-cmd-VTSYDJYZ.js} +4 -4
  55. package/dist/{emit-result-cmd-KXHHP6HX.js → emit-result-cmd-ANAY4ZXF.js} +6 -6
  56. package/dist/{exec-client-NPYNUAF3.js → exec-client-2UX6NHAO.js} +3 -3
  57. package/dist/{guest-init-JWNNAH2H.js → guest-init-VHQNFCFS.js} +3 -3
  58. package/dist/{hook-fast-5H5QBJKT.js → hook-fast-B7TFCJR2.js} +1 -1
  59. package/dist/{import-capture-cmd-T4556ELW.js → import-capture-cmd-SD6FI2BM.js} +3 -3
  60. package/dist/{import-ruler-cmd-SG3UVGI7.js → import-ruler-cmd-NUSPILXT.js} +1 -1
  61. package/dist/index.js +3 -3
  62. package/dist/{init-S4DH6PWW.js → init-EE4JI2E4.js} +18 -18
  63. package/dist/{init-B4CECVOX.js → init-S2Z3YDK2.js} +20 -20
  64. package/dist/{init-cmd-P4MVCBCZ.js → init-cmd-X6BETOWP.js} +9 -9
  65. package/dist/{install-FHTVJZS6.js → install-C33LT5KQ.js} +3 -3
  66. package/dist/{install-cmd-BEC7XTNG.js → install-cmd-5HYMXLEW.js} +1 -1
  67. package/dist/{loop-ODMRE3CW.js → loop-CR46DEHT.js} +27 -27
  68. package/dist/{machine-J4SAB3Z2.js → machine-XZ34ENE2.js} +17 -17
  69. package/dist/{mcp-install-cmd-RLK4SO3N.js → mcp-install-cmd-4AQMSIGY.js} +1 -1
  70. package/dist/{mcp-serve-cmd-CT47P4YQ.js → mcp-serve-cmd-3KVYEUXG.js} +1 -1
  71. package/dist/{real-deps-SU24ZA2K.js → real-deps-TK6JMQSW.js} +3 -2
  72. package/dist/{session-sender-V46VPWQ5.js → session-sender-B67S2DHF.js} +5 -5
  73. package/dist/{starter-pack-MUXMAU4S.js → starter-pack-TC6HZ7JK.js} +3 -3
  74. package/dist/{status-QBKSH3QE.js → status-HIOSSWBN.js} +29 -23
  75. package/dist/{sync-cmd-RJR77V4O.js → sync-cmd-JN5RXCJQ.js} +4 -4
  76. package/dist/{watch-YNZTFLEY.js → watch-2H4RVURC.js} +4 -4
  77. package/dist/{work-claim-cmd-KAD3ZAH7.js → work-claim-cmd-JUC6E3R2.js} +8 -8
  78. package/dist/{work-cmd-CNWPTH7W.js → work-cmd-66GA4ETV.js} +5 -5
  79. package/dist/{work-comment-cmd-HH45S6UE.js → work-comment-cmd-J5K47MBZ.js} +5 -5
  80. package/dist/{work-open-pr-cmd-5KR3KFCN.js → work-open-pr-cmd-X46UWSPE.js} +6 -6
  81. package/dist/{work-pr-cmd-TTEGCP76.js → work-pr-cmd-T6SU4TYN.js} +5 -5
  82. package/package.json +1 -1
  83. package/skill-pack/maintained/outerlayer/SKILL.md +12 -2
  84. package/skill-pack/maintained/outerlayer/references/open-pull-request.md +29 -0
  85. package/skill-pack/template/build/SKILL.md +3 -2
  86. package/skill-pack/template/build/references/release.md +11 -2
@@ -1,18 +1,18 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- import { runWorkPr, WorkPrCommandError } from './chunk-PXFEYBDE.js';
4
- import { resolveCredentials } from './chunk-KV47VQJZ.js';
5
- import './chunk-4ACZCY4I.js';
3
+ import { runWorkPr, WorkPrCommandError } from './chunk-33GOCSRO.js';
4
+ import { resolveCredentials } from './chunk-2OZH6ZY2.js';
5
+ import './chunk-WMPO3SKK.js';
6
6
  import './chunk-BFESLKPP.js';
7
- import './chunk-ILEA3YHM.js';
7
+ import './chunk-EWBM2USM.js';
8
8
  import './chunk-ZYHKJKSU.js';
9
- import './chunk-GAYWY4GI.js';
9
+ import './chunk-HN2JBGSI.js';
10
10
  import './chunk-USO2DKBD.js';
11
11
  import './chunk-N6LURUEF.js';
12
12
  import './chunk-YRYMNBGQ.js';
13
13
  import './chunk-WZBHBH3J.js';
14
14
  import { defaultFetch } from './chunk-YO4PSLVB.js';
15
- import './chunk-BOLTI6LR.js';
15
+ import './chunk-PLMTLGYH.js';
16
16
  import './chunk-YNJEOGDL.js';
17
17
  import './chunk-EABW6AJQ.js';
18
18
  import './chunk-V7NIVOFD.js';
@@ -1,17 +1,17 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire } from 'node:module';
3
- export { WorkPrCommandError, runWorkPr } from './chunk-PXFEYBDE.js';
4
- import './chunk-4ACZCY4I.js';
3
+ export { WorkPrCommandError, runWorkPr } from './chunk-33GOCSRO.js';
4
+ import './chunk-WMPO3SKK.js';
5
5
  import './chunk-BFESLKPP.js';
6
- import './chunk-ILEA3YHM.js';
6
+ import './chunk-EWBM2USM.js';
7
7
  import './chunk-ZYHKJKSU.js';
8
- import './chunk-GAYWY4GI.js';
8
+ import './chunk-HN2JBGSI.js';
9
9
  import './chunk-USO2DKBD.js';
10
10
  import './chunk-N6LURUEF.js';
11
11
  import './chunk-YRYMNBGQ.js';
12
12
  import './chunk-WZBHBH3J.js';
13
13
  import './chunk-YO4PSLVB.js';
14
- import './chunk-BOLTI6LR.js';
14
+ import './chunk-PLMTLGYH.js';
15
15
  import './chunk-YNJEOGDL.js';
16
16
  import './chunk-EABW6AJQ.js';
17
17
  import './chunk-V7NIVOFD.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@outerlayer/cli",
3
- "version": "0.8.1",
3
+ "version": "0.8.3",
4
4
  "description": "OuterLayer CLI — commands: init, connect, doctor, login, logout, sync, daemon (alias: watch), emit, work, runner, hooks, mcp, import, 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.",
@@ -4,8 +4,9 @@ description: >
4
4
  Explain what OuterLayer is and how work flows through it: work items, the
5
5
  OUTERLAYER_WORK variable, the factory, and building an issue or specifying one.
6
6
  Use when asked about OuterLayer, a work item, OUTERLAYER_WORK, "build issue
7
- 42", how an issue becomes a pull request, or how to attach evidence or answer
8
- a review.
7
+ 42", how an issue becomes a pull request, how a build opens its pull request
8
+ (a runner build or a local session), or how to attach evidence or answer a
9
+ review.
9
10
  ---
10
11
 
11
12
  OuterLayer is a software factory. An issue goes in. A reviewed and verified
@@ -37,6 +38,15 @@ from the output of `outerlayer work build`.
37
38
  skill says what to capture.
38
39
  5. `/amend` answers the review threads a person handed to an agent.
39
40
 
41
+ ## Opening the pull request
42
+
43
+ A runner build opens its pull request with `outerlayer work open-pr`, never
44
+ with `gh pr create`. A session is a runner build when `OUTERLAYER_WORK` is set
45
+ and `OUTERLAYER_API_KEY` holds an item key, which starts with `olitem_`. A
46
+ local session uses `gh pr create` and then `outerlayer work pr <number>`. The
47
+ full steps are in
48
+ [references/open-pull-request.md](references/open-pull-request.md).
49
+
40
50
  Launching recorded work needs Claude Code. It is the one agent whose sessions
41
51
  OuterLayer can start with `OUTERLAYER_WORK` set and record. Other agents can
42
52
  read the files this repository emits, but they cannot be launched as work.
@@ -0,0 +1,29 @@
1
+ # Opening the pull request
2
+
3
+ How a build opens its pull request depends on where it runs.
4
+
5
+ A session is a runner build when `OUTERLAYER_WORK` is set and
6
+ `OUTERLAYER_API_KEY` holds an item key, which starts with `olitem_`. Any other
7
+ session is a local session.
8
+
9
+ ## A runner build
10
+
11
+ A runner build opens its pull request with `outerlayer work open-pr`:
12
+
13
+ outerlayer work open-pr --title "<title>" --body-file <path>
14
+
15
+ The build holds an item key, so the gateway opens the pull request as the
16
+ factory's GitHub App on the branch the build's claim named. The build needs no
17
+ GitHub login of its own, and it does not run `gh pr create`. The command also
18
+ links the pull request to the work item, so no `outerlayer work pr` follows.
19
+ Run it again to edit the pull request that is already open.
20
+
21
+ A runner build whose command exits 0 while its item has no pull request is
22
+ released `incomplete`, not `ok`. Open the pull request before the build ends.
23
+
24
+ ## A local session
25
+
26
+ A local session opens the pull request under the person's own GitHub login
27
+ with `gh pr create`. It then declares the pull request to the work item with
28
+ `outerlayer work pr <number>`. Without that declaration the item shows no pull
29
+ request, no evaluation and no evidence.
@@ -179,8 +179,9 @@ Run them in order.
179
179
 
180
180
  5. **Sync and pull request.** Read [references/release.md](references/release.md)
181
181
  on entry and run it. A release agent rebases, gates and pushes. Open the
182
- pull request. Then run `outerlayer work pr <number>` so the item links the
183
- pull request. When the issue has criteria, a fresh agent judges them with
182
+ pull request as release.md says: a runner build with `outerlayer work open-pr`,
183
+ which links it, and a local session with `gh pr create` and then
184
+ `outerlayer work pr <number>`. When the issue has criteria, a fresh agent judges them with
184
185
  [references/criteria-judge.md](references/criteria-judge.md), and the
185
186
  judge's HTML report is emitted:
186
187
 
@@ -21,12 +21,17 @@ problem, the change, how to verify it, and, when the change alters what a user
21
21
  sees or does, a link to each documentation file added or changed. It carries
22
22
  no telemetry, round tables or reviewer roles. Those go in the final report.
23
23
 
24
+ How to open it, and how to link it to the work item, depends on whether this is
25
+ a runner build or a local session. Read
26
+ `.outerlayer/skills/outerlayer/references/open-pull-request.md` and follow the
27
+ steps for where this build runs.
28
+
24
29
  Run the reader pass on the title and body before opening, and after any later
25
30
  edit. Add an "Unverified, non-blocking" section to the review report when
26
31
  classes were left unrefuted.
27
32
 
28
- The moment the pull request exists, declare it to the work item from this
29
- session:
33
+ In a local session, the moment the pull request exists, declare it to the work
34
+ item from this session:
30
35
 
31
36
  outerlayer work pr <number>
32
37
 
@@ -37,6 +42,10 @@ evaluation and no evidence. Check that the command reports the link as created
37
42
  or already present before going on. A CLI that does not know the command needs
38
43
  refreshing, and the final report names that as a blocker.
39
44
 
45
+ A runner build declares nothing. `outerlayer work open-pr` opens the pull
46
+ request and links it to the item in one step. Check that it reports the pull
47
+ request before going on.
48
+
40
49
  ## Judge the criteria
41
50
 
42
51
  When the issue has criteria, spawn one fresh agent on