repo-harness 0.26.3 → 0.26.5
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 +1 -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 -13
- package/dist/oar-review-host.js +7 -3
- package/dist/operator-ui/assets/{ArchitectureWorkspace-BJLMwwwu.js → ArchitectureWorkspace-MI67sbfJ.js} +3 -3
- package/dist/operator-ui/assets/{DocsPage-BAem0F5h.js → DocsPage-DXsq7ksr.js} +4 -4
- package/dist/operator-ui/assets/{abnfDiagram-VCTEODGH-Dyr4sdlM.js → abnfDiagram-VCTEODGH-Du4Qptlr.js} +1 -1
- package/dist/operator-ui/assets/architecture-7GRP2DOG-DDLdiURO.js +1 -0
- package/dist/operator-ui/assets/{architectureDiagram-5GKGNRK7-BVOn1xdC.js → architectureDiagram-5GKGNRK7-DiMthM0w.js} +1 -1
- package/dist/operator-ui/assets/{blockDiagram-I7D4REHJ-CYCnQchz.js → blockDiagram-I7D4REHJ-D_QqPUr7.js} +1 -1
- package/dist/operator-ui/assets/{c4Diagram-7LVT6UL2-tBRTZ8bn.js → c4Diagram-7LVT6UL2-pj_bu4Nh.js} +1 -1
- package/dist/operator-ui/assets/channel-EdTftRwl.js +1 -0
- package/dist/operator-ui/assets/{chunk-4HAMMTFA-U1sQ4fGk.js → chunk-4HAMMTFA-xtIZzskX.js} +1 -1
- package/dist/operator-ui/assets/{chunk-75Z2AOVW-Cm6Cutfd.js → chunk-75Z2AOVW-Bzfo0VHT.js} +1 -1
- package/dist/operator-ui/assets/{chunk-DU6HZSFF-BahExaI8.js → chunk-DU6HZSFF-CfBOd2gP.js} +1 -1
- package/dist/operator-ui/assets/{chunk-F27PBJKO-DOc-GQcR.js → chunk-F27PBJKO-Cieq95Sy.js} +1 -1
- package/dist/operator-ui/assets/{chunk-GMAD6QVW-DiYND0jw.js → chunk-GMAD6QVW-dV76sYzG.js} +1 -1
- package/dist/operator-ui/assets/{chunk-GVQU2GXP-EimH5iR6.js → chunk-GVQU2GXP-DqJfKzYX.js} +1 -1
- package/dist/operator-ui/assets/{chunk-IMKFNOWR-CrbtSxFs.js → chunk-IMKFNOWR-BLEt4XiE.js} +1 -1
- package/dist/operator-ui/assets/{chunk-L3NEJ4N5-DL0X2Q7E.js → chunk-L3NEJ4N5-C1TuP2gY.js} +1 -1
- package/dist/operator-ui/assets/{chunk-OSK3NFVY-Cn3DTwA1.js → chunk-OSK3NFVY-04DOmJKL.js} +1 -1
- package/dist/operator-ui/assets/{chunk-P2QGCYS3-Ct-oXacm.js → chunk-P2QGCYS3-Ch9B4-1u.js} +1 -1
- package/dist/operator-ui/assets/{chunk-POPQ4Y6H-C2TlPhWK.js → chunk-POPQ4Y6H-DUoQ4ozJ.js} +1 -1
- package/dist/operator-ui/assets/{chunk-PWAF6VOD-Bk6Mg3hv.js → chunk-PWAF6VOD-BXK8Z81N.js} +1 -1
- package/dist/operator-ui/assets/{chunk-SHT3W25Y-x2CRBvcZ.js → chunk-SHT3W25Y-CVa8q6ek.js} +1 -1
- package/dist/operator-ui/assets/{chunk-SVP7TREG-BeuDgCWd.js → chunk-SVP7TREG-CGGZ6y5s.js} +1 -1
- package/dist/operator-ui/assets/{chunk-TICWLB2K-GQj9mahC.js → chunk-TICWLB2K-BH1pgrbg.js} +1 -1
- package/dist/operator-ui/assets/classDiagram-ZZMXUADV-CUXZx1Vw.js +1 -0
- package/dist/operator-ui/assets/classDiagram-v2-VYDZK3BY-CUXZx1Vw.js +1 -0
- package/dist/operator-ui/assets/{cynefin-OW5HDTMX-D5N3kPuw.js → cynefin-OW5HDTMX-lm799lgu.js} +1 -1
- package/dist/operator-ui/assets/{cynefinDiagram-5FMLGOSQ-bNiz-YLr.js → cynefinDiagram-5FMLGOSQ-DcyIvKnj.js} +1 -1
- package/dist/operator-ui/assets/{dagre-GXQ25YYZ-D9iISwZ6.js → dagre-GXQ25YYZ-bRL4S7AL.js} +1 -1
- package/dist/operator-ui/assets/{diagram-S7CK7UJ4-Hl3jMGo0.js → diagram-S7CK7UJ4-CyYH5boW.js} +1 -1
- package/dist/operator-ui/assets/{diagram-UQ7AKVKN-Cj95OAs3.js → diagram-UQ7AKVKN-DRnugtrH.js} +1 -1
- package/dist/operator-ui/assets/{diagram-VSXAHHWV-DtbKpgFx.js → diagram-VSXAHHWV-2yZScVoc.js} +1 -1
- package/dist/operator-ui/assets/{diagram-VX7I27RA-BalNfaGY.js → diagram-VX7I27RA-MR2zXJL1.js} +1 -1
- package/dist/operator-ui/assets/{diagram-Z3DM3KII-gP2oeGhN.js → diagram-Z3DM3KII-vHNWHp-b.js} +1 -1
- package/dist/operator-ui/assets/{ebnfDiagram-PWID7BFC-Bbq-Sfuc.js → ebnfDiagram-PWID7BFC-TKyEWOyO.js} +1 -1
- package/dist/operator-ui/assets/{erDiagram-RLTQ6QDP-6LoQ9TsT.js → erDiagram-RLTQ6QDP-De_iHG1O.js} +1 -1
- package/dist/operator-ui/assets/eventmodeling-NTZA5JFV-B98h4u3B.js +1 -0
- package/dist/operator-ui/assets/flowDiagram-HODETNUW-D0E7KaF5.js +1 -0
- package/dist/operator-ui/assets/{ganttDiagram-EL5Y4UJY-DThJVNgk.js → ganttDiagram-EL5Y4UJY-Di7nGDCD.js} +1 -1
- package/dist/operator-ui/assets/{gitGraph-4MIJSDKK-BEbdxsjA.js → gitGraph-4MIJSDKK-Cw2GFgKj.js} +1 -1
- package/dist/operator-ui/assets/{gitGraphDiagram-WWUBYQGX-BlqYE0r2.js → gitGraphDiagram-WWUBYQGX-CgQatyhO.js} +1 -1
- package/dist/operator-ui/assets/index-D68hqwj8.js +32 -0
- package/dist/operator-ui/assets/index-DMe4MpLH.css +1 -0
- package/dist/operator-ui/assets/{info-A6RAGUB7-EXIL9gV2.js → info-A6RAGUB7-DzNzoaIn.js} +1 -1
- package/dist/operator-ui/assets/{infoDiagram-27XIBGKW-CBSeRBXK.js → infoDiagram-27XIBGKW-adi3SvmF.js} +1 -1
- package/dist/operator-ui/assets/{ishikawaDiagram-5VMMS53U-NvMRRfvW.js → ishikawaDiagram-5VMMS53U-Da3Dnf0N.js} +1 -1
- package/dist/operator-ui/assets/{journeyDiagram-3NMN7TZE-CBlqwiRk.js → journeyDiagram-3NMN7TZE-YOPJowfS.js} +1 -1
- package/dist/operator-ui/assets/{kanban-definition-UXKFOSKX-uASyElU9.js → kanban-definition-UXKFOSKX-CQibnj3V.js} +1 -1
- package/dist/operator-ui/assets/{line-BzivMInp.js → line-BJ_prgs5.js} +1 -1
- package/dist/operator-ui/assets/{mermaid-parser.core-D9xnPdig.js → mermaid-parser.core-CVtuUAl1.js} +3 -3
- package/dist/operator-ui/assets/{mermaid.core-BsO0lPIB.js → mermaid.core-CUo84mNY.js} +4 -4
- package/dist/operator-ui/assets/{mindmap-definition-YA3MSWOX-BAJsUq2_.js → mindmap-definition-YA3MSWOX-Bla7EjkG.js} +1 -1
- package/dist/operator-ui/assets/{packet-AYTQ26CC-DM5LhC2h.js → packet-AYTQ26CC-C3WOhu-H.js} +1 -1
- package/dist/operator-ui/assets/{pegDiagram-XKGWAZYB-BIt-LSWP.js → pegDiagram-XKGWAZYB-QqctIBnz.js} +1 -1
- package/dist/operator-ui/assets/{pie-WAS4IAKB-DMS1qiHo.js → pie-WAS4IAKB-C_KpF3n5.js} +1 -1
- package/dist/operator-ui/assets/{pieDiagram-E7YTZNPT-CY2-9KYv.js → pieDiagram-E7YTZNPT-DIR4CkgL.js} +1 -1
- package/dist/operator-ui/assets/{quadrantDiagram-AXDQQJYC-D_DfRTil.js → quadrantDiagram-AXDQQJYC-ElbTkAxO.js} +1 -1
- package/dist/operator-ui/assets/{radar-RG4KPBEZ-DRjm6dfI.js → radar-RG4KPBEZ-CCsk9Y_6.js} +1 -1
- package/dist/operator-ui/assets/{railroad-74A4TZTK-Bzvne_Z4.js → railroad-74A4TZTK-DuZi_c43.js} +1 -1
- package/dist/operator-ui/assets/railroad-abnf-HS5TGJTU-CADr6Cfa.js +1 -0
- package/dist/operator-ui/assets/railroad-ebnf-LZEXJU2U-CquXxbT1.js +1 -0
- package/dist/operator-ui/assets/railroad-peg-WCYAUIDC-CVM2y0el.js +1 -0
- package/dist/operator-ui/assets/{railroadDiagram-O6MQD6OU-E77pJ_Ag.js → railroadDiagram-O6MQD6OU-iU4HU0w7.js} +1 -1
- package/dist/operator-ui/assets/{requirementDiagram-BXWQKSXE-jfYrLp9W.js → requirementDiagram-BXWQKSXE-BlbfNq-y.js} +1 -1
- package/dist/operator-ui/assets/{sankeyDiagram-P5KCCOFB-B_ZeRdBX.js → sankeyDiagram-P5KCCOFB-jsIDIGSQ.js} +1 -1
- package/dist/operator-ui/assets/{sequenceDiagram-WJ2MYXX4-B8DpvM6M.js → sequenceDiagram-WJ2MYXX4-DYUYs68X.js} +1 -1
- package/dist/operator-ui/assets/{stateDiagram-D77RDMKH-DLkZWkGE.js → stateDiagram-D77RDMKH-DwUSx-Cr.js} +1 -1
- package/dist/operator-ui/assets/stateDiagram-v2-MP3YSRHH-Bnciowwt.js +1 -0
- package/dist/operator-ui/assets/{swimlanes-42K2YHIH-D1Wes7OV.js → swimlanes-42K2YHIH-DUxSnyH8.js} +1 -1
- package/dist/operator-ui/assets/swimlanesDiagram-VR7AAH4N-BUXVnUoD.js +8 -0
- package/dist/operator-ui/assets/{timeline-definition-24CTP7MA-sdeEqDNL.js → timeline-definition-24CTP7MA-CcMwI1LW.js} +1 -1
- package/dist/operator-ui/assets/{treeView-Q6P3EWNA-DNSlVZaT.js → treeView-Q6P3EWNA-DBtbVup8.js} +1 -1
- package/dist/operator-ui/assets/{treemap-WGGIJYW6-BJ4AVJL7.js → treemap-WGGIJYW6-B4wdkJ-s.js} +1 -1
- package/dist/operator-ui/assets/{vennDiagram-4TSXK5OY-Hpteml99.js → vennDiagram-4TSXK5OY-Ch-g-ngd.js} +1 -1
- package/dist/operator-ui/assets/{wardley-WFR3VGLG-oJTKutI_.js → wardley-WFR3VGLG-DyY3tyw-.js} +1 -1
- package/dist/operator-ui/assets/{wardleyDiagram-VM6X3IG4-BeUqBqFf.js → wardleyDiagram-VM6X3IG4-2xKWsc63.js} +1 -1
- package/dist/operator-ui/assets/{xychartDiagram-S5SC5T6Z-DS2cbxqc.js → xychartDiagram-S5SC5T6Z-BUc2TE0l.js} +1 -1
- package/dist/operator-ui/index.html +2 -2
- 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 +185 -68
- package/scripts/merge-gate.ts +11 -4
- 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 +1 -1
- package/src/cli/commands/global-runtime.ts +1 -1
- package/src/cli/commands/herdr.ts +1 -1
- package/src/cli/commands/init-hook.ts +18 -1
- package/src/cli/commands/mcp.ts +8 -22
- package/src/cli/commands/operator-actions.ts +157 -0
- package/src/cli/commands/operator.ts +7 -159
- package/src/cli/commands/quota.ts +2 -2
- package/src/cli/commands/seats.ts +5 -4
- package/src/cli/commands/strategy-actions.ts +42 -0
- package/src/cli/commands/strategy.ts +9 -26
- 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 +38 -30
- package/src/cli/installer/architecture-selection.ts +14 -14
- package/src/cli/installer/configuration-ownership.ts +2 -7
- package/src/cli/installer/install-profile.ts +14 -2
- 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/redaction.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 +85 -12
- package/src/core/board/attention.ts +1 -1
- package/src/core/board/board.ts +38 -6
- package/src/core/board/desk.ts +76 -0
- package/src/core/board/parents.ts +6 -5
- package/src/core/board/pull-requests.ts +12 -0
- package/src/core/{operator → board}/seat-launch.ts +3 -2
- package/src/core/{operator → board}/seats-settings.ts +16 -1
- package/src/core/board/source.ts +6 -0
- package/src/core/board/summary.ts +157 -0
- 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/agent-config.ts +3 -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 +65 -0
- package/src/core/review/operator-console-port.ts +4 -0
- package/src/core/review/runner-port.ts +2 -0
- package/src/core/security/secret-patterns.ts +43 -7
- package/src/core/skill-surface/plugin-manifest.ts +13 -1
- package/src/effects/adoption/standard-plan.ts +49 -4
- package/src/effects/board/collect.ts +46 -7
- package/src/effects/board/parents.ts +6 -4
- package/src/effects/{operator → board}/quota.ts +1 -1
- package/src/effects/{operator → board}/seats-configuration.ts +8 -4
- 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/advisor-seat-route.ts +137 -18
- package/src/effects/operator/agents-settings-route.ts +1 -1
- package/src/effects/operator/architecture-map-worker.ts +1 -1
- package/src/effects/operator/board-summary.ts +51 -0
- 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 +1 -1
- package/src/effects/operator/seats-settings-route.ts +3 -2
- package/src/effects/operator/server.ts +42 -16
- 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/operator/write-audit.ts +15 -7
- package/src/effects/operator/write-run.ts +3 -2
- 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/process-group-registry.ts +5 -1
- 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 +9 -7
- package/src/effects/review/review-isolation.ts +47 -12
- 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 +5 -2
- package/src/effects/terminal/native-task-session.ts +1 -1
- package/src/effects/terminal/notify-relay.ts +1 -1
- package/src/effects/terminal/task-runtime-observation.ts +1 -1
- package/src/operator-web/App.tsx +39 -15
- package/src/operator-web/BoardOffice.tsx +535 -190
- package/src/operator-web/BoardPage.tsx +146 -36
- package/src/operator-web/BotsPage.tsx +2 -1
- package/src/operator-web/CleanupPlanReview.tsx +45 -17
- package/src/operator-web/NavRail.tsx +2 -3
- package/src/operator-web/OfficeAdvisorDialog.tsx +184 -0
- package/src/operator-web/OfficeSetupChecklist.tsx +248 -0
- package/src/operator-web/SeatsPage.tsx +3 -3
- package/src/operator-web/SettingsPage.tsx +3 -1
- package/src/operator-web/SetupPages.tsx +14 -9
- package/src/operator-web/TaskDrawer.tsx +2 -1
- package/src/operator-web/TestsPage.tsx +4 -2
- package/src/operator-web/WorktreesPage.tsx +13 -10
- package/src/operator-web/board-office.css +162 -131
- package/src/operator-web/board-office.ts +289 -109
- package/src/operator-web/board-view.ts +1 -11
- package/src/operator-web/bots.ts +1 -1
- package/src/operator-web/fixtures/board-1474.json +6 -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 +17 -2
- package/src/operator-web/fixtures/office.ts +312 -0
- package/src/operator-web/fixtures/quota.ts +1 -1
- package/src/operator-web/fixtures/settings.ts +2 -2
- 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 +446 -38
- package/src/operator-web/i18n/settings.ts +0 -4
- package/src/operator-web/i18n/shell.ts +6 -0
- package/src/operator-web/i18n/worktrees.ts +6 -6
- package/src/operator-web/office-boss.ts +63 -0
- package/src/operator-web/office-scene.ts +929 -0
- package/src/operator-web/office-sprites.ts +300 -0
- package/src/operator-web/operator-write.tsx +47 -0
- package/src/operator-web/quota.ts +10 -9
- package/src/operator-web/seats.ts +1 -1
- package/src/operator-web/settings.ts +9 -32
- package/src/operator-web/workspace-location.ts +28 -11
- package/src/operator-web/worktrees.ts +14 -55
- package/src/pi/compat.ts +3 -3
- package/dist/operator-ui/assets/architecture-7GRP2DOG-D9mi27Da.js +0 -1
- package/dist/operator-ui/assets/channel-BIKj_Qhd.js +0 -1
- package/dist/operator-ui/assets/classDiagram-ZZMXUADV-CMkc6EQ8.js +0 -1
- package/dist/operator-ui/assets/classDiagram-v2-VYDZK3BY-CMkc6EQ8.js +0 -1
- package/dist/operator-ui/assets/eventmodeling-NTZA5JFV-CZxS8Q6_.js +0 -1
- package/dist/operator-ui/assets/flowDiagram-HODETNUW-BXvytZtg.js +0 -1
- package/dist/operator-ui/assets/index-BNoMxGvm.css +0 -1
- package/dist/operator-ui/assets/index-D7rPKSwt.js +0 -29
- package/dist/operator-ui/assets/railroad-abnf-HS5TGJTU-D8XAnjOv.js +0 -1
- package/dist/operator-ui/assets/railroad-ebnf-LZEXJU2U-DGYF6xJT.js +0 -1
- package/dist/operator-ui/assets/railroad-peg-WCYAUIDC-DMYKLION.js +0 -1
- package/dist/operator-ui/assets/stateDiagram-v2-MP3YSRHH-D2TtKXZ1.js +0 -1
- package/dist/operator-ui/assets/swimlanesDiagram-VR7AAH4N-CV2qJy7K.js +0 -8
- /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 → 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/src/effects/{operator → board}/claude-agent-types.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.5` · workflow stamp `repo-harness@0.26.5+template@0.26.5`
|
|
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
|
|
@@ -37,7 +37,7 @@ Commands for the topology steps:
|
|
|
37
37
|
| Wait for a worker | `hc wait <t>` |
|
|
38
38
|
| Close a worker pane | `herdr-app do pane.close --pane <pane>` |
|
|
39
39
|
|
|
40
|
-
A Codex worker seat in a linked contract worktree edits files and runs checks only. It runs no `git fetch`, `git commit` or `git push`. Its last message gives the commit subject and body, the PR title and body, and the check results. The orchestrator commits the worktree diff with that message and explicit paths only, pushes the branch and opens the PR. The orchestrator is the head owner of record and pushes each fix round; no other agent pushes to that PR. The Codex seat remains the content author and answers review threads through the orchestrator.
|
|
40
|
+
A Codex worker seat in a linked contract worktree edits files and runs checks only. It runs no `git fetch`, `git commit` or `git push`. Its last message gives the commit subject and body, the PR title and body, and the check results. The orchestrator commits the worktree diff with that message and explicit paths only, pushes the branch and opens the PR. The orchestrator is the head owner of record and pushes each fix round; no other agent pushes to that PR. The Codex seat remains the content author and answers review threads through the orchestrator. The seat runs with sandbox network off (#1770): it runs no `gh` or `hc`, and the orchestrator reads its last message.
|
|
41
41
|
|
|
42
42
|
`repo-harness seats argv <seat>` prints the argv of the seat from the `seats` section of `~/.repo-harness/config.json`, or from the seat defaults when the section is absent. The argv holds the model, the effort, the tool limits and the seat brief. Its stderr names the source and each limit. A limit marked `instructions_only` is written into the launch instructions only; the host does not enforce it. Without `--argv`, the pane opens a shell.
|
|
43
43
|
|
|
@@ -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.5", dependencies;
|
|
2559
2559
|
var init_package = __esm(() => {
|
|
2560
2560
|
dependencies = {
|
|
2561
|
-
"@botiverse/oar": "0.
|
|
2561
|
+
"@botiverse/oar": "0.88.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",
|
|
@@ -10657,21 +10659,21 @@ function readRecordedSelection(env = process.env) {
|
|
|
10657
10659
|
throw error;
|
|
10658
10660
|
}
|
|
10659
10661
|
}
|
|
10660
|
-
function
|
|
10661
|
-
return selection.status === "recorded" && selection.plugins.includes(
|
|
10662
|
+
function pluginSelected(selection, id) {
|
|
10663
|
+
return selection.status === "recorded" && selection.plugins.includes(id);
|
|
10662
10664
|
}
|
|
10663
|
-
function
|
|
10664
|
-
return plugins === null ? installSelectionCommand("all") : installSelectionCommand(PLUGIN_IDS.filter((id) => plugins.includes(id) || id ===
|
|
10665
|
+
function pluginRepair(added, plugins) {
|
|
10666
|
+
return plugins === null ? installSelectionCommand("all") : installSelectionCommand(PLUGIN_IDS.filter((id) => plugins.includes(id) || id === added));
|
|
10665
10667
|
}
|
|
10666
|
-
function notSelectedMessage(selection) {
|
|
10667
|
-
return `the
|
|
10668
|
+
function notSelectedMessage(selection, id) {
|
|
10669
|
+
return `the ${id} plugin is not selected; run: ${pluginRepair(id, selection.status === "recorded" ? selection.plugins : null)}`;
|
|
10668
10670
|
}
|
|
10669
10671
|
function architectureSelectionReport(selection) {
|
|
10670
|
-
if (
|
|
10672
|
+
if (pluginSelected(selection, "architecture"))
|
|
10671
10673
|
return { status: "selected", message: "" };
|
|
10672
10674
|
if (selection.status === "unreadable")
|
|
10673
10675
|
return { status: "unreadable", message: `the install selection cannot be read: ${selection.error.message}` };
|
|
10674
|
-
return { status: "not-selected", message: notSelectedMessage(selection) };
|
|
10676
|
+
return { status: "not-selected", message: notSelectedMessage(selection, "architecture") };
|
|
10675
10677
|
}
|
|
10676
10678
|
function declareArchitectureSelection(selection) {
|
|
10677
10679
|
const report = architectureSelectionReport(selection);
|
|
@@ -10680,7 +10682,7 @@ function declareArchitectureSelection(selection) {
|
|
|
10680
10682
|
declareArchitectureAbsent(report.status === "unreadable" ? "ARCHITECTURE_PROVIDER_UNAVAILABLE" : "ARCHITECTURE_PLUGIN_NOT_SELECTED", report.message);
|
|
10681
10683
|
}
|
|
10682
10684
|
async function registerSelectedArchitecturePorts(selection, load) {
|
|
10683
|
-
if (
|
|
10685
|
+
if (pluginSelected(selection, "architecture"))
|
|
10684
10686
|
registerArchitecturePorts(await load());
|
|
10685
10687
|
else
|
|
10686
10688
|
declareArchitectureSelection(selection);
|
package/dist/oar-review-host.js
CHANGED
|
@@ -1161,10 +1161,13 @@ function reviewIsolationPolicy(paths, platform = process.platform) {
|
|
|
1161
1161
|
}
|
|
1162
1162
|
if (readDenied.some((path) => realpathSync5(path) !== path))
|
|
1163
1163
|
throw new Error("OAR_REVIEW_PROTECTED_PATH_UNSAFE");
|
|
1164
|
-
const
|
|
1165
|
-
`).join("")}(deny network-outbound (remote tcp4 "localhost:*"))
|
|
1164
|
+
const networkPolicy = `(deny network-outbound (remote tcp4 "localhost:*"))
|
|
1166
1165
|
(deny network-outbound (remote tcp6 "*:*"))
|
|
1167
1166
|
`;
|
|
1167
|
+
const modelPortPolicy = (paths.piLoopbackPorts ?? []).map((port) => `(allow network-outbound (remote tcp "localhost:${port}"))
|
|
1168
|
+
`).join("");
|
|
1169
|
+
const readPolicy = readDenied.map((path) => `(deny file-read* (subpath ${JSON.stringify(path)}))
|
|
1170
|
+
`).join("");
|
|
1168
1171
|
if (platform !== "darwin")
|
|
1169
1172
|
throw new Error("OAR_REVIEW_ISOLATION_UNSUPPORTED_PLATFORM");
|
|
1170
1173
|
const forbiddenFiles = "/(CLAUDE\\.md|AGENTS\\.md|settings[^/]*\\.json|\\.claude\\.json|config\\.toml|auth\\.json|\\.?credentials\\.json|secrets\\.json|token\\.json)$";
|
|
@@ -1178,7 +1181,7 @@ function reviewIsolationPolicy(paths, platform = process.platform) {
|
|
|
1178
1181
|
(deny file-write* (regex #"${forbiddenDirectories}"))
|
|
1179
1182
|
(deny signal)
|
|
1180
1183
|
(deny network-outbound ${unixSockets})
|
|
1181
|
-
${piPolicy}${
|
|
1184
|
+
${piPolicy}${networkPolicy}${modelPortPolicy}${readPolicy}`;
|
|
1182
1185
|
}
|
|
1183
1186
|
function reviewHostTemporaryDirectory(output) {
|
|
1184
1187
|
if (!isAbsolute5(output) || lstatSync4(output).isSymbolicLink() || !lstatSync4(output).isDirectory())
|
|
@@ -1252,6 +1255,7 @@ var failureClasses = {
|
|
|
1252
1255
|
unknown: true
|
|
1253
1256
|
};
|
|
1254
1257
|
var rejectionCodes = {
|
|
1258
|
+
aborted: true,
|
|
1255
1259
|
busy: true,
|
|
1256
1260
|
no_active_turn: true,
|
|
1257
1261
|
not_queued: true,
|