@ouro.bot/cli 0.1.0-alpha.170 → 0.1.0-alpha.1700
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/LICENSE +21 -0
- package/README.md +158 -44
- package/RepairGuide.ouro/agent.json +5 -0
- package/RepairGuide.ouro/psyche/IDENTITY.md +19 -0
- package/RepairGuide.ouro/psyche/SOUL.md +55 -0
- package/RepairGuide.ouro/skills/diagnose-broken-remote.md +63 -0
- package/RepairGuide.ouro/skills/diagnose-stacked-typed-issues.md +35 -0
- package/RepairGuide.ouro/skills/diagnose-sync-blocked.md +54 -0
- package/RepairGuide.ouro/skills/diagnose-vault-expired.md +60 -0
- package/{AdoptionSpecialist.ouro → SerpentGuide.ouro}/agent.json +1 -0
- package/{AdoptionSpecialist.ouro → SerpentGuide.ouro}/psyche/SOUL.md +1 -1
- package/{AdoptionSpecialist.ouro → SerpentGuide.ouro}/psyche/identities/the-serpent.md +1 -1
- package/assets/bluebubbles-host +264 -0
- package/assets/sanctuary-host-launcher.sh +16 -0
- package/changelog.json +9904 -60
- package/deploy/unraid/Dockerfile +87 -0
- package/deploy/unraid/INSTALL.md +64 -0
- package/deploy/unraid/README.txt +3036 -0
- package/deploy/unraid/audit-container-spec.sh +4 -0
- package/deploy/unraid/container-runtime.json +1 -0
- package/deploy/unraid/credit-gateway.md +95 -0
- package/deploy/unraid/docker-man-template-transaction.mjs +733 -0
- package/deploy/unraid/docker-man-template-xml.cjs +105 -0
- package/deploy/unraid/github_known_hosts +3 -0
- package/deploy/unraid/install.sh +281 -0
- package/deploy/unraid/migrate-sanctuary-bundle.mjs +68 -0
- package/deploy/unraid/ouro-events/bootstrap-spool.sh +92 -0
- package/deploy/unraid/ouro-events/emit-event.mjs +310 -0
- package/deploy/unraid/ouro-events/emit-usenet-event.sh +54 -0
- package/deploy/unraid/ouro-events/install-usenet-guard.sh +435 -0
- package/deploy/unraid/ouro-events/usenet-health.sh +176 -0
- package/deploy/unraid/ouro-host-lock.mjs +245 -0
- package/deploy/unraid/ouro-sync-ssh +98 -0
- package/deploy/unraid/ouro-sync.sudoers +3 -0
- package/deploy/unraid/sanctuary-acceptance-adapter.sh +43 -0
- package/deploy/unraid/sanctuary-acceptance-contract.json +198 -0
- package/deploy/unraid/sanctuary-acceptance-harness.sh +23 -0
- package/deploy/unraid/sanctuary-authority-installation.json +36 -0
- package/deploy/unraid/sanctuary-authority-service.sh +30 -0
- package/deploy/unraid/sanctuary-butler-upgrade.mjs +1820 -0
- package/deploy/unraid/sanctuary-deployment-target.mjs +711 -0
- package/deploy/unraid/sanctuary-replay-gate.mjs +2802 -0
- package/deploy/unraid/sanctuary-safe-rename.py +24 -0
- package/deploy/unraid/sanctuary-sync-cutover.sh +1057 -0
- package/deploy/unraid/sanctuary-unit16-host-broker.mjs +2107 -0
- package/deploy/unraid/sanctuary-unit16-run.sh +575 -0
- package/deploy/unraid/sanctuary-unit18-target-audit.sh +27 -0
- package/deploy/unraid/sanctuary.ouro/agent.json +72 -0
- package/deploy/unraid/sanctuary.ouro/arc/README.md +3 -0
- package/deploy/unraid/sanctuary.ouro/awaiting/house-care-sweep.md +17 -0
- package/deploy/unraid/sanctuary.ouro/bundle-meta.json +5 -0
- package/deploy/unraid/sanctuary.ouro/habits/sanctuary-health.md +8 -0
- package/deploy/unraid/sanctuary.ouro/mcp/media-mcp.mjs +2546 -0
- package/deploy/unraid/sanctuary.ouro/product/PRODUCT.md +13 -0
- package/deploy/unraid/sanctuary.ouro/provider-readiness.json +11 -0
- package/deploy/unraid/sanctuary.ouro/psyche/ASPIRATIONS.md +5 -0
- package/deploy/unraid/sanctuary.ouro/psyche/IDENTITY.md +7 -0
- package/deploy/unraid/sanctuary.ouro/psyche/LORE.md +7 -0
- package/deploy/unraid/sanctuary.ouro/psyche/SOUL.md +15 -0
- package/deploy/unraid/sanctuary.ouro/psyche/TACIT.md +3 -0
- package/deploy/unraid/sanctuary.ouro/state/policy/steward.json +7 -0
- package/deploy/unraid/sanctuary.ouro/tool-profiles.json +274 -0
- package/deploy/unraid/sanctuary.xml +30 -0
- package/desk.lock.json +8 -0
- package/dist/a2a/approval-relay-forward.js +117 -0
- package/dist/a2a/approval-relay.js +95 -0
- package/dist/a2a/approval-request-wire.js +123 -0
- package/dist/a2a/card.js +57 -0
- package/dist/a2a/client.js +331 -0
- package/dist/a2a/config.js +54 -0
- package/dist/a2a/delegated-command-grants.js +93 -0
- package/dist/a2a/delegated-command.js +200 -0
- package/dist/a2a/delegation-stores.js +56 -0
- package/dist/a2a/did-resolution.js +205 -0
- package/dist/a2a/escalation-grants.js +84 -0
- package/dist/a2a/escalation-wiring.js +61 -0
- package/dist/a2a/identity.js +258 -0
- package/dist/a2a/inbound-share.js +131 -0
- package/dist/a2a/mission-result-wire.js +265 -0
- package/dist/a2a/onboarding.js +133 -0
- package/dist/a2a/operator-trust.js +399 -0
- package/dist/a2a/outbox-client.js +59 -0
- package/dist/a2a/outbox-store.js +245 -0
- package/dist/a2a/outbox-wire.js +106 -0
- package/dist/a2a/pin-store.js +167 -0
- package/dist/a2a/refusals.js +55 -0
- package/dist/a2a/relay-client.js +106 -0
- package/dist/a2a/relay-config-vault.js +64 -0
- package/dist/a2a/relay-contacts.js +120 -0
- package/dist/a2a/relay-inbox.js +360 -0
- package/dist/a2a/relay-retirements.js +89 -0
- package/dist/a2a/replay-grant-holders.js +33 -0
- package/dist/a2a/replay-harness.js +188 -0
- package/dist/a2a/resolution-proof.js +53 -0
- package/dist/a2a/sealed-chat.js +142 -0
- package/dist/a2a/seen-ledger.js +216 -0
- package/dist/a2a/server.js +1088 -0
- package/dist/a2a/task-store.js +69 -0
- package/dist/a2a/transport.js +100 -0
- package/dist/a2a/trust-commands.js +203 -0
- package/dist/a2a/trusted-files.js +185 -0
- package/dist/a2a/types.js +3 -0
- package/dist/actions/generated/mailbox/actions.json +639 -0
- package/dist/actions/generated/mailbox/commands.json +181 -0
- package/dist/actions/generated/mailbox/mcp.json +469 -0
- package/dist/actions/generated/mailbox-tools/tools.json +547 -0
- package/dist/arc/attention-types.js +8 -0
- package/dist/arc/cares.js +360 -0
- package/dist/arc/episodes.js +118 -0
- package/dist/arc/evolution.js +490 -0
- package/dist/arc/flight-recorder.js +1009 -0
- package/dist/arc/intentions.js +134 -0
- package/dist/arc/json-store.js +117 -0
- package/dist/arc/obligations.js +386 -0
- package/dist/arc/packets.js +336 -0
- package/dist/arc/presence.js +185 -0
- package/dist/arc/task-lifecycle.js +57 -0
- package/dist/commerce/store.js +755 -0
- package/dist/commerce/types.js +3 -0
- package/dist/eval/assertions/index.js +378 -0
- package/dist/eval/billing-guard.js +23 -0
- package/dist/eval/budget.js +170 -0
- package/dist/eval/domain/case.js +115 -0
- package/dist/eval/domain/stats.js +19 -0
- package/dist/eval/guest-entry.js +18 -0
- package/dist/eval/h-guest-entry.js +19 -0
- package/dist/eval/interview-entry.js +174 -0
- package/dist/eval/interview-grade-entry.js +36 -0
- package/dist/eval/interview-guest-entry.js +19 -0
- package/dist/eval/interviews/allocation.js +92 -0
- package/dist/eval/interviews/final.js +133 -0
- package/dist/eval/interviews/grader.js +209 -0
- package/dist/eval/interviews/guest/arms.js +173 -0
- package/dist/eval/interviews/guest/ax/ax-command.js +792 -0
- package/dist/eval/interviews/guest/ax/effects.js +51 -0
- package/dist/eval/interviews/guest/ax/exit-codes.js +51 -0
- package/dist/eval/interviews/guest/ax/help.js +181 -0
- package/dist/eval/interviews/guest/ax/mcp.js +246 -0
- package/dist/eval/interviews/guest/ax/outcome.js +211 -0
- package/dist/eval/interviews/guest/ax/output.js +53 -0
- package/dist/eval/interviews/guest/ax/precise-copy.js +200 -0
- package/dist/eval/interviews/guest/ax/problem.js +95 -0
- package/dist/eval/interviews/guest/ax/voice.js +83 -0
- package/dist/eval/interviews/guest/ax/wait.js +158 -0
- package/dist/eval/interviews/guest/books-core.js +54 -0
- package/dist/eval/interviews/guest/cli-shell.js +267 -0
- package/dist/eval/interviews/guest/h/codex.js +201 -0
- package/dist/eval/interviews/guest/h/fidelity.js +59 -0
- package/dist/eval/interviews/guest/h/openhands.js +176 -0
- package/dist/eval/interviews/guest/h/run.js +99 -0
- package/dist/eval/interviews/guest/h/wire.js +403 -0
- package/dist/eval/interviews/guest/loop.js +87 -0
- package/dist/eval/interviews/guest/operations.js +108 -0
- package/dist/eval/interviews/guest/run.js +81 -0
- package/dist/eval/interviews/guest/u/arms.js +268 -0
- package/dist/eval/interviews/h/kit.js +119 -0
- package/dist/eval/interviews/latch.js +161 -0
- package/dist/eval/interviews/protocol.js +127 -0
- package/dist/eval/interviews/rewrite.js +57 -0
- package/dist/eval/interviews/runner.js +365 -0
- package/dist/eval/interviews/u/kit.js +121 -0
- package/dist/eval/kill-switch.js +33 -0
- package/dist/eval/month-ledger.js +95 -0
- package/dist/eval/readback/hedges.js +39 -0
- package/dist/eval/remote-entry.js +32 -0
- package/dist/eval/report.js +85 -0
- package/dist/eval/run-command.js +188 -0
- package/dist/eval/run-entry.js +93 -0
- package/dist/eval/sandbox/agent-profile.js +74 -0
- package/dist/eval/sandbox/declared-gaps.js +17 -0
- package/dist/eval/sandbox/docker.js +390 -0
- package/dist/eval/sandbox/guest.js +55 -0
- package/dist/eval/sandbox/host-lock.js +62 -0
- package/dist/eval/sandbox/images.js +39 -0
- package/dist/eval/sandbox/neutral-bundle.js +117 -0
- package/dist/eval/sandbox/oracle.js +32 -0
- package/dist/eval/sandbox/projection.js +127 -0
- package/dist/eval/sandbox/readback.js +137 -0
- package/dist/eval/sandbox/remote.js +102 -0
- package/dist/eval/sandbox/slugger-projection.js +377 -0
- package/dist/eval/self-test.js +84 -0
- package/dist/eval/stop-command.js +71 -0
- package/dist/eval/stop-entry.js +46 -0
- package/dist/eval/targets/index.js +127 -0
- package/dist/eval/transport/provider-proxy.js +262 -0
- package/dist/eval/transport/synthetic-sanctuary.js +117 -0
- package/dist/eval/transport/telegram-turn.js +241 -0
- package/dist/eval/watch/cli.js +63 -0
- package/dist/eval/watch/guarded-fs.js +254 -0
- package/dist/eval/watch/log-reader.js +99 -0
- package/dist/eval/watch/rows.js +143 -0
- package/dist/eval/watch/run-watch.js +160 -0
- package/dist/eval/watch-entry.js +26 -0
- package/dist/gateway/keys.js +117 -0
- package/dist/gateway/server.js +429 -0
- package/dist/heart/active-work.js +423 -45
- package/dist/heart/agent-entry.js +255 -4
- package/dist/heart/approval-files.js +94 -0
- package/dist/heart/approval-store.js +1000 -0
- package/dist/heart/atomic-file.js +115 -0
- package/dist/heart/attachments/downloaded-store.js +89 -0
- package/dist/heart/attachments/image-normalize.js +201 -0
- package/dist/heart/attachments/materialize.js +97 -0
- package/dist/heart/attachments/originals.js +102 -0
- package/dist/heart/attachments/render.js +29 -0
- package/dist/heart/attachments/sources/bluebubbles.js +155 -0
- package/dist/heart/attachments/sources/cli-local-file.js +78 -0
- package/dist/heart/attachments/sources/downloaded.js +76 -0
- package/dist/heart/attachments/sources/index.js +19 -0
- package/dist/heart/attachments/store.js +132 -0
- package/dist/heart/attachments/transcribe-audio.js +231 -0
- package/dist/heart/attachments/types.js +93 -0
- package/dist/heart/attachments/understand.js +195 -0
- package/dist/heart/auth/auth-flow.js +589 -0
- package/dist/heart/auth/github-device-login.js +104 -0
- package/dist/heart/autonomy-budget.js +426 -0
- package/dist/heart/awaiting/a2a-await-delivery.js +109 -0
- package/dist/heart/awaiting/await-alert.js +152 -0
- package/dist/heart/awaiting/await-expiry.js +143 -0
- package/dist/heart/awaiting/await-loader.js +91 -0
- package/dist/heart/awaiting/await-parser.js +152 -0
- package/dist/heart/awaiting/await-runtime-state.js +130 -0
- package/dist/heart/awaiting/await-scheduler.js +462 -0
- package/dist/heart/background-operations.js +281 -0
- package/dist/heart/bluebubbles-host-account.js +78 -0
- package/dist/heart/bridges/manager.js +137 -17
- package/dist/heart/bridges/store.js +14 -2
- package/dist/heart/bundle-state.js +168 -0
- package/dist/heart/butler-agent.js +54 -0
- package/dist/heart/chat-interaction.js +69 -0
- package/dist/heart/commitments.js +44 -14
- package/dist/heart/config-registry.js +340 -0
- package/dist/heart/config.js +191 -133
- package/dist/heart/context-loss-gauntlet.js +387 -0
- package/dist/heart/context-loss-sentinel.js +1260 -0
- package/dist/heart/core.js +2795 -699
- package/dist/heart/cross-chat-delivery.js +29 -22
- package/dist/heart/daemon/agent-config-check.js +494 -0
- package/dist/heart/daemon/agent-discovery.js +304 -3
- package/dist/heart/daemon/agent-home.js +409 -0
- package/dist/heart/daemon/agent-service.js +210 -28
- package/dist/heart/daemon/agentic-repair.js +548 -0
- package/dist/heart/daemon/app-sessions-record.js +82 -0
- package/dist/heart/daemon/await-private-wake.js +59 -0
- package/dist/heart/daemon/bluebubbles-cli-integration.js +71 -0
- package/dist/heart/daemon/bluebubbles-health-diagnostics.js +122 -0
- package/dist/heart/daemon/bluebubbles-host-protocol.js +433 -0
- package/dist/heart/daemon/bluebubbles-host.js +273 -0
- package/dist/heart/daemon/boot-sync-probe.js +223 -0
- package/dist/heart/daemon/cadence.js +130 -0
- package/dist/heart/daemon/cli-arg-redaction.js +26 -0
- package/dist/heart/daemon/cli-commands/a2a.js +26 -0
- package/dist/heart/daemon/cli-commands/cards.js +68 -0
- package/dist/heart/daemon/cli-commands/coding-tools.js +13 -0
- package/dist/heart/daemon/cli-commands/desk.js +43 -0
- package/dist/heart/daemon/cli-commands/dns.js +13 -0
- package/dist/heart/daemon/cli-commands/entry-points.js +173 -0
- package/dist/heart/daemon/cli-commands/failure-code.js +11 -0
- package/dist/heart/daemon/cli-commands/friends.js +18 -0
- package/dist/heart/daemon/cli-commands/habits.js +15 -0
- package/dist/heart/daemon/cli-commands/lifecycle.js +42 -0
- package/dist/heart/daemon/cli-commands/mail.js +11 -0
- package/dist/heart/daemon/cli-commands/mailbox-handle.js +32 -0
- package/dist/heart/daemon/cli-commands/mind.js +25 -0
- package/dist/heart/daemon/cli-commands/presence.js +28 -0
- package/dist/heart/daemon/cli-commands/providers.js +20 -0
- package/dist/heart/daemon/cli-commands/rsvp.js +20 -0
- package/dist/heart/daemon/cli-commands/shepherd.js +17 -0
- package/dist/heart/daemon/cli-commands/vault.js +23 -0
- package/dist/heart/daemon/cli-defaults.js +997 -0
- package/dist/heart/daemon/cli-desk.js +346 -0
- package/dist/heart/daemon/cli-exec.js +9681 -0
- package/dist/heart/daemon/cli-gate.js +198 -0
- package/dist/heart/daemon/cli-help.js +800 -0
- package/dist/heart/daemon/cli-manifest.js +118 -0
- package/dist/heart/daemon/cli-parse.js +3645 -0
- package/dist/heart/daemon/cli-render-doctor.js +57 -0
- package/dist/heart/daemon/cli-render.js +816 -0
- package/dist/heart/daemon/cli-types.js +8 -0
- package/dist/heart/daemon/compile-cache.js +69 -0
- package/dist/heart/daemon/connect-bay.js +323 -0
- package/dist/heart/daemon/container-credential-bootstrap.js +273 -0
- package/dist/heart/daemon/container-healthcheck.js +125 -0
- package/dist/heart/daemon/container-runtime.js +115 -0
- package/dist/heart/daemon/container-spec-auditor-main.js +187 -0
- package/dist/heart/daemon/container-spec-auditor.js +272 -0
- package/dist/heart/daemon/daemon-bootstrap-startup.js +147 -0
- package/dist/heart/daemon/daemon-cli.js +29 -3317
- package/dist/heart/daemon/daemon-entry.js +1075 -56
- package/dist/heart/daemon/daemon-health.js +51 -1
- package/dist/heart/daemon/daemon-rollup.js +57 -0
- package/dist/heart/daemon/daemon-runtime-sync.js +147 -13
- package/dist/heart/daemon/daemon-tombstone.js +116 -3
- package/dist/heart/daemon/daemon.js +2107 -186
- package/dist/heart/daemon/desk-admin.js +420 -0
- package/dist/heart/daemon/dns-workflow.js +394 -0
- package/dist/heart/daemon/doctor-types.js +8 -0
- package/dist/heart/daemon/doctor.js +1966 -0
- package/dist/heart/daemon/freshness.js +345 -0
- package/dist/heart/daemon/habit-private-wake.js +61 -0
- package/dist/heart/daemon/handoff-blockers.js +117 -0
- package/dist/heart/daemon/health-monitor.js +256 -12
- package/dist/heart/daemon/home-filesystem.js +93 -0
- package/dist/heart/daemon/hook-post-tool-use.js +149 -0
- package/dist/heart/daemon/hooks/bundle-meta.js +135 -1
- package/dist/heart/daemon/http-health-probe.js +80 -0
- package/dist/heart/daemon/human-command-screens.js +234 -0
- package/dist/heart/daemon/human-readiness.js +114 -0
- package/dist/heart/daemon/inner-status.js +7 -18
- package/dist/heart/daemon/interactive-repair.js +394 -0
- package/dist/heart/daemon/launchd.js +40 -10
- package/dist/heart/daemon/linux-service.js +382 -0
- package/dist/heart/daemon/log-tailer.js +79 -10
- package/dist/heart/daemon/logs-prune.js +132 -0
- package/dist/heart/daemon/mailroom-copy-proof.js +158 -0
- package/dist/heart/daemon/mcp-canary.js +525 -0
- package/dist/heart/daemon/message-router.js +65 -5
- package/dist/heart/daemon/migrate-to-desk.js +848 -0
- package/dist/heart/daemon/os-cron-deps.js +22 -0
- package/dist/heart/daemon/os-cron.js +50 -15
- package/dist/heart/daemon/ouro-bot-entry.js +8 -3
- package/dist/heart/daemon/ouro-cli-main.js +50 -0
- package/dist/heart/daemon/ouro-entry.js +43 -20
- package/dist/heart/daemon/owner-alert-routes.js +159 -0
- package/dist/heart/daemon/owner-channel-outage.js +386 -0
- package/dist/heart/daemon/plugin-cli.js +432 -0
- package/dist/heart/daemon/portable-git-install.js +265 -0
- package/dist/heart/daemon/portable-git.js +179 -0
- package/dist/heart/daemon/presence-daemon.js +265 -0
- package/dist/heart/daemon/presence-roster.js +260 -0
- package/dist/heart/daemon/presence.js +469 -0
- package/dist/heart/daemon/process-manager.js +790 -71
- package/dist/heart/daemon/process-tree.js +109 -0
- package/dist/heart/daemon/provider-discovery.js +171 -0
- package/dist/heart/daemon/provider-ping-progress.js +83 -0
- package/dist/heart/daemon/prunable-bundle.js +144 -0
- package/dist/heart/daemon/pulse.js +511 -0
- package/dist/heart/daemon/readiness-repair.js +365 -0
- package/dist/heart/daemon/runtime-logging.js +54 -14
- package/dist/heart/daemon/runtime-metadata.js +2 -30
- package/dist/heart/daemon/runtime-mode.js +13 -2
- package/dist/heart/daemon/runtime-replacement-handoff.js +207 -0
- package/dist/heart/daemon/sanctuary-acceptance-adapter.js +2662 -0
- package/dist/heart/daemon/sanctuary-acceptance-harness.js +1832 -0
- package/dist/heart/daemon/sanctuary-acceptance-marker.js +277 -0
- package/dist/heart/daemon/sanctuary-acceptance-scenarios.js +957 -0
- package/dist/heart/daemon/sanctuary-authority-codec.js +86 -0
- package/dist/heart/daemon/sanctuary-authority-epoch.js +291 -0
- package/dist/heart/daemon/sanctuary-authority-installation.js +161 -0
- package/dist/heart/daemon/sanctuary-authority-ledger.js +241 -0
- package/dist/heart/daemon/sanctuary-authority-root-lifecycle.js +1421 -0
- package/dist/heart/daemon/sanctuary-authority-vault-migration.js +117 -0
- package/dist/heart/daemon/sanctuary-bundle-migration.js +1039 -0
- package/dist/heart/daemon/sanctuary-host-authority.js +1008 -0
- package/dist/heart/daemon/sanctuary-host-detached-supervisor.js +493 -0
- package/dist/heart/daemon/sanctuary-host-executor.js +670 -0
- package/dist/heart/daemon/sanctuary-host-linux-kernel.js +334 -0
- package/dist/heart/daemon/sanctuary-host-supervisor-entry.js +210 -0
- package/dist/heart/daemon/sanctuary-host-supervisor.js +95 -0
- package/dist/heart/daemon/sanctuary-package-management.js +117 -0
- package/dist/heart/daemon/sanctuary-scheduler-liveness.js +147 -0
- package/dist/heart/daemon/sanctuary-telegram-authority-entry.js +481 -0
- package/dist/heart/daemon/sanctuary-telegram-authority-gateway.js +614 -0
- package/dist/heart/daemon/sanctuary-telegram-authority-service.js +763 -0
- package/dist/heart/daemon/sanctuary-telegram-test-driver-entry.js +97 -0
- package/dist/heart/daemon/sanctuary-telegram-test-driver.js +294 -0
- package/dist/heart/daemon/scheduler-attestation.js +249 -0
- package/dist/heart/daemon/sense-manager.js +1072 -60
- package/dist/heart/daemon/skill-management-installer.js +1 -1
- package/dist/heart/daemon/socket-client.js +185 -13
- package/dist/heart/daemon/stale-bundle-prune.js +113 -0
- package/dist/heart/daemon/startup-tui.js +339 -0
- package/dist/heart/daemon/state-retention.js +234 -0
- package/dist/heart/daemon/supercronic-supervisor.js +282 -0
- package/dist/heart/daemon/task-scheduler.js +115 -15
- package/dist/heart/daemon/terminal-ui.js +503 -0
- package/dist/heart/daemon/thoughts.js +133 -49
- package/dist/heart/daemon/up-progress.js +366 -0
- package/dist/heart/daemon/vault-items.js +56 -0
- package/dist/heart/daemon/vault-outage.js +74 -0
- package/dist/heart/delegated-work-report.js +115 -0
- package/dist/heart/delegation.js +0 -3
- package/dist/heart/external-events/router.js +1803 -0
- package/dist/heart/failure-reports.js +398 -0
- package/dist/heart/file-lock.js +109 -0
- package/dist/heart/frontend-approval-runtime.js +506 -0
- package/dist/heart/frontend-journal.js +215 -0
- package/dist/heart/frontend-session-service.js +332 -0
- package/dist/heart/frontend-socket-client.js +173 -0
- package/dist/heart/frontend-socket.js +434 -0
- package/dist/heart/frontend-turn-errors.js +20 -0
- package/dist/heart/git-binary.js +115 -0
- package/dist/heart/habits/habit-cancel.js +810 -0
- package/dist/heart/habits/habit-lifecycle.js +1324 -0
- package/dist/heart/{daemon → habits}/habit-migration.js +41 -28
- package/dist/heart/habits/habit-parser.js +258 -0
- package/dist/heart/habits/habit-runtime-state.js +93 -0
- package/dist/heart/habits/habit-scheduler.js +678 -0
- package/dist/heart/habits/habit-session-summary.js +318 -0
- package/dist/heart/habits/habit-session.js +638 -0
- package/dist/heart/{daemon → hatch}/hatch-flow.js +60 -38
- package/dist/heart/{daemon → hatch}/hatch-specialist.js +6 -8
- package/dist/heart/{daemon → hatch}/specialist-prompt.js +7 -5
- package/dist/heart/hatch/specialist-tools.js +395 -0
- package/dist/heart/identity.js +335 -29
- package/dist/heart/kept-notes.js +289 -0
- package/dist/heart/letters/answer-command.js +38 -0
- package/dist/heart/letters/answer-reader.js +216 -0
- package/dist/heart/letters/answered-note.js +108 -0
- package/dist/heart/letters/answering.js +183 -0
- package/dist/heart/letters/doors-tools.js +64 -0
- package/dist/heart/letters/doors.js +440 -0
- package/dist/heart/letters/expired-note.js +72 -0
- package/dist/heart/letters/filed-note.js +86 -0
- package/dist/heart/letters/letter-index.js +90 -0
- package/dist/heart/letters/letter.js +271 -0
- package/dist/heart/letters/render.js +46 -0
- package/dist/heart/letters/return-to-session.js +99 -0
- package/dist/heart/letters/seen-command.js +38 -0
- package/dist/heart/letters/store.js +242 -0
- package/dist/heart/letters/tell-agent.js +27 -0
- package/dist/heart/letters/writer.js +622 -0
- package/dist/heart/machine-identity.js +175 -0
- package/dist/heart/mail-import-discovery.js +356 -0
- package/dist/heart/mcp/mcp-server.js +922 -0
- package/dist/heart/migrate-config.js +15 -42
- package/dist/heart/model-capabilities.js +98 -16
- package/dist/heart/model-limits.js +49 -0
- package/dist/heart/optional-packages.js +77 -0
- package/dist/heart/orientation-frame.js +393 -0
- package/dist/heart/platform.js +81 -0
- package/dist/heart/primitives.js +1 -1
- package/dist/heart/private-runtime/decision-renderer.js +158 -0
- package/dist/heart/private-runtime/index.js +18 -0
- package/dist/heart/private-runtime/ledger.js +212 -0
- package/dist/heart/private-runtime/policy.js +327 -0
- package/dist/heart/private-runtime/types.js +2 -0
- package/dist/heart/product/active.js +102 -0
- package/dist/heart/product/types.js +2 -0
- package/dist/heart/progress-story.js +1 -1
- package/dist/heart/provider-attempt.js +137 -0
- package/dist/heart/provider-binding-resolver.js +273 -0
- package/dist/heart/provider-credentials.js +449 -0
- package/dist/heart/provider-failover.js +260 -37
- package/dist/heart/provider-fallback.js +228 -0
- package/dist/heart/provider-models.js +96 -0
- package/dist/heart/provider-ping-child.js +125 -0
- package/dist/heart/provider-ping-entry.js +8 -0
- package/dist/heart/provider-ping.js +217 -91
- package/dist/heart/provider-readiness-cache.js +119 -0
- package/dist/heart/provider-visibility.js +188 -0
- package/dist/heart/providers/account-pool.js +717 -0
- package/dist/heart/providers/anthropic-token.js +15 -47
- package/dist/heart/providers/anthropic.js +269 -73
- package/dist/heart/providers/azure.js +16 -28
- package/dist/heart/providers/error-classification.js +129 -0
- package/dist/heart/providers/github-copilot.js +127 -32
- package/dist/heart/providers/minimax-vlm.js +189 -0
- package/dist/heart/providers/minimax.js +17 -25
- package/dist/heart/providers/openai-codex-token.js +349 -0
- package/dist/heart/providers/openai-codex.js +43 -54
- package/dist/heart/providers/openai-compatible.js +177 -0
- package/dist/heart/quota/fleet-readings.js +222 -0
- package/dist/heart/quota/tranche.js +59 -0
- package/dist/heart/reach-channel.js +85 -0
- package/dist/heart/reply-style.js +52 -0
- package/dist/heart/run-ledger.js +247 -0
- package/dist/heart/runtime-capability-check.js +170 -0
- package/dist/heart/runtime-credentials.js +647 -0
- package/dist/heart/runtime-cwd.js +87 -0
- package/dist/heart/sense-truth.js +26 -4
- package/dist/heart/sent-message-ledger.js +98 -0
- package/dist/heart/session-activity.js +84 -17
- package/dist/heart/session-events.js +1609 -0
- package/dist/heart/session-playback-cli-main.js +10 -0
- package/dist/heart/session-playback-cli.js +36 -0
- package/dist/heart/session-playback.js +231 -0
- package/dist/heart/session-stats-cli-main.js +10 -0
- package/dist/heart/session-stats.js +183 -0
- package/dist/heart/session-transcript.js +133 -0
- package/dist/heart/shelf-claims.js +136 -0
- package/dist/heart/shepherd/custody-types.js +2 -0
- package/dist/heart/shepherd/mandates.js +352 -0
- package/dist/heart/shepherd/operation-commands.js +19 -0
- package/dist/heart/shepherd/operations.js +139 -0
- package/dist/heart/shepherd/supervision-read.js +131 -0
- package/dist/heart/shepherd/supervision.js +114 -0
- package/dist/heart/shepherd/types.js +2 -0
- package/dist/heart/shepherd-config.js +113 -0
- package/dist/heart/source-grounding.js +313 -0
- package/dist/heart/sqlite.js +18 -0
- package/dist/heart/start-of-turn-packet.js +372 -0
- package/dist/heart/steward-policy.js +656 -0
- package/dist/heart/streaming.js +627 -193
- package/dist/heart/structured-output.js +196 -0
- package/dist/heart/sync-classification.js +176 -0
- package/dist/heart/sync-health.js +152 -0
- package/dist/heart/sync-lock.js +431 -0
- package/dist/heart/sync.js +1583 -0
- package/dist/heart/target-resolution.js +28 -7
- package/dist/heart/tempo.js +93 -0
- package/dist/heart/temporal-view.js +41 -0
- package/dist/heart/termination-guard.js +27 -0
- package/dist/heart/timeouts.js +101 -0
- package/dist/heart/tool-activity-callbacks.js +27 -4
- package/dist/heart/tool-approval.js +382 -0
- package/dist/heart/tool-description.js +29 -9
- package/dist/heart/tool-friction.js +55 -0
- package/dist/heart/tool-images.js +42 -0
- package/dist/heart/tool-loop.js +9 -3
- package/dist/heart/tool-output-budget.js +41 -0
- package/dist/heart/turn-context.js +504 -0
- package/dist/heart/turn-execution-lease.js +78 -0
- package/dist/heart/turn-summary.js +216 -0
- package/dist/heart/versioning/host-self-update.js +118 -0
- package/dist/heart/{daemon → versioning}/ouro-bot-global-installer.js +6 -5
- package/dist/heart/{daemon → versioning}/ouro-bot-wrapper.js +12 -3
- package/dist/heart/versioning/ouro-path-installer.js +432 -0
- package/dist/heart/versioning/ouro-recovery-launcher.js +98 -0
- package/dist/heart/versioning/ouro-version-manager.js +432 -0
- package/dist/heart/versioning/release-sources.js +185 -0
- package/dist/heart/versioning/self-update-defaults.js +486 -0
- package/dist/heart/versioning/self-update.js +270 -0
- package/dist/heart/{daemon → versioning}/staged-restart.js +40 -8
- package/dist/heart/{daemon → versioning}/update-checker.js +12 -35
- package/dist/heart/versioning/update-hooks.js +160 -0
- package/dist/heart/versioning/update-state.js +134 -0
- package/dist/heart/versioning/updater-launchd.js +204 -0
- package/dist/heart/versioning/version-intent.js +114 -0
- package/dist/heart/work-card.js +380 -0
- package/dist/mailroom/attention.js +167 -0
- package/dist/mailroom/autonomy.js +209 -0
- package/dist/mailroom/azure-sdk.js +27 -0
- package/dist/mailroom/blob-store.js +991 -0
- package/dist/mailroom/body-cache.js +61 -0
- package/dist/mailroom/cache-sync-cli.js +58 -0
- package/dist/mailroom/core.js +813 -0
- package/dist/mailroom/entry.js +169 -0
- package/dist/mailroom/file-store.js +568 -0
- package/dist/mailroom/hosted-cache-sync.js +384 -0
- package/dist/mailroom/mbox-import.js +393 -0
- package/dist/mailroom/migration.js +164 -0
- package/dist/mailroom/outbound.js +380 -0
- package/dist/mailroom/policy.js +263 -0
- package/dist/mailroom/reader.js +308 -0
- package/dist/mailroom/search-cache.js +513 -0
- package/dist/mailroom/search-relevance.js +319 -0
- package/dist/mailroom/smtp-ingress.js +176 -0
- package/dist/mailroom/source-state.js +176 -0
- package/dist/mailroom/sweep-orphans-cli.js +34 -0
- package/dist/mailroom/thread.js +109 -0
- package/dist/mailroom/travel-extract.js +89 -0
- package/dist/mind/bundle-manifest.js +25 -4
- package/dist/mind/context.js +335 -198
- package/dist/mind/desk-section.js +332 -0
- package/dist/mind/diary-integrity.js +60 -0
- package/dist/mind/diary.js +38 -56
- package/dist/mind/embedding-provider.js +60 -0
- package/dist/mind/file-state.js +179 -0
- package/dist/mind/friend-link-codes.js +209 -0
- package/dist/mind/friend-merge.js +336 -0
- package/dist/mind/house-names.js +43 -0
- package/dist/mind/note-search.js +198 -0
- package/dist/mind/obligation-steering.js +15 -9
- package/dist/mind/outbound-record.js +176 -0
- package/dist/mind/pending.js +294 -11
- package/dist/mind/prompt-budget.js +511 -0
- package/dist/mind/prompt-refresh.js +3 -2
- package/dist/mind/prompt.js +924 -376
- package/dist/mind/provenance-trust.js +26 -0
- package/dist/mind/record-paths.js +312 -0
- package/dist/mind/scrutiny.js +121 -0
- package/dist/mind/session-transaction.js +642 -0
- package/dist/mind/token-estimate.js +17 -0
- package/dist/mind/where-am-i.js +177 -0
- package/dist/nerves/cli-logging.js +7 -1
- package/dist/nerves/coverage/audit-rules.js +15 -6
- package/dist/nerves/coverage/audit.js +28 -2
- package/dist/nerves/coverage/cli-main.js +6 -1
- package/dist/nerves/coverage/cli.js +1 -1
- package/dist/nerves/coverage/contract.js +5 -5
- package/dist/nerves/coverage/file-completeness.js +157 -5
- package/dist/nerves/coverage/run-artifacts.js +55 -35
- package/dist/nerves/coverage/source-scanner.js +4 -4
- package/dist/nerves/index.js +269 -31
- package/dist/nerves/observation.js +2 -4
- package/dist/nerves/redact.js +79 -0
- package/dist/nerves/review/cli-main.js +10 -0
- package/dist/nerves/review/cli.js +156 -0
- package/dist/nerves/review/core.js +159 -0
- package/dist/nerves/runtime.js +16 -1
- package/dist/ouro-ax/ax-command.js +794 -0
- package/dist/ouro-ax/effects.js +51 -0
- package/dist/ouro-ax/exit-codes.js +51 -0
- package/dist/ouro-ax/help.js +181 -0
- package/dist/ouro-ax/outcome.js +221 -0
- package/dist/ouro-ax/precise-copy.js +200 -0
- package/dist/ouro-ax/problem.js +95 -0
- package/dist/ouro-ax/voice.js +83 -0
- package/dist/ouro-ax/wait.js +158 -0
- package/dist/products/butler.js +131 -0
- package/dist/repertoire/ado-client.js +15 -56
- package/dist/repertoire/ado-semantic.js +108 -40
- package/dist/repertoire/api-client.js +97 -0
- package/dist/repertoire/auth-required.js +22 -0
- package/dist/repertoire/bitwarden-native.js +458 -0
- package/dist/repertoire/bitwarden-store.js +1296 -0
- package/dist/repertoire/bundle-templates.js +71 -0
- package/dist/repertoire/bw-installer.js +268 -0
- package/dist/repertoire/coding/context-pack.js +80 -3
- package/dist/repertoire/coding/feedback.js +27 -26
- package/dist/repertoire/coding/index.js +63 -6
- package/dist/repertoire/coding/manager.js +31 -14
- package/dist/repertoire/coding/orca-client.js +194 -0
- package/dist/repertoire/coding/orca-manager.js +534 -0
- package/dist/repertoire/coding/router.js +124 -0
- package/dist/repertoire/coding/spawner.js +3 -2
- package/dist/repertoire/coding/tools.js +178 -34
- package/dist/repertoire/coding/workbench-client.js +272 -0
- package/dist/repertoire/coding/workbench-manager.js +404 -0
- package/dist/repertoire/commerce-errors.js +109 -0
- package/dist/repertoire/commerce-self-test.js +156 -0
- package/dist/repertoire/credential-access.js +183 -0
- package/dist/repertoire/desk/classifier.js +362 -0
- package/dist/repertoire/desk-mcp.js +204 -0
- package/dist/repertoire/duffel-client.js +185 -0
- package/dist/repertoire/github-client.js +14 -55
- package/dist/repertoire/graph-client.js +11 -52
- package/dist/repertoire/guardrails.js +1301 -77
- package/dist/repertoire/house-sweep.js +471 -0
- package/dist/repertoire/in-turn-tools-door.js +55 -0
- package/dist/repertoire/mcp-client.js +58 -5
- package/dist/repertoire/mcp-declared-tools.js +156 -0
- package/dist/repertoire/mcp-manager.js +457 -141
- package/dist/repertoire/mcp-tools.js +199 -0
- package/dist/repertoire/mcp-write-guard.js +85 -0
- package/dist/repertoire/plugin-mcp.js +175 -0
- package/dist/repertoire/plugins.js +253 -0
- package/dist/repertoire/relationship-authorization.js +322 -0
- package/dist/repertoire/sanctuary-container-policy.js +50 -0
- package/dist/repertoire/shell-sessions.js +136 -0
- package/dist/repertoire/skill-search.js +177 -0
- package/dist/repertoire/skill-summaries.js +129 -0
- package/dist/repertoire/skills.js +34 -4
- package/dist/repertoire/stripe-client.js +163 -0
- package/dist/repertoire/tool-arguments.js +180 -0
- package/dist/repertoire/tool-candidates.js +50 -0
- package/dist/repertoire/tool-catalog.js +228 -0
- package/dist/repertoire/tool-error-code.js +30 -0
- package/dist/repertoire/tool-limits.js +20 -0
- package/dist/repertoire/tool-results.js +29 -0
- package/dist/repertoire/tools-a2a.js +792 -0
- package/dist/repertoire/tools-app-sessions.js +219 -0
- package/dist/repertoire/tools-attachments.js +302 -0
- package/dist/repertoire/tools-awaiting.js +937 -0
- package/dist/repertoire/tools-base.js +85 -1422
- package/dist/repertoire/tools-bridge.js +153 -0
- package/dist/repertoire/tools-bundle.js +998 -0
- package/dist/repertoire/tools-chat.js +185 -0
- package/dist/repertoire/tools-commerce.js +272 -0
- package/dist/repertoire/tools-config.js +199 -0
- package/dist/repertoire/tools-continuity.js +648 -0
- package/dist/repertoire/tools-credential.js +410 -0
- package/dist/repertoire/tools-escalation.js +98 -0
- package/dist/repertoire/tools-evolution.js +560 -0
- package/dist/repertoire/tools-files.js +521 -0
- package/dist/repertoire/tools-flight.js +313 -0
- package/dist/repertoire/tools-flow.js +173 -0
- package/dist/repertoire/tools-friend-link.js +69 -0
- package/dist/repertoire/tools-github.js +11 -4
- package/dist/repertoire/tools-habits.js +111 -0
- package/dist/repertoire/tools-house-care.js +190 -0
- package/dist/repertoire/tools-mail.js +1930 -0
- package/dist/repertoire/tools-notes.js +571 -0
- package/dist/repertoire/tools-obligations.js +187 -0
- package/dist/repertoire/tools-orientation.js +36 -0
- package/dist/repertoire/tools-record.js +497 -0
- package/dist/repertoire/tools-rsvp.js +148 -0
- package/dist/repertoire/tools-runtime.js +260 -0
- package/dist/repertoire/tools-sanctuary-host.js +218 -0
- package/dist/repertoire/tools-session.js +1201 -0
- package/dist/repertoire/tools-shell.js +275 -0
- package/dist/repertoire/tools-shepherd-guidance.js +183 -0
- package/dist/repertoire/tools-shepherd.js +369 -0
- package/dist/repertoire/tools-steward-policy.js +157 -0
- package/dist/repertoire/tools-stripe.js +244 -0
- package/dist/repertoire/tools-surface.js +597 -0
- package/dist/repertoire/tools-teams.js +67 -17
- package/dist/repertoire/tools-telegram-contacts.js +41 -0
- package/dist/repertoire/tools-travel.js +142 -0
- package/dist/repertoire/tools-trip.js +1041 -0
- package/dist/repertoire/tools-unraid.js +627 -0
- package/dist/repertoire/tools-user-profile.js +166 -0
- package/dist/repertoire/tools-vault.js +46 -0
- package/dist/repertoire/tools-voice-local.js +210 -0
- package/dist/repertoire/tools-voice.js +153 -0
- package/dist/repertoire/tools-web.js +238 -0
- package/dist/repertoire/tools.js +616 -288
- package/dist/repertoire/travel-api-client.js +463 -0
- package/dist/repertoire/unraid-client.js +155 -0
- package/dist/repertoire/unraid-restart.js +342 -0
- package/dist/repertoire/user-profile.js +131 -0
- package/dist/repertoire/vault-setup.js +298 -0
- package/dist/repertoire/vault-unlock.js +816 -0
- package/dist/rsvp/aisleplanner-client.js +354 -0
- package/dist/rsvp/cli.js +886 -0
- package/dist/rsvp/config.js +327 -0
- package/dist/rsvp/cutover.js +453 -0
- package/dist/rsvp/diagnostics.js +232 -0
- package/dist/rsvp/diff-renderer.js +176 -0
- package/dist/rsvp/habit-policy.js +109 -0
- package/dist/rsvp/habit-stage.js +122 -0
- package/dist/rsvp/incident-bundle.js +97 -0
- package/dist/rsvp/migration.js +204 -0
- package/dist/rsvp/native-habit-runner.js +621 -0
- package/dist/rsvp/outbound-state.js +628 -0
- package/dist/rsvp/query.js +118 -0
- package/dist/rsvp/replay.js +233 -0
- package/dist/rsvp/snapshot.js +232 -0
- package/dist/rsvp/spend-ledger.js +175 -0
- package/dist/scripts/claude-code-stop-hook.js +4 -3
- package/dist/senses/a2a-entry.js +146 -0
- package/dist/senses/acp-server.js +452 -0
- package/dist/senses/app-sessions/client.js +128 -0
- package/dist/senses/app-sessions/digest-cards.js +263 -0
- package/dist/senses/app-sessions/digest-push.js +108 -0
- package/dist/senses/app-sessions/digest-sources.js +204 -0
- package/dist/senses/app-sessions/digest.js +284 -0
- package/dist/senses/app-sessions/run-command.js +51 -0
- package/dist/senses/app-sessions/sense.js +242 -0
- package/dist/senses/app-sessions/shepherd-cli.js +166 -0
- package/dist/senses/app-sessions/shepherd-rows.js +67 -0
- package/dist/senses/app-sessions/store.js +149 -0
- package/dist/senses/app-sessions/waiting-prompts.js +137 -0
- package/dist/senses/app-sessions/waiting-status.js +23 -0
- package/dist/senses/app-sessions-entry.js +87 -0
- package/dist/senses/attention-queue.js +95 -6
- package/dist/senses/await-turn-message.js +65 -0
- package/dist/senses/bluebubbles/active-turns.js +241 -0
- package/dist/senses/bluebubbles/agent-client.js +161 -0
- package/dist/senses/bluebubbles/attachment-cache.js +53 -0
- package/dist/senses/bluebubbles/attachment-download.js +143 -0
- package/dist/senses/bluebubbles/client.js +900 -0
- package/dist/senses/bluebubbles/context-packet.js +207 -0
- package/dist/senses/bluebubbles/context-smoke.js +144 -0
- package/dist/senses/bluebubbles/entry.js +80 -0
- package/dist/senses/bluebubbles/host-account-verifier.js +113 -0
- package/dist/senses/bluebubbles/host-trust.js +13 -0
- package/dist/senses/{bluebubbles-inbound-log.js → bluebubbles/inbound-log.js} +21 -3
- package/dist/senses/bluebubbles/index.js +4796 -0
- package/dist/senses/bluebubbles/latest-turn.js +342 -0
- package/dist/senses/bluebubbles/letter-answer-ingress.js +35 -0
- package/dist/senses/bluebubbles/letter-guard.js +144 -0
- package/dist/senses/bluebubbles/media.js +255 -0
- package/dist/senses/{bluebubbles-model.js → bluebubbles/model.js} +152 -30
- package/dist/senses/{bluebubbles-mutation-log.js → bluebubbles/mutation-log.js} +24 -13
- package/dist/senses/bluebubbles/outbound-state.js +335 -0
- package/dist/senses/bluebubbles/processed-log.js +133 -0
- package/dist/senses/bluebubbles/reactions.js +18 -0
- package/dist/senses/bluebubbles/replay.js +284 -0
- package/dist/senses/{bluebubbles-runtime-state.js → bluebubbles/runtime-state.js} +55 -4
- package/dist/senses/bluebubbles/semantic-receipts.js +2014 -0
- package/dist/senses/bluebubbles/send-file.js +25 -0
- package/dist/senses/bluebubbles/send-health.js +126 -0
- package/dist/senses/bluebubbles/server-message.js +40 -0
- package/dist/senses/{bluebubbles-session-cleanup.js → bluebubbles/session-cleanup.js} +1 -1
- package/dist/senses/bluebubbles/url-trust.js +37 -0
- package/dist/senses/bluebubbles/webhook-registration.js +257 -0
- package/dist/senses/bluebubbles-meta-guard.js +39 -0
- package/dist/senses/chat-file.js +75 -0
- package/dist/senses/cli/bracketed-paste.js +82 -0
- package/dist/senses/cli/image-paste.js +287 -0
- package/dist/senses/cli/image-ref-navigation.js +75 -0
- package/dist/senses/cli/ink-app.js +156 -0
- package/dist/senses/cli/inline-diff.js +64 -0
- package/dist/senses/cli/input-keys.js +209 -0
- package/dist/senses/cli/kill-ring.js +86 -0
- package/dist/senses/cli/message-list.js +51 -0
- package/dist/senses/cli/ouro-tui.js +633 -0
- package/dist/senses/cli/spinner-imperative.js +135 -0
- package/dist/senses/cli/spinner.js +101 -0
- package/dist/senses/cli/status-line.js +60 -0
- package/dist/senses/cli/streaming-markdown.js +526 -0
- package/dist/senses/cli/tool-display.js +85 -0
- package/dist/senses/cli/tool-render.js +85 -0
- package/dist/senses/cli/tui-store.js +252 -0
- package/dist/senses/cli/virtual-list.js +35 -0
- package/dist/senses/cli-entry.js +62 -9
- package/dist/senses/cli.js +621 -368
- package/dist/senses/commands.js +29 -3
- package/dist/senses/context-packet-ledger.js +367 -0
- package/dist/senses/context-packets.js +154 -0
- package/dist/senses/habit-lifecycle-guard.js +24 -0
- package/dist/senses/habit-turn-message.js +58 -6
- package/dist/senses/inbound-journal.js +186 -0
- package/dist/senses/ingress-evidence.js +2 -0
- package/dist/senses/mail-entry.js +69 -0
- package/dist/senses/mail.js +524 -0
- package/dist/senses/ordinary-owner-decision.js +98 -0
- package/dist/senses/pipeline.js +1223 -299
- package/dist/senses/private-runtime-worker.js +820 -0
- package/dist/senses/private-runtime.js +1648 -0
- package/dist/senses/proactive-content-guard.js +134 -0
- package/dist/senses/program-status.js +155 -0
- package/dist/senses/repeat-while.js +36 -0
- package/dist/senses/reply-gate.js +237 -0
- package/dist/senses/root-host-approval-port.js +345 -0
- package/dist/senses/root-host-approval-runtime.js +394 -0
- package/dist/senses/sanctuary-authority-resident.js +102 -0
- package/dist/senses/sanctuary-download-credit-presentation.js +32 -0
- package/dist/senses/sanctuary-full-visibility-contract.js +302 -0
- package/dist/senses/sanctuary-grounding.js +118 -0
- package/dist/senses/sanctuary-health-acceptance-probe-entry.js +21 -0
- package/dist/senses/sanctuary-health-acceptance-probe.js +814 -0
- package/dist/senses/sanctuary-health-runner.js +107 -0
- package/dist/senses/sanctuary-health.js +442 -0
- package/dist/senses/sanctuary-house.js +97 -0
- package/dist/senses/sanctuary-install-state-contract.js +169 -0
- package/dist/senses/sanctuary-interactive-control.js +410 -0
- package/dist/senses/sanctuary-media-catalog-contract.js +268 -0
- package/dist/senses/sanctuary-media-optimization.js +517 -0
- package/dist/senses/sanctuary-runtime.js +393 -0
- package/dist/senses/sanctuary-sab.js +85 -0
- package/dist/senses/sanctuary-storage-optimization-contract.js +32 -0
- package/dist/senses/sense-shutdown.js +72 -0
- package/dist/senses/shared-turn.js +741 -97
- package/dist/senses/shepherd/agent-presentation.js +88 -0
- package/dist/senses/shepherd/attention-page.js +166 -0
- package/dist/senses/shepherd/attention-sidebar.js +76 -0
- package/dist/senses/shepherd/attention.js +295 -0
- package/dist/senses/shepherd/checkin-config.js +76 -0
- package/dist/senses/shepherd/checkin-store.js +383 -0
- package/dist/senses/shepherd/client.js +196 -0
- package/dist/senses/shepherd/cmux.js +483 -0
- package/dist/senses/shepherd/composer.js +336 -0
- package/dist/senses/shepherd/conversation-hold.js +78 -0
- package/dist/senses/shepherd/feedback-reply.js +108 -0
- package/dist/senses/shepherd/feedback-source.js +20 -0
- package/dist/senses/shepherd/feedback-store.js +328 -0
- package/dist/senses/shepherd/feedback-submit.js +182 -0
- package/dist/senses/shepherd/feedback-worker.js +208 -0
- package/dist/senses/shepherd/guidance.js +273 -0
- package/dist/senses/shepherd/herdr.js +427 -0
- package/dist/senses/shepherd/host.js +14 -0
- package/dist/senses/shepherd/human-decision-guard.js +29 -0
- package/dist/senses/shepherd/judge-evaluation-command.js +185 -0
- package/dist/senses/shepherd/judge-evaluation-entry.js +20 -0
- package/dist/senses/shepherd/judge-evaluation.js +144 -0
- package/dist/senses/shepherd/judge.js +210 -0
- package/dist/senses/shepherd/notice-outbox.js +254 -0
- package/dist/senses/shepherd/observation-publisher.js +320 -0
- package/dist/senses/shepherd/operations-defaults.js +86 -0
- package/dist/senses/shepherd/operations.js +159 -0
- package/dist/senses/shepherd/owner-notice.js +496 -0
- package/dist/senses/shepherd/prompt-state.js +60 -0
- package/dist/senses/shepherd/recovery.js +543 -0
- package/dist/senses/shepherd/redact.js +66 -0
- package/dist/senses/shepherd/returns.js +79 -0
- package/dist/senses/shepherd/sense.js +862 -0
- package/dist/senses/shepherd/shepherd-judge-corpus-v1.json +170 -0
- package/dist/senses/shepherd/surface.js +125 -0
- package/dist/senses/shepherd/target-binding.js +13 -0
- package/dist/senses/shepherd/terminal-process.js +147 -0
- package/dist/senses/shepherd-entry.js +98 -0
- package/dist/senses/surface-tool.js +60 -34
- package/dist/senses/teams-attachments.js +68 -0
- package/dist/senses/teams-entry.js +80 -9
- package/dist/senses/teams-image.js +128 -0
- package/dist/senses/teams-inbound.js +76 -0
- package/dist/senses/teams-off-turn.js +199 -0
- package/dist/senses/teams-outbox.js +249 -0
- package/dist/senses/teams.js +1255 -367
- package/dist/senses/telegram-admission.js +700 -0
- package/dist/senses/telegram-approval-relay.js +293 -0
- package/dist/senses/telegram-approval-runtime.js +831 -0
- package/dist/senses/telegram-attachments.js +128 -0
- package/dist/senses/telegram-audit-ledger.js +220 -0
- package/dist/senses/telegram-authority-transport.js +233 -0
- package/dist/senses/telegram-chat-actions.js +57 -0
- package/dist/senses/telegram-client.js +1896 -0
- package/dist/senses/telegram-effect-adapter.js +893 -0
- package/dist/senses/telegram-entry.js +87 -0
- package/dist/senses/telegram-handoff.js +150 -0
- package/dist/senses/telegram-identity-key.js +143 -0
- package/dist/senses/telegram-markdown.js +331 -0
- package/dist/senses/telegram-owner-route.js +129 -0
- package/dist/senses/telegram.js +2800 -0
- package/dist/senses/terminal-handoff.js +44 -0
- package/dist/senses/trust-gate.js +104 -9
- package/dist/senses/turn-attempts.js +171 -0
- package/dist/senses/turn-watch.js +268 -0
- package/dist/senses/voice/audio-playback.js +237 -0
- package/dist/senses/voice/audio-routing.js +119 -0
- package/dist/senses/voice/call-auth.js +250 -0
- package/dist/senses/voice/elevenlabs.js +202 -0
- package/dist/senses/voice/floor-control.js +431 -0
- package/dist/senses/voice/floor-controller.js +115 -0
- package/dist/senses/voice/golden-path.js +116 -0
- package/dist/senses/voice/index.js +29 -0
- package/dist/senses/voice/local-audio-control.js +344 -0
- package/dist/senses/voice/local-audio-devices.js +516 -0
- package/dist/senses/voice/local-audio-disclosure.js +174 -0
- package/dist/senses/voice/local-audio-identity.js +103 -0
- package/dist/senses/voice/local-audio-join.js +325 -0
- package/dist/senses/voice/local-audio-mute.js +199 -0
- package/dist/senses/voice/local-audio-notify.js +124 -0
- package/dist/senses/voice/local-audio-prompts.js +116 -0
- package/dist/senses/voice/local-audio-transport.js +427 -0
- package/dist/senses/voice/local-audio.js +281 -0
- package/dist/senses/voice/local-media-stream.js +145 -0
- package/dist/senses/voice/meeting.js +113 -0
- package/dist/senses/voice/outbound.js +190 -0
- package/dist/senses/voice/phone.js +33 -0
- package/dist/senses/voice/playback.js +139 -0
- package/dist/senses/voice/process-guards.js +51 -0
- package/dist/senses/voice/realtime-eval.js +496 -0
- package/dist/senses/voice/realtime-tool-schema.js +195 -0
- package/dist/senses/voice/realtime-trace.js +531 -0
- package/dist/senses/voice/realtime-utterances.js +158 -0
- package/dist/senses/voice/transcript.js +70 -0
- package/dist/senses/voice/turn.js +219 -0
- package/dist/senses/voice/twilio-phone-runtime.js +836 -0
- package/dist/senses/voice/twilio-phone.js +5660 -0
- package/dist/senses/voice/types.js +2 -0
- package/dist/senses/voice/utterances.js +207 -0
- package/dist/senses/voice/whisper.js +153 -0
- package/dist/senses/voice-entry.js +84 -0
- package/dist/senses/voice-realtime-eval-command.js +99 -0
- package/dist/senses/voice-realtime-eval-entry.js +25 -0
- package/dist/senses/voice-twilio-entry.js +88 -0
- package/dist/trips/core.js +138 -0
- package/dist/trips/store.js +265 -0
- package/dist/util/frontmatter.js +69 -0
- package/node_modules/@ouro.bot/friends/LICENSE +201 -0
- package/node_modules/@ouro.bot/friends/README.md +687 -0
- package/node_modules/@ouro.bot/friends/actions/generated/mcp.json +1105 -0
- package/node_modules/@ouro.bot/friends/changelog.json +197 -0
- package/node_modules/@ouro.bot/friends/dist/a2a-client/a2a-message.d.ts +39 -0
- package/node_modules/@ouro.bot/friends/dist/a2a-client/a2a-message.js +54 -0
- package/node_modules/@ouro.bot/friends/dist/a2a-client/adapter.d.ts +117 -0
- package/node_modules/@ouro.bot/friends/dist/a2a-client/adapter.js +202 -0
- package/node_modules/@ouro.bot/friends/dist/a2a-client/agent-card.d.ts +50 -0
- package/node_modules/@ouro.bot/friends/dist/a2a-client/agent-card.js +32 -0
- package/node_modules/@ouro.bot/friends/dist/a2a-client/did-key.d.ts +38 -0
- package/node_modules/@ouro.bot/friends/dist/a2a-client/did-key.js +120 -0
- package/node_modules/@ouro.bot/friends/dist/a2a-client/did-verifier.d.ts +195 -0
- package/node_modules/@ouro.bot/friends/dist/a2a-client/did-verifier.js +342 -0
- package/node_modules/@ouro.bot/friends/dist/a2a-client/did-web.d.ts +26 -0
- package/node_modules/@ouro.bot/friends/dist/a2a-client/did-web.js +140 -0
- package/node_modules/@ouro.bot/friends/dist/a2a-client/envelope-binding.d.ts +62 -0
- package/node_modules/@ouro.bot/friends/dist/a2a-client/envelope-binding.js +83 -0
- package/node_modules/@ouro.bot/friends/dist/a2a-client/index.d.ts +26 -0
- package/node_modules/@ouro.bot/friends/dist/a2a-client/index.js +82 -0
- package/node_modules/@ouro.bot/friends/dist/a2a-client/jcs.d.ts +5 -0
- package/node_modules/@ouro.bot/friends/dist/a2a-client/jcs.js +84 -0
- package/node_modules/@ouro.bot/friends/dist/a2a-client/reachability.d.ts +22 -0
- package/node_modules/@ouro.bot/friends/dist/a2a-client/reachability.js +17 -0
- package/node_modules/@ouro.bot/friends/dist/a2a-client/roster-verify.d.ts +15 -0
- package/node_modules/@ouro.bot/friends/dist/a2a-client/roster-verify.js +61 -0
- package/node_modules/@ouro.bot/friends/dist/a2a-client/seal.d.ts +47 -0
- package/node_modules/@ouro.bot/friends/dist/a2a-client/seal.js +95 -0
- package/node_modules/@ouro.bot/friends/dist/a2a-client/sealed-envelope.d.ts +58 -0
- package/node_modules/@ouro.bot/friends/dist/a2a-client/sealed-envelope.js +113 -0
- package/node_modules/@ouro.bot/friends/dist/a2a-client/sign.d.ts +42 -0
- package/node_modules/@ouro.bot/friends/dist/a2a-client/sign.js +87 -0
- package/node_modules/@ouro.bot/friends/dist/a2a-client/sodium.d.ts +5 -0
- package/node_modules/@ouro.bot/friends/dist/a2a-client/sodium.js +19 -0
- package/node_modules/@ouro.bot/friends/dist/account-roster.d.ts +52 -0
- package/node_modules/@ouro.bot/friends/dist/account-roster.js +108 -0
- package/node_modules/@ouro.bot/friends/dist/agent-peer.d.ts +26 -0
- package/node_modules/@ouro.bot/friends/dist/agent-peer.js +138 -0
- package/node_modules/@ouro.bot/friends/dist/audit.d.ts +42 -0
- package/node_modules/@ouro.bot/friends/dist/audit.js +86 -0
- package/node_modules/@ouro.bot/friends/dist/channel.d.ts +16 -0
- package/{dist/mind/friends → node_modules/@ouro.bot/friends/dist}/channel.js +73 -6
- package/node_modules/@ouro.bot/friends/dist/connect-authority.d.ts +43 -0
- package/node_modules/@ouro.bot/friends/dist/connect-authority.js +84 -0
- package/node_modules/@ouro.bot/friends/dist/connect.d.ts +56 -0
- package/node_modules/@ouro.bot/friends/dist/connect.js +163 -0
- package/node_modules/@ouro.bot/friends/dist/consent.d.ts +34 -0
- package/node_modules/@ouro.bot/friends/dist/consent.js +65 -0
- package/node_modules/@ouro.bot/friends/dist/coordination.d.ts +116 -0
- package/node_modules/@ouro.bot/friends/dist/coordination.js +329 -0
- package/node_modules/@ouro.bot/friends/dist/delegation-grant.d.ts +21 -0
- package/node_modules/@ouro.bot/friends/dist/delegation-grant.js +39 -0
- package/node_modules/@ouro.bot/friends/dist/file-bundle.d.ts +17 -0
- package/node_modules/@ouro.bot/friends/dist/file-bundle.js +27 -0
- package/node_modules/@ouro.bot/friends/dist/friend-lookup.d.ts +9 -0
- package/node_modules/@ouro.bot/friends/dist/friend-lookup.js +69 -0
- package/node_modules/@ouro.bot/friends/dist/grant-store-file.d.ts +19 -0
- package/node_modules/@ouro.bot/friends/dist/grant-store-file.js +157 -0
- package/node_modules/@ouro.bot/friends/dist/grant-store.d.ts +7 -0
- package/node_modules/@ouro.bot/friends/dist/grant-store.js +8 -0
- package/node_modules/@ouro.bot/friends/dist/grants.d.ts +43 -0
- package/node_modules/@ouro.bot/friends/dist/grants.js +100 -0
- package/node_modules/@ouro.bot/friends/dist/group-context.d.ts +21 -0
- package/{dist/mind/friends → node_modules/@ouro.bot/friends/dist}/group-context.js +5 -4
- package/node_modules/@ouro.bot/friends/dist/identity.d.ts +17 -0
- package/node_modules/@ouro.bot/friends/dist/identity.js +68 -0
- package/node_modules/@ouro.bot/friends/dist/index.d.ts +73 -0
- package/node_modules/@ouro.bot/friends/dist/index.js +164 -0
- package/node_modules/@ouro.bot/friends/dist/link-identity.d.ts +14 -0
- package/node_modules/@ouro.bot/friends/dist/link-identity.js +157 -0
- package/node_modules/@ouro.bot/friends/dist/mailbox/index.d.ts +105 -0
- package/node_modules/@ouro.bot/friends/dist/mailbox/index.js +205 -0
- package/node_modules/@ouro.bot/friends/dist/mcp/bin.d.ts +2 -0
- package/node_modules/@ouro.bot/friends/dist/mcp/bin.js +17 -0
- package/node_modules/@ouro.bot/friends/dist/mcp/dispatch.d.ts +40 -0
- package/node_modules/@ouro.bot/friends/dist/mcp/dispatch.js +744 -0
- package/node_modules/@ouro.bot/friends/dist/mcp/index.d.ts +6 -0
- package/node_modules/@ouro.bot/friends/dist/mcp/index.js +14 -0
- package/node_modules/@ouro.bot/friends/dist/mcp/run-main.d.ts +7 -0
- package/node_modules/@ouro.bot/friends/dist/mcp/run-main.js +59 -0
- package/node_modules/@ouro.bot/friends/dist/mcp/schemas.d.ts +10 -0
- package/node_modules/@ouro.bot/friends/dist/mcp/schemas.js +23 -0
- package/node_modules/@ouro.bot/friends/dist/mcp/server.d.ts +30 -0
- package/node_modules/@ouro.bot/friends/dist/mcp/server.js +195 -0
- package/node_modules/@ouro.bot/friends/dist/message.d.ts +93 -0
- package/node_modules/@ouro.bot/friends/dist/message.js +129 -0
- package/node_modules/@ouro.bot/friends/dist/mission-result.d.ts +89 -0
- package/node_modules/@ouro.bot/friends/dist/mission-result.js +207 -0
- package/node_modules/@ouro.bot/friends/dist/mission-share.d.ts +94 -0
- package/node_modules/@ouro.bot/friends/dist/mission-share.js +232 -0
- package/node_modules/@ouro.bot/friends/dist/mission-store-file.d.ts +18 -0
- package/node_modules/@ouro.bot/friends/dist/mission-store-file.js +169 -0
- package/node_modules/@ouro.bot/friends/dist/mission-store.d.ts +10 -0
- package/node_modules/@ouro.bot/friends/dist/mission-store.js +9 -0
- package/node_modules/@ouro.bot/friends/dist/missions.d.ts +31 -0
- package/node_modules/@ouro.bot/friends/dist/missions.js +99 -0
- package/node_modules/@ouro.bot/friends/dist/notes.d.ts +11 -0
- package/node_modules/@ouro.bot/friends/dist/notes.js +90 -0
- package/node_modules/@ouro.bot/friends/dist/observability.d.ts +27 -0
- package/node_modules/@ouro.bot/friends/dist/observability.js +31 -0
- package/node_modules/@ouro.bot/friends/dist/outcomes.d.ts +9 -0
- package/node_modules/@ouro.bot/friends/dist/outcomes.js +51 -0
- package/node_modules/@ouro.bot/friends/dist/resolver.d.ts +59 -0
- package/node_modules/@ouro.bot/friends/dist/resolver.js +276 -0
- package/node_modules/@ouro.bot/friends/dist/results.d.ts +10 -0
- package/node_modules/@ouro.bot/friends/dist/results.js +2 -0
- package/node_modules/@ouro.bot/friends/dist/room.d.ts +22 -0
- package/node_modules/@ouro.bot/friends/dist/room.js +40 -0
- package/node_modules/@ouro.bot/friends/dist/roster-store-file.d.ts +16 -0
- package/node_modules/@ouro.bot/friends/dist/roster-store-file.js +125 -0
- package/node_modules/@ouro.bot/friends/dist/roster-store-memory.d.ts +9 -0
- package/node_modules/@ouro.bot/friends/dist/roster-store-memory.js +20 -0
- package/node_modules/@ouro.bot/friends/dist/roster-store.d.ts +29 -0
- package/node_modules/@ouro.bot/friends/dist/roster-store.js +9 -0
- package/node_modules/@ouro.bot/friends/dist/roster-verifier.d.ts +23 -0
- package/node_modules/@ouro.bot/friends/dist/roster-verifier.js +47 -0
- package/node_modules/@ouro.bot/friends/dist/share.d.ts +113 -0
- package/node_modules/@ouro.bot/friends/dist/share.js +314 -0
- package/node_modules/@ouro.bot/friends/dist/standing.d.ts +83 -0
- package/node_modules/@ouro.bot/friends/dist/standing.js +111 -0
- package/node_modules/@ouro.bot/friends/dist/store-file.d.ts +82 -0
- package/node_modules/@ouro.bot/friends/dist/store-file.js +1089 -0
- package/node_modules/@ouro.bot/friends/dist/store.d.ts +43 -0
- package/node_modules/@ouro.bot/friends/dist/tokens.d.ts +10 -0
- package/{dist/mind/friends → node_modules/@ouro.bot/friends/dist}/tokens.js +7 -4
- package/node_modules/@ouro.bot/friends/dist/trust-explanation.d.ts +22 -0
- package/node_modules/@ouro.bot/friends/dist/trust-explanation.js +90 -0
- package/node_modules/@ouro.bot/friends/dist/trust-mutation.d.ts +16 -0
- package/node_modules/@ouro.bot/friends/dist/trust-mutation.js +67 -0
- package/node_modules/@ouro.bot/friends/dist/types.d.ts +333 -0
- package/node_modules/@ouro.bot/friends/dist/types.js +55 -0
- package/node_modules/@ouro.bot/friends/dist/util/cap-string.d.ts +7 -0
- package/node_modules/@ouro.bot/friends/dist/util/cap-string.js +35 -0
- package/node_modules/@ouro.bot/friends/dist/util/safe-id.d.ts +1 -0
- package/node_modules/@ouro.bot/friends/dist/util/safe-id.js +10 -0
- package/node_modules/@ouro.bot/friends/dist/verifier.d.ts +11 -0
- package/node_modules/@ouro.bot/friends/dist/verifier.js +29 -0
- package/node_modules/@ouro.bot/friends/dist/whoami.d.ts +7 -0
- package/node_modules/@ouro.bot/friends/dist/whoami.js +39 -0
- package/node_modules/@ouro.bot/friends/package.json +82 -0
- package/node_modules/libsodium/LICENSE +16 -0
- package/node_modules/libsodium/README.md +281 -0
- package/node_modules/libsodium/dist/modules/libsodium.js +1 -0
- package/node_modules/libsodium/dist/modules-esm/libsodium.mjs +1 -0
- package/node_modules/libsodium/package.json +54 -0
- package/node_modules/libsodium-wrappers/LICENSE +16 -0
- package/node_modules/libsodium-wrappers/README.md +281 -0
- package/node_modules/libsodium-wrappers/dist/modules/libsodium-wrappers.d.ts +2155 -0
- package/node_modules/libsodium-wrappers/dist/modules/libsodium-wrappers.js +1 -0
- package/node_modules/libsodium-wrappers/dist/modules-esm/libsodium-wrappers.d.mts +2743 -0
- package/node_modules/libsodium-wrappers/dist/modules-esm/libsodium-wrappers.mjs +1 -0
- package/node_modules/libsodium-wrappers/package.json +74 -0
- package/npm-shrinkwrap.json +8789 -0
- package/package.json +100 -12
- package/skills/agent-commerce.md +116 -0
- package/skills/browser-navigation.md +120 -0
- package/skills/commerce-setup-guide.md +116 -0
- package/skills/commerce-setup.md +87 -0
- package/skills/configure-dev-tools.md +32 -14
- package/skills/sense-setup.md +56 -0
- package/skills/travel-planning.md +141 -0
- package/vendor/desk/.claude-plugin/plugin.json +35 -0
- package/vendor/desk/.mcp.claude-codex.json +28 -0
- package/vendor/desk/.mcp.copilot.json +16 -0
- package/vendor/desk/.ouro-desk.json +6 -0
- package/vendor/desk/CHANGELOG.md +7644 -0
- package/vendor/desk/README.md +195 -0
- package/vendor/desk/activation/README.md +98 -0
- package/vendor/desk/activation/copilot-root.flattened-bundle.json +38 -0
- package/vendor/desk/activation/desk.activation.json +251 -0
- package/vendor/desk/activation/host-capability-evidence.md +46 -0
- package/vendor/desk/activation/support-matrix.json +84 -0
- package/vendor/desk/agency.json +20 -0
- package/vendor/desk/agents/observer.agent.md +26 -0
- package/vendor/desk/agents/observer.md +29 -0
- package/vendor/desk/agents/worker.agent.md +32 -0
- package/vendor/desk/agents/worker.md +40 -0
- package/vendor/desk/artifacts/tombstones/tombstone.schema.json +53 -0
- package/vendor/desk/artifacts/tombstones/tombstones.jsonl +1 -0
- package/vendor/desk/changelog.d/README.md +12 -0
- package/vendor/desk/docs/agent-files.md +104 -0
- package/vendor/desk/docs/agentic-engineering-v2-rfc.md +206 -0
- package/vendor/desk/docs/agentic-engineering-v3-rfc.md +109 -0
- package/vendor/desk/docs/browser-remote-desktops.md +69 -0
- package/vendor/desk/docs/dependency-activation-stories-and-criteria.md +500 -0
- package/vendor/desk/docs/evaluation-packet.md +363 -0
- package/vendor/desk/docs/factory-local-capture.md +651 -0
- package/vendor/desk/docs/factory-store-playbook.md +927 -0
- package/vendor/desk/docs/images/factory-site.png +0 -0
- package/vendor/desk/docs/issue-drains.md +81 -0
- package/vendor/desk/docs/lfs-inspection.md +55 -0
- package/vendor/desk/docs/preview-diagnostics.md +11 -0
- package/vendor/desk/docs/relays.md +88 -0
- package/vendor/desk/docs/schedules.md +69 -0
- package/vendor/desk/docs/search-recovery.md +22 -0
- package/vendor/desk/docs/session-labels.md +157 -0
- package/vendor/desk/docs/session-retention.md +125 -0
- package/vendor/desk/docs/sessions.md +17 -0
- package/vendor/desk/docs/stalled-nudges.md +54 -0
- package/vendor/desk/docs/webhooks.md +80 -0
- package/vendor/desk/docs/workspace-tidy.md +74 -0
- package/vendor/desk/hooks/boot-checks.cjs +7 -0
- package/vendor/desk/hooks/claude-session-start.cjs +123 -0
- package/vendor/desk/hooks/compatible-node.cjs +97 -0
- package/vendor/desk/hooks/copilot-boot-prompt.cjs +69 -0
- package/vendor/desk/hooks/copilot-durable-files.cjs +8 -0
- package/vendor/desk/hooks/copilot-hooks.json +61 -0
- package/vendor/desk/hooks/copilot-intake-context.cjs +5 -0
- package/vendor/desk/hooks/copilot-lane-model.cjs +8 -0
- package/vendor/desk/hooks/copilot-session-start.cjs +264 -0
- package/vendor/desk/hooks/copilot-skill-current.cjs +28 -0
- package/vendor/desk/hooks/factory-end.cjs +5 -0
- package/vendor/desk/hooks/factory-start.cjs +27 -0
- package/vendor/desk/hooks/hooks.json +40 -0
- package/vendor/desk/hooks/lib/boot-checks.cjs +643 -0
- package/vendor/desk/hooks/lib/child-agent.cjs +14 -0
- package/vendor/desk/hooks/lib/copilot-intake-context.cjs +73 -0
- package/vendor/desk/hooks/lib/current-release.cjs +162 -0
- package/vendor/desk/hooks/lib/delivery-stop.cjs +326 -0
- package/vendor/desk/hooks/lib/detach-worker.cjs +43 -0
- package/vendor/desk/hooks/lib/durable-files.cjs +102 -0
- package/vendor/desk/hooks/lib/factory-end.cjs +330 -0
- package/vendor/desk/hooks/lib/lane-model.cjs +82 -0
- package/vendor/desk/hooks/lib/node-required.cjs +56 -0
- package/vendor/desk/hooks/lib/orca-session-title.cjs +60 -0
- package/vendor/desk/hooks/lib/session-end.cjs +30 -0
- package/vendor/desk/hooks/lib/sync-end.cjs +89 -0
- package/vendor/desk/hooks/loop-start.cjs +105 -0
- package/vendor/desk/hooks/node-missing.sh +78 -0
- package/vendor/desk/hooks/orca-session-title.cjs +8 -0
- package/vendor/desk/hooks/session-end.cjs +8 -0
- package/vendor/desk/mcp/README.md +277 -0
- package/vendor/desk/mcp/artifacts/runtime-deps/1.4.0-alpha.6/darwin-arm64-node-127/3b0cb8b1e7dd77a982b38375fe88a5278bd77974213e18be025d7dc8deea800f/runtime-deps.manifest.json +881 -0
- package/vendor/desk/mcp/artifacts/runtime-deps/1.4.0-alpha.6/darwin-arm64-node-127/3b0cb8b1e7dd77a982b38375fe88a5278bd77974213e18be025d7dc8deea800f/runtime-deps.sha256 +1 -0
- package/vendor/desk/mcp/artifacts/runtime-deps/1.4.0-alpha.6/darwin-arm64-node-127/3b0cb8b1e7dd77a982b38375fe88a5278bd77974213e18be025d7dc8deea800f/runtime-deps.tgz +0 -0
- package/vendor/desk/mcp/artifacts/runtime-deps/1.4.0-alpha.6/darwin-arm64-node-137/3b0cb8b1e7dd77a982b38375fe88a5278bd77974213e18be025d7dc8deea800f/runtime-deps.manifest.json +881 -0
- package/vendor/desk/mcp/artifacts/runtime-deps/1.4.0-alpha.6/darwin-arm64-node-137/3b0cb8b1e7dd77a982b38375fe88a5278bd77974213e18be025d7dc8deea800f/runtime-deps.sha256 +1 -0
- package/vendor/desk/mcp/artifacts/runtime-deps/1.4.0-alpha.6/darwin-arm64-node-137/3b0cb8b1e7dd77a982b38375fe88a5278bd77974213e18be025d7dc8deea800f/runtime-deps.tgz +0 -0
- package/vendor/desk/mcp/artifacts/runtime-deps/1.4.0-alpha.6/linux-x64-node-127/3b0cb8b1e7dd77a982b38375fe88a5278bd77974213e18be025d7dc8deea800f/runtime-deps.manifest.json +881 -0
- package/vendor/desk/mcp/artifacts/runtime-deps/1.4.0-alpha.6/linux-x64-node-127/3b0cb8b1e7dd77a982b38375fe88a5278bd77974213e18be025d7dc8deea800f/runtime-deps.sha256 +1 -0
- package/vendor/desk/mcp/artifacts/runtime-deps/1.4.0-alpha.6/linux-x64-node-127/3b0cb8b1e7dd77a982b38375fe88a5278bd77974213e18be025d7dc8deea800f/runtime-deps.tgz +0 -0
- package/vendor/desk/mcp/artifacts/runtime-deps/1.4.0-alpha.6/linux-x64-node-137/3b0cb8b1e7dd77a982b38375fe88a5278bd77974213e18be025d7dc8deea800f/runtime-deps.manifest.json +881 -0
- package/vendor/desk/mcp/artifacts/runtime-deps/1.4.0-alpha.6/linux-x64-node-137/3b0cb8b1e7dd77a982b38375fe88a5278bd77974213e18be025d7dc8deea800f/runtime-deps.sha256 +1 -0
- package/vendor/desk/mcp/artifacts/runtime-deps/1.4.0-alpha.6/linux-x64-node-137/3b0cb8b1e7dd77a982b38375fe88a5278bd77974213e18be025d7dc8deea800f/runtime-deps.tgz +0 -0
- package/vendor/desk/mcp/artifacts/runtime-deps/1.4.0-alpha.6/linux-x64-node-147/3b0cb8b1e7dd77a982b38375fe88a5278bd77974213e18be025d7dc8deea800f/runtime-deps.manifest.json +881 -0
- package/vendor/desk/mcp/artifacts/runtime-deps/1.4.0-alpha.6/linux-x64-node-147/3b0cb8b1e7dd77a982b38375fe88a5278bd77974213e18be025d7dc8deea800f/runtime-deps.sha256 +1 -0
- package/vendor/desk/mcp/artifacts/runtime-deps/1.4.0-alpha.6/linux-x64-node-147/3b0cb8b1e7dd77a982b38375fe88a5278bd77974213e18be025d7dc8deea800f/runtime-deps.tgz +0 -0
- package/vendor/desk/mcp/artifacts/runtime-deps/1.4.0-alpha.6/support-matrix.json +72 -0
- package/vendor/desk/mcp/artifacts/runtime-deps/1.4.0-alpha.6/win32-x64-node-137/3b0cb8b1e7dd77a982b38375fe88a5278bd77974213e18be025d7dc8deea800f/runtime-deps.manifest.json +881 -0
- package/vendor/desk/mcp/artifacts/runtime-deps/1.4.0-alpha.6/win32-x64-node-137/3b0cb8b1e7dd77a982b38375fe88a5278bd77974213e18be025d7dc8deea800f/runtime-deps.sha256 +1 -0
- package/vendor/desk/mcp/artifacts/runtime-deps/1.4.0-alpha.6/win32-x64-node-137/3b0cb8b1e7dd77a982b38375fe88a5278bd77974213e18be025d7dc8deea800f/runtime-deps.tgz +0 -0
- package/vendor/desk/mcp/artifacts/runtime-deps/1.4.0-alpha.6/win32-x64-node-147/3b0cb8b1e7dd77a982b38375fe88a5278bd77974213e18be025d7dc8deea800f/runtime-deps.manifest.json +881 -0
- package/vendor/desk/mcp/artifacts/runtime-deps/1.4.0-alpha.6/win32-x64-node-147/3b0cb8b1e7dd77a982b38375fe88a5278bd77974213e18be025d7dc8deea800f/runtime-deps.sha256 +1 -0
- package/vendor/desk/mcp/artifacts/runtime-deps/1.4.0-alpha.6/win32-x64-node-147/3b0cb8b1e7dd77a982b38375fe88a5278bd77974213e18be025d7dc8deea800f/runtime-deps.tgz +0 -0
- package/vendor/desk/mcp/artifacts/runtime-deps/README.md +25 -0
- package/vendor/desk/mcp/bootstrap.cjs +787 -0
- package/vendor/desk/mcp/docs/private-feedback.md +13 -0
- package/vendor/desk/mcp/idle-proxy.cjs +431 -0
- package/vendor/desk/mcp/index.js +813 -0
- package/vendor/desk/mcp/package-lock.json +3717 -0
- package/vendor/desk/mcp/package.json +44 -0
- package/vendor/desk/mcp/scripts/agency-desk-channel.js +7 -0
- package/vendor/desk/mcp/scripts/build-runtime-deps-pack.js +5 -0
- package/vendor/desk/mcp/scripts/crew.js +89 -0
- package/vendor/desk/mcp/scripts/drains-launcher.mjs +330 -0
- package/vendor/desk/mcp/scripts/drains.js +5 -0
- package/vendor/desk/mcp/scripts/factory.js +666 -0
- package/vendor/desk/mcp/scripts/file-desk-problem.js +9 -0
- package/vendor/desk/mcp/scripts/finish-commit.js +7 -0
- package/vendor/desk/mcp/scripts/lfs.js +37 -0
- package/vendor/desk/mcp/scripts/local-recovery.js +445 -0
- package/vendor/desk/mcp/scripts/migrations.js +11 -0
- package/vendor/desk/mcp/scripts/private-view.js +177 -0
- package/vendor/desk/mcp/scripts/resolve-desk-root.js +105 -0
- package/vendor/desk/mcp/scripts/session-boot.js +22 -0
- package/vendor/desk/mcp/scripts/session-retention.js +5 -0
- package/vendor/desk/mcp/scripts/session-sync.js +10 -0
- package/vendor/desk/mcp/scripts/sessions.js +5 -0
- package/vendor/desk/mcp/scripts/sync-push.js +13 -0
- package/vendor/desk/mcp/scripts/tidy-status.js +8 -0
- package/vendor/desk/mcp/scripts/verify-runtime-deps-pack.js +5 -0
- package/vendor/desk/mcp/src/actions/desk-read.actions.mts +73 -0
- package/vendor/desk/mcp/src/actions/desk-session.actions.mts +57 -0
- package/vendor/desk/mcp/src/actions/desk-web.actions.mts +52 -0
- package/vendor/desk/mcp/src/actions/desk.actions.mts +5 -0
- package/vendor/desk/mcp/src/actions/generated/desk/OuroActions.swift +649 -0
- package/vendor/desk/mcp/src/actions/generated/desk/OuroActionsReins.swift +61 -0
- package/vendor/desk/mcp/src/actions/generated/desk/actions.json +315 -0
- package/vendor/desk/mcp/src/actions/generated/desk/commands.json +145 -0
- package/vendor/desk/mcp/src/actions/generated/desk/mcp.json +289 -0
- package/vendor/desk/mcp/src/actions/generated/desk/web.ts +59 -0
- package/vendor/desk/mcp/src/actions/generated/desk/webmcp.json +250 -0
- package/vendor/desk/mcp/src/actions/generated/desk-web/OuroActions.swift +241 -0
- package/vendor/desk/mcp/src/actions/generated/desk-web/OuroActionsReins.swift +25 -0
- package/vendor/desk/mcp/src/actions/generated/desk-web/actions.json +73 -0
- package/vendor/desk/mcp/src/actions/generated/desk-web/commands.json +53 -0
- package/vendor/desk/mcp/src/actions/generated/desk-web/mcp.json +83 -0
- package/vendor/desk/mcp/src/actions/generated/desk-web/web.ts +47 -0
- package/vendor/desk/mcp/src/actions/generated/desk-web/webmcp.json +81 -0
- package/vendor/desk/mcp/src/actions/served.js +5 -0
- package/vendor/desk/mcp/src/activation/admit.js +77 -0
- package/vendor/desk/mcp/src/activation/failures.js +65 -0
- package/vendor/desk/mcp/src/activation/readiness-policy.js +102 -0
- package/vendor/desk/mcp/src/activation/schema.js +17 -0
- package/vendor/desk/mcp/src/activation/superpowers-context.js +274 -0
- package/vendor/desk/mcp/src/activation/validate.js +540 -0
- package/vendor/desk/mcp/src/artifacts/tombstones.js +61 -0
- package/vendor/desk/mcp/src/crew/initiative.js +287 -0
- package/vendor/desk/mcp/src/crew/workspace.js +1285 -0
- package/vendor/desk/mcp/src/db/init.js +75 -0
- package/vendor/desk/mcp/src/db/schema.sql +83 -0
- package/vendor/desk/mcp/src/desk/active-tasks.js +408 -0
- package/vendor/desk/mcp/src/desk/card-commit-guard.js +282 -0
- package/vendor/desk/mcp/src/desk/cleanup-index.js +53 -0
- package/vendor/desk/mcp/src/desk/content-home.js +262 -0
- package/vendor/desk/mcp/src/desk/crew-config.js +102 -0
- package/vendor/desk/mcp/src/desk/crew-member.js +196 -0
- package/vendor/desk/mcp/src/desk/crew-roster.js +151 -0
- package/vendor/desk/mcp/src/desk/frontmatter-lite.js +228 -0
- package/vendor/desk/mcp/src/desk/gh-logins.js +109 -0
- package/vendor/desk/mcp/src/desk/handles.js +123 -0
- package/vendor/desk/mcp/src/desk/handoff-reference.js +35 -0
- package/vendor/desk/mcp/src/desk/improvement-authority.js +3 -0
- package/vendor/desk/mcp/src/desk/improvement-cards.js +704 -0
- package/vendor/desk/mcp/src/desk/improvement-person.js +51 -0
- package/vendor/desk/mcp/src/desk/lifecycle.js +16 -0
- package/vendor/desk/mcp/src/desk/machine-desks.js +119 -0
- package/vendor/desk/mcp/src/desk/naming.js +333 -0
- package/vendor/desk/mcp/src/desk/organization.js +592 -0
- package/vendor/desk/mcp/src/desk/resources.js +274 -0
- package/vendor/desk/mcp/src/desk/runtime-resolver.js +30 -0
- package/vendor/desk/mcp/src/desk/scratch-paths.js +44 -0
- package/vendor/desk/mcp/src/desk/step-delivery.js +140 -0
- package/vendor/desk/mcp/src/desk/steps.js +263 -0
- package/vendor/desk/mcp/src/desk/tidy.js +930 -0
- package/vendor/desk/mcp/src/desk/unsigned-deliveries.js +359 -0
- package/vendor/desk/mcp/src/factory/agent-types.js +45 -0
- package/vendor/desk/mcp/src/factory/andon-watch.js +109 -0
- package/vendor/desk/mcp/src/factory/binding.js +612 -0
- package/vendor/desk/mcp/src/factory/boot-check.js +645 -0
- package/vendor/desk/mcp/src/factory/capture-classify.js +158 -0
- package/vendor/desk/mcp/src/factory/capture-count.js +183 -0
- package/vendor/desk/mcp/src/factory/capture-flush.js +268 -0
- package/vendor/desk/mcp/src/factory/capture-publish.js +141 -0
- package/vendor/desk/mcp/src/factory/capture-schema.js +193 -0
- package/vendor/desk/mcp/src/factory/capture-sweep.js +239 -0
- package/vendor/desk/mcp/src/factory/catch-point.js +60 -0
- package/vendor/desk/mcp/src/factory/commit-resolve.js +94 -0
- package/vendor/desk/mcp/src/factory/consent-answer.js +37 -0
- package/vendor/desk/mcp/src/factory/context-capability.js +15 -0
- package/vendor/desk/mcp/src/factory/context-outbox.js +885 -0
- package/vendor/desk/mcp/src/factory/context-run.js +386 -0
- package/vendor/desk/mcp/src/factory/context-schema.js +249 -0
- package/vendor/desk/mcp/src/factory/copilot-turn-index.js +93 -0
- package/vendor/desk/mcp/src/factory/copilot-usage.js +148 -0
- package/vendor/desk/mcp/src/factory/credential.js +45 -0
- package/vendor/desk/mcp/src/factory/derive-claude.js +960 -0
- package/vendor/desk/mcp/src/factory/derive-codex.js +734 -0
- package/vendor/desk/mcp/src/factory/derive-common.js +279 -0
- package/vendor/desk/mcp/src/factory/derive-copilot.js +1057 -0
- package/vendor/desk/mcp/src/factory/derive-run.js +807 -0
- package/vendor/desk/mcp/src/factory/desk-problem-file.js +310 -0
- package/vendor/desk/mcp/src/factory/desk-problem-fingerprint.js +70 -0
- package/vendor/desk/mcp/src/factory/desk-problem-known.js +246 -0
- package/vendor/desk/mcp/src/factory/desk-problem-template.js +107 -0
- package/vendor/desk/mcp/src/factory/desk-repo.js +1223 -0
- package/vendor/desk/mcp/src/factory/desk-task-line.js +28 -0
- package/vendor/desk/mcp/src/factory/desk-visibility.js +48 -0
- package/vendor/desk/mcp/src/factory/end-hook.js +14 -0
- package/vendor/desk/mcp/src/factory/evaluate-kick.js +164 -0
- package/vendor/desk/mcp/src/factory/evaluate-run.js +678 -0
- package/vendor/desk/mcp/src/factory/evaluator-step.js +484 -0
- package/vendor/desk/mcp/src/factory/filer-launch.js +79 -0
- package/vendor/desk/mcp/src/factory/flush-health.js +26 -0
- package/vendor/desk/mcp/src/factory/flush.js +1758 -0
- package/vendor/desk/mcp/src/factory/focus.js +326 -0
- package/vendor/desk/mcp/src/factory/headless-flag.cjs +32 -0
- package/vendor/desk/mcp/src/factory/headless-flag.js +25 -0
- package/vendor/desk/mcp/src/factory/headless-ledger.js +743 -0
- package/vendor/desk/mcp/src/factory/headless.js +567 -0
- package/vendor/desk/mcp/src/factory/held-route.js +93 -0
- package/vendor/desk/mcp/src/factory/host-flags.js +36 -0
- package/vendor/desk/mcp/src/factory/improvement-verify.js +429 -0
- package/vendor/desk/mcp/src/factory/kaizen-file.js +231 -0
- package/vendor/desk/mcp/src/factory/label-binding.js +90 -0
- package/vendor/desk/mcp/src/factory/label-schema.js +426 -0
- package/vendor/desk/mcp/src/factory/local-status.js +368 -0
- package/vendor/desk/mcp/src/factory/loop-conditions.js +121 -0
- package/vendor/desk/mcp/src/factory/loop-health.js +500 -0
- package/vendor/desk/mcp/src/factory/loop-slot.js +90 -0
- package/vendor/desk/mcp/src/factory/loop-status.js +100 -0
- package/vendor/desk/mcp/src/factory/loop-switch.cjs +14 -0
- package/vendor/desk/mcp/src/factory/loop-worker-state.js +96 -0
- package/vendor/desk/mcp/src/factory/loop-worker.js +290 -0
- package/vendor/desk/mcp/src/factory/marker.js +61 -0
- package/vendor/desk/mcp/src/factory/mirror-step.js +145 -0
- package/vendor/desk/mcp/src/factory/os-protect.js +243 -0
- package/vendor/desk/mcp/src/factory/outbox.js +2231 -0
- package/vendor/desk/mcp/src/factory/outcome.js +431 -0
- package/vendor/desk/mcp/src/factory/pipeline/andon.js +319 -0
- package/vendor/desk/mcp/src/factory/pipeline/attention-rollup.js +158 -0
- package/vendor/desk/mcp/src/factory/pipeline/attention.js +146 -0
- package/vendor/desk/mcp/src/factory/pipeline/build.js +299 -0
- package/vendor/desk/mcp/src/factory/pipeline/compare.js +148 -0
- package/vendor/desk/mcp/src/factory/pipeline/formulas.js +652 -0
- package/vendor/desk/mcp/src/factory/pipeline/kaizen.js +387 -0
- package/vendor/desk/mcp/src/factory/pipeline/lifecycle-clocks.js +345 -0
- package/vendor/desk/mcp/src/factory/pipeline/normalize.js +73 -0
- package/vendor/desk/mcp/src/factory/pipeline/number-states.js +154 -0
- package/vendor/desk/mcp/src/factory/pipeline/outcomes.js +268 -0
- package/vendor/desk/mcp/src/factory/pipeline/report.js +737 -0
- package/vendor/desk/mcp/src/factory/pipeline/rollups.js +883 -0
- package/vendor/desk/mcp/src/factory/pipeline/stretches.js +523 -0
- package/vendor/desk/mcp/src/factory/pipeline/timeline.js +199 -0
- package/vendor/desk/mcp/src/factory/pipeline/validate-pr.js +238 -0
- package/vendor/desk/mcp/src/factory/pipeline/versions.js +42 -0
- package/vendor/desk/mcp/src/factory/pipeline/walk.js +1177 -0
- package/vendor/desk/mcp/src/factory/plugin-registry.js +72 -0
- package/vendor/desk/mcp/src/factory/plugin-sources.cjs +249 -0
- package/vendor/desk/mcp/src/factory/pr-green.js +77 -0
- package/vendor/desk/mcp/src/factory/process-lock.js +142 -0
- package/vendor/desk/mcp/src/factory/proof-session.js +75 -0
- package/vendor/desk/mcp/src/factory/publish.js +637 -0
- package/vendor/desk/mcp/src/factory/published-schema.js +648 -0
- package/vendor/desk/mcp/src/factory/reconcile-reasons.js +22 -0
- package/vendor/desk/mcp/src/factory/reconcile-step.js +251 -0
- package/vendor/desk/mcp/src/factory/reconcile.js +808 -0
- package/vendor/desk/mcp/src/factory/release-version.js +134 -0
- package/vendor/desk/mcp/src/factory/repo-name.js +13 -0
- package/vendor/desk/mcp/src/factory/retention.js +60 -0
- package/vendor/desk/mcp/src/factory/route-desk.js +40 -0
- package/vendor/desk/mcp/src/factory/route-issues.js +251 -0
- package/vendor/desk/mcp/src/factory/route-local.js +264 -0
- package/vendor/desk/mcp/src/factory/schema.js +957 -0
- package/vendor/desk/mcp/src/factory/session-kind.js +16 -0
- package/vendor/desk/mcp/src/factory/session-lifetime.js +56 -0
- package/vendor/desk/mcp/src/factory/session-route.js +183 -0
- package/vendor/desk/mcp/src/factory/shell-git.js +500 -0
- package/vendor/desk/mcp/src/factory/store-issues.js +143 -0
- package/vendor/desk/mcp/src/factory/store-route.js +208 -0
- package/vendor/desk/mcp/src/factory/test-state-guard.js +103 -0
- package/vendor/desk/mcp/src/factory/time.js +36 -0
- package/vendor/desk/mcp/src/factory/tool-issue-file.js +84 -0
- package/vendor/desk/mcp/src/factory/tool-kinds.js +87 -0
- package/vendor/desk/mcp/src/factory/triage-schema.js +233 -0
- package/vendor/desk/mcp/src/factory/windows-acl.js +679 -0
- package/vendor/desk/mcp/src/indexer/chunk.js +232 -0
- package/vendor/desk/mcp/src/indexer/discover.js +442 -0
- package/vendor/desk/mcp/src/indexer/exclusions.js +247 -0
- package/vendor/desk/mcp/src/indexer/index.js +167 -0
- package/vendor/desk/mcp/src/indexer/refs.js +0 -0
- package/vendor/desk/mcp/src/indexer/text-hash.js +18 -0
- package/vendor/desk/mcp/src/lib/ouro-actions/actions.claims.json +75 -0
- package/vendor/desk/mcp/src/lib/ouro-actions/dist-manifest.json +70 -0
- package/vendor/desk/mcp/src/lib/ouro-actions/ouro-actions.mts +1416 -0
- package/vendor/desk/mcp/src/lib/ouro-ui/LICENSE +21 -0
- package/vendor/desk/mcp/src/lib/ouro-ui/registry/ouro/ax/ax-claims.ts +191 -0
- package/vendor/desk/mcp/src/lib/ouro-ui/registry/ouro/ax/ax-command.ts +1040 -0
- package/vendor/desk/mcp/src/lib/ouro-ui/registry/ouro/ax/checks.ts +343 -0
- package/vendor/desk/mcp/src/lib/ouro-ui/registry/ouro/ax/cli.ts +240 -0
- package/vendor/desk/mcp/src/lib/ouro-ui/registry/ouro/ax/component.ts +430 -0
- package/vendor/desk/mcp/src/lib/ouro-ui/registry/ouro/ax/dev-commands.ts +204 -0
- package/vendor/desk/mcp/src/lib/ouro-ui/registry/ouro/ax/doctor.ts +126 -0
- package/vendor/desk/mcp/src/lib/ouro-ui/registry/ouro/ax/effects.ts +68 -0
- package/vendor/desk/mcp/src/lib/ouro-ui/registry/ouro/ax/exit-codes.ts +75 -0
- package/vendor/desk/mcp/src/lib/ouro-ui/registry/ouro/ax/help.ts +220 -0
- package/vendor/desk/mcp/src/lib/ouro-ui/registry/ouro/ax/mcp.ts +268 -0
- package/vendor/desk/mcp/src/lib/ouro-ui/registry/ouro/ax/outcome.ts +265 -0
- package/vendor/desk/mcp/src/lib/ouro-ui/registry/ouro/ax/output.ts +67 -0
- package/vendor/desk/mcp/src/lib/ouro-ui/registry/ouro/ax/precise-copy.ts +235 -0
- package/vendor/desk/mcp/src/lib/ouro-ui/registry/ouro/ax/problem.ts +124 -0
- package/vendor/desk/mcp/src/lib/ouro-ui/registry/ouro/ax/surfaces.kit.mts +8 -0
- package/vendor/desk/mcp/src/lib/ouro-ui/registry/ouro/ax/surfaces.ts +568 -0
- package/vendor/desk/mcp/src/lib/ouro-ui/registry/ouro/ax/terminal.ts +245 -0
- package/vendor/desk/mcp/src/lib/ouro-ui/registry/ouro/ax/voice.ts +136 -0
- package/vendor/desk/mcp/src/lib/ouro-ui/registry/ouro/ax/wait.ts +226 -0
- package/vendor/desk/mcp/src/lib/ouro-ui/registry/ouro/ax/work-event.ts +181 -0
- package/vendor/desk/mcp/src/lib/ouro-ui/registry/ouro/ax/xray.kit.mts +18 -0
- package/vendor/desk/mcp/src/lib/ouro-ui/registry/ouro/ax/xray.ts +2110 -0
- package/vendor/desk/mcp/src/package-metadata.js +20 -0
- package/vendor/desk/mcp/src/protected/legacy-ledger.js +55 -0
- package/vendor/desk/mcp/src/readiness/leftovers.js +75 -0
- package/vendor/desk/mcp/src/readiness/process-start.js +149 -0
- package/vendor/desk/mcp/src/runtime/admission-worker.js +194 -0
- package/vendor/desk/mcp/src/runtime/admission.js +177 -0
- package/vendor/desk/mcp/src/runtime/agency-desk-channel.js +342 -0
- package/vendor/desk/mcp/src/runtime/agents-md.js +62 -0
- package/vendor/desk/mcp/src/runtime/append-lane.js +68 -0
- package/vendor/desk/mcp/src/runtime/argv-safe-reason.js +55 -0
- package/vendor/desk/mcp/src/runtime/boot-dependencies.js +75 -0
- package/vendor/desk/mcp/src/runtime/boot-text.js +504 -0
- package/vendor/desk/mcp/src/runtime/boot.js +1676 -0
- package/vendor/desk/mcp/src/runtime/bootstrap.js +1455 -0
- package/vendor/desk/mcp/src/runtime/chunked-import.js +102 -0
- package/vendor/desk/mcp/src/runtime/copilot-commit-trailer.js +133 -0
- package/vendor/desk/mcp/src/runtime/copilot-session.js +155 -0
- package/vendor/desk/mcp/src/runtime/deliver.js +506 -0
- package/vendor/desk/mcp/src/runtime/desk-channel.js +86 -0
- package/vendor/desk/mcp/src/runtime/desk-failure.js +26 -0
- package/vendor/desk/mcp/src/runtime/desk-health.js +168 -0
- package/vendor/desk/mcp/src/runtime/desk-session.js +1451 -0
- package/vendor/desk/mcp/src/runtime/diagnostic-server.js +72 -0
- package/vendor/desk/mcp/src/runtime/diagnostics.js +241 -0
- package/vendor/desk/mcp/src/runtime/drains-cli.js +195 -0
- package/vendor/desk/mcp/src/runtime/drains.js +1220 -0
- package/vendor/desk/mcp/src/runtime/elsewhere-note.js +9 -0
- package/vendor/desk/mcp/src/runtime/failure-evidence.js +21 -0
- package/vendor/desk/mcp/src/runtime/fast-refs.js +209 -0
- package/vendor/desk/mcp/src/runtime/filer-throttle.js +66 -0
- package/vendor/desk/mcp/src/runtime/focused-card.js +147 -0
- package/vendor/desk/mcp/src/runtime/front-door.js +204 -0
- package/vendor/desk/mcp/src/runtime/gate-wait.js +2 -0
- package/vendor/desk/mcp/src/runtime/git-inspection.js +201 -0
- package/vendor/desk/mcp/src/runtime/git-read-worker.js +157 -0
- package/vendor/desk/mcp/src/runtime/health.js +50 -0
- package/vendor/desk/mcp/src/runtime/hooks.js +353 -0
- package/vendor/desk/mcp/src/runtime/hosted.js +165 -0
- package/vendor/desk/mcp/src/runtime/inbox.js +102 -0
- package/vendor/desk/mcp/src/runtime/index-drift.js +118 -0
- package/vendor/desk/mcp/src/runtime/last-start.js +133 -0
- package/vendor/desk/mcp/src/runtime/lesson-section.js +92 -0
- package/vendor/desk/mcp/src/runtime/lessons-shelf.js +100 -0
- package/vendor/desk/mcp/src/runtime/lfs.js +319 -0
- package/vendor/desk/mcp/src/runtime/native-path.js +12 -0
- package/vendor/desk/mcp/src/runtime/newest-release.js +197 -0
- package/vendor/desk/mcp/src/runtime/node-selection.js +233 -0
- package/vendor/desk/mcp/src/runtime/orca-session-title.js +225 -0
- package/vendor/desk/mcp/src/runtime/other-sessions.js +183 -0
- package/vendor/desk/mcp/src/runtime/pending-migrations.js +657 -0
- package/vendor/desk/mcp/src/runtime/plugin-update.js +215 -0
- package/vendor/desk/mcp/src/runtime/pluginless-runtimes.js +34 -0
- package/vendor/desk/mcp/src/runtime/pr-publication.js +252 -0
- package/vendor/desk/mcp/src/runtime/preview-snapshot.js +23 -0
- package/vendor/desk/mcp/src/runtime/publication-mode.js +19 -0
- package/vendor/desk/mcp/src/runtime/relays.js +983 -0
- package/vendor/desk/mcp/src/runtime/release-alert.js +148 -0
- package/vendor/desk/mcp/src/runtime/remote-identity.js +162 -0
- package/vendor/desk/mcp/src/runtime/resolve-here.js +4 -0
- package/vendor/desk/mcp/src/runtime/runtime-deps-cli.js +65 -0
- package/vendor/desk/mcp/src/runtime/runtime-deps.js +1109 -0
- package/vendor/desk/mcp/src/runtime/runtime-identity.js +22 -0
- package/vendor/desk/mcp/src/runtime/runtime-swap.js +101 -0
- package/vendor/desk/mcp/src/runtime/schedules.js +235 -0
- package/vendor/desk/mcp/src/runtime/session-activity.js +190 -0
- package/vendor/desk/mcp/src/runtime/session-label.js +30 -0
- package/vendor/desk/mcp/src/runtime/session-retention.js +662 -0
- package/vendor/desk/mcp/src/runtime/session-sync.js +333 -0
- package/vendor/desk/mcp/src/runtime/session-trailer.js +126 -0
- package/vendor/desk/mcp/src/runtime/sessions-cli.js +301 -0
- package/vendor/desk/mcp/src/runtime/signoff-listed.js +81 -0
- package/vendor/desk/mcp/src/runtime/skills.js +76 -0
- package/vendor/desk/mcp/src/runtime/stale-card-lead.js +52 -0
- package/vendor/desk/mcp/src/runtime/stale-desk-refresh.js +198 -0
- package/vendor/desk/mcp/src/runtime/stale-desk.js +219 -0
- package/vendor/desk/mcp/src/runtime/stalled.js +255 -0
- package/vendor/desk/mcp/src/runtime/standing-authority.js +79 -0
- package/vendor/desk/mcp/src/runtime/startup-boot.js +341 -0
- package/vendor/desk/mcp/src/runtime/startup-resolve.js +140 -0
- package/vendor/desk/mcp/src/runtime/state-branch.js +203 -0
- package/vendor/desk/mcp/src/runtime/status-compact.js +165 -0
- package/vendor/desk/mcp/src/runtime/status-inspection-child.js +26 -0
- package/vendor/desk/mcp/src/runtime/status-inspection.js +147 -0
- package/vendor/desk/mcp/src/runtime/status-root.js +39 -0
- package/vendor/desk/mcp/src/runtime/sync-worker.js +913 -0
- package/vendor/desk/mcp/src/runtime/test-state-guard.js +107 -0
- package/vendor/desk/mcp/src/runtime/unmerged-saves.js +273 -0
- package/vendor/desk/mcp/src/runtime/workspace-claim.js +53 -0
- package/vendor/desk/mcp/src/runtime/workspace-evidence.js +96 -0
- package/vendor/desk/mcp/src/runtime/workspace-tidy.js +509 -0
- package/vendor/desk/mcp/src/search/direct-lexical.js +54 -0
- package/vendor/desk/mcp/src/search/embedder.js +108 -0
- package/vendor/desk/mcp/src/search/engine.js +406 -0
- package/vendor/desk/mcp/src/search/files-router.js +22 -0
- package/vendor/desk/mcp/src/search/old-index.js +46 -0
- package/vendor/desk/mcp/src/search/vectors.js +60 -0
- package/vendor/desk/mcp/src/server.js +390 -0
- package/vendor/desk/mcp/src/tool-names.js +71 -0
- package/vendor/desk/mcp/src/tool-refusal.cjs +35 -0
- package/vendor/desk/mcp/src/tool-schema-parts.js +12 -0
- package/vendor/desk/mcp/src/tool-schemas.js +320 -0
- package/vendor/desk/mcp/src/tools/_card-commit.js +148 -0
- package/vendor/desk/mcp/src/tools/archive-links.js +188 -0
- package/vendor/desk/mcp/src/tools/archive-move.js +18 -0
- package/vendor/desk/mcp/src/tools/archive-native-session.js +728 -0
- package/vendor/desk/mcp/src/tools/archive-state.js +513 -0
- package/vendor/desk/mcp/src/tools/delivery-gate.js +251 -0
- package/vendor/desk/mcp/src/tools/desk-save.js +449 -0
- package/vendor/desk/mcp/src/tools/doctor.js +122 -0
- package/vendor/desk/mcp/src/tools/done-evidence.js +260 -0
- package/vendor/desk/mcp/src/tools/factory-context.js +204 -0
- package/vendor/desk/mcp/src/tools/friction.js +332 -0
- package/vendor/desk/mcp/src/tools/improvement.js +156 -0
- package/vendor/desk/mcp/src/tools/lesson-lines.js +22 -0
- package/vendor/desk/mcp/src/tools/lesson-owners.js +137 -0
- package/vendor/desk/mcp/src/tools/lesson-team.js +169 -0
- package/vendor/desk/mcp/src/tools/lesson.js +254 -0
- package/vendor/desk/mcp/src/tools/local-only.js +151 -0
- package/vendor/desk/mcp/src/tools/move.js +823 -0
- package/vendor/desk/mcp/src/tools/native-stage-context.js +32 -0
- package/vendor/desk/mcp/src/tools/note.js +267 -0
- package/vendor/desk/mcp/src/tools/search.js +634 -0
- package/vendor/desk/mcp/src/tools/shared-write.js +196 -0
- package/vendor/desk/mcp/src/tools/sibling-desk.js +43 -0
- package/vendor/desk/mcp/src/tools/status.js +236 -0
- package/vendor/desk/mcp/src/tools/task-archive-due.js +9 -0
- package/vendor/desk/mcp/src/tools/task-archived-resource.js +53 -0
- package/vendor/desk/mcp/src/tools/task-body.js +141 -0
- package/vendor/desk/mcp/src/tools/task-focus.js +164 -0
- package/vendor/desk/mcp/src/tools/task-log.js +80 -0
- package/vendor/desk/mcp/src/tools/task-signoff.js +155 -0
- package/vendor/desk/mcp/src/tools/task.js +1780 -0
- package/vendor/desk/mcp/src/tools/track-row.js +89 -0
- package/vendor/desk/mcp/src/tools/track.js +240 -0
- package/vendor/desk/mcp/src/util/agency-session.cjs +29 -0
- package/vendor/desk/mcp/src/util/archive-links.js +105 -0
- package/vendor/desk/mcp/src/util/bash.js +36 -0
- package/vendor/desk/mcp/src/util/capture-record.js +73 -0
- package/vendor/desk/mcp/src/util/cas-commit.js +252 -0
- package/vendor/desk/mcp/src/util/citations.js +54 -0
- package/vendor/desk/mcp/src/util/created-dirs.js +71 -0
- package/vendor/desk/mcp/src/util/deferred-tools.js +51 -0
- package/vendor/desk/mcp/src/util/desk-owner.js +99 -0
- package/vendor/desk/mcp/src/util/env-value.js +13 -0
- package/vendor/desk/mcp/src/util/file-identity.js +40 -0
- package/vendor/desk/mcp/src/util/finish-commit.js +145 -0
- package/vendor/desk/mcp/src/util/fm.js +410 -0
- package/vendor/desk/mcp/src/util/git-config-file.js +85 -0
- package/vendor/desk/mcp/src/util/git-stage.js +440 -0
- package/vendor/desk/mcp/src/util/main-publish.js +240 -0
- package/vendor/desk/mcp/src/util/markdown-links.cjs +555 -0
- package/vendor/desk/mcp/src/util/object-input.js +59 -0
- package/vendor/desk/mcp/src/util/paths.js +647 -0
- package/vendor/desk/mcp/src/util/rank.js +189 -0
- package/vendor/desk/mcp/src/util/redact.js +92 -0
- package/vendor/desk/mcp/src/util/remove-retry.js +35 -0
- package/vendor/desk/mcp/src/util/rename-retry.js +73 -0
- package/vendor/desk/mcp/src/util/route-around.js +265 -0
- package/vendor/desk/mcp/src/util/shell-quote.js +18 -0
- package/vendor/desk/mcp/src/util/startup-direction.js +124 -0
- package/vendor/desk/mcp/src/util/state-ignore.js +33 -0
- package/vendor/desk/mcp/src/util/tool-commits.js +64 -0
- package/vendor/desk/mcp/src/util/unicode-16/LICENSE-MIT.txt +7 -0
- package/vendor/desk/mcp/src/util/unicode-16/README.md +9 -0
- package/vendor/desk/mcp/src/util/unicode-16/letter.cjs +1 -0
- package/vendor/desk/mcp/src/util/unicode-16/mark.cjs +1 -0
- package/vendor/desk/mcp/src/util/unicode-16/number.cjs +1 -0
- package/vendor/desk/mcp/web-auth.cjs +1914 -0
- package/vendor/desk/mcp/web-browser-discovery.cjs +53 -0
- package/vendor/desk/mcp/web-catalog.json +34 -0
- package/vendor/desk/mcp/web-launch.cjs +101 -0
- package/vendor/desk/mcp/web-sso.cjs +52 -0
- package/vendor/desk/mcp/web.cjs +1239 -0
- package/vendor/desk/migrations/01-move-to-ourostack-desk.md +188 -0
- package/vendor/desk/migrations/02-tidy-desk.md +87 -0
- package/vendor/desk/migrations/03-desk-release-channel.md +38 -0
- package/vendor/desk/optional/session-label/consumer.mjs +237 -0
- package/vendor/desk/optional/session-label/extension.mjs +32 -0
- package/vendor/desk/plugin.json +54 -0
- package/vendor/desk/settings.json +3 -0
- package/vendor/desk/skills/add-workspace-mcp/SKILL.md +180 -0
- package/vendor/desk/skills/adopt-inflight-work/SKILL.md +212 -0
- package/vendor/desk/skills/archive-workflow/SKILL.md +132 -0
- package/vendor/desk/skills/content-routing/SKILL.md +95 -0
- package/vendor/desk/skills/coordinating-lanes/SKILL.md +24 -0
- package/vendor/desk/skills/core-meeting-capture/SKILL.md +47 -0
- package/vendor/desk/skills/core-meeting-capture/references/capture-contract.md +175 -0
- package/vendor/desk/skills/curator/SKILL.md +103 -0
- package/vendor/desk/skills/delightful-decks/SKILL.md +67 -0
- package/vendor/desk/skills/desk-problem/SKILL.md +87 -0
- package/vendor/desk/skills/directory-structure/SKILL.md +169 -0
- package/vendor/desk/skills/doc-review-rigor/SKILL.md +63 -0
- package/vendor/desk/skills/draining-issues/SKILL.md +62 -0
- package/vendor/desk/skills/evaluate-release/SKILL.md +96 -0
- package/vendor/desk/skills/evidence-discipline/SKILL.md +146 -0
- package/vendor/desk/skills/factory-evaluator/SKILL.md +122 -0
- package/vendor/desk/skills/factory-task-context/SKILL.md +116 -0
- package/vendor/desk/skills/factory-work/SKILL.md +16 -0
- package/vendor/desk/skills/fast-honest-ci/SKILL.md +70 -0
- package/vendor/desk/skills/fast-honest-ci/examples.md +49 -0
- package/vendor/desk/skills/first-run-bootstrap/SKILL.md +95 -0
- package/vendor/desk/skills/friction-management/SKILL.md +98 -0
- package/vendor/desk/skills/git-hygiene/SKILL.md +259 -0
- package/vendor/desk/skills/independent-review/SKILL.md +34 -0
- package/vendor/desk/skills/interaction-style/SKILL.md +241 -0
- package/vendor/desk/skills/lesson-capture/SKILL.md +85 -0
- package/vendor/desk/skills/lesson-capture/agents-md-budget.mjs +61 -0
- package/vendor/desk/skills/live-ui-iteration/SKILL.md +35 -0
- package/vendor/desk/skills/online-evaluation/SKILL.md +81 -0
- package/vendor/desk/skills/operator-voice-comments/LICENSE-humanize +21 -0
- package/vendor/desk/skills/operator-voice-comments/SKILL.md +94 -0
- package/vendor/desk/skills/operator-voice-comments/human-voice.md +43 -0
- package/vendor/desk/skills/outside-approval/SKILL.md +10 -0
- package/vendor/desk/skills/peer-pr-review/SKILL.md +104 -0
- package/vendor/desk/skills/pr-feedback-on-own-pr/SKILL.md +149 -0
- package/vendor/desk/skills/pr-review-interrogation/SKILL.md +121 -0
- package/vendor/desk/skills/pr-reviewer-audit/SKILL.md +68 -0
- package/vendor/desk/skills/pr-reviewer-audit/helpers/audit.py +353 -0
- package/vendor/desk/skills/pr-reviewer-audit/helpers/test_audit.py +522 -0
- package/vendor/desk/skills/pr-self-review/SKILL.md +86 -0
- package/vendor/desk/skills/pr-surface-hygiene/SKILL.md +129 -0
- package/vendor/desk/skills/pr-surface-hygiene/check-visual-proof.cjs +112 -0
- package/vendor/desk/skills/pr-surface-hygiene/repository-setup.md +19 -0
- package/vendor/desk/skills/pr-surface-hygiene/resources/pr-visual-proof.yml +29 -0
- package/vendor/desk/skills/pr-surface-hygiene/resources/pull-request-template.md +5 -0
- package/vendor/desk/skills/preflight-actions/SKILL.md +60 -0
- package/vendor/desk/skills/preview-feedback/SKILL.md +70 -0
- package/vendor/desk/skills/prior-art/SKILL.md +14 -0
- package/vendor/desk/skills/repo-handling/SKILL.md +67 -0
- package/vendor/desk/skills/rnd-lab/SKILL.md +52 -0
- package/vendor/desk/skills/runtime-symptom-investigation/SKILL.md +110 -0
- package/vendor/desk/skills/session-resumption/SKILL.md +128 -0
- package/vendor/desk/skills/session-start/SKILL.md +54 -0
- package/vendor/desk/skills/session-start/details.md +150 -0
- package/vendor/desk/skills/session-start-migrations/README.md +71 -0
- package/vendor/desk/skills/session-start-migrations/SKILL.md +108 -0
- package/vendor/desk/skills/start-task/SKILL.md +88 -0
- package/vendor/desk/skills/task-card-format/SKILL.md +198 -0
- package/vendor/desk/skills/task-lifecycle/SKILL.md +217 -0
- package/vendor/desk/skills/track-card-format/SKILL.md +90 -0
- package/vendor/desk/skills/using-desk/SKILL.md +58 -0
- package/vendor/desk/skills/using-superpowers-with-desk/SKILL.md +158 -0
- package/vendor/desk/skills/visual-proof/SKILL.md +42 -0
- package/vendor/desk/skills/work-orchestration/SKILL.md +177 -0
- package/dist/heart/daemon/auth-flow.js +0 -477
- package/dist/heart/daemon/habit-parser.js +0 -119
- package/dist/heart/daemon/habit-scheduler.js +0 -369
- package/dist/heart/daemon/mcp-server.js +0 -591
- package/dist/heart/daemon/ouro-path-installer.js +0 -221
- package/dist/heart/daemon/ouro-version-manager.js +0 -171
- package/dist/heart/daemon/outlook-http.js +0 -399
- package/dist/heart/daemon/outlook-read.js +0 -1291
- package/dist/heart/daemon/outlook-render.js +0 -1032
- package/dist/heart/daemon/outlook-types.js +0 -7
- package/dist/heart/daemon/outlook-view.js +0 -194
- package/dist/heart/daemon/specialist-tools.js +0 -283
- package/dist/heart/daemon/update-hooks.js +0 -138
- package/dist/heart/obligations.js +0 -197
- package/dist/heart/session-recall.js +0 -216
- package/dist/mind/associative-recall.js +0 -287
- package/dist/mind/friends/resolver.js +0 -84
- package/dist/mind/friends/store-file.js +0 -190
- package/dist/mind/friends/trust-explanation.js +0 -74
- package/dist/mind/friends/types.js +0 -29
- package/dist/mind/journal-index.js +0 -161
- package/dist/mind/obligations.js +0 -134
- package/dist/outlook-ui/assets/index-CBueh0d3.css +0 -1
- package/dist/outlook-ui/assets/index-GtHoFpRM.js +0 -61
- package/dist/outlook-ui/index.html +0 -15
- package/dist/repertoire/tasks/board.js +0 -160
- package/dist/repertoire/tasks/fix.js +0 -182
- package/dist/repertoire/tasks/index.js +0 -228
- package/dist/repertoire/tasks/lifecycle.js +0 -80
- package/dist/repertoire/tasks/middleware.js +0 -65
- package/dist/repertoire/tasks/parser.js +0 -174
- package/dist/repertoire/tasks/scanner.js +0 -289
- package/dist/repertoire/tasks/transitions.js +0 -128
- package/dist/repertoire/tools-bluebubbles.js +0 -94
- package/dist/senses/bluebubbles-client.js +0 -532
- package/dist/senses/bluebubbles-entry.js +0 -13
- package/dist/senses/bluebubbles-media.js +0 -339
- package/dist/senses/bluebubbles.js +0 -1327
- package/dist/senses/inner-dialog-worker.js +0 -154
- package/dist/senses/inner-dialog.js +0 -739
- package/subagents/README.md +0 -7
- /package/{AdoptionSpecialist.ouro → SerpentGuide.ouro}/psyche/identities/basilisk.md +0 -0
- /package/{AdoptionSpecialist.ouro → SerpentGuide.ouro}/psyche/identities/jafar.md +0 -0
- /package/{AdoptionSpecialist.ouro → SerpentGuide.ouro}/psyche/identities/jormungandr.md +0 -0
- /package/{AdoptionSpecialist.ouro → SerpentGuide.ouro}/psyche/identities/kaa.md +0 -0
- /package/{AdoptionSpecialist.ouro → SerpentGuide.ouro}/psyche/identities/medusa.md +0 -0
- /package/{AdoptionSpecialist.ouro → SerpentGuide.ouro}/psyche/identities/monty.md +0 -0
- /package/{AdoptionSpecialist.ouro → SerpentGuide.ouro}/psyche/identities/nagini.md +0 -0
- /package/{AdoptionSpecialist.ouro → SerpentGuide.ouro}/psyche/identities/ouroboros.md +0 -0
- /package/{AdoptionSpecialist.ouro → SerpentGuide.ouro}/psyche/identities/python.md +0 -0
- /package/{AdoptionSpecialist.ouro → SerpentGuide.ouro}/psyche/identities/quetzalcoatl.md +0 -0
- /package/{AdoptionSpecialist.ouro → SerpentGuide.ouro}/psyche/identities/sir-hiss.md +0 -0
- /package/{AdoptionSpecialist.ouro → SerpentGuide.ouro}/psyche/identities/the-snake.md +0 -0
- /package/dist/{repertoire/tasks/types.js → heart/attachments/sources/adapter.js} +0 -0
- /package/dist/heart/{daemon → hatch}/hatch-animation.js +0 -0
- /package/dist/heart/{daemon → hatch}/specialist-orchestrator.js +0 -0
- /package/dist/heart/{daemon → versioning}/ouro-uti.js +0 -0
- /package/dist/heart/{daemon → versioning}/wrapper-publish-guard.js +0 -0
- /package/{dist/mind/friends → node_modules/@ouro.bot/friends/dist}/store.js +0 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Ari Mendelow
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
export { checkClaimSet, CLAIM_SCOPES, CLAIM_SET, CLAIM_SET_VERSION, claimSetText, loadClaimSet };
|
|
2
|
+
export type { Claim, ClaimEvidence, ClaimScope, ClaimSet, ClaimSurface, ClaimTier };
|
|
3
|
+
|
|
4
|
+
// The export list comes first because the shadcn CLI drops comments before a file's
|
|
5
|
+
// first statement, which would take the JSDoc below with it.
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* The Ouro AX standard as data: a claim is one checkable rule about an interface an agent uses, with the reason, the
|
|
9
|
+
* evidence that admitted it, the check `ax-xray` runs and the fix. A claim is `must` only when an evaluation showed
|
|
10
|
+
* agents failing without it, or when it guards against a stated safety, compatibility or integrity hazard; every other
|
|
11
|
+
* claim is `should`.
|
|
12
|
+
*
|
|
13
|
+
* @claim "agents failing without it" registry/ouro/ax/ax-claims.test.mts verify:testExists(registry/ouro/ax/ax-claims.test.mts::the claim set follows its own admission rule: every must claim cites a run or states a hazard)
|
|
14
|
+
*/
|
|
15
|
+
const CLAIM_SET_VERSION = "1.9.0";
|
|
16
|
+
|
|
17
|
+
type ClaimSurface = "cli" | "http" | "mcp" | "tools" | "ui";
|
|
18
|
+
type ClaimTier = "must" | "should";
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Which surfaces a claim applies to. The X-ray decides it from what the interface says about itself (`help --json`, the
|
|
22
|
+
* routes manifest, tools/list), not from a hand-written waiver:
|
|
23
|
+
* - `interface`: once per interface.
|
|
24
|
+
* - `command`, `read`, `others`, `text`, `wait`: CLI commands, the reads among them (effect private), those other people
|
|
25
|
+
* see, those that take free text, and the wait command.
|
|
26
|
+
* - `events`: the work-event read the adopter names.
|
|
27
|
+
* - `route`, `read-route`, `ref-route`, `others-route`: HTTP routes that answer an error, GET routes, routes with an id
|
|
28
|
+
* in the path, and the probes of writes other people see.
|
|
29
|
+
* - `tool`, `tool-required`, `consequential`: MCP tools or in-turn tools (tools/list), those with required arguments,
|
|
30
|
+
* and the in-turn tools whose card says `effect: consequential`.
|
|
31
|
+
* - `twin`, `action-twin`, `person-only`, `reserved`, `self`, `ui-read`, `listening`, `listening-push`: from the `ui`
|
|
32
|
+
* inventory, the twins, the twins of agent actions, the person-only actions, the actions with a reserved id, the
|
|
33
|
+
* actions an agent takes only on its own item (`scope: "self"`), the reads, the reads of what people say, and their
|
|
34
|
+
* streams.
|
|
35
|
+
*/
|
|
36
|
+
const CLAIM_SCOPES = Object.freeze(["interface", "command", "read", "others", "text", "wait", "events", "route", "read-route", "ref-route", "others-route", "tool", "tool-required", "consequential", "twin", "action-twin", "person-only", "reserved", "self", "ui-read", "listening", "listening-push"] as const);
|
|
37
|
+
type ClaimScope = (typeof CLAIM_SCOPES)[number];
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Why a claim is in the standard. `evaluation`: an agent evaluation (`source` is the run's file); `hazard`: the harm it
|
|
41
|
+
* guards against, in `finding`; `principle`: a design principle, not yet shown by a run (`should` only).
|
|
42
|
+
*/
|
|
43
|
+
interface ClaimEvidence {
|
|
44
|
+
basis: "evaluation" | "hazard" | "principle";
|
|
45
|
+
source: string;
|
|
46
|
+
finding: string;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
interface Claim {
|
|
50
|
+
id: string;
|
|
51
|
+
surface: ClaimSurface;
|
|
52
|
+
tier: ClaimTier;
|
|
53
|
+
applies: ClaimScope;
|
|
54
|
+
rule: string;
|
|
55
|
+
why: string;
|
|
56
|
+
evidence: ClaimEvidence;
|
|
57
|
+
check: string;
|
|
58
|
+
fix: string;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
interface ClaimSet {
|
|
62
|
+
version: string;
|
|
63
|
+
claims: readonly Claim[];
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
/** The claims of this version of Ouro AX. Evidence paths are relative to the Ouro UI repository (https://github.com/ourostack/ouro-ui). */
|
|
67
|
+
const CLAIM_SET: ClaimSet = Object.freeze({
|
|
68
|
+
version: CLAIM_SET_VERSION,
|
|
69
|
+
claims: Object.freeze([
|
|
70
|
+
{"id": "cli.help-parses", "surface": "cli", "tier": "must", "applies": "interface", "rule": "`<cli> help --json` prints one JSON document that names every command.", "why": "An agent learns the interface from the interface. Help that parses lets it list commands without scraping prose.", "evidence": {"basis": "hazard", "source": "", "finding": "Without help as data an agent, and the X-ray, cannot list the commands or who sees each, so no surface can be checked or trusted; the inventory comparison reads the commands from it."}, "check": "Run `help --json` (then `--help --json`). Pass when stdout is one JSON document with a `commands` array of objects that each have a `name`.", "fix": "Keep help as data (a COMMANDS table) and print it with `help --json`: { commands: [{ name, effect, summary, usage[] }], exitCodes: [{ code, meaning }] }."},
|
|
71
|
+
{"id": "cli.help-effects", "surface": "cli", "tier": "must", "applies": "command", "rule": "Help says who sees each command: only the person, or other people.", "why": "The one thing an agent must know before acting is whether other people will see it.", "evidence": {"basis": "hazard", "source": "", "finding": "An agent that cannot tell which commands reach other people can send what it meant to draft."}, "check": "Each command in `help --json` has `effect` of `private` or `others`.", "fix": "Add `effect: \"private\" | \"others\"` to every command in help JSON, from one action catalog, and group the text help under two headings."},
|
|
72
|
+
{"id": "cli.inventory", "surface": "cli", "tier": "must", "applies": "interface", "rule": "Every command the CLI registers is listed once in `help --json` and in the inventory the adopter generates from its command registration, and the X-ray covers exactly that set.", "why": "A conformance report is only as good as its coverage: a command nobody listed is never checked.", "evidence": {"basis": "hazard", "source": "", "finding": "A command missing from the inventory is never checked, so an untested surface passes as conforming; a duplicate hides which declaration runs."}, "check": "Compare the commands in `help --json` with `--inventory <file>` (`{ \"cli\": [names] }`). Fail on a name missing from either side or listed twice; skip without an inventory.", "fix": "Generate the inventory from the CLI's own command registration (its dispatcher's table), never by hand, and declare every registered command."},
|
|
73
|
+
{"id": "cli.command-help", "surface": "cli", "tier": "should", "applies": "command", "rule": "Every command answers `<command> --help` with exit 0 on stdout, and nothing on stderr.", "why": "An agent asks the command itself, at the point of use; it should not need a separate document.", "evidence": {"basis": "evaluation", "source": "docs/decisions/2026-10-30-ouro-ax/evidence/eval-baseline.md", "finding": "Every baseline run started with `--help` and most read a command's help before using it (1 to 5 help calls per run); no run failed for want of it."}, "check": "Run `<command> --help` for every listed command.", "fix": "Route `<command> --help` to the command's own help page before parsing its arguments."},
|
|
74
|
+
{"id": "cli.help-width", "surface": "cli", "tier": "should", "applies": "command", "rule": "No help line is wider than the width limit (100 columns by default).", "why": "Long lines wrap unpredictably in terminals and transcripts and cost tokens to re-read.", "evidence": {"basis": "principle", "source": "The first adopter's AX principles; its help's width limit", "finding": "No evaluation has shown agents failing without it yet."}, "check": "Measure every line of `--help` and each `<command> --help`.", "fix": "Wrap help at one width in the help renderer, not by hand."},
|
|
75
|
+
{"id": "cli.overview-short", "surface": "cli", "tier": "should", "applies": "interface", "rule": "The overview (`--help`) fits one screen: at most 60 lines.", "why": "The overview is read on every cold start; details belong on each command's page.", "evidence": {"basis": "principle", "source": "The first adopter's help: its overview's line limit", "finding": "No evaluation has shown agents failing without it yet."}, "check": "Count the lines of `--help`.", "fix": "Keep one line per command in the overview and move details to `<command> --help`."},
|
|
76
|
+
{"id": "cli.exit-codes", "surface": "cli", "tier": "must", "applies": "interface", "rule": "Exit codes are documented, and every exit code the CLI gives is one of them.", "why": "Stable, documented exit codes let an agent branch without parsing prose.", "evidence": {"basis": "hazard", "source": "", "finding": "An exit code the help does not document breaks every caller that branches on the code: a script or agent reads an undocumented code as the wrong outcome."}, "check": "Read `exitCodes` from help JSON (or an `Exit codes:` line), then compare every exit code seen during the X-ray.", "fix": "Keep one exit-code table, print it in help and help JSON, and exit only with codes from it."},
|
|
77
|
+
{"id": "cli.read-json", "surface": "cli", "tier": "should", "applies": "read", "rule": "Every read takes `--json` and prints exactly one JSON document (a stream prints JSON lines) and writes nothing to stderr. It exits 0, except a check command (a doctor), which exits with the declared `findings` code when its checks find a problem.", "why": "One parseable answer per call is the cheapest thing for an agent to consume.", "evidence": {"basis": "principle", "source": "Ouro UI design record of 2026-10-11 (CLI kit); the first adopter's help: --json on every read", "finding": "No evaluation has shown agents failing without it yet."}, "check": "Run each read command's argument-free usage (or with one harvested ref) with `--json`. A read whose JSON is a checks report (ax-checks) may exit with the `findings` code in the exit table when the report gives that code.", "fix": "Give the read a `--json` that prints the same data the text shows, as one document."},
|
|
78
|
+
{"id": "cli.unknown-command", "surface": "cli", "tier": "should", "applies": "interface", "rule": "An unknown command fails with the usage exit code and lists the commands, or names the help that lists them.", "why": "A guessed command is the commonest first call; the error should be the menu.", "evidence": {"basis": "principle", "source": "The first adopter's AX principles, P7", "finding": "No evaluation has shown agents failing without it yet."}, "check": "Run a command that does not exist.", "fix": "On an unknown command, print one line: `unknown command \"x\". Commands: a, b, c. Details: <cli> help`, and exit with the usage code."},
|
|
79
|
+
{"id": "cli.unknown-flag", "surface": "cli", "tier": "must", "applies": "read", "rule": "An unknown flag fails before anything runs, and the error names the flag.", "why": "A silently ignored flag gives an agent a wrong answer that looks right: `--limt 2` returns everything.", "evidence": {"basis": "hazard", "source": "", "finding": "A silently ignored flag returns an answer that looks right and is not; on an action, an ignored --dry-run or limit would act for real. No agent in the probes misspelt a flag, so this rests on the hazard, not on a run."}, "check": "Run a read with a flag no command has, and with a misspelt real flag.", "fix": "Check every flag against the command's declared flags before acting; refuse an unknown one with the usage exit code."},
|
|
80
|
+
{"id": "cli.flag-suggest", "surface": "cli", "tier": "should", "applies": "read", "rule": "A misspelt flag's error names the closest real flag.", "why": "The error should carry the fix, so the next call is right.", "evidence": {"basis": "evaluation", "source": "docs/decisions/2026-10-30-ouro-ax/evidence/xray-probe.md", "finding": "No agent in 30 X-ray probe runs passed a misspelt flag; kept as a should until a run shows the failure."}, "check": "Run a read with one of its flags misspelt (a letter dropped).", "fix": "Suggest the declared flag nearest by edit distance: `unknown flag --limt; did you mean --limit?`."},
|
|
81
|
+
{"id": "cli.missing-arg", "surface": "cli", "tier": "should", "applies": "command", "rule": "A command missing a required argument fails with the usage exit code and says what to give.", "why": "The error is where the agent learns the argument; it should not have to open help.", "evidence": {"basis": "principle", "source": "The first adopter's AX principles, P7", "finding": "No evaluation has shown agents failing without it yet."}, "check": "Run each command whose every usage needs an argument with no arguments.", "fix": "Validate arguments first and name the missing one and where to get it."},
|
|
82
|
+
{"id": "cli.optional-args", "surface": "cli", "tier": "should", "applies": "command", "rule": "A command's optional words come after its required words, its usage line brackets each optional word, and a word's default is a string of its values, shown in usage as `[<name>=<value>]`. A word may stay bare where a `| --flag` alternative or another usage line leaves it out, or its schema names the flag that replaces it.", "why": "An agent fills a command's words in order, so an optional word before a required one leaves the required word impossible to give alone. A default written only in prose is one the agent cannot read from the schema it sends.", "evidence": {"basis": "principle", "source": "The ax-arg-defaults change: typed defaults belong in the schema, not the prose, because agents read commands.json and MCP, not help text", "finding": "No evaluation has shown agents failing without it yet."}, "check": "For each command that takes words, read its usage lines and input schema from `help --json`: the words come in usage order, each optional word is bracketed unless a `| --flag` alternative, another usage line, or the schema's \"Not needed with\" names what covers it bare, and each schema default is a string of the word's values that usage shows.", "fix": "Declare the required words first. Give an optional word a `default` that is one of its values, and the kit shows it in usage."},
|
|
83
|
+
{"id": "cli.one-line-error", "surface": "cli", "tier": "should", "applies": "interface", "rule": "Every error is one line on stderr; stdout stays empty, or with `--json` holds the same error as one JSON document. A command that help JSON marks `protocol: true` may print its one JSON reply line on stdout instead, since another program reads it.", "why": "One line is cheap to read and easy to quote back; stdout stays parseable.", "evidence": {"basis": "evaluation", "source": "docs/decisions/2026-10-30-ouro-ax/evidence/eval-baseline-pipes.md", "finding": "Both T3 runs with pipes allowed recovered from a one-line `--intent` refusal on the next call; no run failed for want of the shape."}, "check": "Every failing call the X-ray makes.", "fix": "Catch errors at the entry point and print one line to stderr."},
|
|
84
|
+
{"id": "cli.error-teaches", "surface": "cli", "tier": "should", "applies": "interface", "rule": "Every error names a next action: a command to run or a flag to add.", "why": "An agent recovers from the error alone when the error says what to do instead.", "evidence": {"basis": "evaluation", "source": "docs/decisions/2026-10-30-ouro-ax/evidence/eval-baseline-pipes.md", "finding": "Both T3 runs with pipes allowed recovered on the next call from an error that named the fix; no run failed for want of it."}, "check": "Every failing call's error line contains `<cli> <word>`, a `--flag`, or a quoted command name.", "fix": "End each error with what to do: `Try \"<cli> conversations\"`."},
|
|
85
|
+
{"id": "cli.no-stack-trace", "surface": "cli", "tier": "should", "applies": "interface", "rule": "No call prints a stack trace.", "why": "A stack trace is noise to an agent and leaks internals.", "evidence": {"basis": "principle", "source": "The first adopter's AX principles, P7", "finding": "No evaluation has shown agents failing without it yet."}, "check": "Look for ` at ` frames in every output, including the overview run into a pipe that is already closed (`tool --help | head -0`).", "fix": "Turn the thrown error into a one-line message at the entry point, and end quietly on a closed pipe (`quietPipes(process)`)."},
|
|
86
|
+
{"id": "cli.plain-pipe", "surface": "cli", "tier": "should", "applies": "interface", "rule": "Output into a pipe is plain text: no ANSI escape codes and no carriage-return redraws, and `NO_COLOR` wins over `FORCE_COLOR`.", "why": "An agent reads a pipe. Escape codes and redraws are noise in its context and break a match on the text.", "evidence": {"basis": "hazard", "source": "", "finding": "Escape codes and redraws in piped output reach an agent's context as noise, and a script that matches the text misses it."}, "check": "Look for an escape character, or a carriage return not before a newline, in every call the X-ray makes (each runs into a pipe), and in `--help` run again with `NO_COLOR=1` and `FORCE_COLOR=1`.", "fix": "Decide colour and progress from the stream: colour and redraws only on a terminal, and `NO_COLOR` always off (`terminalStyle` and `createProgress` in ax-terminal)."},
|
|
87
|
+
{"id": "cli.check-verdict", "surface": "cli", "tier": "should", "applies": "command", "rule": "A check command (a doctor) puts its verdict on the first line of its text, and its `--json` has the same verdict and exit code.", "why": "A person reads the first line and an agent reads the JSON: they must agree, and neither should scroll for the answer.", "evidence": {"basis": "principle", "source": "docs/decisions/2026-11-02-cli-kit-and-platform-targets.md", "finding": "A reference doctor printed its verdict last, on stderr, after its rows."}, "check": "For a read whose `--json` is a checks report (ax-checks), run its text form: its first line holds the report's summary, times aside, and both forms exit with the report's code.", "fix": "Declare the checks with `defineChecks` (ax-checks) and print the report with `checksText` or `printChecks`, or return it from a kit command."},
|
|
88
|
+
{"id": "cli.ambiguous-verbs", "surface": "cli", "tier": "must", "applies": "interface", "rule": "Ambiguous verbs (edit, delete, remove) don't act; they answer with the specific commands.", "why": "`edit` could mean a private draft or a message others already saw; guessing is how agents do the wrong thing.", "evidence": {"basis": "hazard", "source": "", "finding": "An ambiguous verb that acts can pick the effect other people see when the person meant a private one (`edit` a draft or a sent message). Agents in the probes read help first and never tried bare `edit`, so this rests on the hazard."}, "check": "Run `edit`, `delete` and `remove` when they are not listed commands. Pass when each fails and names at least one listed command.", "fix": "Answer each ambiguous verb with one line naming the private command and the one others see."},
|
|
89
|
+
{"id": "cli.others-need-why", "surface": "cli", "tier": "must", "applies": "others", "rule": "Every command other people see refuses to run without `--why`, and says so.", "why": "What others see is logged with who asked and why.", "evidence": {"basis": "hazard", "source": "", "finding": "An action other people see without a stated reason cannot be attributed to who asked, so the person cannot audit what their agent did in their name."}, "check": "Run each others-see command with a made-up target and no `--why`.", "fix": "Check `--why` first in every others-see command and refuse with the usage exit code."},
|
|
90
|
+
{"id": "cli.wrong-ref-first", "surface": "cli", "tier": "must", "applies": "others", "rule": "A wrong reference fails before anything reaches anyone, and the error says where to get a right one.", "why": "Checking before acting keeps a stale id from becoming a wrong message.", "evidence": {"basis": "hazard", "source": "", "finding": "A stale or wrong reference that is not refused before acting sends a message to the wrong people."}, "check": "Run each others-see command with `--why` and a target that does not exist.", "fix": "Resolve the target first; on a miss, name the command that lists valid ones."},
|
|
91
|
+
{"id": "cli.others-preview", "surface": "cli", "tier": "must", "applies": "others", "rule": "Every command other people see has a preview that acts on nothing (`--dry-run`) and names who will see it.", "why": "An agent, or a checker, can confirm the audience without acting; a wall it is not, because nothing waits on it.", "evidence": {"basis": "hazard", "source": "", "finding": "Without a preview that acts on nothing, the only way to learn who will see an action is to do it. No agent in the probes used --dry-run, so this rests on the hazard, not on a run."}, "check": "When `<command> --help` mentions `--dry-run`, run it on a real target with `--why`. Pass when it exits 0, names who will see it, and nothing changes.", "fix": "Add `--dry-run`: resolve the target, print the preview line (\"Would send to X as the person. Everyone in X will see it.\"), exit 0, and send nothing."},
|
|
92
|
+
{"id": "cli.outcome", "surface": "cli", "tier": "should", "applies": "others", "rule": "An action's `--json` result is an outcome (`outcome/1`) that validates: its state, who can see it, a postcondition, a receipt and the next commands.", "why": "An agent that reads a checked postcondition and a receipt does not need to read back what it did, and knows what to run next.", "evidence": {"basis": "evaluation", "source": "docs/decisions/2026-10-30-ouro-ax/evidence/outcomes-probe.md", "finding": "When an edit's outcome said its postcondition was checked and held, 0 of 2 runs read the conversation back, against 2 of 2 without it; success did not change."}, "check": "Run each command other people see with `--dry-run --json` on a real target; pass when the answer is an `outcome/1` in state `planned` that validates.", "fix": "Return an `ax-outcome` from every action (`outcome({ ... })`), and a `planned` one from its preview."},
|
|
93
|
+
{"id": "cli.text-as-argument", "surface": "cli", "tier": "must", "applies": "text", "rule": "A command that takes free text accepts it as one argument, not only on stdin, and its help shows that form.", "why": "An agent allowed to run only this CLI (`shell(<cli>)`) cannot pipe into it: the pipe's first command is not the CLI, so the call is denied.", "evidence": {"basis": "evaluation", "source": "docs/decisions/2026-10-30-ouro-ax/evidence/eval-baseline.md", "finding": "On the first adopter's main branch at ffdecc01 text went in only on stdin; the recommended allow-list `shell(app)` denied `printf ... | app ...` and T3 and T4 failed 0 of 2 each. With `--text` and `--file` (6297c319, eval-after-440.md) both went to 2 of 2 with nothing denied."}, "check": "For each usage that reads text from stdin (`-`), look for a usage of the same command with a placeholder in that place. For a command others see that offers --dry-run, the preview probe passes the text as an argument.", "fix": "Accept the text as an argument and list that usage first; keep `-` for stdin."},
|
|
94
|
+
{"id": "cli.wait-on-refs", "surface": "cli", "tier": "must", "applies": "wait", "rule": "A wait command accepts the refs the reads list: `watch <ref>` waits on the conversation a list gave.", "why": "Waiting through the interface beats polling; when the wait refuses the ref the agent holds, agents fall back to blind streams and pollers.", "evidence": {"basis": "evaluation", "source": "docs/decisions/2026-10-30-ouro-ax/evidence/eval-baseline.md", "finding": "On the first adopter's main branch at ffdecc01 `watch r82dfi` and `watch conversation:r82dfi` exited 2 (watch took only meeting refs) and T5 passed 1 of 2; with a wait on the conversation ref T5 passed 2 of 2 in the X-ray probe (xray-v2-results.md) and the outcomes probe (outcomes-results.md)."}, "check": "When the CLI has a `watch` or `wait` command, run it on a harvested conversation ref with a short timeout. Pass on exit 0 or the documented waited-and-nothing-happened code; fail on a usage error.", "fix": "Let the wait take every ref a read prints, and exit with a documented code when nothing happens in time."},
|
|
95
|
+
{"id": "cli.wait-typed", "surface": "cli", "tier": "should", "applies": "wait", "rule": "A wait's `--json` answer is a wait (`wait/1`): what happened, or, when nothing did in time, the cursor and the exact command that resumes.", "why": "A typed wait tells an agent what happened, or exactly how to keep waiting, so it never writes its own polling loop.", "evidence": {"basis": "evaluation", "source": "docs/decisions/2026-10-30-ouro-ax/evidence/outcomes-results.md", "finding": "With a typed wait on the conversation T5 passed 2 of 2 in 4.5 calls and 110k tokens, against 1 of 2 in 8 calls and 254k tokens on main."}, "check": "Run the wait command on a harvested conversation ref with `--timeout 1s --json`; pass when the answer is a `wait/1` that validates.", "fix": "Answer waits with `ax-wait` (`waitFor({ ... })`), which gives the cursor and the resume command."},
|
|
96
|
+
{"id": "cli.reads-stay-reads", "surface": "cli", "tier": "must", "applies": "read", "rule": "Reads change nothing.", "why": "An agent must be able to look freely.", "evidence": {"basis": "hazard", "source": "", "finding": "A read that writes changes what other people see (a read receipt, a log row) while the agent only looked, and makes looking unsafe."}, "check": "Snapshot the state commands before and after every read the X-ray makes (including the flag probes); compare.", "fix": "Keep reads free of writes (no mark-read, no log row, no cache eviction others see)."},
|
|
97
|
+
{"id": "cli.refusals-change-nothing", "surface": "cli", "tier": "must", "applies": "others", "rule": "A refused call changes nothing, except an audit record that says it was refused.", "why": "An agent that gets the call wrong must be able to try again safely.", "evidence": {"basis": "hazard", "source": "", "finding": "A refusal that leaves a partial write makes a retry unsafe: the corrected call can duplicate what the refused one half did."}, "check": "Snapshot the state commands around each refused probe of what other people see. Pass when nothing changed, or when every added record mentions the refusal and nothing was removed.", "fix": "Refuse before writing anything; if you log the refusal, say so in the record (`send.refused`)."},
|
|
98
|
+
{"id": "cli.work-events", "surface": "cli", "tier": "should", "applies": "events", "rule": "The interface records an attributed work event (`work-event/1`) for each action, handoff and wait, and an agent can read them through the interface.", "why": "The person sees what their agents did in their name, and the work can be measured per plan item.", "evidence": {"basis": "evaluation", "source": "docs/decisions/2026-10-30-ouro-ax/evidence/flow-probe.md", "finding": "With a value-stream view over work events, agents named the item that took the most agent time in its lane in 2 of 2 runs (0 of 2 without it); the events did not change success on the five core tasks."}, "check": "With `--events \"<args>\"`, read the events the CLI lists and validate each against `work-event/1`; skip without it.", "fix": "Emit `workEventOf(outcome, { ... })` at the shared action dispatcher and list the events with a read command."},
|
|
99
|
+
{"id": "cli.voice-off-in-json", "surface": "cli", "tier": "should", "applies": "interface", "rule": "Under `--json`, stdout holds the JSON alone, and no voice line is printed on stdout or stderr.", "why": "An agent parses `--json`; a line of character around the document breaks the parse or costs tokens.", "evidence": {"basis": "principle", "source": "docs/decisions/2026-10-30-ouro-ax/evidence/agent-flow-review.md", "finding": "No evaluation has shown agents failing because of a voice line yet. The first adopter's brand rules keep its voice off wherever an agent parses, and its scripted flows check that on every call (185 of 185 voice checks pass on its main branch, which has no voice yet)."}, "check": "Every call the X-ray makes with `--json`: stdout is empty, one JSON document or JSON lines, and none of the voice lines `help --json` lists (`voice`) appears in its output.", "fix": "Print voice lines only on a terminal, never under `--json` (the kit's `voice` does this)."},
|
|
100
|
+
{"id": "cli.voice-off-when-piped", "surface": "cli", "tier": "should", "applies": "interface", "rule": "A voice line prints only when stdout is a terminal: never into a pipe, a file or an agent's tool call.", "why": "An agent's calls are piped; what the tool says for a person at a terminal is noise to it.", "evidence": {"basis": "principle", "source": "docs/decisions/2026-10-30-ouro-ax/evidence/agent-flow-review.md", "finding": "No evaluation has shown agents failing because of a voice line yet. The first adopter's brand rules keep its voice off wherever an agent parses, and its scripted flows check that on every call (185 of 185 voice checks pass on its main branch, which has no voice yet)."}, "check": "Every call the X-ray makes is piped. None of the voice lines `help --json` lists (`voice`) may appear in any output; skipped when the CLI lists none.", "fix": "Check that stdout is a terminal before a voice line, and list the fixed lines in `help --json` (the kit's `voice` does both)."},
|
|
101
|
+
{"id": "cli.fact-before-voice", "surface": "cli", "tier": "should", "applies": "others", "rule": "An action's text result starts with its outcome's summary: what happened, and who can see it, before anything else.", "why": "The first line is the one an agent and a person read; it carries the fact, and anything warmer comes after it.", "evidence": {"basis": "principle", "source": "docs/decisions/2026-10-30-ouro-ax/evidence/agent-flow-review.md", "finding": "No evaluation has shown agents failing without it yet. The first adopter's brand rules put the fact line (who asked, who will see) before any voice line."}, "check": "For each command other people see, the first line of its `--dry-run` text is the summary of the same preview's `--json` outcome.", "fix": "Print the outcome's summary first (`outcomeText` does), and any voice line after it."},
|
|
102
|
+
{"id": "cli.audience-named", "surface": "cli", "tier": "should", "applies": "others", "rule": "The preview of an action other people see names who will see it, not a placeholder such as \"other people\".", "why": "An agent that reads the JSON should learn as much as one that reads the text: who exactly will see this.", "evidence": {"basis": "principle", "source": "docs/decisions/2026-10-30-ouro-ax/evidence/agent-flow-review.md", "finding": "Three of the first adopter's previews said `audience.who: \"other people\"` in JSON while their text named the people (scripted flows W2, W10, N5); no agent run has shown the cost yet."}, "check": "For each command other people see, the `--dry-run --json` outcome's `audience.who` is not a placeholder (other people, someone, everyone).", "fix": "Fill `audience.who` from the target, as the text does: `everyone in \"Design sync\"`, `Jo Park`."},
|
|
103
|
+
{"id": "cli.text-refs", "surface": "cli", "tier": "should", "applies": "read", "rule": "When a read's `--json` items carry a `ref`, its text output shows each one.", "why": "A reference in the text is something to act on; without it the agent reads the same thing again as JSON.", "evidence": {"basis": "principle", "source": "docs/decisions/2026-10-30-ouro-ax/evidence/agent-flow-review.md", "finding": "The first adopter's search text carried no message refs (scripted flow W9), so the next step needed another read; no agent run has shown the cost yet."}, "check": "For each read the X-ray runs with `--json`, run it again as text: every `ref` in the JSON's lists appears in the text.", "fix": "Print each item's ref in its text line, such as `[abc123] Design sync`."},
|
|
104
|
+
{"id": "cli.named-is-listed", "surface": "cli", "tier": "should", "applies": "interface", "rule": "Every command the CLI tells an agent to run, in an error's fix or another command's help, is listed in the overview.", "why": "A command that only another command's help names is found late or not at all.", "evidence": {"basis": "principle", "source": "docs/decisions/2026-10-30-ouro-ax/evidence/agent-flow-review.md", "finding": "Four of the first adopter's scripted flows needed `attention` or `prep`, which its overview leaves out while `watch --help` names `attention`."}, "check": "Collect the commands named as `<cli> <command>` in every error and in each other command's help; each must be a line of the overview (`--help`).", "fix": "List the command in the overview, or stop naming it."},
|
|
105
|
+
{"id": "cli.no-dev-commands", "surface": "cli", "tier": "must", "applies": "interface", "rule": "No message the CLI gives an agent or a person (help, a refusal, an error, a next step, an outcome's `human.resume`, a doctor's fix) asks for a developer command, a repository path or a step that only works in a source checkout, unless the step is marked `sourceCheckout: true`.", "why": "An agent passes a next step on to the person, who has the installed tool and no source checkout, so a repository script fails for them and leaves both stuck.", "evidence": {"basis": "hazard", "source": "", "finding": "On 2026-11-02 the first adopter's refusal for turned-off writes told agents, on every install, to run `npm run writes -- on`, a script that exists only in the tool's source checkout; an agent would have passed that command on to the person."}, "check": "Read `help --json` and `--help` in full, and of every other call its stderr, its text when it fails, and the `next`, `human`, `error` and `fix` fields of its JSON, with ax-dev-commands' `devCommandsIn`. Fail on each developer command (`npm run`, a `pnpm` or `yarn` script, `npx` of a dev tool or a file, `node <file>`, `git`, `make`, `cargo` and the like) or repository path (`src/`, `scripts/`, `registry/`, `.github/`, `package.json` and the like); pass what an object marked `sourceCheckout: true` holds.", "fix": "Name the command the installed tool runs (`<cli> <command>`) or the step to take by hand. A step that only works in a source checkout gets `sourceCheckout: true` (a next step, a doctor's fix), and only a source checkout shows it."},
|
|
106
|
+
{"id": "copy.precise-failure", "surface": "cli", "tier": "must", "applies": "interface", "rule": "Every failure the CLI reports to an agent or a person (a refusal, an error, an outcome's `error` and `summary`, `human.reason`, a doctor's finding, and any failure `help --json` describes) says what happened and precisely why (the system and its answer), who or what caused it where that is known, and the next step; when the cause is unknown, what was tried and what came back. It never stops at \"couldn't\", \"could not\", \"something went wrong\", \"unable to\", \"failed to load\", \"an error occurred\" or a bare \"Error\" or \"Failed\": a phrase passes only with its cause after it in the same sentence (\"Couldn't send: you're offline\", \"… because the server refused it\"; not \"Couldn't send: try again\").", "why": "A vague failure gives the agent nothing to pass on and nothing to act on: it can't tell the person whether to retry, ask someone or change something, so both are stuck.", "evidence": {"basis": "hazard", "source": "", "finding": "On 2026-11-03 a picture that would not show said only \"Couldn't show this picture\", naming neither the cause nor the next step, and the owner ruled the same day: \"stay away from passive opaque phrases like 'couldnt show this picture' - state precisely why!\""}, "check": "Read `help --json` and `--help` in full, and of every other call its stderr, its text when it fails, and the `error`, `human`, `reason`, `next`, `fix` and `resume` fields of its JSON, plus an Ouro AX answer's `summary` and each finding's `detail`, with ax-precise-copy's `vagueFailuresIn`. Fail on each text with a vague phrase whose cause does not follow in the same sentence (after `:`, ` — ` or `because`, in two words or more that are not a next step or a vague word: not `Couldn't send: try again`), or that leads with `Error:` and no such cause, or a bare failure (not after a negation or an action: \"No errors\", \"Retry failed\"); pass a text that holds a `match` from `--failure-copy-allow`, whose every entry has a reason.", "fix": "Name the system and its answer (\"The mail service says this file was deleted\"), who or what caused it, and the next step as a command or an action (\"Ask its owner to share it again\"). When a precise text still holds a phrase (\"The card service says your card could not be charged. Use another card.\"), list it in `--failure-copy-allow` with its reason."},
|
|
107
|
+
{"id": "cli.help-size", "surface": "cli", "tier": "should", "applies": "command", "rule": "Each command's `--help` is at most 6,000 bytes.", "why": "Agents read a command's help before using it, often on every task; a long page costs tokens each time.", "evidence": {"basis": "principle", "source": "docs/decisions/2026-10-30-ouro-ax/evidence/agent-flow-review.md", "finding": "The first adopter's `send --help` was 11,080 bytes (scripted flow H1); no evaluation has shown the size changing an outcome yet."}, "check": "Measure the bytes of each `<command> --help` on stdout.", "fix": "Move rules that most calls don't need into a help topic, and point to it in one line."},
|
|
108
|
+
{"id": "tools.listed", "surface": "tools", "tier": "should", "applies": "tool", "rule": "Every in-turn tool is a function definition with a name, a description and a JSON Schema for its parameters.", "why": "The definition is all a model sees of the tool before it calls it.", "evidence": {"basis": "principle", "source": "The first harness adopter's AX census (ourostack/ouroboros#1518)", "finding": "No evaluation has shown agents failing without it yet."}, "check": "tools/list over the `--tools` command.", "fix": "Serve each tool as { type: \"function\", function: { name, description, parameters } }."},
|
|
109
|
+
{"id": "tools.effect-declared", "surface": "tools", "tier": "must", "applies": "tool", "rule": "Every in-turn tool declares its effect on its Ouro AX card: `read`, `write`, `consequential` or `person-only`.", "why": "The harness decides from the effect whether a call needs the person's yes, so a tool without one gets a guess.", "evidence": {"basis": "hazard", "source": "", "finding": "On 2026-11-20 the first harness adopter treated an in-turn tool with no declared effect as a low-risk read (ourostack/ouroboros src/repertoire/tools.ts:372), so a tool that writes could run without the checks a write gets."}, "check": "Read each tool's `ax.effect` from tools/list.", "fix": "Give the tool an Ouro AX card with `effect`, and derive its risk from that effect, not from a default."},
|
|
110
|
+
{"id": "tools.when-line", "surface": "tools", "tier": "should", "applies": "tool", "rule": "Every in-turn tool's card says when to pick it over its neighbours (`ax.when`).", "why": "A model choosing among a hundred tools needs the line that tells this one from the next.", "evidence": {"basis": "principle", "source": "The first harness adopter's AX census (ourostack/ouroboros#1518)", "finding": "No evaluation has shown agents failing without it yet."}, "check": "Read each tool's `ax.when` from tools/list.", "fix": "Add one line to the card: when a model should call this tool and not a neighbour."},
|
|
111
|
+
{"id": "tools.consequential-confirms", "surface": "tools", "tier": "must", "applies": "consequential", "rule": "Every in-turn tool whose effect is `consequential` names the question the person is asked before it runs (`ax.confirm`).", "why": "A consequential tool runs only on the person's yes, and the yes is only as good as the question.", "evidence": {"basis": "hazard", "source": "", "finding": "A consequential tool with no confirm question either runs what other people see without asking the person, or asks a question that doesn't say what will happen."}, "check": "For each tool whose `ax.effect` is `consequential`, read `ax.confirm` from tools/list.", "fix": "Write the approval question on the card, naming what will happen and to whom (\"Send this note to {to}?\")."},
|
|
112
|
+
{"id": "tools.bad-call-teaches", "surface": "tools", "tier": "should", "applies": "tool-required", "rule": "An in-turn tool called without a required argument refuses, and its text names the argument.", "why": "The refusal is the model's fix: it names what to pass and the model calls again.", "evidence": {"basis": "principle", "source": "The first adopter's AX principles, P7", "finding": "No evaluation has shown agents failing without it yet."}, "check": "Call each tool that has required arguments with none: reads always, the others only on a proven mock.", "fix": "Check the arguments against the schema before running, and answer a refused outcome naming each missing one."},
|
|
113
|
+
{"id": "tools.typed-outcome", "surface": "tools", "tier": "should", "applies": "tool", "rule": "Every in-turn tool call answers a typed outcome, `{ state, text, code? }`, and one that was not done carries a `code` an error card lists: the tool's own (`ax.errors`) or one the list shares for every tool (`errors`).", "why": "A model that reads a code can look up the card's fix; prose alone leaves it to guess whether to retry, change the call or ask.", "evidence": {"basis": "principle", "source": "The first harness adopter's AX census (ourostack/ouroboros#1518)", "finding": "No evaluation has shown agents failing without it yet."}, "check": "Every tools/call the X-ray makes: the answer's `state` is an ax-outcome state and `text` a string; when the state is not done, queued or planned, `code` is set and is one of the tool's card's error codes or of the list's shared `errors` (for an unknown tool, only the shared ones).", "fix": "Answer each call as { state, text, code } from one dispatcher, and list every code a tool can answer on its card's `errors`, or once in the list's shared `errors` when the dispatcher answers it for every tool."},
|
|
114
|
+
{"id": "tools.unknown-tool", "surface": "tools", "tier": "should", "applies": "interface", "rule": "A call to an in-turn tool that does not exist is refused, and the text names real tools or tools/list.", "why": "Models guess tool names; the refusal should be the menu.", "evidence": {"basis": "principle", "source": "The first adopter's AX principles, P7", "finding": "No evaluation has shown agents failing without it yet."}, "check": "Call a tool that does not exist.", "fix": "Refuse it naming the nearest tools."},
|
|
115
|
+
{"id": "tools.inventory", "surface": "tools", "tier": "must", "applies": "interface", "rule": "Every in-turn tool the harness registers is in tools/list once and in the adopter's inventory.", "why": "A tool nobody listed is never checked.", "evidence": {"basis": "hazard", "source": "", "finding": "A tool missing from the inventory is never checked, so an untested surface passes as conforming."}, "check": "Compare tools/list with `--inventory <file>` (`{ \"tools\": [names] }`). Fail on a name missing from either side or listed twice; skip without an inventory.", "fix": "Serve the tools from the same registry the inventory is generated from."},
|
|
116
|
+
{"id": "http.json", "surface": "http", "tier": "should", "applies": "read-route", "rule": "Every route answers JSON, with a JSON content type.", "why": "One format, always parseable.", "evidence": {"basis": "principle", "source": "Ouro UI design record of 2026-10-11: one error shape", "finding": "No evaluation has shown agents failing without it yet."}, "check": "GET every read route in the manifest.", "fix": "Answer every route through one sendJson."},
|
|
117
|
+
{"id": "http.error-shape", "surface": "http", "tier": "should", "applies": "route", "rule": "Every error is a JSON object with a string `error`.", "why": "One error shape lets an agent handle every failure the same way.", "evidence": {"basis": "principle", "source": "Ouro UI design record of 2026-10-11 (MCP kit): one error shape", "finding": "No evaluation has shown agents failing without it yet."}, "check": "Every non-2xx answer the X-ray gets.", "fix": "Throw one HttpError type and serialise it as { error, code? }."},
|
|
118
|
+
{"id": "http.error-teaches", "surface": "http", "tier": "should", "applies": "route", "rule": "Every error names a next action: a route, a field, or a command.", "why": "`not found` alone leaves the agent guessing.", "evidence": {"basis": "principle", "source": "The first adopter's AX principles, P7", "finding": "No evaluation has shown agents failing without it yet."}, "check": "Every non-2xx answer's `error` contains a route (`/api/...`), a quoted field, or a CLI command.", "fix": "Say where to go: `no such conversation; GET /api/conversations lists them`."},
|
|
119
|
+
{"id": "http.index", "surface": "http", "tier": "should", "applies": "interface", "rule": "The API's base path answers an index of its routes.", "why": "An agent finds the routes from the API itself, not from source code.", "evidence": {"basis": "principle", "source": "The first adopter's AX principles, P15", "finding": "No evaluation has shown agents failing without it yet."}, "check": "GET the manifest's base path. Pass when it answers JSON naming at least 80% of the manifest's routes.", "fix": "Serve GET /api with { routes: [\"GET /api/x\", ...] } from the same table the router uses."},
|
|
120
|
+
{"id": "http.unknown-route", "surface": "http", "tier": "should", "applies": "interface", "rule": "An unknown route answers 404 and says where the routes are listed.", "why": "A guessed route is the commonest first call.", "evidence": {"basis": "principle", "source": "The first adopter's AX principles, P7", "finding": "No evaluation has shown agents failing without it yet."}, "check": "GET a route that does not exist.", "fix": "Answer 404 with `no route GET /api/x; GET /api lists the routes`."},
|
|
121
|
+
{"id": "http.inventory", "surface": "http", "tier": "must", "applies": "interface", "rule": "Every route the agent port registers is in the inventory the adopter generates from its router, once, and the X-ray's routes manifest covers exactly that set.", "why": "A route nobody listed is never checked.", "evidence": {"basis": "hazard", "source": "", "finding": "A route missing from the inventory is never checked, so an untested surface passes as conforming."}, "check": "Compare the routes manifest (`--routes`) with `--inventory <file>` (`{ \"http\": [\"GET /api/x\", ...] }`). Fail on a route missing from either side or listed twice; skip without an inventory.", "fix": "Generate both from the router's own table."},
|
|
122
|
+
{"id": "http.wrong-ref-first", "surface": "http", "tier": "must", "applies": "ref-route", "rule": "A route given an id that does not exist fails and says where to get a right one.", "why": "Checking before acting keeps a stale id from becoming a wrong write.", "evidence": {"basis": "hazard", "source": "", "finding": "A route that acts on a wrong id writes to the wrong thing; one that reads it answers about the wrong thing."}, "check": "GET each `{id}` route with a made-up id; POST each others-see probe with a made-up target and a why.", "fix": "On a miss, name the route that lists valid ids."},
|
|
123
|
+
{"id": "http.others-need-why", "surface": "http", "tier": "must", "applies": "others-route", "rule": "Every route that does what other people see refuses a request without a why, and names the field.", "why": "What others see is logged with who asked and why.", "evidence": {"basis": "hazard", "source": "", "finding": "A write other people see without a stated reason cannot be attributed to who asked."}, "check": "POST each others-see probe from the manifest without its why field.", "fix": "Check the why field first and answer 4xx naming it."},
|
|
124
|
+
{"id": "http.reads-stay-reads", "surface": "http", "tier": "must", "applies": "read-route", "rule": "GET requests change nothing.", "why": "An agent must be able to look freely.", "evidence": {"basis": "hazard", "source": "", "finding": "A GET that writes changes what other people see while the agent only looked."}, "check": "Snapshot the manifest's state routes before and after every GET; compare.", "fix": "Keep GET handlers free of writes."},
|
|
125
|
+
{"id": "http.refusals-change-nothing", "surface": "http", "tier": "must", "applies": "others-route", "rule": "A refused request changes nothing, except an audit record that says it was refused.", "why": "An agent that gets the request wrong must be able to try again safely.", "evidence": {"basis": "hazard", "source": "", "finding": "A refused request that leaves a partial write makes a retry unsafe."}, "check": "Snapshot the manifest's state routes around each refused probe. Pass when nothing changed, or when every added record mentions the refusal and nothing was removed.", "fix": "Refuse before writing anything; if you log the refusal, say so in the record."},
|
|
126
|
+
{"id": "mcp.tools-list", "surface": "mcp", "tier": "should", "applies": "tool", "rule": "The server lists its tools, each with a description and an input schema.", "why": "The tool list is the MCP surface's help.", "evidence": {"basis": "evaluation", "source": "docs/decisions/2026-10-30-ouro-ax/evidence/kit-probe.md", "finding": "The kit probe's MCP server passed every send (4 of 4) from tools/list alone."}, "check": "initialize, then tools/list.", "fix": "Give every tool a one-line description and a JSON Schema for its input."},
|
|
127
|
+
{"id": "mcp.effect-annotated", "surface": "mcp", "tier": "must", "applies": "tool", "rule": "Every tool says whether it only reads or changes something (`readOnlyHint` or `destructiveHint`).", "why": "The MCP form of `effect`: who sees it.", "evidence": {"basis": "hazard", "source": "", "finding": "A tool that does not say whether it only reads lets a client run a write other people see as if it were a read."}, "check": "Read `annotations` from tools/list.", "fix": "Set `annotations.readOnlyHint` on reads and `destructiveHint` on what others see."},
|
|
128
|
+
{"id": "mcp.no-stream-promise", "surface": "mcp", "tier": "must", "applies": "tool", "rule": "A tool's description does not promise a stream, events as they happen, or anything continuous.", "why": "tools/call answers once, in one message; nothing after it is MCP's stream.", "evidence": {"basis": "hazard", "source": "", "finding": "A description that promises a stream over a protocol that answers once per call sends an agent polling for updates that never come, or reading one reply as if more were on the way."}, "check": "Read each tool's description from tools/list; fail one that promises streaming, continuous or as-it-happens delivery.", "fix": "Say what the one reply gives (a snapshot, a cursor to resume from), never that it streams."},
|
|
129
|
+
{"id": "mcp.bad-call-teaches", "surface": "mcp", "tier": "should", "applies": "tool-required", "rule": "A call missing a required argument is refused, and the error names the argument.", "why": "Schemas that reject bad calls with the fix.", "evidence": {"basis": "principle", "source": "Ouro UI design record of 2026-10-11 (MCP kit)", "finding": "No evaluation has shown agents failing without it yet."}, "check": "Call each tool that has required arguments with none.", "fix": "Validate input against the schema before running and name each missing field."},
|
|
130
|
+
{"id": "mcp.unknown-tool", "surface": "mcp", "tier": "should", "applies": "interface", "rule": "An unknown tool is refused, and the error names the tools or tools/list.", "why": "The error should be the menu.", "evidence": {"basis": "principle", "source": "The first adopter's AX principles, P7", "finding": "No evaluation has shown agents failing without it yet."}, "check": "Call a tool that does not exist.", "fix": "Answer with the tool names."},
|
|
131
|
+
{"id": "mcp.inventory", "surface": "mcp", "tier": "must", "applies": "interface", "rule": "Every tool the server registers is in tools/list once and in the adopter's inventory.", "why": "A tool nobody listed is never checked.", "evidence": {"basis": "hazard", "source": "", "finding": "A tool missing from the inventory is never checked, so an untested surface passes as conforming."}, "check": "Compare tools/list with `--inventory <file>` (`{ \"mcp\": [names] }`). Fail on a name missing from either side or listed twice; skip without an inventory.", "fix": "Serve the tools from the same definitions the inventory is generated from (`ax-mcp`)."},
|
|
132
|
+
{"id": "ui.twin-exists", "surface": "ui", "tier": "must", "applies": "twin", "rule": "Every twin a component's agent side names is a command in `help --json`.", "why": "An agent that sees an action on the screen calls its twin; a twin that is not a command leaves it guessing.", "evidence": {"basis": "hazard", "source": "", "finding": "A twin bound to a command the CLI does not register leaves the agent with an action it can see and not take, or sends it to a nearby command with another effect."}, "check": "For each `ui` inventory entry with a twin, and each read's stream, look its words (without the tool's name) up in `help --json`'s commands. Pass when each is there.", "fix": "Bind the twin to a command the CLI registers, or register the command."},
|
|
133
|
+
{"id": "ui.twin-effect-matches", "surface": "ui", "tier": "must", "applies": "twin", "rule": "A twin has the effect of what it stands for: an agent action's twin the action's effect, and a read's twin is a private read.", "why": "An agent taking the person's action must meet the same rule the screen does (`--why` and a preview when other people see it), and a read must change nothing.", "evidence": {"basis": "hazard", "source": "", "finding": "A twin declared private for an action other people see skips `--why` and the preview, so an agent reaches people without a reason or a check; a read bound to a write changes things each time an agent looks."}, "check": "Compare each action entry's effect with its twin's in `help --json`, and check that each read's twin is private and not marked as a write. The X-ray runs a read's twin only when it is a private read, or on a proven mock.", "fix": "Declare the twin with the action's effect, bind a read to a private read, or bind the entry to the command that has the right effect."},
|
|
134
|
+
{"id": "ui.person-only-refuses", "surface": "ui", "tier": "must", "applies": "person-only", "rule": "A person-only action's CLI words refuse: a non-zero exit, nothing done, one line with the reason, and the words listed under `personOnly` in `help --json`.", "why": "An agent tries the words it sees on the screen; for what only the person does, the answer must be a plain no that says where the person does it.", "evidence": {"basis": "hazard", "source": "", "finding": "Words that act would let an agent turn on a person's microphone, camera or screen; words that fail as an unknown command send it guessing at nearby commands."}, "check": "Fail a person-only entry with no `refuseAs`, or with a twin. Only against a proven mock, run each `refuseAs` with and without `--json`. Pass when both exit non-zero (the usage code where help gives one), the text names the reason `help --json` lists for those words, `--json` answers a refused outcome or an error, and the state did not change.", "fix": "Bind every person-only action's words with `refuseAs`, and declare them with their reason and how: `defineCli({ personOnly: { <words>: { reason, how } } })`."},
|
|
135
|
+
{"id": "ui.reserved-person-only", "surface": "ui", "tier": "must", "applies": "reserved", "rule": "An action reserved for the person (`unmute`, `camera`, `share`, `answer`, `decline`, `admit`, `record`, and any alias of them, such as `mic-on`, `share-screen`, `accept` or `start-recording`) is person-only, in every component.", "why": "The person's microphone, camera and screen, the calls they take, who joins and what is recorded are the person's own; no component makes them an agent's.", "evidence": {"basis": "hazard", "source": "", "finding": "An agent that turns on a person's microphone, camera or screen, answers a call, admits someone or starts a recording acts as the person where only the person may (the maintainer's ruling of 2026-11-02, in docs/decisions/2026-10-30-ouro-ax.md)."}, "check": "For each `ui` action entry whose id `isReservedPersonOnly` matches (by meaning: case, separators and aliases aside; an id that only reduces exposure, such as `mute`, `camera-off` or `stop-share`, is not reserved), pass when it is person-only.", "fix": "Declare it `personOnly` with the reason `RESERVED_PERSON_ONLY` gives; `defineComponentAx` refuses it as `agent: true`."},
|
|
136
|
+
{"id": "ui.self-scope-refuses", "surface": "ui", "tier": "must", "applies": "self", "rule": "An action an agent takes only on its own item (`scope: \"self\"`) has a twin that says who is calling (`--agent`), whose command checks the owner, and that refuses a call on an item that is not the caller's: a non-zero exit, nothing done.", "why": "An agent stops its own listening, never another agent's: the person asked that other agent to listen.", "evidence": {"basis": "hazard", "source": "", "finding": "AgentPresence's stop let any agent stop another agent's listening, which the person had asked for (#584)."}, "check": "For each `ui` action entry with `scope: \"self\"`, fail a twin without `--agent <...>`, or whose command `help --json` does not mark `scope: \"self\"`. Only against a proven mock, run the twin as an agent that owns nothing, with and without `--json`. Pass when both exit non-zero (the usage code where help gives one), `--json` answers a refused outcome or an error, and the state did not change.", "fix": "Bind the twin with `--agent <me>`, and declare its command with `self: { owner: (input) => <the agent that owns the item> }` (ax-command), so the kit refuses another agent's item."},
|
|
137
|
+
{"id": "ui.listening-needs-yes", "surface": "ui", "tier": "must", "applies": "listening", "rule": "Until the person has asked an agent to follow a meeting, every read of what people say there, once or as a stream, answers `needs-human` and never the content.", "why": "Reading what people say is sitting in on the meeting, and only the person asks an agent to sit in.", "evidence": {"basis": "hazard", "source": "", "finding": "An agent that reads captions or a transcript nobody asked it to follow listens in on people without their knowing; the yes is a follow the agent makes at the person's direction, with `--why` (the maintainer's ruling of 2026-11-02, in docs/decisions/2026-10-30-ouro-ax.md)."}, "check": "With no follow, run each listening read's twin, and its stream with its trigger, with `--json`. Pass when each answers an outcome in state `needs-human` whose `human.resume` runs a listed command, and that carries no key beyond the outcome's own, at any level, so none of the read's fields can ride along.", "fix": "Before a follow, answer `outcome({ state: \"needs-human\", human: { reason, resume: nextStep(\"<tool> follow <meeting> --why ...\", ...) } })`."},
|
|
138
|
+
{"id": "ui.read-fields", "surface": "ui", "tier": "should", "applies": "ui-read", "rule": "A read's twin carries the fields the component declares in its `--json`.", "why": "An agent reads the twin to learn what the person sees in the component; a declared field the twin leaves out is a promise it breaks.", "evidence": {"basis": "principle", "source": "Ouro AX component declarations (ax-component)", "finding": "No evaluation has shown agents failing without it yet."}, "check": "Run each read's twin with `--json` (a listening read only after the X-ray has followed, on a proven mock). Pass when every declared field is a key in the answer.", "fix": "Add the field to the twin's `--json`, or drop it from the declaration."},
|
|
139
|
+
{"id": "cli.listening-push-filtered", "surface": "cli", "tier": "must", "applies": "listening-push", "rule": "No stream delivers what people say without a words trigger (such as `--on mention|topic:<t>|question`): asked for every line, it refuses and names the triggers.", "why": "Every line of a meeting fills an agent's context, and every agent that follows it repeats the same work.", "evidence": {"basis": "hazard", "source": "", "finding": "A raw live-transcript firehose fills the agent's context and duplicates work across agents (the maintainer's ruling of 2026-11-02, in docs/decisions/2026-10-30-ouro-ax.md)."}, "check": "Run each listening read's untriggered stream (its `push` twin) with `--json`. Pass when it exits non-zero without streaming, answers a refused outcome or an error, gives none of the read's fields (a refused outcome carries no key beyond its own), and names the trigger's flag.", "fix": "Refuse the untriggered stream with an outcome in state `refused` whose error names the triggers, and deliver its lines only on one."},
|
|
140
|
+
{"id": "cli.listening-cursor", "surface": "cli", "tier": "should", "applies": "listening", "rule": "A read of what people say prints a next cursor, and a read again with `--cursor <c>` answers only the lines after it.", "why": "An agent that pulls again should get only what is new, as a wait resumes from its cursor, not read the meeting again.", "evidence": {"basis": "principle", "source": "the maintainer's ruling of 2026-11-02", "finding": "No evaluation has shown agents failing without it yet."}, "check": "Only against a proven mock, follow the meeting with the `human.resume` command the read answered, read with `--json`, then again with `--cursor` and the `cursor` it gave. Pass when both answers carry a `cursor` and the second repeats no line of the first.", "fix": "Take `--cursor <c>` and answer `{ lines, cursor }` with only the lines after it."},
|
|
141
|
+
] as Claim[]),
|
|
142
|
+
});
|
|
143
|
+
|
|
144
|
+
const isRecord = (v: unknown): v is Record<string, unknown> => typeof v === "object" && v !== null && !Array.isArray(v);
|
|
145
|
+
const isText = (v: unknown): v is string => typeof v === "string" && v.trim().length > 0;
|
|
146
|
+
|
|
147
|
+
/**
|
|
148
|
+
* The problems with a claim set, one line each with the fix: a missing field, a repeated id, an unknown surface, tier or
|
|
149
|
+
* scope, and a `must` claim the admission rule does not allow (one that rests on a principle, an evaluation without its
|
|
150
|
+
* run, or a hazard not stated).
|
|
151
|
+
*
|
|
152
|
+
* @claim "The problems with a claim set" registry/ouro/ax/ax-claims.test.mts verify:testExists(registry/ouro/ax/ax-claims.test.mts::checkClaimSet names each problem with its fix)
|
|
153
|
+
*/
|
|
154
|
+
function checkClaimSet(value: unknown): string[] {
|
|
155
|
+
const problems: string[] = [];
|
|
156
|
+
if (!isRecord(value) || !isText(value["version"]) || !Array.isArray(value["claims"])) return ["a claim set is { version, claims: [...] }. Fix: start from CLAIM_SET."];
|
|
157
|
+
const seen = new Set<string>();
|
|
158
|
+
value["claims"].forEach((c: unknown, i: number) => {
|
|
159
|
+
const id = isRecord(c) && isText(c["id"]) ? c["id"] : `claim ${i}`;
|
|
160
|
+
if (!isRecord(c)) return void problems.push(`${id}: is not an object. Fix: { id, surface, tier, applies, rule, why, evidence, check, fix }.`);
|
|
161
|
+
for (const field of ["id", "rule", "why", "check", "fix"]) if (!isText(c[field])) problems.push(`${id}: ${field} is empty. Fix: say it in one sentence.`);
|
|
162
|
+
if (seen.has(id)) problems.push(`${id}: the id is used twice. Fix: give each claim its own id.`);
|
|
163
|
+
seen.add(id);
|
|
164
|
+
if (!["cli", "http", "mcp", "tools", "ui"].includes(c["surface"] as string)) problems.push(`${id}: surface is ${JSON.stringify(c["surface"])}. Fix: "cli", "http", "mcp", "tools" or "ui".`);
|
|
165
|
+
if (c["tier"] !== "must" && c["tier"] !== "should") problems.push(`${id}: tier is ${JSON.stringify(c["tier"])}. Fix: "must" or "should".`);
|
|
166
|
+
if (!(CLAIM_SCOPES as readonly unknown[]).includes(c["applies"])) problems.push(`${id}: applies is ${JSON.stringify(c["applies"])}. Fix: one of ${CLAIM_SCOPES.join(", ")}.`);
|
|
167
|
+
const e = c["evidence"];
|
|
168
|
+
if (!isRecord(e) || !["evaluation", "hazard", "principle"].includes(e["basis"] as string) || typeof e["source"] !== "string" || typeof e["finding"] !== "string") return void problems.push(`${id}: evidence is not { basis, source, finding }. Fix: name the run, the hazard or the principle.`);
|
|
169
|
+
if (e["basis"] === "evaluation" && (!isText(e["source"]) || !isText(e["finding"]))) problems.push(`${id}: an evaluation names its run and what it showed. Fix: evidence: { basis: "evaluation", source: "<the run's file>", finding: "<what agents did>" }.`);
|
|
170
|
+
if (e["basis"] === "hazard" && !isText(e["finding"])) problems.push(`${id}: a hazard is stated. Fix: evidence.finding: "<the harm it prevents>".`);
|
|
171
|
+
if (c["tier"] === "must" && e["basis"] === "principle") problems.push(`${id}: a must claim needs an evaluation that shows agents failing without it, or a stated hazard. Fix: tier: "should", or cite the run.`);
|
|
172
|
+
});
|
|
173
|
+
return problems;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* A claim set read from JSON (an adopter's own copy, say), checked; throws with every problem when it is not one.
|
|
178
|
+
*
|
|
179
|
+
* @claim "throws with every problem" registry/ouro/ax/ax-claims.test.mts verify:testExists(registry/ouro/ax/ax-claims.test.mts::checkClaimSet names each problem with its fix)
|
|
180
|
+
*/
|
|
181
|
+
function loadClaimSet(value: unknown): ClaimSet {
|
|
182
|
+
const problems = checkClaimSet(value);
|
|
183
|
+
if (problems.length) throw new Error(`ax-claims: the claim set has ${problems.length} problem${problems.length === 1 ? "" : "s"}:\n${problems.join("\n")}`);
|
|
184
|
+
return value as ClaimSet;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/** The claim set as canonical JSON (keys sorted), the text its hash is taken over. */
|
|
188
|
+
function claimSetText(set: ClaimSet): string {
|
|
189
|
+
const sorted = (v: unknown): unknown => (Array.isArray(v) ? v.map(sorted) : isRecord(v) ? Object.fromEntries(Object.keys(v).sort().map((k) => [k, sorted(v[k])])) : v);
|
|
190
|
+
return JSON.stringify(sorted(set));
|
|
191
|
+
}
|