repo-harness 0.26.4 → 0.26.6
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/README.md +6 -5
- package/assets/reference-configs/external-tooling.md +2 -2
- package/assets/reference-configs/herdr-notify.md +11 -0
- package/assets/reference-configs/hook-operations.md +8 -1
- package/assets/skill-version.json +2 -2
- package/assets/skills/repo-harness-herdr-portal/SKILL.md +1 -1
- package/dist/hook-entry.js +15 -8
- package/dist/oar-review-host.js +5 -4
- package/dist/operator-ui/assets/{ArchitectureWorkspace-BV2r2IDJ.js → ArchitectureWorkspace-D8LE-XjF.js} +3 -3
- package/dist/operator-ui/assets/{DocsPage-ChBcA4ei.js → DocsPage-DSdLctNT.js} +3 -3
- package/dist/operator-ui/assets/{abnfDiagram-VCTEODGH-BjabAXLU.js → abnfDiagram-VCTEODGH-DfMDS2Lp.js} +1 -1
- package/dist/operator-ui/assets/architecture-7GRP2DOG-BgSLPpA1.js +1 -0
- package/dist/operator-ui/assets/{architectureDiagram-5GKGNRK7-DXh5951E.js → architectureDiagram-5GKGNRK7-DPcsBDdu.js} +1 -1
- package/dist/operator-ui/assets/{blockDiagram-I7D4REHJ-CA9cDJV-.js → blockDiagram-I7D4REHJ-C6EZpBYV.js} +1 -1
- package/dist/operator-ui/assets/{c4Diagram-7LVT6UL2-DOvRiXAl.js → c4Diagram-7LVT6UL2-DzR6nhre.js} +1 -1
- package/dist/operator-ui/assets/channel-B-mW7McF.js +1 -0
- package/dist/operator-ui/assets/{chunk-4HAMMTFA-C_U2aLu7.js → chunk-4HAMMTFA-CIMhC59u.js} +1 -1
- package/dist/operator-ui/assets/{chunk-75Z2AOVW-BzYIkDpw.js → chunk-75Z2AOVW-CSfYGhNA.js} +1 -1
- package/dist/operator-ui/assets/{chunk-DU6HZSFF-CMRhpuf_.js → chunk-DU6HZSFF-x7L88tMK.js} +1 -1
- package/dist/operator-ui/assets/{chunk-F27PBJKO-CZqPEhT-.js → chunk-F27PBJKO-D9CDMJ3K.js} +1 -1
- package/dist/operator-ui/assets/{chunk-GMAD6QVW-C29OKcg2.js → chunk-GMAD6QVW-0JYSnCZR.js} +1 -1
- package/dist/operator-ui/assets/{chunk-GVQU2GXP-Y3VKl77B.js → chunk-GVQU2GXP-BkyS7eBn.js} +1 -1
- package/dist/operator-ui/assets/{chunk-IMKFNOWR-DUQELGHv.js → chunk-IMKFNOWR-UlgE8I96.js} +1 -1
- package/dist/operator-ui/assets/{chunk-L3NEJ4N5-b7C5n4Ks.js → chunk-L3NEJ4N5-C7-4NM1T.js} +1 -1
- package/dist/operator-ui/assets/{chunk-OSK3NFVY-Dm69v7to.js → chunk-OSK3NFVY-BU0mlY5x.js} +1 -1
- package/dist/operator-ui/assets/{chunk-P2QGCYS3-DouiSrgQ.js → chunk-P2QGCYS3-D6_cpwRO.js} +1 -1
- package/dist/operator-ui/assets/{chunk-POPQ4Y6H-BCR8dMgQ.js → chunk-POPQ4Y6H-yDTSJccE.js} +1 -1
- package/dist/operator-ui/assets/{chunk-PWAF6VOD-goaT9QIX.js → chunk-PWAF6VOD-BhZe2vwA.js} +1 -1
- package/dist/operator-ui/assets/{chunk-SHT3W25Y-DCT-IXfR.js → chunk-SHT3W25Y-B659Jmy9.js} +1 -1
- package/dist/operator-ui/assets/{chunk-SVP7TREG-DT66T7wW.js → chunk-SVP7TREG-4j1CtJJq.js} +1 -1
- package/dist/operator-ui/assets/{chunk-TICWLB2K-BlCzls02.js → chunk-TICWLB2K-BimIfkEM.js} +1 -1
- package/dist/operator-ui/assets/classDiagram-ZZMXUADV-VMwuztF3.js +1 -0
- package/dist/operator-ui/assets/classDiagram-v2-VYDZK3BY-VMwuztF3.js +1 -0
- package/dist/operator-ui/assets/{cynefin-OW5HDTMX-mEmbKYaq.js → cynefin-OW5HDTMX-DAMHK0c0.js} +1 -1
- package/dist/operator-ui/assets/{cynefinDiagram-5FMLGOSQ-DnekAcNr.js → cynefinDiagram-5FMLGOSQ-Bxh92BVi.js} +1 -1
- package/dist/operator-ui/assets/{dagre-GXQ25YYZ-BiFe5ZVH.js → dagre-GXQ25YYZ-DTL5yR1u.js} +1 -1
- package/dist/operator-ui/assets/{diagram-S7CK7UJ4-CksHMlVm.js → diagram-S7CK7UJ4-CoiWkjHb.js} +1 -1
- package/dist/operator-ui/assets/{diagram-UQ7AKVKN-DmzatPqn.js → diagram-UQ7AKVKN-BWP0Cbdb.js} +1 -1
- package/dist/operator-ui/assets/{diagram-VSXAHHWV-Bgyat970.js → diagram-VSXAHHWV-2h1zz_Ua.js} +1 -1
- package/dist/operator-ui/assets/{diagram-VX7I27RA-c3nuOFuP.js → diagram-VX7I27RA-BqfEHdTD.js} +1 -1
- package/dist/operator-ui/assets/{diagram-Z3DM3KII-BaXhTqi9.js → diagram-Z3DM3KII-DZXmwLMt.js} +1 -1
- package/dist/operator-ui/assets/{ebnfDiagram-PWID7BFC-DkEYZuxL.js → ebnfDiagram-PWID7BFC-Blb4A7C3.js} +1 -1
- package/dist/operator-ui/assets/{erDiagram-RLTQ6QDP-k9CGc0Qd.js → erDiagram-RLTQ6QDP-BqsgGP_M.js} +1 -1
- package/dist/operator-ui/assets/eventmodeling-NTZA5JFV-BgE8UgeA.js +1 -0
- package/dist/operator-ui/assets/flowDiagram-HODETNUW-MIzGGbeU.js +1 -0
- package/dist/operator-ui/assets/{ganttDiagram-EL5Y4UJY-BoKfeyH_.js → ganttDiagram-EL5Y4UJY-UxVDVpGp.js} +1 -1
- package/dist/operator-ui/assets/{gitGraph-4MIJSDKK-Dn1afQIS.js → gitGraph-4MIJSDKK-tgZ11cXV.js} +1 -1
- package/dist/operator-ui/assets/{gitGraphDiagram-WWUBYQGX-DHSXEA08.js → gitGraphDiagram-WWUBYQGX-WhG8HTrQ.js} +1 -1
- package/dist/operator-ui/assets/{index-BG15tO-2.js → index-Fcy-xiIk.js} +9 -9
- package/dist/operator-ui/assets/{info-A6RAGUB7-ClRo4-dN.js → info-A6RAGUB7-DkRbWrsD.js} +1 -1
- package/dist/operator-ui/assets/{infoDiagram-27XIBGKW-NhETHwUE.js → infoDiagram-27XIBGKW-VQalCtES.js} +1 -1
- package/dist/operator-ui/assets/{ishikawaDiagram-5VMMS53U-DoRxcerW.js → ishikawaDiagram-5VMMS53U-D7eREjkZ.js} +1 -1
- package/dist/operator-ui/assets/{journeyDiagram-3NMN7TZE-B6LHp-qn.js → journeyDiagram-3NMN7TZE-sq6r1yfQ.js} +1 -1
- package/dist/operator-ui/assets/{kanban-definition-UXKFOSKX-DPCJW6mB.js → kanban-definition-UXKFOSKX-xLS7cLVC.js} +1 -1
- package/dist/operator-ui/assets/{line-Bri_Dj_w.js → line-DSEexTxI.js} +1 -1
- package/dist/operator-ui/assets/{mermaid-parser.core-CKTxgV1R.js → mermaid-parser.core-eHRL0p-V.js} +3 -3
- package/dist/operator-ui/assets/{mermaid.core-QwdG5zG8.js → mermaid.core-5QKPbk__.js} +4 -4
- package/dist/operator-ui/assets/{mindmap-definition-YA3MSWOX-DpSLUQKY.js → mindmap-definition-YA3MSWOX-Bj8_GgoF.js} +1 -1
- package/dist/operator-ui/assets/{packet-AYTQ26CC-CysQQzht.js → packet-AYTQ26CC-BFDJ7WnH.js} +1 -1
- package/dist/operator-ui/assets/{pegDiagram-XKGWAZYB-BbWTVFSr.js → pegDiagram-XKGWAZYB-BCE9YZTv.js} +1 -1
- package/dist/operator-ui/assets/{pie-WAS4IAKB-DxxG5c2X.js → pie-WAS4IAKB-BiKTFpfV.js} +1 -1
- package/dist/operator-ui/assets/{pieDiagram-E7YTZNPT-hrDDxEeN.js → pieDiagram-E7YTZNPT-DxDYHn8T.js} +1 -1
- package/dist/operator-ui/assets/{quadrantDiagram-AXDQQJYC-B636Y4D8.js → quadrantDiagram-AXDQQJYC-CbIKAxKj.js} +1 -1
- package/dist/operator-ui/assets/{radar-RG4KPBEZ-DlCqXl_Z.js → radar-RG4KPBEZ-B-gdC3sE.js} +1 -1
- package/dist/operator-ui/assets/{railroad-74A4TZTK-Cdcqdtfh.js → railroad-74A4TZTK-CPhKfCOo.js} +1 -1
- package/dist/operator-ui/assets/railroad-abnf-HS5TGJTU-d0JEC-DD.js +1 -0
- package/dist/operator-ui/assets/railroad-ebnf-LZEXJU2U-C6EPurrP.js +1 -0
- package/dist/operator-ui/assets/railroad-peg-WCYAUIDC-oJasS-4i.js +1 -0
- package/dist/operator-ui/assets/{railroadDiagram-O6MQD6OU-o18tSv7S.js → railroadDiagram-O6MQD6OU-DLzKmpVQ.js} +1 -1
- package/dist/operator-ui/assets/{requirementDiagram-BXWQKSXE-BCL-3yAf.js → requirementDiagram-BXWQKSXE-DXVYIbBr.js} +1 -1
- package/dist/operator-ui/assets/{sankeyDiagram-P5KCCOFB-DWvwNYCt.js → sankeyDiagram-P5KCCOFB-n7h6z0_-.js} +1 -1
- package/dist/operator-ui/assets/{sequenceDiagram-WJ2MYXX4-Buu2v73Z.js → sequenceDiagram-WJ2MYXX4--h5c7-SR.js} +1 -1
- package/dist/operator-ui/assets/{stateDiagram-D77RDMKH-LKVb36hR.js → stateDiagram-D77RDMKH-DKMwKjre.js} +1 -1
- package/dist/operator-ui/assets/stateDiagram-v2-MP3YSRHH-BFpB5NXy.js +1 -0
- package/dist/operator-ui/assets/{swimlanes-42K2YHIH-BYLgVzWT.js → swimlanes-42K2YHIH-BDL9jgR-.js} +1 -1
- package/dist/operator-ui/assets/swimlanesDiagram-VR7AAH4N-DokZACZv.js +8 -0
- package/dist/operator-ui/assets/{timeline-definition-24CTP7MA-BrHpuHKd.js → timeline-definition-24CTP7MA-CIQpGoRj.js} +1 -1
- package/dist/operator-ui/assets/{treeView-Q6P3EWNA-iA_cG2uM.js → treeView-Q6P3EWNA-Btq_7U7g.js} +1 -1
- package/dist/operator-ui/assets/{treemap-WGGIJYW6-DTyH2l-M.js → treemap-WGGIJYW6-CW0DP3MN.js} +1 -1
- package/dist/operator-ui/assets/{vennDiagram-4TSXK5OY-CT7xCBgv.js → vennDiagram-4TSXK5OY-CmLMLbIW.js} +1 -1
- package/dist/operator-ui/assets/{wardley-WFR3VGLG-CtDBl8BG.js → wardley-WFR3VGLG-BNXyPxq3.js} +1 -1
- package/dist/operator-ui/assets/{wardleyDiagram-VM6X3IG4-7cFf5iA8.js → wardleyDiagram-VM6X3IG4-CeL-Ktes.js} +1 -1
- package/dist/operator-ui/assets/{xychartDiagram-S5SC5T6Z-ViiHJcVg.js → xychartDiagram-S5SC5T6Z-DPqbR-N1.js} +1 -1
- package/dist/operator-ui/index.html +1 -1
- package/package.json +3 -3
- package/scripts/check-agent-tooling.sh +3 -3
- package/scripts/check-pi-package-smoke.ts +1 -1
- package/scripts/check-release-published.sh +1 -1
- package/scripts/check-state-boundaries.ts +1 -1
- package/scripts/check-tarball-install-smoke.sh +250 -71
- package/scripts/contract-worktree-runtime.ts +20 -5
- package/scripts/create-project-dirs.sh +0 -1
- package/scripts/init-project.sh +1 -2
- package/scripts/lib/ci-run-tests.sh +2 -5
- package/scripts/lib/project-init-lib.sh +1 -601
- package/scripts/project-test-capabilities.ts +1 -1
- package/scripts/report-ci.ts +1 -1
- package/scripts/select-ci-coverage.ts +1 -1
- package/src/cli/commands/adoption-plan.ts +5 -3
- package/src/cli/commands/catch-up-actions.ts +32 -0
- package/src/cli/commands/catch-up.ts +4 -29
- package/src/cli/commands/doc-sessions-actions.ts +89 -0
- package/src/cli/commands/doc-sessions.ts +8 -79
- package/src/cli/commands/doctor.ts +24 -6
- package/src/cli/commands/events-actions.ts +155 -0
- package/src/cli/commands/events.ts +3 -148
- package/src/cli/commands/global-runtime.ts +3 -9
- package/src/cli/commands/herdr-actions.ts +127 -0
- package/src/cli/commands/herdr.ts +8 -145
- package/src/cli/commands/init-hook.ts +22 -3
- package/src/cli/commands/mcp.ts +8 -22
- package/src/cli/commands/operator-actions.ts +157 -0
- package/src/cli/commands/operator.ts +9 -161
- package/src/cli/commands/quota.ts +2 -2
- package/src/cli/commands/review.ts +3 -2
- package/src/cli/commands/seats.ts +3 -3
- package/src/cli/commands/security.ts +14 -3
- package/src/cli/commands/status.ts +4 -3
- package/src/cli/commands/worktrees-actions.ts +106 -0
- package/src/cli/commands/worktrees.ts +4 -104
- package/src/cli/hook-entry.ts +2 -3
- package/src/cli/index.ts +43 -31
- package/src/cli/installer/architecture-selection.ts +14 -8
- package/src/cli/installer/configuration-ownership.ts +2 -7
- package/src/cli/installer/install-profile.ts +21 -9
- package/src/cli/installer/managed-entries.ts +48 -10
- package/src/cli/installer/targets/claude.ts +3 -8
- package/src/cli/mcp/audit.ts +1 -2
- package/src/cli/mcp/cli-actions.ts +31 -0
- package/src/cli/mcp/general-repo-access.ts +2 -4
- package/src/cli/mcp/log-paths.ts +3 -0
- package/src/cli/mcp/reader-tools.ts +1 -1
- package/src/cli/mcp/server.ts +1 -1
- package/src/cli/mcp/tools.ts +1 -1
- package/src/cli/repo-adoption/target.ts +1 -1
- package/src/core/board/advisor-seat.ts +27 -7
- package/src/core/board/attention.ts +6 -3
- package/src/core/board/board.ts +14 -7
- package/src/core/board/desk.ts +16 -5
- package/src/core/board/parents.ts +4 -4
- package/src/core/{operator → board}/seat-launch.ts +1 -1
- package/src/core/board/source.ts +6 -0
- package/src/core/board/summary.ts +1 -1
- package/src/core/ci/test-report.ts +171 -0
- package/src/core/decision/notify-relay-record.ts +5 -0
- package/src/core/dev-activity/architecture.ts +1 -1
- package/src/core/dev-activity/brief.ts +1 -1
- package/src/core/dev-activity/decode.ts +1 -1
- package/src/core/dev-activity/projection.ts +1 -1
- package/src/core/operator/architecture-map.ts +1 -1
- package/src/core/operator/bot-access.ts +1 -1
- package/src/core/operator/doc-session-events.ts +1 -1
- package/src/core/operator/docs.ts +0 -6
- package/src/core/operator/notify-status.ts +0 -5
- package/src/core/operator/runtime-status.ts +1 -1
- package/src/core/operator/slack-review.ts +1 -1
- package/src/core/operator/tests.ts +2 -165
- package/src/core/operator/worktree-cleanup-plan.ts +1 -1
- package/src/core/operator/worktree-cleanup.ts +1 -1
- package/src/core/public-projections/mcp-audit-log.ts +2 -0
- package/src/core/publication/publication-writes.ts +83 -0
- package/src/core/review/operator-console-port.ts +3 -0
- package/src/core/setup/decode.ts +2 -1
- package/src/core/setup/projection.ts +3 -1
- package/src/core/setup/types.ts +1 -0
- package/src/core/skill-surface/plugin-manifest.ts +16 -1
- package/src/core/terminal/hc-address.ts +10 -0
- package/src/effects/adoption/standard-plan.ts +55 -8
- package/src/effects/{operator → board}/claude-agent-types.ts +15 -4
- package/src/effects/board/collect.ts +1 -1
- package/src/effects/{operator → board}/quota.ts +1 -1
- package/src/effects/{operator → board}/seats-configuration.ts +2 -2
- package/src/effects/configuration/agents-configuration.ts +1 -1
- package/src/effects/dev-activity/collector.ts +1 -1
- package/src/effects/git/worktree-record.ts +1 -1
- package/src/effects/operator/agents-settings-route.ts +1 -1
- package/src/effects/operator/architecture-map-worker.ts +1 -1
- package/src/effects/operator/bot-access.ts +4 -5
- package/src/effects/operator/doc-session-finalize-github.ts +21 -114
- package/src/effects/operator/doc-session-finalize.ts +4 -8
- package/src/effects/operator/doc-session.ts +1 -1
- package/src/effects/operator/docs-collector.ts +2 -1
- package/src/effects/operator/herdr-runtime-transport.ts +1 -1
- package/src/effects/operator/runtime-status.ts +8 -3
- package/src/effects/operator/seats-settings-route.ts +2 -2
- package/src/effects/operator/server.ts +14 -13
- package/src/effects/operator/tests-collector.ts +7 -5
- package/src/effects/operator/worktree-cleanup-investigation.ts +2 -2
- package/src/effects/operator/worktree-cleanup-plan.ts +1 -1
- package/src/effects/operator/worktree-cleanup-publish.ts +6 -17
- package/src/effects/operator/worktree-cleanup-route.ts +1 -1
- package/src/effects/operator/worktree-cleanup.ts +1 -1
- package/src/effects/operator/worktree-collector-worker.ts +2 -2
- package/src/effects/operator/worktree-collector.ts +2 -2
- package/src/effects/operator/worktree-orphans-worker.ts +1 -1
- package/src/effects/{setup/pi-capability-child.ts → pi-capability-child.ts} +1 -1
- package/src/effects/{setup/pi-host-probe.ts → pi-host-probe.ts} +1 -1
- package/src/effects/publication/app-hook-config.ts +25 -0
- package/src/effects/publication/draft-pull-request.ts +137 -0
- package/src/effects/publication/new-remote-ref-push.ts +49 -0
- package/src/effects/repo-registry.ts +1 -1
- package/src/effects/review/generic-review.ts +5 -5
- package/src/effects/review-runner/task-oar-host.ts +3 -2
- package/src/effects/review-runner/task-review-runner.ts +3 -2
- package/src/effects/setup/agent-runtime-probe.ts +3 -2
- package/src/effects/setup/collector.ts +1 -1
- package/src/effects/state/coordination-worktree-topology.ts +1 -1
- package/src/effects/terminal/herdr-core.ts +16 -15
- package/src/effects/terminal/native-task-session.ts +1 -1
- package/src/effects/terminal/notify-relay.ts +1 -1
- package/src/effects/terminal/runtime-closeout.ts +346 -0
- package/src/effects/terminal/task-runtime-observation.ts +3 -3
- package/src/effects/terminal/task-session.ts +9 -339
- package/src/operator-web/App.tsx +1 -1
- package/src/operator-web/BoardOffice.tsx +13 -8
- package/src/operator-web/BoardPage.tsx +1 -1
- package/src/operator-web/BotsPage.tsx +2 -1
- package/src/operator-web/CleanupPlanReview.tsx +1 -1
- package/src/operator-web/OfficeSetupChecklist.tsx +1 -1
- package/src/operator-web/SeatsPage.tsx +2 -2
- package/src/operator-web/SettingsPage.tsx +1 -1
- package/src/operator-web/SetupPages.tsx +1 -1
- package/src/operator-web/TestsPage.tsx +4 -2
- package/src/operator-web/WorktreesPage.tsx +1 -1
- package/src/operator-web/board-office.ts +16 -7
- package/src/operator-web/fixtures/board-1474.json +5 -1
- package/src/operator-web/fixtures/board-parents.json +4 -1
- package/src/operator-web/fixtures/bots.ts +1 -1
- package/src/operator-web/fixtures/index.ts +1 -1
- package/src/operator-web/fixtures/office.ts +9 -9
- package/src/operator-web/fixtures/quota.ts +1 -1
- package/src/operator-web/fixtures/settings.ts +2 -2
- package/src/operator-web/fixtures/setup.ts +4 -4
- package/src/operator-web/fixtures/tests.ts +4 -2
- package/src/operator-web/fixtures/worktrees.ts +2 -2
- package/src/operator-web/i18n/board.ts +22 -0
- package/src/operator-web/office-scene.ts +20 -7
- package/src/operator-web/quota.ts +1 -1
- package/src/operator-web/seats.ts +1 -1
- package/src/operator-web/settings.ts +1 -1
- package/src/operator-web/worktrees.ts +1 -1
- package/src/pi/compat.ts +3 -3
- package/dist/operator-ui/assets/architecture-7GRP2DOG-C3-dzieP.js +0 -1
- package/dist/operator-ui/assets/channel-VAagQT6R.js +0 -1
- package/dist/operator-ui/assets/classDiagram-ZZMXUADV-BNHmUR-f.js +0 -1
- package/dist/operator-ui/assets/classDiagram-v2-VYDZK3BY-BNHmUR-f.js +0 -1
- package/dist/operator-ui/assets/eventmodeling-NTZA5JFV-DBJglxYN.js +0 -1
- package/dist/operator-ui/assets/flowDiagram-HODETNUW-mBiUg7be.js +0 -1
- package/dist/operator-ui/assets/railroad-abnf-HS5TGJTU-CVMqYuCA.js +0 -1
- package/dist/operator-ui/assets/railroad-ebnf-LZEXJU2U-peNw10FQ.js +0 -1
- package/dist/operator-ui/assets/railroad-peg-WCYAUIDC-BOPKzI_N.js +0 -1
- package/dist/operator-ui/assets/stateDiagram-v2-MP3YSRHH-Bg61-LYM.js +0 -1
- package/dist/operator-ui/assets/swimlanesDiagram-VR7AAH4N-B8JpT1nz.js +0 -8
- package/src/effects/terminal/herdr.ts +0 -69
- package/src/effects/terminal/task-worktree-runtime.ts +0 -27
- /package/src/cli/{mcp/codegraph-adapter.ts → tools/codegraph-reader.ts} +0 -0
- /package/src/core/{operator → board}/agents-settings.ts +0 -0
- /package/src/core/{operator → board}/quota.ts +0 -0
- /package/src/core/{operator → board}/seats-settings.ts +0 -0
- /package/src/core/{operator → public-projections}/public-text.ts +0 -0
- /package/src/core/{operator → public-projections}/worktrees.ts +0 -0
- /package/src/core/{operator → terminal}/herdr-core-pin.json +0 -0
- /package/src/core/{operator → terminal}/herdr-pin.ts +0 -0
- /package/src/core/{operator → terminal}/pane-prefix.ts +0 -0
package/README.md
CHANGED
|
@@ -194,13 +194,13 @@ sequenceDiagram
|
|
|
194
194
|
| Run a workflow helper | `repo-harness run <helper>` |
|
|
195
195
|
| Board for a parent issue | `repo-harness board --parent <n> --json` |
|
|
196
196
|
| List open parent issues | `repo-harness board parents --json` |
|
|
197
|
-
| Open the local console | `repo-harness operator serve` |
|
|
198
|
-
| Clean up finished worktrees | `repo-harness worktrees list` → `repo-harness worktrees clean --ids … --expected-digest …` |
|
|
197
|
+
| Open the local console (needs the `operator` plugin: `repo-harness install --plugins <your plugins>,operator`) | `repo-harness operator serve` |
|
|
198
|
+
| Clean up finished worktrees (needs the `operator` plugin) | `repo-harness worktrees list` → `repo-harness worktrees clean --ids … --expected-digest …` |
|
|
199
199
|
| Architecture facts / review prompt | `repo-harness module list --json` · `repo-harness module review-prompt <capability> --json` |
|
|
200
200
|
| Refactor suggestions | `repo-harness refactor recommendations` · `repo-harness refactor decide <id> accept\|defer\|reject --reason "…"` |
|
|
201
201
|
| Acceptance review | `repo-harness review round\|status\|close …` ([details](docs/usage.md#persistent-acceptance-review)) |
|
|
202
202
|
| Merge an accepted PR | `repo-harness publication merge` ([policy](docs/control-bot-boundary.md#bot-modes-and-merge)) |
|
|
203
|
-
| MCP sidecar | `repo-harness mcp serve --repo . --profile planner` · `repo-harness mcp doctor --repo .` |
|
|
203
|
+
| MCP sidecar (needs the `mcp` plugin: `repo-harness install --plugins <your plugins>,mcp`) | `repo-harness mcp serve --repo . --profile planner` · `repo-harness mcp doctor --repo .` |
|
|
204
204
|
| Reference docs | `repo-harness docs list` · `repo-harness docs show harness-overview` |
|
|
205
205
|
| Remove leftovers / uninstall | `repo-harness upgrade [--apply]` · `repo-harness uninstall --dry-run` |
|
|
206
206
|
|
|
@@ -237,7 +237,8 @@ flowchart LR
|
|
|
237
237
|
|
|
238
238
|
`repo-harness operator serve` starts a local web board on loopback only. It
|
|
239
239
|
shows what needs you, what to continue, stage counts and today's merges across
|
|
240
|
-
every registered repository.
|
|
240
|
+
every registered repository. It needs the `operator` plugin, which an `all`
|
|
241
|
+
selection includes.
|
|
241
242
|
|
|
242
243
|
<img src="docs/images/operator-console/console-home.png" alt="repo-harness operator console home page with Needs you, Continue, Stages and Today panels" width="900">
|
|
243
244
|
|
|
@@ -330,6 +331,6 @@ None of these are bundled dependencies; see
|
|
|
330
331
|
|
|
331
332
|
## Release & license
|
|
332
333
|
|
|
333
|
-
- npm: `repo-harness@0.26.
|
|
334
|
+
- npm: `repo-harness@0.26.6` · workflow stamp `repo-harness@0.26.6+template@0.26.6`
|
|
334
335
|
- History: [`docs/CHANGELOG.md`](docs/CHANGELOG.md)
|
|
335
336
|
- License: MIT — see [`LICENSE`](LICENSE)
|
|
@@ -285,7 +285,7 @@ boundary explicit:
|
|
|
285
285
|
|
|
286
286
|
| Capability | Owner | Required for |
|
|
287
287
|
|---|---|---|
|
|
288
|
-
| `herdr_core` (`hc`) | user tool; `repo-harness install` and `update` install a missing hc from the pin | required, at least the version pinned in the package file `src/core/
|
|
288
|
+
| `herdr_core` (`hc`) | user tool; `repo-harness install` and `update` install a missing hc from the pin | required, at least the version pinned in the package file `src/core/terminal/herdr-core-pin.json`; persistent agent terminals, task sessions, review hosting and the notify relay |
|
|
289
289
|
| `bun` | repo-harness | repo-harness-owned global installs, local dependency install, tests, and runtime execution |
|
|
290
290
|
| `bash` | repo-harness | helper scripts, migration, setup checks, and contract verification wrappers; Git-for-Windows Bash is the Windows platform contract |
|
|
291
291
|
| `npm` | npm registry | registry readbacks, publish gates, and opt-in update checks; not repo-harness-owned global install repair |
|
|
@@ -293,7 +293,7 @@ boundary explicit:
|
|
|
293
293
|
| `rsync` | platform filesystem | installed-copy runtime mirroring |
|
|
294
294
|
| `symlink` | platform filesystem | link-mode aliases; copy mode is the fallback |
|
|
295
295
|
|
|
296
|
-
The package file `src/core/
|
|
296
|
+
The package file `src/core/terminal/herdr-core-pin.json` is the single herdr pin.
|
|
297
297
|
The release owns it, because the floor protects the package's hc client code: a
|
|
298
298
|
global install, a local install and a source checkout each read the pin of their
|
|
299
299
|
own code. The file owns the `min_version` floor and the checksum-verified
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Herdr dispatch and notify
|
|
2
2
|
|
|
3
|
+
`repo-harness herdr`, `events`, and `review round|status|close|cancel` need
|
|
4
|
+
`peer-runtime` in the recorded plugin set. Their help stays open. An absent
|
|
5
|
+
plugin exits 1 with empty stdout and `install_plugin_unavailable` before any
|
|
6
|
+
prompt, credential read or process start. Run the printed repair: for `all`,
|
|
7
|
+
`repo-harness update`; for an explicit list, add `peer-runtime` with
|
|
8
|
+
`repo-harness install --plugins <your plugins>,peer-runtime`. No migration runs.
|
|
9
|
+
The plugin is available on every target; its portal skill installs on Claude
|
|
10
|
+
only. `hc`, the Herdr skill, fleet files, worktree closeout and doctor stay in
|
|
11
|
+
core. The hidden Operator cleanup-investigation job also needs `peer-runtime`;
|
|
12
|
+
the server records `host_failed` when the guard refuses that child.
|
|
13
|
+
|
|
3
14
|
## Herdr Dispatch
|
|
4
15
|
|
|
5
16
|
- Claude, Codex and Pi peers run in herdr-core terminals that Herdr.app shows as panes. Start them with `herdr-app do` and talk to them with `hc` ([Runtime commands](#runtime-commands)). Receipt-bearing acceptance uses `repo-harness review round`; its OAR host runs the reviewer. Select Pi with `--harness pi`. Never call a vendor CLI directly for acceptance.
|
|
@@ -158,9 +158,16 @@ marks a capture older than 30 minutes `unknown`.
|
|
|
158
158
|
`~/.claude/settings.json` has no `statusLine`:
|
|
159
159
|
|
|
160
160
|
```json
|
|
161
|
-
"statusLine": { "type": "command", "command": ": repo-harness-managed-hook-v1; exec repo-harness-
|
|
161
|
+
"statusLine": { "type": "command", "command": ": repo-harness-managed-hook-v1; exec '/absolute/path/to/bun' '/absolute/bun/install/global/node_modules/repo-harness/dist/hook-entry.js' statusline" }
|
|
162
162
|
```
|
|
163
163
|
|
|
164
|
+
Install resolves the Bun runtime from `process.execPath` and the bundle from
|
|
165
|
+
`<bunGlobalPackageRoot(env)>/dist/hook-entry.js`. It quotes both absolute paths.
|
|
166
|
+
The bundle comes from the global install, including when install runs through
|
|
167
|
+
`bunx` or a task worktree. A missing global bundle stops installation before
|
|
168
|
+
host configuration writes. Repair it with `bun add -g repo-harness`, then rerun
|
|
169
|
+
`repo-harness install --location global`.
|
|
170
|
+
|
|
164
171
|
The managed tag is the ownership proof, as for the managed hook commands.
|
|
165
172
|
Install refreshes the entry only while its command has the tag, and uninstall
|
|
166
173
|
removes it only then. A user edit removes the tag, so the entry is then the
|
|
@@ -38,7 +38,7 @@ Run the gates in this order. Stop with the failure code. Do not repair a gate.
|
|
|
38
38
|
| CLI | `claude --version` ≥ 2.1.224 | `claude_cli_too_old` |
|
|
39
39
|
| Caller | `HC_TERMINAL_ID` is not set | `portal_inside_hc` |
|
|
40
40
|
| Herdr.app | `herdr-app status` reports a running window | `herdr_app_down` |
|
|
41
|
-
| hc version | `runtime.herdr_core.status` of `repo-harness setup check --json` is `present` (`hc --version` ≥ `min_version` of the installed package's `src/core/
|
|
41
|
+
| hc version | `runtime.herdr_core.status` of `repo-harness setup check --json` is `present` (`hc --version` ≥ `min_version` of the installed package's `src/core/terminal/herdr-core-pin.json`) | `hc_too_old` |
|
|
42
42
|
| hc core | `hc server status --json` exits 0 and prints a `version` | `hc_unreachable` |
|
|
43
43
|
| cwd | `realpath` under `/private/tmp/`, and it is the worktree top level | `cwd_outside_tmp`, `cwd_not_worktree` |
|
|
44
44
|
|
package/dist/hook-entry.js
CHANGED
|
@@ -2555,10 +2555,10 @@ function createFileExclusiveDurably(path, content, mode = 384) {
|
|
|
2555
2555
|
var init_atomic_append = () => {};
|
|
2556
2556
|
|
|
2557
2557
|
// package.json
|
|
2558
|
-
var version = "0.26.
|
|
2558
|
+
var version = "0.26.6", dependencies;
|
|
2559
2559
|
var init_package = __esm(() => {
|
|
2560
2560
|
dependencies = {
|
|
2561
|
-
"@botiverse/oar": "0.
|
|
2561
|
+
"@botiverse/oar": "0.91.0",
|
|
2562
2562
|
"@modelcontextprotocol/sdk": "^1.31.0",
|
|
2563
2563
|
archctx: "0.11.3",
|
|
2564
2564
|
"archctx-contracts": "0.11.3",
|
|
@@ -7640,7 +7640,7 @@ var init_state_snapshot = __esm(() => {
|
|
|
7640
7640
|
init_resolve_effective_state();
|
|
7641
7641
|
});
|
|
7642
7642
|
|
|
7643
|
-
// src/core/
|
|
7643
|
+
// src/core/board/quota.ts
|
|
7644
7644
|
function record4(value) {
|
|
7645
7645
|
return value && typeof value === "object" && !Array.isArray(value) ? value : null;
|
|
7646
7646
|
}
|
|
@@ -7687,7 +7687,7 @@ var init_quota = __esm(() => {
|
|
|
7687
7687
|
ISO_UTC = /^\d{4}-\d\d-\d\dT\d\d:\d\d:\d\d(\.\d{1,3})?Z$/;
|
|
7688
7688
|
});
|
|
7689
7689
|
|
|
7690
|
-
// src/effects/
|
|
7690
|
+
// src/effects/board/quota.ts
|
|
7691
7691
|
import { randomUUID as randomUUID4 } from "crypto";
|
|
7692
7692
|
import { mkdirSync as mkdirSync11, readFileSync as readFileSync17, renameSync as renameSync8, rmSync as rmSync5, writeFileSync as writeFileSync11 } from "fs";
|
|
7693
7693
|
import { homedir as homedir3 } from "os";
|
|
@@ -10516,6 +10516,8 @@ init_contracts();
|
|
|
10516
10516
|
var PLUGIN_IDS = [
|
|
10517
10517
|
"architecture",
|
|
10518
10518
|
"cross-review",
|
|
10519
|
+
"mcp",
|
|
10520
|
+
"operator",
|
|
10519
10521
|
"peer-runtime",
|
|
10520
10522
|
"pi",
|
|
10521
10523
|
"platform",
|
|
@@ -10526,6 +10528,7 @@ var SURFACE_OWNERS = ["core", ...PLUGIN_IDS];
|
|
|
10526
10528
|
function isPluginId(value) {
|
|
10527
10529
|
return typeof value === "string" && PLUGIN_IDS.includes(value);
|
|
10528
10530
|
}
|
|
10531
|
+
var UPDATE_COMMAND = "repo-harness update";
|
|
10529
10532
|
function installSelectionCommand(selection) {
|
|
10530
10533
|
if (selection === "all")
|
|
10531
10534
|
return "repo-harness install";
|
|
@@ -10650,7 +10653,7 @@ function readRecordedInstallState(env = process.env) {
|
|
|
10650
10653
|
function readRecordedSelection(env = process.env) {
|
|
10651
10654
|
try {
|
|
10652
10655
|
const state = readRecordedInstallState(env);
|
|
10653
|
-
return state === null ? { status: "none" } : { status: "recorded", plugins: enabledPlugins(state) };
|
|
10656
|
+
return state === null ? { status: "none" } : { status: "recorded", selection: state.selection, plugins: enabledPlugins(state) };
|
|
10654
10657
|
} catch (error) {
|
|
10655
10658
|
if (error instanceof InstallStateError)
|
|
10656
10659
|
return { status: "unreadable", error };
|
|
@@ -10660,11 +10663,15 @@ function readRecordedSelection(env = process.env) {
|
|
|
10660
10663
|
function pluginSelected(selection, id) {
|
|
10661
10664
|
return selection.status === "recorded" && selection.plugins.includes(id);
|
|
10662
10665
|
}
|
|
10663
|
-
function pluginRepair(added,
|
|
10664
|
-
|
|
10666
|
+
function pluginRepair(added, selection) {
|
|
10667
|
+
if (selection === null)
|
|
10668
|
+
return installSelectionCommand("all");
|
|
10669
|
+
if (selection === "all")
|
|
10670
|
+
return UPDATE_COMMAND;
|
|
10671
|
+
return installSelectionCommand(PLUGIN_IDS.filter((id) => selection.includes(id) || id === added));
|
|
10665
10672
|
}
|
|
10666
10673
|
function notSelectedMessage(selection, id) {
|
|
10667
|
-
return `the ${id} plugin is not selected; run: ${pluginRepair(id, selection.status === "recorded" ? selection.
|
|
10674
|
+
return `the ${id} plugin is not selected; run: ${pluginRepair(id, selection.status === "recorded" ? selection.selection : null)}`;
|
|
10668
10675
|
}
|
|
10669
10676
|
function architectureSelectionReport(selection) {
|
|
10670
10677
|
if (pluginSelected(selection, "architecture"))
|
package/dist/oar-review-host.js
CHANGED
|
@@ -1255,6 +1255,7 @@ var failureClasses = {
|
|
|
1255
1255
|
unknown: true
|
|
1256
1256
|
};
|
|
1257
1257
|
var rejectionCodes = {
|
|
1258
|
+
aborted: true,
|
|
1258
1259
|
busy: true,
|
|
1259
1260
|
no_active_turn: true,
|
|
1260
1261
|
not_queued: true,
|
|
@@ -1399,8 +1400,8 @@ async function promptWithOarObservation(session, kind, request, host, input, opt
|
|
|
1399
1400
|
const run = await promptAndWait(session, input, { ...options, inputId: request.request_id });
|
|
1400
1401
|
snapshot.control = run.result.kind;
|
|
1401
1402
|
snapshot.rejection = run.kind === "rejected" ? run.code : null;
|
|
1402
|
-
snapshot.outcome = run.kind
|
|
1403
|
-
snapshot.failure = run.kind !== "rejected" && run.outcome.kind === "failed" ? run.outcome.failure : null;
|
|
1403
|
+
snapshot.outcome = run.kind !== "rejected" && run.kind !== "handled" ? run.outcome.kind : null;
|
|
1404
|
+
snapshot.failure = run.kind !== "rejected" && run.kind !== "handled" && run.outcome.kind === "failed" ? run.outcome.failure : null;
|
|
1404
1405
|
snapshot.actual_model = oarActualModel(kind, session);
|
|
1405
1406
|
return run;
|
|
1406
1407
|
} finally {
|
|
@@ -1517,12 +1518,12 @@ ${inbox}`, { ...request, host: started.provider }, (snapshot) => {
|
|
|
1517
1518
|
observation: snapshot
|
|
1518
1519
|
});
|
|
1519
1520
|
}, spec.timeoutMs);
|
|
1520
|
-
if (run.kind !== "rejected" && run.outcome.kind === "failed" && run.outcome.failure === "auth")
|
|
1521
|
+
if (run.kind !== "rejected" && run.kind !== "handled" && run.outcome.kind === "failed" && run.outcome.failure === "auth")
|
|
1521
1522
|
throw new Error("OAR_REVIEW_AUTH_STOP");
|
|
1522
1523
|
const observation = {
|
|
1523
1524
|
request_id: request.request_id,
|
|
1524
1525
|
kind: run.kind,
|
|
1525
|
-
outcome: run.kind
|
|
1526
|
+
outcome: run.kind !== "rejected" && run.kind !== "handled" ? run.outcome.kind : null,
|
|
1526
1527
|
actual_model: host.model(spec.kind)
|
|
1527
1528
|
};
|
|
1528
1529
|
writeSessionArtifact(join6(spec.controlDirectory, `observed-${request.round}.json`), observation);
|