cataly 0.0.0-stage → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.bun-test-timings.json +106 -0
- package/.dockerignore +48 -0
- package/.gitattributes +1 -0
- package/.github/actions/setup/action.yml +54 -0
- package/.github/pull_request_template.md +54 -0
- package/.github/social-preview.png +0 -0
- package/.github/workflows/ci.yml +86 -0
- package/.github/workflows/cla.yml +188 -0
- package/.github/workflows/cross-os.yml +95 -0
- package/.github/workflows/release.yml +39 -0
- package/.github/workflows/ulw-update.yml +72 -0
- package/.husky/pre-commit +2 -0
- package/.oxlintrc.json +47 -0
- package/.prettierignore +9 -0
- package/.prettierrc.json +11 -0
- package/CHANGELOG.md +343 -0
- package/CLA.md +58 -0
- package/CONTRIBUTING.md +283 -0
- package/LICENSE +102 -0
- package/LICENSE.omp-dori +23 -0
- package/LICENSING.md +61 -0
- package/NOTICE +113 -0
- package/README.de.md +197 -0
- package/README.it.md +197 -0
- package/README.ja.md +189 -0
- package/README.ko.md +196 -0
- package/README.md +208 -2
- package/README.zh.md +177 -0
- package/bun.lock +198 -0
- package/docs/architecture.png +0 -0
- package/docs/architecture.svg +2 -0
- package/docs/cataly-portrait.webp +0 -0
- package/docs/container.md +163 -0
- package/docs/discord-voice.md +174 -0
- package/docs/dori-vs-deepseek.en.png +0 -0
- package/docs/dori-vs-deepseek.ko.png +0 -0
- package/docs/hourly-loop.md +28 -0
- package/docs/how-it-works-dark.svg +68 -0
- package/docs/how-it-works-light.svg +68 -0
- package/docs/how-it-works.ko-dark.svg +67 -0
- package/docs/how-it-works.ko-light.svg +67 -0
- package/docs/lane-flow.png +0 -0
- package/docs/lane-flow.svg +1 -0
- package/docs/locks.md +47 -0
- package/docs/owner-profile.md +71 -0
- package/docs/platform-adapter.md +67 -0
- package/docs/releases.md +505 -0
- package/docs/runtime.md +262 -0
- package/examples/brief.md +13 -0
- package/examples/container/Dockerfile +119 -0
- package/examples/container/compose.yaml +35 -0
- package/examples/container/entrypoint.sh +16 -0
- package/examples/discord-voice.service +25 -0
- package/examples/update-supervisor.service +22 -0
- package/examples/update.config.json +54 -0
- package/extension/bootstrap.ts +68 -0
- package/extension/bun.lock +167 -0
- package/extension/deployment-health.ts +83 -0
- package/extension/discord-ask-auto.ts +93 -0
- package/extension/discord-ask-card.ts +70 -0
- package/extension/discord-ask-fields.ts +196 -0
- package/extension/discord-ask-form.ts +207 -0
- package/extension/discord-ask-html.ts +132 -0
- package/extension/discord-ask-interactions.ts +153 -0
- package/extension/discord-ask-remote.ts +183 -0
- package/extension/discord-ask.ts +175 -0
- package/extension/discord-lane-reply.ts +214 -0
- package/extension/discord-lane.ts +399 -0
- package/extension/head-admission.ts +154 -0
- package/extension/head-receipt.ts +88 -0
- package/extension/index.ts +1450 -0
- package/extension/lane-bookkeeping.ts +33 -0
- package/extension/lane-policy.ts +111 -0
- package/extension/monitor-output.ts +111 -0
- package/extension/monitor-state.ts +91 -0
- package/extension/monitor.ts +548 -0
- package/extension/native-remote-socket.ts +180 -0
- package/extension/native-remote-view.ts +58 -0
- package/extension/native-remote.ts +451 -0
- package/extension/package.json +20 -0
- package/extension/role-invariants.ts +24 -0
- package/extension/test/deployment-bootstrap.test.ts +289 -0
- package/extension/test/discord-ask-auto.test.ts +256 -0
- package/extension/test/discord-ask-buttons.test.ts +147 -0
- package/extension/test/discord-ask-card.test.ts +169 -0
- package/extension/test/discord-ask-form.test.ts +317 -0
- package/extension/test/discord-ask-mailbox.test.ts +159 -0
- package/extension/test/discord-ask-timeout.test.ts +89 -0
- package/extension/test/discord-ask.test.ts +114 -0
- package/extension/test/discord-lane-fence.test.ts +94 -0
- package/extension/test/discord-lane-reply.test.ts +151 -0
- package/extension/test/discord-lane-wake.test.ts +162 -0
- package/extension/test/fake-pi.ts +173 -0
- package/extension/test/fake-ulw.ts +38 -0
- package/extension/test/head-admission.test.ts +548 -0
- package/extension/test/head-receipt.test.ts +85 -0
- package/extension/test/index.test.ts +773 -0
- package/extension/test/lane-bookkeeping.test.ts +68 -0
- package/extension/test/lane-policy.test.ts +263 -0
- package/extension/test/launch-argv.test.ts +214 -0
- package/extension/test/launch-model.test.ts +192 -0
- package/extension/test/monitor-admission.test.ts +186 -0
- package/extension/test/monitor-bytes.test.ts +110 -0
- package/extension/test/monitor-once-admission.test.ts +133 -0
- package/extension/test/monitor-once-durability.test.ts +70 -0
- package/extension/test/monitor-once.test.ts +190 -0
- package/extension/test/monitor-output.test.ts +140 -0
- package/extension/test/monitor-replay.test.ts +69 -0
- package/extension/test/monitor-restart.test.ts +110 -0
- package/extension/test/monitor-state.test.ts +44 -0
- package/extension/test/monitor.test.ts +229 -0
- package/extension/test/native-prompt-matrix.test.ts +46 -0
- package/extension/test/native-remote.test.ts +357 -0
- package/extension/test/native-tool-completion.test.ts +483 -0
- package/extension/test/new-session.test.ts +251 -0
- package/extension/test/owes-gate.test.ts +141 -0
- package/extension/test/owes-monitor-lifecycle.test.ts +88 -0
- package/extension/test/record-head-inbound.ts +38 -0
- package/extension/test/report-generation.test.ts +210 -0
- package/extension/test/report-receipt-race.test.ts +193 -0
- package/extension/test/report-tool.test.ts +251 -0
- package/extension/test/role-invariants.test.ts +91 -0
- package/extension/test/source-bundle.test.ts +91 -0
- package/extension/test/status.test.ts +104 -0
- package/extension/tsconfig.json +23 -0
- package/install.sh +245 -0
- package/knip.json +48 -0
- package/native-addon/bun.lock +27 -0
- package/native-addon/package.json +8 -0
- package/native-omp.lock +186 -0
- package/native-omp.patch +5343 -0
- package/omp-ulw.lock +1 -0
- package/omp-ulw.overlay.lock +99 -0
- package/omp-ulw.patch +3225 -0
- package/package.json +36 -4
- package/prompts/duty.md +11 -0
- package/prompts/lane-footer.md +18 -0
- package/prompts/lead.md +21 -0
- package/prompts/nudge-waiting.md +11 -0
- package/prompts/nudge.md +10 -0
- package/prompts/owner-distill.md +18 -0
- package/prompts/review.md +15 -0
- package/release-capabilities.json +7 -0
- package/scripts/bench/fake-discord.ts +103 -0
- package/scripts/bench/variants.ts +142 -0
- package/scripts/bench-discord-intake.ts +236 -0
- package/scripts/check-loc.ts +47 -0
- package/scripts/check-test-fixtures.ts +30 -0
- package/scripts/ci-install-herdr.sh +26 -0
- package/scripts/consumer/omp +26 -0
- package/scripts/consumer-smoke-context.ts +241 -0
- package/scripts/consumer-smoke-harness.ts +213 -0
- package/scripts/consumer-smoke-inspect.ts +108 -0
- package/scripts/install-source.sh +464 -0
- package/scripts/release-build.ts +181 -0
- package/scripts/release-gate.ts +77 -0
- package/scripts/release-journal.ts +105 -0
- package/scripts/release-process.ts +135 -0
- package/scripts/release-publish.ts +129 -0
- package/scripts/release-remote.ts +112 -0
- package/scripts/release-source.ts +75 -0
- package/scripts/release.ts +60 -0
- package/scripts/source-configuration.ts +304 -0
- package/scripts/source-dependencies.ts +51 -0
- package/scripts/typecheck.ts +46 -0
- package/scripts/update-supervisor.ts +112 -0
- package/scripts/update-ulw-existing.ts +126 -0
- package/scripts/update-ulw-publish.ts +142 -0
- package/scripts/update-ulw.ts +25 -0
- package/scripts/verify-consumer-release.ts +243 -0
- package/skills/dori-mode/SKILL.md +156 -0
- package/skills/dori-mode/assets/dori-avatar.png +0 -0
- package/skills/dori-mode/references/config.example.json +51 -0
- package/skills/dori-mode/references/done-protocol.md +38 -0
- package/skills/dori-mode/references/onboarding.md +62 -0
- package/skills/dori-mode/references/scripts.md +895 -0
- package/skills/dori-mode/references/sessions.md +165 -0
- package/skills/dori-mode/references/setup.md +150 -0
- package/skills/dori-mode/references/writing.md +37 -0
- package/skills/dori-mode/scripts/bun.lock +203 -0
- package/skills/dori-mode/scripts/package.json +27 -0
- package/skills/dori-mode/scripts/src/artifact-config.ts +48 -0
- package/skills/dori-mode/scripts/src/artifact-files.ts +125 -0
- package/skills/dori-mode/scripts/src/artifact-records.ts +122 -0
- package/skills/dori-mode/scripts/src/artifact-report.ts +79 -0
- package/skills/dori-mode/scripts/src/artifacts.ts +235 -0
- package/skills/dori-mode/scripts/src/board.ts +160 -0
- package/skills/dori-mode/scripts/src/boot-checks.ts +69 -0
- package/skills/dori-mode/scripts/src/boot-monitors.ts +245 -0
- package/skills/dori-mode/scripts/src/boot.ts +250 -0
- package/skills/dori-mode/scripts/src/cgroup-memory.ts +117 -0
- package/skills/dori-mode/scripts/src/checkpoint-lock.ts +169 -0
- package/skills/dori-mode/scripts/src/checkpoints.ts +185 -0
- package/skills/dori-mode/scripts/src/cli-artifacts.ts +74 -0
- package/skills/dori-mode/scripts/src/cli-context.ts +161 -0
- package/skills/dori-mode/scripts/src/cli-decisions.ts +181 -0
- package/skills/dori-mode/scripts/src/cli-discord-gateway.ts +33 -0
- package/skills/dori-mode/scripts/src/cli-discord-ops.ts +157 -0
- package/skills/dori-mode/scripts/src/cli-discord-purpose.ts +103 -0
- package/skills/dori-mode/scripts/src/cli-discord-recovery.ts +22 -0
- package/skills/dori-mode/scripts/src/cli-discord.ts +248 -0
- package/skills/dori-mode/scripts/src/cli-errors.ts +24 -0
- package/skills/dori-mode/scripts/src/cli-harness.ts +26 -0
- package/skills/dori-mode/scripts/src/cli-headless.ts +96 -0
- package/skills/dori-mode/scripts/src/cli-inbound.ts +71 -0
- package/skills/dori-mode/scripts/src/cli-invoke.ts +29 -0
- package/skills/dori-mode/scripts/src/cli-journal.ts +234 -0
- package/skills/dori-mode/scripts/src/cli-lane-policy.ts +42 -0
- package/skills/dori-mode/scripts/src/cli-lanes.ts +243 -0
- package/skills/dori-mode/scripts/src/cli-messenger.ts +147 -0
- package/skills/dori-mode/scripts/src/cli-ops.ts +171 -0
- package/skills/dori-mode/scripts/src/cli-pr.ts +158 -0
- package/skills/dori-mode/scripts/src/cli-recall.ts +75 -0
- package/skills/dori-mode/scripts/src/cli-remote.ts +241 -0
- package/skills/dori-mode/scripts/src/cli-report.ts +41 -0
- package/skills/dori-mode/scripts/src/cli-schedule.ts +98 -0
- package/skills/dori-mode/scripts/src/cli-status.ts +111 -0
- package/skills/dori-mode/scripts/src/cli-telegram.ts +100 -0
- package/skills/dori-mode/scripts/src/cli-usage-report.ts +109 -0
- package/skills/dori-mode/scripts/src/cli-usage.ts +134 -0
- package/skills/dori-mode/scripts/src/cli-voice.ts +93 -0
- package/skills/dori-mode/scripts/src/cli.ts +250 -0
- package/skills/dori-mode/scripts/src/close-worktrees.ts +74 -0
- package/skills/dori-mode/scripts/src/config-identities.ts +23 -0
- package/skills/dori-mode/scripts/src/config.ts +222 -0
- package/skills/dori-mode/scripts/src/dead-panes.ts +62 -0
- package/skills/dori-mode/scripts/src/decisions-fold.ts +155 -0
- package/skills/dori-mode/scripts/src/decisions-record.ts +154 -0
- package/skills/dori-mode/scripts/src/decisions-render.ts +43 -0
- package/skills/dori-mode/scripts/src/decisions.ts +180 -0
- package/skills/dori-mode/scripts/src/delivery-lock.ts +87 -0
- package/skills/dori-mode/scripts/src/delivery-state.ts +85 -0
- package/skills/dori-mode/scripts/src/discord-lane-monitor.ts +98 -0
- package/skills/dori-mode/scripts/src/discord-lane-transcript.ts +143 -0
- package/skills/dori-mode/scripts/src/discord-lane-wake-command.ts +42 -0
- package/skills/dori-mode/scripts/src/discord-lane-wake-lease.ts +52 -0
- package/skills/dori-mode/scripts/src/discord-lane-wake-pending.ts +11 -0
- package/skills/dori-mode/scripts/src/discord-lane-wake.ts +245 -0
- package/skills/dori-mode/scripts/src/discord-lane-wake.yml +17 -0
- package/skills/dori-mode/scripts/src/doctor-config.ts +24 -0
- package/skills/dori-mode/scripts/src/doctor-monitors.ts +195 -0
- package/skills/dori-mode/scripts/src/doctor.ts +223 -0
- package/skills/dori-mode/scripts/src/done-flow.ts +238 -0
- package/skills/dori-mode/scripts/src/evidence-sequence.ts +38 -0
- package/skills/dori-mode/scripts/src/evidence-window.ts +132 -0
- package/skills/dori-mode/scripts/src/evidence.ts +231 -0
- package/skills/dori-mode/scripts/src/freshness-notify.ts +226 -0
- package/skills/dori-mode/scripts/src/freshness-policy.ts +27 -0
- package/skills/dori-mode/scripts/src/freshness-report.ts +65 -0
- package/skills/dori-mode/scripts/src/freshness.ts +220 -0
- package/skills/dori-mode/scripts/src/goal-record.ts +99 -0
- package/skills/dori-mode/scripts/src/heavy-slot.ts +70 -0
- package/skills/dori-mode/scripts/src/holds.ts +27 -0
- package/skills/dori-mode/scripts/src/host-guard.ts +117 -0
- package/skills/dori-mode/scripts/src/lane-policy-actions.ts +155 -0
- package/skills/dori-mode/scripts/src/lane-policy-launch.ts +64 -0
- package/skills/dori-mode/scripts/src/lane-policy-store.ts +126 -0
- package/skills/dori-mode/scripts/src/lane-policy.ts +46 -0
- package/skills/dori-mode/scripts/src/lane-run.ts +70 -0
- package/skills/dori-mode/scripts/src/lane-state.ts +69 -0
- package/skills/dori-mode/scripts/src/launch-errors.ts +3 -0
- package/skills/dori-mode/scripts/src/launch-finished.ts +217 -0
- package/skills/dori-mode/scripts/src/launch-footer.ts +127 -0
- package/skills/dori-mode/scripts/src/launch-generated.ts +46 -0
- package/skills/dori-mode/scripts/src/launch-headless.ts +114 -0
- package/skills/dori-mode/scripts/src/launch-input.ts +54 -0
- package/skills/dori-mode/scripts/src/launch-model.ts +156 -0
- package/skills/dori-mode/scripts/src/launch-queue-store.ts +90 -0
- package/skills/dori-mode/scripts/src/launch-queue.ts +237 -0
- package/skills/dori-mode/scripts/src/launch-selection.ts +34 -0
- package/skills/dori-mode/scripts/src/launch-session.ts +248 -0
- package/skills/dori-mode/scripts/src/launch-template.ts +41 -0
- package/skills/dori-mode/scripts/src/launch.ts +250 -0
- package/skills/dori-mode/scripts/src/lessons.ts +202 -0
- package/skills/dori-mode/scripts/src/lifecycle-session.ts +114 -0
- package/skills/dori-mode/scripts/src/messenger/discord-ask-mailbox.ts +250 -0
- package/skills/dori-mode/scripts/src/messenger/discord-ask-receiver.ts +242 -0
- package/skills/dori-mode/scripts/src/messenger/discord-channels.ts +200 -0
- package/skills/dori-mode/scripts/src/messenger/discord-gateway.ts +250 -0
- package/skills/dori-mode/scripts/src/messenger/discord-inbound-api.ts +235 -0
- package/skills/dori-mode/scripts/src/messenger/discord-inbound-context.ts +107 -0
- package/skills/dori-mode/scripts/src/messenger/discord-inbound-database.ts +43 -0
- package/skills/dori-mode/scripts/src/messenger/discord-inbound-env.ts +26 -0
- package/skills/dori-mode/scripts/src/messenger/discord-inbound-identity.ts +23 -0
- package/skills/dori-mode/scripts/src/messenger/discord-inbound-live.ts +187 -0
- package/skills/dori-mode/scripts/src/messenger/discord-inbound-queue.ts +235 -0
- package/skills/dori-mode/scripts/src/messenger/discord-inbound-state.ts +44 -0
- package/skills/dori-mode/scripts/src/messenger/discord-inbound-thread-admission.ts +155 -0
- package/skills/dori-mode/scripts/src/messenger/discord-inbound-thread-api.ts +57 -0
- package/skills/dori-mode/scripts/src/messenger/discord-inbound-thread-poll.ts +80 -0
- package/skills/dori-mode/scripts/src/messenger/discord-inbound-threads.ts +121 -0
- package/skills/dori-mode/scripts/src/messenger/discord-inbound.ts +220 -0
- package/skills/dori-mode/scripts/src/messenger/discord-lane-inbox.ts +237 -0
- package/skills/dori-mode/scripts/src/messenger/discord-markdown.ts +206 -0
- package/skills/dori-mode/scripts/src/messenger/discord-presence.ts +11 -0
- package/skills/dori-mode/scripts/src/messenger/discord-response.ts +68 -0
- package/skills/dori-mode/scripts/src/messenger/discord-source-fingerprint.ts +40 -0
- package/skills/dori-mode/scripts/src/messenger/discord.ts +247 -0
- package/skills/dori-mode/scripts/src/messenger/head-admission-state.ts +159 -0
- package/skills/dori-mode/scripts/src/messenger/head-admission.ts +145 -0
- package/skills/dori-mode/scripts/src/messenger/http.ts +174 -0
- package/skills/dori-mode/scripts/src/messenger/private-state-file.ts +103 -0
- package/skills/dori-mode/scripts/src/messenger/recall-discord.ts +62 -0
- package/skills/dori-mode/scripts/src/messenger/recall-ledger.ts +250 -0
- package/skills/dori-mode/scripts/src/messenger/recall-telegram.ts +53 -0
- package/skills/dori-mode/scripts/src/messenger/recall-text.ts +235 -0
- package/skills/dori-mode/scripts/src/messenger/slack-inbound.ts +140 -0
- package/skills/dori-mode/scripts/src/messenger/slack-presence.ts +56 -0
- package/skills/dori-mode/scripts/src/messenger/slack.ts +172 -0
- package/skills/dori-mode/scripts/src/messenger/split.ts +92 -0
- package/skills/dori-mode/scripts/src/messenger/telegram-cursor-error.ts +2 -0
- package/skills/dori-mode/scripts/src/messenger/telegram-inbound-state.ts +73 -0
- package/skills/dori-mode/scripts/src/messenger/telegram-inbound-update.ts +104 -0
- package/skills/dori-mode/scripts/src/messenger/telegram-inbound-win32-ffi.ts +89 -0
- package/skills/dori-mode/scripts/src/messenger/telegram-inbound-win32-native.ts +243 -0
- package/skills/dori-mode/scripts/src/messenger/telegram-inbound-win32-policy.ts +79 -0
- package/skills/dori-mode/scripts/src/messenger/telegram-inbound-win32-store.ts +247 -0
- package/skills/dori-mode/scripts/src/messenger/telegram-inbound.ts +204 -0
- package/skills/dori-mode/scripts/src/messenger/telegram-lag.ts +144 -0
- package/skills/dori-mode/scripts/src/messenger/telegram-line.ts +11 -0
- package/skills/dori-mode/scripts/src/messenger/telegram.ts +214 -0
- package/skills/dori-mode/scripts/src/messenger/thread-ledger.ts +211 -0
- package/skills/dori-mode/scripts/src/messenger/typing.ts +19 -0
- package/skills/dori-mode/scripts/src/messenger/voice.ts +247 -0
- package/skills/dori-mode/scripts/src/monitor-command.ts +241 -0
- package/skills/dori-mode/scripts/src/monitor-dori.ts +162 -0
- package/skills/dori-mode/scripts/src/monitor-launchers.ts +145 -0
- package/skills/dori-mode/scripts/src/monitor-presets.ts +100 -0
- package/skills/dori-mode/scripts/src/monitor-syntax.ts +188 -0
- package/skills/dori-mode/scripts/src/native-close-process.ts +43 -0
- package/skills/dori-mode/scripts/src/native-close.ts +221 -0
- package/skills/dori-mode/scripts/src/owes-file.ts +54 -0
- package/skills/dori-mode/scripts/src/owes-writer.ts +35 -0
- package/skills/dori-mode/scripts/src/owes.ts +243 -0
- package/skills/dori-mode/scripts/src/park.ts +136 -0
- package/skills/dori-mode/scripts/src/pause.ts +238 -0
- package/skills/dori-mode/scripts/src/pr-watch-fetch.ts +250 -0
- package/skills/dori-mode/scripts/src/pr-watch-tick.ts +184 -0
- package/skills/dori-mode/scripts/src/pr-watch.ts +225 -0
- package/skills/dori-mode/scripts/src/quota.ts +245 -0
- package/skills/dori-mode/scripts/src/reconcile.ts +26 -0
- package/skills/dori-mode/scripts/src/registry.ts +250 -0
- package/skills/dori-mode/scripts/src/remote-launch.ts +223 -0
- package/skills/dori-mode/scripts/src/remote-records.ts +73 -0
- package/skills/dori-mode/scripts/src/remote-worker.ts +200 -0
- package/skills/dori-mode/scripts/src/reopen.ts +240 -0
- package/skills/dori-mode/scripts/src/report-activity.ts +48 -0
- package/skills/dori-mode/scripts/src/report-delivery.ts +26 -0
- package/skills/dori-mode/scripts/src/report-events.ts +79 -0
- package/skills/dori-mode/scripts/src/reports.ts +246 -0
- package/skills/dori-mode/scripts/src/request-identity.ts +74 -0
- package/skills/dori-mode/scripts/src/routing.ts +17 -0
- package/skills/dori-mode/scripts/src/run.ts +198 -0
- package/skills/dori-mode/scripts/src/schedule-delivery.ts +79 -0
- package/skills/dori-mode/scripts/src/schedule-ownership.ts +27 -0
- package/skills/dori-mode/scripts/src/schedule-store.ts +139 -0
- package/skills/dori-mode/scripts/src/schedule-systemd.ts +71 -0
- package/skills/dori-mode/scripts/src/schedule-types.ts +204 -0
- package/skills/dori-mode/scripts/src/schedule-view.ts +53 -0
- package/skills/dori-mode/scripts/src/scheduler.ts +198 -0
- package/skills/dori-mode/scripts/src/session-id-headless.ts +44 -0
- package/skills/dori-mode/scripts/src/session-id.ts +243 -0
- package/skills/dori-mode/scripts/src/sessions.ts +176 -0
- package/skills/dori-mode/scripts/src/signals-parse.ts +170 -0
- package/skills/dori-mode/scripts/src/signals.ts +150 -0
- package/skills/dori-mode/scripts/src/slack-token.ts +226 -0
- package/skills/dori-mode/scripts/src/startup-screen.ts +108 -0
- package/skills/dori-mode/scripts/src/status-registry.ts +69 -0
- package/skills/dori-mode/scripts/src/status-render.ts +98 -0
- package/skills/dori-mode/scripts/src/status.ts +210 -0
- package/skills/dori-mode/scripts/src/supervision-activity.ts +3 -0
- package/skills/dori-mode/scripts/src/supervision-config.ts +55 -0
- package/skills/dori-mode/scripts/src/supervision-cost.ts +101 -0
- package/skills/dori-mode/scripts/src/supervision-evidence-state.ts +246 -0
- package/skills/dori-mode/scripts/src/supervision-git.ts +158 -0
- package/skills/dori-mode/scripts/src/supervision-observe.ts +208 -0
- package/skills/dori-mode/scripts/src/supervision-verdict.ts +243 -0
- package/skills/dori-mode/scripts/src/supervision.ts +163 -0
- package/skills/dori-mode/scripts/src/sync.ts +134 -0
- package/skills/dori-mode/scripts/src/tell.ts +158 -0
- package/skills/dori-mode/scripts/src/thread-groups.ts +117 -0
- package/skills/dori-mode/scripts/src/thread-status.ts +25 -0
- package/skills/dori-mode/scripts/src/tool-evidence.ts +230 -0
- package/skills/dori-mode/scripts/src/tool-fingerprint.ts +166 -0
- package/skills/dori-mode/scripts/src/usage-file.ts +59 -0
- package/skills/dori-mode/scripts/src/usage-index.ts +85 -0
- package/skills/dori-mode/scripts/src/usage-omp.ts +174 -0
- package/skills/dori-mode/scripts/src/usage-options.ts +28 -0
- package/skills/dori-mode/scripts/src/usage-session.ts +248 -0
- package/skills/dori-mode/scripts/src/usage-tree.ts +226 -0
- package/skills/dori-mode/scripts/src/verify-pr-check.ts +164 -0
- package/skills/dori-mode/scripts/src/verify-pr.ts +128 -0
- package/skills/dori-mode/scripts/src/voice/assistant.ts +129 -0
- package/skills/dori-mode/scripts/src/voice/audio.ts +184 -0
- package/skills/dori-mode/scripts/src/voice/backend.ts +230 -0
- package/skills/dori-mode/scripts/src/voice/commentary.ts +155 -0
- package/skills/dori-mode/scripts/src/voice/discord-events.ts +36 -0
- package/skills/dori-mode/scripts/src/voice/discord-link.ts +90 -0
- package/skills/dori-mode/scripts/src/voice/discord-receive.ts +178 -0
- package/skills/dori-mode/scripts/src/voice/discord-session.ts +249 -0
- package/skills/dori-mode/scripts/src/voice/discord.ts +152 -0
- package/skills/dori-mode/scripts/src/voice/facts.ts +27 -0
- package/skills/dori-mode/scripts/src/voice/prompts.ts +117 -0
- package/skills/dori-mode/scripts/src/voice/provider.ts +158 -0
- package/skills/dori-mode/scripts/src/voice/relay.ts +199 -0
- package/skills/dori-mode/scripts/src/voice/replies.ts +139 -0
- package/skills/dori-mode/scripts/src/voice/session.ts +249 -0
- package/skills/dori-mode/scripts/src/voice/settings.ts +72 -0
- package/skills/dori-mode/scripts/src/voice/status.ts +75 -0
- package/skills/dori-mode/scripts/src/voice/summary.ts +68 -0
- package/skills/dori-mode/scripts/src/voice/tools.ts +75 -0
- package/skills/dori-mode/scripts/src/voice/types.ts +116 -0
- package/skills/dori-mode/scripts/src/voice/usage.ts +156 -0
- package/skills/dori-mode/scripts/src/worklog-render.ts +53 -0
- package/skills/dori-mode/scripts/src/worklog.ts +250 -0
- package/skills/dori-mode/scripts/test/artifact-cli.test.ts +199 -0
- package/skills/dori-mode/scripts/test/artifact-close.test.ts +247 -0
- package/skills/dori-mode/scripts/test/artifact-config.test.ts +53 -0
- package/skills/dori-mode/scripts/test/artifact-files.test.ts +135 -0
- package/skills/dori-mode/scripts/test/artifact-fixture.ts +37 -0
- package/skills/dori-mode/scripts/test/artifacts.test.ts +180 -0
- package/skills/dori-mode/scripts/test/audio-samples.ts +93 -0
- package/skills/dori-mode/scripts/test/board.test.ts +233 -0
- package/skills/dori-mode/scripts/test/boot-checks.test.ts +148 -0
- package/skills/dori-mode/scripts/test/boot-decisions.test.ts +106 -0
- package/skills/dori-mode/scripts/test/boot-journals.test.ts +138 -0
- package/skills/dori-mode/scripts/test/boot-metadata.test.ts +193 -0
- package/skills/dori-mode/scripts/test/boot-monitor-matrix.test.ts +249 -0
- package/skills/dori-mode/scripts/test/boot-monitor-words.test.ts +202 -0
- package/skills/dori-mode/scripts/test/boot-monitors.test.ts +246 -0
- package/skills/dori-mode/scripts/test/boot-schedules.test.ts +161 -0
- package/skills/dori-mode/scripts/test/boot-slack.test.ts +159 -0
- package/skills/dori-mode/scripts/test/boot-worklog.test.ts +146 -0
- package/skills/dori-mode/scripts/test/boot.test.ts +233 -0
- package/skills/dori-mode/scripts/test/cgroup-memory.test.ts +189 -0
- package/skills/dori-mode/scripts/test/checkpoints-lock.test.ts +180 -0
- package/skills/dori-mode/scripts/test/checkpoints.test.ts +154 -0
- package/skills/dori-mode/scripts/test/cli-harness.test.ts +70 -0
- package/skills/dori-mode/scripts/test/cli-loading.test.ts +220 -0
- package/skills/dori-mode/scripts/test/config.test.ts +141 -0
- package/skills/dori-mode/scripts/test/dead-panes-retention.test.ts +188 -0
- package/skills/dori-mode/scripts/test/decisions-authority-cli.test.ts +250 -0
- package/skills/dori-mode/scripts/test/decisions-authority.test.ts +226 -0
- package/skills/dori-mode/scripts/test/decisions-flags.test.ts +128 -0
- package/skills/dori-mode/scripts/test/decisions-race.test.ts +159 -0
- package/skills/dori-mode/scripts/test/decisions.test.ts +246 -0
- package/skills/dori-mode/scripts/test/discord-api-base.test.ts +121 -0
- package/skills/dori-mode/scripts/test/discord-ask-receiver.test.ts +220 -0
- package/skills/dori-mode/scripts/test/discord-channels.test.ts +180 -0
- package/skills/dori-mode/scripts/test/discord-cli.test.ts +210 -0
- package/skills/dori-mode/scripts/test/discord-fakes.ts +191 -0
- package/skills/dori-mode/scripts/test/discord-head-admission.test.ts +111 -0
- package/skills/dori-mode/scripts/test/discord-head-cancel.test.ts +140 -0
- package/skills/dori-mode/scripts/test/discord-head-queued.test.ts +114 -0
- package/skills/dori-mode/scripts/test/discord-head-recovery.test.ts +237 -0
- package/skills/dori-mode/scripts/test/discord-head-thread-recovery.test.ts +95 -0
- package/skills/dori-mode/scripts/test/discord-inbound-ack-index.test.ts +61 -0
- package/skills/dori-mode/scripts/test/discord-inbound-activity-errors.test.ts +77 -0
- package/skills/dori-mode/scripts/test/discord-inbound-activity.test.ts +250 -0
- package/skills/dori-mode/scripts/test/discord-inbound-backlog-context.test.ts +188 -0
- package/skills/dori-mode/scripts/test/discord-inbound-backlog.test.ts +228 -0
- package/skills/dori-mode/scripts/test/discord-inbound-channels.test.ts +182 -0
- package/skills/dori-mode/scripts/test/discord-inbound-checkpoints.test.ts +208 -0
- package/skills/dori-mode/scripts/test/discord-inbound-cli.test.ts +189 -0
- package/skills/dori-mode/scripts/test/discord-inbound-close-route.test.ts +177 -0
- package/skills/dori-mode/scripts/test/discord-inbound-cursor-failures.test.ts +234 -0
- package/skills/dori-mode/scripts/test/discord-inbound-errors.test.ts +95 -0
- package/skills/dori-mode/scripts/test/discord-inbound-fakes.ts +161 -0
- package/skills/dori-mode/scripts/test/discord-inbound-ledger-close.test.ts +140 -0
- package/skills/dori-mode/scripts/test/discord-inbound-lifecycle.test.ts +112 -0
- package/skills/dori-mode/scripts/test/discord-inbound-live-async.test.ts +45 -0
- package/skills/dori-mode/scripts/test/discord-inbound-live-fakes.ts +206 -0
- package/skills/dori-mode/scripts/test/discord-inbound-live.test.ts +239 -0
- package/skills/dori-mode/scripts/test/discord-inbound-media.test.ts +173 -0
- package/skills/dori-mode/scripts/test/discord-inbound-memory-queue.ts +109 -0
- package/skills/dori-mode/scripts/test/discord-inbound-queue-cli.test.ts +200 -0
- package/skills/dori-mode/scripts/test/discord-inbound-queue.test.ts +207 -0
- package/skills/dori-mode/scripts/test/discord-inbound-queued-failures.test.ts +188 -0
- package/skills/dori-mode/scripts/test/discord-inbound-queued-receipts.test.ts +203 -0
- package/skills/dori-mode/scripts/test/discord-inbound-queued-recovery.test.ts +162 -0
- package/skills/dori-mode/scripts/test/discord-inbound-quiet-composition.test.ts +243 -0
- package/skills/dori-mode/scripts/test/discord-inbound-quiet.test.ts +173 -0
- package/skills/dori-mode/scripts/test/discord-inbound-state.test.ts +146 -0
- package/skills/dori-mode/scripts/test/discord-inbound-thread-admission.test.ts +161 -0
- package/skills/dori-mode/scripts/test/discord-inbound-thread-cancel.test.ts +225 -0
- package/skills/dori-mode/scripts/test/discord-inbound-thread-lifecycle.test.ts +156 -0
- package/skills/dori-mode/scripts/test/discord-inbound-thread-recovery.test.ts +241 -0
- package/skills/dori-mode/scripts/test/discord-inbound-threads.test.ts +212 -0
- package/skills/dori-mode/scripts/test/discord-inbound.test.ts +190 -0
- package/skills/dori-mode/scripts/test/discord-lane-inbox.test.ts +250 -0
- package/skills/dori-mode/scripts/test/discord-lane-monitor.test.ts +184 -0
- package/skills/dori-mode/scripts/test/discord-lane-wake-fixture.ts +178 -0
- package/skills/dori-mode/scripts/test/discord-lane-wake.test.ts +204 -0
- package/skills/dori-mode/scripts/test/discord-markdown.test.ts +225 -0
- package/skills/dori-mode/scripts/test/discord-presence-fakes.ts +97 -0
- package/skills/dori-mode/scripts/test/discord-presence-recovery.test.ts +218 -0
- package/skills/dori-mode/scripts/test/discord-presence.test.ts +174 -0
- package/skills/dori-mode/scripts/test/discord-purpose-receipts.test.ts +138 -0
- package/skills/dori-mode/scripts/test/discord-purpose-receiver.test.ts +102 -0
- package/skills/dori-mode/scripts/test/discord-purpose-source.test.ts +245 -0
- package/skills/dori-mode/scripts/test/discord-reply-binding.test.ts +156 -0
- package/skills/dori-mode/scripts/test/discord-send.test.ts +234 -0
- package/skills/dori-mode/scripts/test/discord-source-fingerprint.test.ts +66 -0
- package/skills/dori-mode/scripts/test/discord-split.test.ts +124 -0
- package/skills/dori-mode/scripts/test/discord-tables-cli.test.ts +173 -0
- package/skills/dori-mode/scripts/test/discord-transcribe-cli.test.ts +61 -0
- package/skills/dori-mode/scripts/test/doctor-cli.test.ts +205 -0
- package/skills/dori-mode/scripts/test/doctor-findings.test.ts +246 -0
- package/skills/dori-mode/scripts/test/doctor-metadata.test.ts +108 -0
- package/skills/dori-mode/scripts/test/doctor-runtime.test.ts +156 -0
- package/skills/dori-mode/scripts/test/doctor-supervision.test.ts +175 -0
- package/skills/dori-mode/scripts/test/doctor.test.ts +214 -0
- package/skills/dori-mode/scripts/test/done-flow.test.ts +247 -0
- package/skills/dori-mode/scripts/test/dori-monitor-vocabulary.test.ts +130 -0
- package/skills/dori-mode/scripts/test/eval-evidence.test.ts +164 -0
- package/skills/dori-mode/scripts/test/evidence-cli.test.ts +107 -0
- package/skills/dori-mode/scripts/test/evidence-order.test.ts +129 -0
- package/skills/dori-mode/scripts/test/evidence-sequence-fixture.ts +177 -0
- package/skills/dori-mode/scripts/test/evidence-sequence-race.test.ts +136 -0
- package/skills/dori-mode/scripts/test/evidence-sequence-scan.test.ts +42 -0
- package/skills/dori-mode/scripts/test/evidence-sequence.test.ts +221 -0
- package/skills/dori-mode/scripts/test/evidence.test.ts +235 -0
- package/skills/dori-mode/scripts/test/fakes.ts +228 -0
- package/skills/dori-mode/scripts/test/final-report.test.ts +63 -0
- package/skills/dori-mode/scripts/test/fixtures/verify-pr/browser-test-only.json +67 -0
- package/skills/dori-mode/scripts/test/fixtures/verify-pr/fix-then-untested-copy-fix.json +120 -0
- package/skills/dori-mode/scripts/test/fixtures/verify-pr/fix-with-own-ui-test.json +57 -0
- package/skills/dori-mode/scripts/test/fixtures/verify-pr/fixture-file-is-not-a-test.json +190 -0
- package/skills/dori-mode/scripts/test/fixtures/verify-pr/follow-up-fixes-without-tests.json +150 -0
- package/skills/dori-mode/scripts/test/fixtures/verify-pr/release-chore.json +83 -0
- package/skills/dori-mode/scripts/test/fixtures/verify-pr/source-fix-without-tests.json +39 -0
- package/skills/dori-mode/scripts/test/fixtures/verify-pr/tests-in-later-commits.json +274 -0
- package/skills/dori-mode/scripts/test/fixtures/verify-pr/wrong-commit-email.json +57 -0
- package/skills/dori-mode/scripts/test/freshness-git-timeout.fixture.ts +113 -0
- package/skills/dori-mode/scripts/test/freshness-git-timeout.test.ts +156 -0
- package/skills/dori-mode/scripts/test/freshness-policy.test.ts +250 -0
- package/skills/dori-mode/scripts/test/freshness-receipts.test.ts +222 -0
- package/skills/dori-mode/scripts/test/freshness.test.ts +167 -0
- package/skills/dori-mode/scripts/test/hardening-ceilings.test.ts +142 -0
- package/skills/dori-mode/scripts/test/hardening-cost.test.ts +134 -0
- package/skills/dori-mode/scripts/test/hardening.test.ts +120 -0
- package/skills/dori-mode/scripts/test/hc-runner.ts +86 -0
- package/skills/dori-mode/scripts/test/host-cgroup.test.ts +185 -0
- package/skills/dori-mode/scripts/test/host-sampling.test.ts +105 -0
- package/skills/dori-mode/scripts/test/inbound-activity-cli.test.ts +64 -0
- package/skills/dori-mode/scripts/test/lane-messenger-env.test.ts +98 -0
- package/skills/dori-mode/scripts/test/lane-policy-cli.test.ts +184 -0
- package/skills/dori-mode/scripts/test/lane-policy-launch.test.ts +168 -0
- package/skills/dori-mode/scripts/test/lane-policy.test.ts +197 -0
- package/skills/dori-mode/scripts/test/lane-race.test.ts +247 -0
- package/skills/dori-mode/scripts/test/launch-brief-restore.test.ts +94 -0
- package/skills/dori-mode/scripts/test/launch-brief.test.ts +234 -0
- package/skills/dori-mode/scripts/test/launch-context.test.ts +97 -0
- package/skills/dori-mode/scripts/test/launch-finished.test.ts +60 -0
- package/skills/dori-mode/scripts/test/launch-generated-recovery.test.ts +218 -0
- package/skills/dori-mode/scripts/test/launch-goal-proof.test.ts +69 -0
- package/skills/dori-mode/scripts/test/launch-goal.test.ts +89 -0
- package/skills/dori-mode/scripts/test/launch-model-compat.test.ts +111 -0
- package/skills/dori-mode/scripts/test/launch-model.test.ts +176 -0
- package/skills/dori-mode/scripts/test/launch-queue-cwd.test.ts +105 -0
- package/skills/dori-mode/scripts/test/launch-queue-fixture.ts +109 -0
- package/skills/dori-mode/scripts/test/launch-queue-races.test.ts +226 -0
- package/skills/dori-mode/scripts/test/launch-queue.test.ts +150 -0
- package/skills/dori-mode/scripts/test/launch-review.test.ts +240 -0
- package/skills/dori-mode/scripts/test/launch-selection.test.ts +202 -0
- package/skills/dori-mode/scripts/test/launch-serialization.test.ts +62 -0
- package/skills/dori-mode/scripts/test/launch-startup-wait.test.ts +220 -0
- package/skills/dori-mode/scripts/test/launch-template.test.ts +248 -0
- package/skills/dori-mode/scripts/test/lesson-cli-global.test.ts +214 -0
- package/skills/dori-mode/scripts/test/lesson-cli.test.ts +168 -0
- package/skills/dori-mode/scripts/test/lesson-flow.test.ts +226 -0
- package/skills/dori-mode/scripts/test/lessons.test.ts +249 -0
- package/skills/dori-mode/scripts/test/lifecycle-bound-readback.test.ts +144 -0
- package/skills/dori-mode/scripts/test/lifecycle-cli.test.ts +77 -0
- package/skills/dori-mode/scripts/test/lifecycle-close-hc-guard.test.ts +170 -0
- package/skills/dori-mode/scripts/test/lifecycle-close-legacy.test.ts +155 -0
- package/skills/dori-mode/scripts/test/lifecycle-close-readiness.test.ts +190 -0
- package/skills/dori-mode/scripts/test/lifecycle-close-recovery.test.ts +224 -0
- package/skills/dori-mode/scripts/test/lifecycle-close-retired.test.ts +93 -0
- package/skills/dori-mode/scripts/test/lifecycle-delivery-peer.test.ts +120 -0
- package/skills/dori-mode/scripts/test/lifecycle-fixture.ts +231 -0
- package/skills/dori-mode/scripts/test/lifecycle-generation-repair.test.ts +196 -0
- package/skills/dori-mode/scripts/test/lifecycle-process-guard.test.ts +128 -0
- package/skills/dori-mode/scripts/test/lifecycle-process-identity.test.ts +142 -0
- package/skills/dori-mode/scripts/test/lifecycle-quiescence-gap.test.ts +152 -0
- package/skills/dori-mode/scripts/test/lifecycle-recovery-repair.test.ts +249 -0
- package/skills/dori-mode/scripts/test/lifecycle-review.test.ts +189 -0
- package/skills/dori-mode/scripts/test/lifecycle-session-header.test.ts +79 -0
- package/skills/dori-mode/scripts/test/lifecycle-terminal-repair.test.ts +237 -0
- package/skills/dori-mode/scripts/test/lifecycle.test.ts +198 -0
- package/skills/dori-mode/scripts/test/loop-flag.test.ts +58 -0
- package/skills/dori-mode/scripts/test/messenger-certainty.test.ts +196 -0
- package/skills/dori-mode/scripts/test/messenger-local-receipt.test.ts +71 -0
- package/skills/dori-mode/scripts/test/messenger-presence.test.ts +129 -0
- package/skills/dori-mode/scripts/test/messenger-receipt-boundaries.test.ts +102 -0
- package/skills/dori-mode/scripts/test/messenger-reconnect.test.ts +96 -0
- package/skills/dori-mode/scripts/test/messenger.test.ts +220 -0
- package/skills/dori-mode/scripts/test/omp-launch-fixture.ts +163 -0
- package/skills/dori-mode/scripts/test/omp-launch.test.ts +123 -0
- package/skills/dori-mode/scripts/test/omp-pause.test.ts +139 -0
- package/skills/dori-mode/scripts/test/omp-session.test.ts +250 -0
- package/skills/dori-mode/scripts/test/omp-source-session.test.ts +243 -0
- package/skills/dori-mode/scripts/test/owes-concurrency.test.ts +178 -0
- package/skills/dori-mode/scripts/test/owes-recovery.test.ts +67 -0
- package/skills/dori-mode/scripts/test/owes-reminder-cli.test.ts +76 -0
- package/skills/dori-mode/scripts/test/owes-request.test.ts +246 -0
- package/skills/dori-mode/scripts/test/owes.test.ts +236 -0
- package/skills/dori-mode/scripts/test/pause.test.ts +204 -0
- package/skills/dori-mode/scripts/test/post-failed.test.ts +63 -0
- package/skills/dori-mode/scripts/test/pr-watch-fakes.ts +121 -0
- package/skills/dori-mode/scripts/test/pr-watch-lifecycle.test.ts +236 -0
- package/skills/dori-mode/scripts/test/pr-watch-track.test.ts +192 -0
- package/skills/dori-mode/scripts/test/pr-watch.test.ts +185 -0
- package/skills/dori-mode/scripts/test/quota.test.ts +250 -0
- package/skills/dori-mode/scripts/test/recall-cli.test.ts +157 -0
- package/skills/dori-mode/scripts/test/recall-ledger.test.ts +240 -0
- package/skills/dori-mode/scripts/test/recall-text.test.ts +129 -0
- package/skills/dori-mode/scripts/test/record-discord-gateway.ts +40 -0
- package/skills/dori-mode/scripts/test/record-discord-inbound.ts +83 -0
- package/skills/dori-mode/scripts/test/record-discord.ts +73 -0
- package/skills/dori-mode/scripts/test/record-fetch.ts +34 -0
- package/skills/dori-mode/scripts/test/record-gateway.ts +132 -0
- package/skills/dori-mode/scripts/test/record-inbound-activity-failure.ts +27 -0
- package/skills/dori-mode/scripts/test/record-slack-activity-backlog.ts +42 -0
- package/skills/dori-mode/scripts/test/record-telegram-epoch.ts +41 -0
- package/skills/dori-mode/scripts/test/record-telegram-startup.ts +49 -0
- package/skills/dori-mode/scripts/test/registry-read-removal.test.ts +60 -0
- package/skills/dori-mode/scripts/test/registry-transition.test.ts +55 -0
- package/skills/dori-mode/scripts/test/relayed-cli.test.ts +128 -0
- package/skills/dori-mode/scripts/test/reports-freshness.test.ts +206 -0
- package/skills/dori-mode/scripts/test/reports.test.ts +236 -0
- package/skills/dori-mode/scripts/test/repository-env.test.ts +250 -0
- package/skills/dori-mode/scripts/test/request-corruption.test.ts +183 -0
- package/skills/dori-mode/scripts/test/request-delivery.test.ts +230 -0
- package/skills/dori-mode/scripts/test/request-fixtures.ts +48 -0
- package/skills/dori-mode/scripts/test/request-journal.test.ts +208 -0
- package/skills/dori-mode/scripts/test/request-launch-env.test.ts +45 -0
- package/skills/dori-mode/scripts/test/request-launch-generation.test.ts +34 -0
- package/skills/dori-mode/scripts/test/request-launch-input.test.ts +111 -0
- package/skills/dori-mode/scripts/test/request-launch.test.ts +242 -0
- package/skills/dori-mode/scripts/test/request-lifecycle.test.ts +228 -0
- package/skills/dori-mode/scripts/test/request-origin-cli.test.ts +118 -0
- package/skills/dori-mode/scripts/test/reserved-key.test.ts +92 -0
- package/skills/dori-mode/scripts/test/routing.test.ts +48 -0
- package/skills/dori-mode/scripts/test/runtime-import.test.ts +17 -0
- package/skills/dori-mode/scripts/test/schedule-cli.test.ts +229 -0
- package/skills/dori-mode/scripts/test/schedule-delivery.test.ts +239 -0
- package/skills/dori-mode/scripts/test/schedule-post-budget.test.ts +78 -0
- package/skills/dori-mode/scripts/test/schedule-state.test.ts +125 -0
- package/skills/dori-mode/scripts/test/scheduler-delivery-state.test.ts +166 -0
- package/skills/dori-mode/scripts/test/scheduler.test.ts +234 -0
- package/skills/dori-mode/scripts/test/send-cli.test.ts +90 -0
- package/skills/dori-mode/scripts/test/session-id.test.ts +57 -0
- package/skills/dori-mode/scripts/test/session-observation-actions.test.ts +105 -0
- package/skills/dori-mode/scripts/test/session-observation.test.ts +129 -0
- package/skills/dori-mode/scripts/test/sessions.test.ts +163 -0
- package/skills/dori-mode/scripts/test/signals.test.ts +157 -0
- package/skills/dori-mode/scripts/test/slack-activity-backlog.test.ts +62 -0
- package/skills/dori-mode/scripts/test/slack-cli.test.ts +249 -0
- package/skills/dori-mode/scripts/test/slack-cursor-batch.test.ts +146 -0
- package/skills/dori-mode/scripts/test/slack-inbound.test.ts +226 -0
- package/skills/dori-mode/scripts/test/slack-route-fakes.ts +47 -0
- package/skills/dori-mode/scripts/test/slack-route-inbound.test.ts +127 -0
- package/skills/dori-mode/scripts/test/slack-route.test.ts +141 -0
- package/skills/dori-mode/scripts/test/slack-token-home.test.ts +87 -0
- package/skills/dori-mode/scripts/test/slack-token-read.test.ts +165 -0
- package/skills/dori-mode/scripts/test/slack-token.test.ts +226 -0
- package/skills/dori-mode/scripts/test/startup-screen.test.ts +182 -0
- package/skills/dori-mode/scripts/test/status-boundaries.test.ts +167 -0
- package/skills/dori-mode/scripts/test/status-cli.test.ts +207 -0
- package/skills/dori-mode/scripts/test/status-review.test.ts +168 -0
- package/skills/dori-mode/scripts/test/status.test.ts +248 -0
- package/skills/dori-mode/scripts/test/supervision-budget.test.ts +216 -0
- package/skills/dori-mode/scripts/test/supervision-confirmation.test.ts +199 -0
- package/skills/dori-mode/scripts/test/supervision-coverage.fixture.ts +92 -0
- package/skills/dori-mode/scripts/test/supervision-coverage.test.ts +193 -0
- package/skills/dori-mode/scripts/test/supervision-delivery.test.ts +144 -0
- package/skills/dori-mode/scripts/test/supervision-errors.test.ts +180 -0
- package/skills/dori-mode/scripts/test/supervision-evidence-boundary.test.ts +106 -0
- package/skills/dori-mode/scripts/test/supervision-evidence-review.test.ts +248 -0
- package/skills/dori-mode/scripts/test/supervision-explicit-activity.test.ts +217 -0
- package/skills/dori-mode/scripts/test/supervision-freshness-race.test.ts +105 -0
- package/skills/dori-mode/scripts/test/supervision-git-boundaries.test.ts +211 -0
- package/skills/dori-mode/scripts/test/supervision-git-fixtures.ts +128 -0
- package/skills/dori-mode/scripts/test/supervision-git.test.ts +161 -0
- package/skills/dori-mode/scripts/test/supervision-integration.fixture.ts +134 -0
- package/skills/dori-mode/scripts/test/supervision-integration.test.ts +178 -0
- package/skills/dori-mode/scripts/test/supervision-interruption.test.ts +96 -0
- package/skills/dori-mode/scripts/test/supervision-nested-git.test.ts +214 -0
- package/skills/dori-mode/scripts/test/supervision-overlap.test.ts +175 -0
- package/skills/dori-mode/scripts/test/supervision-path-identity.test.ts +154 -0
- package/skills/dori-mode/scripts/test/supervision-posting.test.ts +55 -0
- package/skills/dori-mode/scripts/test/supervision-recovery.test.ts +161 -0
- package/skills/dori-mode/scripts/test/supervision-resample-fixture.ts +60 -0
- package/skills/dori-mode/scripts/test/supervision-resample-repair.test.ts +229 -0
- package/skills/dori-mode/scripts/test/supervision-usage.test.ts +48 -0
- package/skills/dori-mode/scripts/test/supervision.test.ts +249 -0
- package/skills/dori-mode/scripts/test/sweeps-footer.test.ts +176 -0
- package/skills/dori-mode/scripts/test/sweeps-host.test.ts +122 -0
- package/skills/dori-mode/scripts/test/sweeps-launch.test.ts +226 -0
- package/skills/dori-mode/scripts/test/sweeps.test.ts +202 -0
- package/skills/dori-mode/scripts/test/sync-cache.test.ts +159 -0
- package/skills/dori-mode/scripts/test/sync-history.test.ts +51 -0
- package/skills/dori-mode/scripts/test/sync-observation.test.ts +191 -0
- package/skills/dori-mode/scripts/test/telegram-boundary-matrix.test.ts +97 -0
- package/skills/dori-mode/scripts/test/telegram-inbound-epoch-cli.test.ts +162 -0
- package/skills/dori-mode/scripts/test/telegram-inbound-epoch.test.ts +203 -0
- package/skills/dori-mode/scripts/test/telegram-inbound-fakes.ts +38 -0
- package/skills/dori-mode/scripts/test/telegram-inbound-loop.test.ts +235 -0
- package/skills/dori-mode/scripts/test/telegram-inbound-media.test.ts +195 -0
- package/skills/dori-mode/scripts/test/telegram-inbound-state.test.ts +61 -0
- package/skills/dori-mode/scripts/test/telegram-inbound-win32-token.test.ts +42 -0
- package/skills/dori-mode/scripts/test/telegram-inbound-win32.test.ts +228 -0
- package/skills/dori-mode/scripts/test/telegram-inbound.test.ts +216 -0
- package/skills/dori-mode/scripts/test/telegram-lag.test.ts +164 -0
- package/skills/dori-mode/scripts/test/telegram-line.test.ts +27 -0
- package/skills/dori-mode/scripts/test/telegram-send.test.ts +112 -0
- package/skills/dori-mode/scripts/test/telegram-startup.test.ts +240 -0
- package/skills/dori-mode/scripts/test/telegram-win32-fixtures.ts +51 -0
- package/skills/dori-mode/scripts/test/tell-fence-flow.test.ts +138 -0
- package/skills/dori-mode/scripts/test/tell-fence-lifecycle.test.ts +122 -0
- package/skills/dori-mode/scripts/test/tell-fence-monitor.test.ts +232 -0
- package/skills/dori-mode/scripts/test/tell-fence-process.test.ts +100 -0
- package/skills/dori-mode/scripts/test/tell-fence.test.ts +208 -0
- package/skills/dori-mode/scripts/test/tell-race.test.ts +187 -0
- package/skills/dori-mode/scripts/test/tell.test.ts +141 -0
- package/skills/dori-mode/scripts/test/thread-groups.test.ts +228 -0
- package/skills/dori-mode/scripts/test/thread-ledger-cli.test.ts +112 -0
- package/skills/dori-mode/scripts/test/thread-ledger-scope.test.ts +132 -0
- package/skills/dori-mode/scripts/test/thread-ledger.test.ts +102 -0
- package/skills/dori-mode/scripts/test/thread-status-cli.test.ts +129 -0
- package/skills/dori-mode/scripts/test/thread-watch.test.ts +184 -0
- package/skills/dori-mode/scripts/test/tool-completion.test.ts +172 -0
- package/skills/dori-mode/scripts/test/tool-evidence-cwd.test.ts +126 -0
- package/skills/dori-mode/scripts/test/tool-evidence.test.ts +209 -0
- package/skills/dori-mode/scripts/test/tool-fingerprint.test.ts +96 -0
- package/skills/dori-mode/scripts/test/transcribe-boundary.test.ts +237 -0
- package/skills/dori-mode/scripts/test/transcribe-stream.test.ts +66 -0
- package/skills/dori-mode/scripts/test/usage-cli.test.ts +154 -0
- package/skills/dori-mode/scripts/test/usage-close.test.ts +60 -0
- package/skills/dori-mode/scripts/test/usage-fakes.ts +71 -0
- package/skills/dori-mode/scripts/test/usage-file.test.ts +87 -0
- package/skills/dori-mode/scripts/test/usage-fork.test.ts +78 -0
- package/skills/dori-mode/scripts/test/usage-native.test.ts +178 -0
- package/skills/dori-mode/scripts/test/usage-omp.test.ts +142 -0
- package/skills/dori-mode/scripts/test/usage-provenance.test.ts +115 -0
- package/skills/dori-mode/scripts/test/usage-seance-history.test.ts +61 -0
- package/skills/dori-mode/scripts/test/usage-supervision.test.ts +75 -0
- package/skills/dori-mode/scripts/test/usage-tasks.test.ts +148 -0
- package/skills/dori-mode/scripts/test/verify-pr-github.test.ts +230 -0
- package/skills/dori-mode/scripts/test/verify-pr-setup.ts +95 -0
- package/skills/dori-mode/scripts/test/verify-pr.test.ts +216 -0
- package/skills/dori-mode/scripts/test/voice-audio.test.ts +101 -0
- package/skills/dori-mode/scripts/test/voice-backend-safety.test.ts +142 -0
- package/skills/dori-mode/scripts/test/voice-backend-usage.test.ts +124 -0
- package/skills/dori-mode/scripts/test/voice-backend.test.ts +134 -0
- package/skills/dori-mode/scripts/test/voice-boundaries.test.ts +119 -0
- package/skills/dori-mode/scripts/test/voice-commentary.test.ts +245 -0
- package/skills/dori-mode/scripts/test/voice-discord-contract.test.ts +85 -0
- package/skills/dori-mode/scripts/test/voice-discord-fakes.ts +248 -0
- package/skills/dori-mode/scripts/test/voice-discord-receive-library.test.ts +180 -0
- package/skills/dori-mode/scripts/test/voice-discord-receive.test.ts +201 -0
- package/skills/dori-mode/scripts/test/voice-discord-safety.test.ts +64 -0
- package/skills/dori-mode/scripts/test/voice-discord.test.ts +216 -0
- package/skills/dori-mode/scripts/test/voice-fixture.ts +81 -0
- package/skills/dori-mode/scripts/test/voice-gateway-resume.test.ts +193 -0
- package/skills/dori-mode/scripts/test/voice-live-contract.test.ts +240 -0
- package/skills/dori-mode/scripts/test/voice-live11.test.ts +237 -0
- package/skills/dori-mode/scripts/test/voice-native-output-fixture.ts +150 -0
- package/skills/dori-mode/scripts/test/voice-native-output.test.ts +121 -0
- package/skills/dori-mode/scripts/test/voice-provider.test.ts +197 -0
- package/skills/dori-mode/scripts/test/voice-relay.test.ts +248 -0
- package/skills/dori-mode/scripts/test/voice-replies-tail.test.ts +171 -0
- package/skills/dori-mode/scripts/test/voice-session-fixture.ts +77 -0
- package/skills/dori-mode/scripts/test/voice-session-safety.test.ts +171 -0
- package/skills/dori-mode/scripts/test/voice-session.test.ts +134 -0
- package/skills/dori-mode/scripts/test/voice-summary-admission.test.ts +80 -0
- package/skills/dori-mode/scripts/test/voice-summary-usage.test.ts +82 -0
- package/skills/dori-mode/scripts/test/voice-tools.test.ts +164 -0
- package/skills/dori-mode/scripts/test/worklog-records.test.ts +190 -0
- package/skills/dori-mode/scripts/test/worklog.test.ts +151 -0
- package/skills/dori-mode/scripts/tsconfig.json +8 -0
- package/src/backlog.ts +154 -0
- package/src/cli-args.ts +97 -0
- package/src/cli-lock.ts +40 -0
- package/src/cli-loops.ts +155 -0
- package/src/cli-owner.ts +79 -0
- package/src/cli-up.ts +88 -0
- package/src/cli.ts +188 -0
- package/src/delivery.ts +28 -0
- package/src/duty-inbox.ts +46 -0
- package/src/duty.ts +217 -0
- package/src/fit.ts +92 -0
- package/src/gate.ts +110 -0
- package/src/harness.ts +161 -0
- package/src/hooks.ts +133 -0
- package/src/inbox-files.ts +136 -0
- package/src/inbox-forward.ts +178 -0
- package/src/inbox-held.ts +91 -0
- package/src/inbox-lock.ts +79 -0
- package/src/inbox-spool.ts +167 -0
- package/src/inbox.ts +237 -0
- package/src/lanes.ts +181 -0
- package/src/lock-claim.ts +73 -0
- package/src/lock-list.ts +57 -0
- package/src/lock-owner.ts +159 -0
- package/src/lock-queue.ts +158 -0
- package/src/lock.ts +106 -0
- package/src/loop-audit.ts +44 -0
- package/src/loop-lock.ts +101 -0
- package/src/loop.ts +222 -0
- package/src/migrate-brief.ts +47 -0
- package/src/migrate-capture.ts +89 -0
- package/src/migrate-inbox.ts +111 -0
- package/src/migrate-swap.ts +101 -0
- package/src/migrate.ts +210 -0
- package/src/owner-check.ts +115 -0
- package/src/owner-distill.ts +62 -0
- package/src/owner.ts +235 -0
- package/src/platform/adapter.ts +132 -0
- package/src/platform/darwin.ts +206 -0
- package/src/platform/index.ts +69 -0
- package/src/platform/linux.ts +150 -0
- package/src/platform/shared.ts +31 -0
- package/src/platform/windows.ts +76 -0
- package/src/progress.ts +132 -0
- package/src/refs.ts +12 -0
- package/src/refusal.ts +2 -0
- package/src/release/archive.ts +110 -0
- package/src/release/automatic-cli.ts +42 -0
- package/src/release/automatic-policy.ts +96 -0
- package/src/release/automatic-state.ts +55 -0
- package/src/release/automatic.ts +189 -0
- package/src/release/bundle.ts +132 -0
- package/src/release/cli.ts +248 -0
- package/src/release/discovery.ts +110 -0
- package/src/release/files.ts +245 -0
- package/src/release/install.ts +204 -0
- package/src/release/launch-leases.ts +79 -0
- package/src/release/live.ts +76 -0
- package/src/release/manifest.ts +243 -0
- package/src/release/native-cache-cli.ts +75 -0
- package/src/release/native-cache-lease.ts +250 -0
- package/src/release/native-cache-prune.ts +206 -0
- package/src/release/native-cache-quarantine.ts +150 -0
- package/src/release/native-cache-refs.ts +161 -0
- package/src/release/native-cache-stage.ts +41 -0
- package/src/release/native-cache-uses.ts +172 -0
- package/src/release/native-cache.ts +132 -0
- package/src/release/native-export.ts +46 -0
- package/src/release/native.ts +245 -0
- package/src/release/process-cwd.ts +125 -0
- package/src/release/process-files.ts +86 -0
- package/src/release/provision.ts +191 -0
- package/src/release/references.ts +188 -0
- package/src/release/runtime.ts +208 -0
- package/src/release/setup.ts +77 -0
- package/src/release/source-bundle-update.ts +133 -0
- package/src/release/source-bundle.ts +241 -0
- package/src/release/source-checkout.ts +56 -0
- package/src/release/state.ts +219 -0
- package/src/release/types.ts +34 -0
- package/src/release/version.ts +7 -0
- package/src/remote/client.ts +138 -0
- package/src/remote/policy.ts +53 -0
- package/src/remote/socket-path.ts +38 -0
- package/src/remote/transport.ts +65 -0
- package/src/runtime/exec.ts +35 -0
- package/src/runtime/foreground.ts +50 -0
- package/src/runtime/group.ts +17 -0
- package/src/runtime/hc/deliver.ts +129 -0
- package/src/runtime/hc/exec.ts +79 -0
- package/src/runtime/hc/index.ts +102 -0
- package/src/runtime/hc/probe.ts +119 -0
- package/src/runtime/hc/sessions.ts +168 -0
- package/src/runtime/headless-broker.ts +250 -0
- package/src/runtime/headless-protocol.ts +238 -0
- package/src/runtime/headless-record.ts +241 -0
- package/src/runtime/headless-remote.ts +222 -0
- package/src/runtime/headless-rpc.ts +224 -0
- package/src/runtime/headless.ts +250 -0
- package/src/runtime/herdr/deliver.ts +172 -0
- package/src/runtime/herdr/exec.ts +46 -0
- package/src/runtime/herdr/index.ts +94 -0
- package/src/runtime/herdr/probe.ts +134 -0
- package/src/runtime/herdr/sessions.ts +126 -0
- package/src/runtime/omp-argv.ts +172 -0
- package/src/runtime/omp-options.ts +41 -0
- package/src/runtime/omp-prefixes.ts +122 -0
- package/src/runtime/omp.ts +170 -0
- package/src/runtime/registry.ts +60 -0
- package/src/runtime/select.ts +86 -0
- package/src/runtime/types.ts +156 -0
- package/src/setup-files.ts +131 -0
- package/src/setup-readback.ts +61 -0
- package/src/status-view.ts +74 -0
- package/src/store-journal.ts +68 -0
- package/src/store-types.ts +140 -0
- package/src/store.ts +249 -0
- package/src/target.ts +29 -0
- package/src/telemetry-otlp.ts +78 -0
- package/src/telemetry.ts +203 -0
- package/src/update/app-state.ts +107 -0
- package/src/update/cli.ts +133 -0
- package/src/update/command-output.ts +158 -0
- package/src/update/config.ts +31 -0
- package/src/update/controller.ts +241 -0
- package/src/update/deployment-active.ts +155 -0
- package/src/update/deployment-cli.ts +107 -0
- package/src/update/deployment-config.ts +178 -0
- package/src/update/deployment-files.ts +189 -0
- package/src/update/deployment-handoff.ts +122 -0
- package/src/update/deployment-health.ts +146 -0
- package/src/update/deployment-hold.ts +90 -0
- package/src/update/deployment-launch.ts +202 -0
- package/src/update/deployment-launcher.ts +23 -0
- package/src/update/deployment-legacy-monitors.ts +196 -0
- package/src/update/deployment-lock.ts +28 -0
- package/src/update/deployment-monitor-receipts.ts +197 -0
- package/src/update/deployment-monitors.ts +188 -0
- package/src/update/deployment-native-ui.ts +111 -0
- package/src/update/deployment-native.ts +250 -0
- package/src/update/deployment-prepare.ts +165 -0
- package/src/update/deployment-prior.ts +95 -0
- package/src/update/deployment-process.ts +202 -0
- package/src/update/deployment-quiesce.ts +71 -0
- package/src/update/deployment-restart-state.ts +107 -0
- package/src/update/deployment-restart.ts +137 -0
- package/src/update/deployment-rollback.ts +139 -0
- package/src/update/deployment-run.ts +242 -0
- package/src/update/deployment-shell.ts +62 -0
- package/src/update/deployment-signal.ts +32 -0
- package/src/update/deployment-toolchain.ts +133 -0
- package/src/update/deployment-types.ts +168 -0
- package/src/update/deployment.ts +4 -0
- package/src/update/detection-process.ts +198 -0
- package/src/update/environment.ts +140 -0
- package/src/update/github-ci.ts +115 -0
- package/src/update/load.ts +250 -0
- package/src/update/native-argv.ts +88 -0
- package/src/update/native-prompts.ts +58 -0
- package/src/update/pipeline.ts +86 -0
- package/src/update/pre-action-notice.ts +118 -0
- package/src/update/prepare.ts +164 -0
- package/src/update/proc.ts +62 -0
- package/src/update/process.ts +202 -0
- package/src/update/promotion.ts +145 -0
- package/src/update/publish-basis.ts +85 -0
- package/src/update/publish-config.ts +122 -0
- package/src/update/publish-export.ts +177 -0
- package/src/update/publish-github.ts +232 -0
- package/src/update/publish-lock.ts +66 -0
- package/src/update/publish-process.ts +149 -0
- package/src/update/publish-types.ts +65 -0
- package/src/update/publish.ts +250 -0
- package/src/update/recovery.ts +248 -0
- package/src/update/report.ts +207 -0
- package/src/update/response.ts +59 -0
- package/src/update/review.ts +124 -0
- package/src/update/reviewer-guard.ts +131 -0
- package/src/update/source-activity.ts +152 -0
- package/src/update/source-pin.ts +9 -0
- package/src/update/source-update-candidate.ts +54 -0
- package/src/update/source-update-cli.ts +156 -0
- package/src/update/source-update-config.ts +110 -0
- package/src/update/source-update-git.ts +92 -0
- package/src/update/source-update-idle.ts +89 -0
- package/src/update/source-update-run.ts +215 -0
- package/src/update/source-update-state.ts +159 -0
- package/src/update/source-update-target.ts +100 -0
- package/src/update/source.ts +246 -0
- package/src/update/state.ts +231 -0
- package/src/update/types.ts +170 -0
- package/src/update/worker-guard.ts +147 -0
- package/test/ambiguous-delivery.test.ts +234 -0
- package/test/backlog.test.ts +105 -0
- package/test/bin-mode.test.ts +27 -0
- package/test/ci-fixtures.test.ts +114 -0
- package/test/ci-install-herdr.test.ts +127 -0
- package/test/cla-precheck.test.ts +117 -0
- package/test/cli-args.test.ts +37 -0
- package/test/cli-native-admission.test.ts +131 -0
- package/test/duty-lock.test.ts +31 -0
- package/test/duty-notice-epoch.test.ts +169 -0
- package/test/duty-notice-lock.test.ts +107 -0
- package/test/duty-notice-once.test.ts +172 -0
- package/test/duty-progress-epochs.test.ts +124 -0
- package/test/duty-progress.test.ts +243 -0
- package/test/duty-prompts-access.test.ts +126 -0
- package/test/duty-reference-delivery.test.ts +241 -0
- package/test/duty-runtime.test.ts +61 -0
- package/test/duty-waiting-target.test.ts +238 -0
- package/test/duty-waiting-text.test.ts +104 -0
- package/test/duty-waiting-upgrade.test.ts +72 -0
- package/test/duty-waiting.test.ts +222 -0
- package/test/duty.test.ts +178 -0
- package/test/e2e-hc-deploy.test.ts +156 -0
- package/test/e2e-hc-setup.ts +123 -0
- package/test/e2e-hc.test.ts +138 -0
- package/test/e2e-migrate.test.ts +146 -0
- package/test/e2e.test.ts +144 -0
- package/test/fake-hc.ts +185 -0
- package/test/fake.ts +189 -0
- package/test/fixtures/fake-agent-7501.sh +14 -0
- package/test/fixtures/fake-agent.sh +8 -0
- package/test/fixtures/headless-rpc.ts +86 -0
- package/test/fixtures/inbox-lock-reclaimer.test.ts +22 -0
- package/test/fixtures/lock-claim-reclaimer.test.ts +21 -0
- package/test/fixtures/omp-native-host/bun.lock +151 -0
- package/test/fixtures/omp-native-host/compose.ts +250 -0
- package/test/fixtures/omp-native-host/head-admission.ts +128 -0
- package/test/fixtures/omp-native-host/host.ts +20 -0
- package/test/fixtures/omp-native-host/launch-model.ts +18 -0
- package/test/fixtures/omp-native-host/native-message-head.ts +92 -0
- package/test/fixtures/omp-native-host/package.json +8 -0
- package/test/fixtures/omp-native-host/policy-host.ts +123 -0
- package/test/fixtures/omp-native-host/policy-worker.ts +12 -0
- package/test/fixtures/omp-native-host/prompt-matrix.ts +249 -0
- package/test/fixtures/omp-native-host/request-run.ts +56 -0
- package/test/fixtures/omp-native-host/required-source.ts +126 -0
- package/test/fixtures/release-isolated-source-bundle.test.ts +111 -0
- package/test/fixtures/remote-attach.ts +25 -0
- package/test/fixtures/remote-endpoint.ts +67 -0
- package/test/fixtures/remote-test-model.ts +44 -0
- package/test/fixtures/runtime-headless.ts +77 -0
- package/test/fixtures/screens/omo-dialog.txt +12 -0
- package/test/fixtures/screens/omo-draft.txt +7 -0
- package/test/fixtures/screens/omo-idle-live-monitors.txt +9 -0
- package/test/fixtures/screens/omo-turn.txt +9 -0
- package/test/gate.test.ts +94 -0
- package/test/harness-lane-messenger-env.test.ts +62 -0
- package/test/harness-omp.test.ts +124 -0
- package/test/harness-setup.ts +36 -0
- package/test/hc-rig.ts +28 -0
- package/test/herdr-recorder.ts +32 -0
- package/test/hooks.test.ts +228 -0
- package/test/inbox-append-lock.test.ts +180 -0
- package/test/inbox-commit-race.test.ts +101 -0
- package/test/inbox-followups.test.ts +139 -0
- package/test/inbox-forward.test.ts +161 -0
- package/test/inbox-lead-intent.test.ts +145 -0
- package/test/inbox-lock-crash-chain.test.ts +180 -0
- package/test/inbox-lock-takeover.test.ts +76 -0
- package/test/inbox-lock.test.ts +99 -0
- package/test/inbox-owed-dup.test.ts +68 -0
- package/test/inbox-reused-id.test.ts +119 -0
- package/test/inbox-rollback-race.test.ts +94 -0
- package/test/inbox-route-held.test.ts +112 -0
- package/test/inbox-setup.ts +38 -0
- package/test/inbox-spool-race.test.ts +213 -0
- package/test/inbox-target-race.test.ts +51 -0
- package/test/install-bun-path.test.ts +53 -0
- package/test/install-command-collision.test.ts +171 -0
- package/test/install-command-path.test.ts +66 -0
- package/test/install-command-relink.test.ts +114 -0
- package/test/install-configuration.test.ts +250 -0
- package/test/install-consumer-pointer.test.ts +100 -0
- package/test/install-consumer-setup.ts +40 -0
- package/test/install-consumer.test.ts +174 -0
- package/test/install-existing.test.ts +82 -0
- package/test/install-selection.test.ts +124 -0
- package/test/install-setup-safety.test.ts +175 -0
- package/test/install-setup.ts +169 -0
- package/test/install-side-omp-yml.test.ts +179 -0
- package/test/install-side.test.ts +246 -0
- package/test/install-ulw.test.ts +190 -0
- package/test/install.test.ts +140 -0
- package/test/lanes.test.ts +97 -0
- package/test/lock-claim.test.ts +130 -0
- package/test/lock-cli.test.ts +145 -0
- package/test/lock-foreign.test.ts +124 -0
- package/test/lock-queue.test.ts +132 -0
- package/test/lock-race.test.ts +146 -0
- package/test/lock-setup.ts +46 -0
- package/test/lock.test.ts +128 -0
- package/test/loop-lock.test.ts +110 -0
- package/test/loop-setup.ts +21 -0
- package/test/loop.test.ts +240 -0
- package/test/managed-agent-command.test.ts +190 -0
- package/test/managed-command-contract.test.ts +62 -0
- package/test/managed-command-setup.ts +68 -0
- package/test/managed-source-command.test.ts +133 -0
- package/test/migrate-lock-release.test.ts +46 -0
- package/test/migrate-roles.test.ts +139 -0
- package/test/migrate-setup.ts +77 -0
- package/test/migrate.test.ts +224 -0
- package/test/module-graph.test.ts +51 -0
- package/test/native-cache-prune-setup.ts +83 -0
- package/test/native-export.test.ts +168 -0
- package/test/native-file-digest.test.ts +127 -0
- package/test/omp-setup.ts +61 -0
- package/test/owner-distill.test.ts +89 -0
- package/test/owner-recovery.test.ts +183 -0
- package/test/owner.test.ts +186 -0
- package/test/platform-adapter.test.ts +236 -0
- package/test/proc-name.ts +9 -0
- package/test/prompt-authority.test.ts +47 -0
- package/test/prompt-goal-ownership.test.ts +90 -0
- package/test/prompt-progress.test.ts +55 -0
- package/test/prompt-routing.test.ts +40 -0
- package/test/records-upgrade.test.ts +165 -0
- package/test/release-automatic-bound-concurrency.test.ts +78 -0
- package/test/release-automatic-concurrency.test.ts +223 -0
- package/test/release-automatic-launch.test.ts +202 -0
- package/test/release-automatic.test.ts +243 -0
- package/test/release-bootstrap-runtime.test.ts +53 -0
- package/test/release-bootstrap-setup.ts +120 -0
- package/test/release-bootstrap.test.ts +214 -0
- package/test/release-capabilities.test.ts +56 -0
- package/test/release-consumer-discovery.test.ts +117 -0
- package/test/release-consumer-liveness.test.ts +63 -0
- package/test/release-consumer-lock.test.ts +68 -0
- package/test/release-consumer-profile.test.ts +82 -0
- package/test/release-consumer-runtime.test.ts +144 -0
- package/test/release-consumer-security.test.ts +196 -0
- package/test/release-consumer-selection.test.ts +91 -0
- package/test/release-consumer-setup.ts +233 -0
- package/test/release-consumer-side.test.ts +250 -0
- package/test/release-consumer-state.test.ts +122 -0
- package/test/release-consumer-toolchain.test.ts +145 -0
- package/test/release-gate-parallel.test.ts +90 -0
- package/test/release-gate.test.ts +132 -0
- package/test/release-isolated-source-bundle.test.ts +63 -0
- package/test/release-legacy-prerequisite.test.ts +121 -0
- package/test/release-managed-command-env.test.ts +170 -0
- package/test/release-manifest.test.ts +115 -0
- package/test/release-native-cache-bytes.test.ts +35 -0
- package/test/release-native-cache-cwd.test.ts +75 -0
- package/test/release-native-cache-hold.test.ts +161 -0
- package/test/release-native-cache-homes.test.ts +73 -0
- package/test/release-native-cache-late.test.ts +225 -0
- package/test/release-native-cache-lease.test.ts +184 -0
- package/test/release-native-cache-prune-race.test.ts +200 -0
- package/test/release-native-cache-prune-refs.test.ts +207 -0
- package/test/release-native-cache-removal-recovery.test.ts +239 -0
- package/test/release-native-cache-review.test.ts +245 -0
- package/test/release-native-cache-threads.test.ts +218 -0
- package/test/release-native-cache.test.ts +217 -0
- package/test/release-native-recovery-setup.ts +120 -0
- package/test/release-native-recovery.test.ts +213 -0
- package/test/release-producer-setup.ts +120 -0
- package/test/release-publication.test.ts +72 -0
- package/test/release-publish-setup.ts +192 -0
- package/test/release-publish.test.ts +106 -0
- package/test/release-reference-renderer.test.ts +150 -0
- package/test/release-setup-config.test.ts +250 -0
- package/test/release-source-bundle.test.ts +161 -0
- package/test/release-source.test.ts +54 -0
- package/test/release-wrapper-command.test.ts +101 -0
- package/test/remote-hc-native.test.ts +221 -0
- package/test/remote-session.test.ts +208 -0
- package/test/report-evidence-line.test.ts +45 -0
- package/test/request-run-native.test.ts +66 -0
- package/test/resolve-target.test.ts +60 -0
- package/test/runtime-bound-delivery.test.ts +53 -0
- package/test/runtime-core.test.ts +244 -0
- package/test/runtime-exec.test.ts +45 -0
- package/test/runtime-hc-argv.test.ts +32 -0
- package/test/runtime-hc-deliver.test.ts +176 -0
- package/test/runtime-hc-misc.test.ts +147 -0
- package/test/runtime-hc-screen.test.ts +96 -0
- package/test/runtime-hc.test.ts +234 -0
- package/test/runtime-headless-native.test.ts +206 -0
- package/test/runtime-headless-remote.test.ts +128 -0
- package/test/runtime-headless-request.test.ts +74 -0
- package/test/runtime-headless.test.ts +238 -0
- package/test/runtime-herdr-deliver.test.ts +241 -0
- package/test/runtime-herdr-groups.test.ts +39 -0
- package/test/runtime-herdr-screen.test.ts +59 -0
- package/test/runtime-herdr.test.ts +248 -0
- package/test/runtime-omp-source.test.ts +100 -0
- package/test/runtime-omp-timing.test.ts +163 -0
- package/test/runtime-omp-typed.test.ts +74 -0
- package/test/runtime-omp.test.ts +226 -0
- package/test/runtime-select.test.ts +183 -0
- package/test/screen.test.ts +44 -0
- package/test/send-both.test.ts +78 -0
- package/test/send.test.ts +96 -0
- package/test/setup-files.test.ts +187 -0
- package/test/shell-pane.test.ts +202 -0
- package/test/shq.test.ts +11 -0
- package/test/socket-budget.test.ts +20 -0
- package/test/socket-budget.ts +13 -0
- package/test/source-bundle-readonly.test.ts +28 -0
- package/test/source-bundle-setup.ts +157 -0
- package/test/source-bundle-update.test.ts +125 -0
- package/test/source-bundle.test.ts +249 -0
- package/test/status-view.test.ts +150 -0
- package/test/telemetry-delivery.test.ts +141 -0
- package/test/telemetry.test.ts +185 -0
- package/test/terminal-context-migrate.test.ts +126 -0
- package/test/terminal-context-setup.ts +121 -0
- package/test/terminal-context-skill.test.ts +135 -0
- package/test/terminal-context.test.ts +136 -0
- package/test/terminal-managed-setup.ts +102 -0
- package/test/ulw-canonical-repository.test.ts +43 -0
- package/test/up.test.ts +98 -0
- package/test/update-admission.test.ts +250 -0
- package/test/update-app-state.test.ts +88 -0
- package/test/update-boundaries.test.ts +248 -0
- package/test/update-deploy-config.test.ts +172 -0
- package/test/update-deploy-env.test.ts +87 -0
- package/test/update-deploy-failure.test.ts +72 -0
- package/test/update-deploy-files.test.ts +173 -0
- package/test/update-deploy-foreground-cli.ts +39 -0
- package/test/update-deploy-foreground-readiness.test.ts +29 -0
- package/test/update-deploy-foreground-readiness.ts +248 -0
- package/test/update-deploy-foreground-setup.ts +228 -0
- package/test/update-deploy-foreground.test.ts +236 -0
- package/test/update-deploy-hc.test.ts +85 -0
- package/test/update-deploy-identity.test.ts +230 -0
- package/test/update-deploy-launch.test.ts +194 -0
- package/test/update-deploy-legacy-rollback.test.ts +235 -0
- package/test/update-deploy-legacy-setup.ts +87 -0
- package/test/update-deploy-lock.test.ts +123 -0
- package/test/update-deploy-managed-bash.test.ts +159 -0
- package/test/update-deploy-managed-setup.ts +102 -0
- package/test/update-deploy-native-ui-consumer-setup.ts +126 -0
- package/test/update-deploy-native-ui-consumers.test.ts +150 -0
- package/test/update-deploy-native-ui-observed.test.ts +97 -0
- package/test/update-deploy-native-ui.test.ts +157 -0
- package/test/update-deploy-once.test.ts +96 -0
- package/test/update-deploy-prepare-production.test.ts +89 -0
- package/test/update-deploy-prepare-setup.ts +119 -0
- package/test/update-deploy-prepare-umask.test.ts +92 -0
- package/test/update-deploy-prepare.test.ts +180 -0
- package/test/update-deploy-prior-source.test.ts +108 -0
- package/test/update-deploy-rollback-presence.test.ts +115 -0
- package/test/update-deploy-runtime.test.ts +195 -0
- package/test/update-deploy-setup.ts +74 -0
- package/test/update-deploy-shell-alias.test.ts +172 -0
- package/test/update-deploy-shell-witness.test.ts +47 -0
- package/test/update-deploy-source-launch.test.ts +161 -0
- package/test/update-deploy-startup-stop.test.ts +127 -0
- package/test/update-deploy-stop-recovery.test.ts +123 -0
- package/test/update-detection-blackhole.test.ts +168 -0
- package/test/update-detection-setup.ts +139 -0
- package/test/update-detection.test.ts +138 -0
- package/test/update-execution.test.ts +250 -0
- package/test/update-monitor-lifecycle.test.ts +83 -0
- package/test/update-native-bun-run.test.ts +133 -0
- package/test/update-native-contract.test.ts +246 -0
- package/test/update-native-launch-prefix.test.ts +152 -0
- package/test/update-native-launchers.test.ts +235 -0
- package/test/update-native-process-wrapper.test.ts +151 -0
- package/test/update-native-source.test.ts +127 -0
- package/test/update-pre-action-deployment.test.ts +208 -0
- package/test/update-pre-action-notice.test.ts +147 -0
- package/test/update-pre-action-setup.ts +67 -0
- package/test/update-proc.test.ts +83 -0
- package/test/update-promotion.test.ts +139 -0
- package/test/update-publish-ancestor.test.ts +46 -0
- package/test/update-publish-bootstrap.test.ts +238 -0
- package/test/update-publish-deployment.test.ts +83 -0
- package/test/update-publish-github.test.ts +144 -0
- package/test/update-publish-recovery.test.ts +152 -0
- package/test/update-publish-setup.ts +43 -0
- package/test/update-publish-terminal.test.ts +231 -0
- package/test/update-publish-wait.test.ts +213 -0
- package/test/update-publish.test.ts +173 -0
- package/test/update-report.test.ts +136 -0
- package/test/update-response.test.ts +81 -0
- package/test/update-review-scope.test.ts +184 -0
- package/test/update-running-cancel.test.ts +78 -0
- package/test/update-running-status.test.ts +153 -0
- package/test/update-setup.ts +245 -0
- package/test/update-source-activity.test.ts +149 -0
- package/test/update-source-admission.test.ts +80 -0
- package/test/update-source-ci.test.ts +77 -0
- package/test/update-source-circuit.test.ts +147 -0
- package/test/update-source-cli.test.ts +31 -0
- package/test/update-source-config.test.ts +77 -0
- package/test/update-source-git-setup.ts +151 -0
- package/test/update-source-git.test.ts +95 -0
- package/test/update-source-idle-setup.ts +146 -0
- package/test/update-source-idle.test.ts +148 -0
- package/test/update-source-intake-setup.ts +21 -0
- package/test/update-source-journal-admission.test.ts +129 -0
- package/test/update-source-pending-restart.test.ts +60 -0
- package/test/update-source-rollout-setup.ts +111 -0
- package/test/update-source-rollout.test.ts +164 -0
- package/test/update-source-setup.ts +21 -0
- package/test/update-source-state.test.ts +195 -0
- package/test/update-source-supervisor.test.ts +128 -0
- package/test/update-source-target.test.ts +152 -0
- package/test/update-source-terminal-journal.test.ts +59 -0
- package/test/update-source-toolchain.test.ts +109 -0
- package/test/update-supervisor.test.ts +113 -0
- package/test/update-ulw-publish-reuse.test.ts +94 -0
- package/test/update-ulw-publish-setup.ts +131 -0
- package/test/update-ulw-publish.test.ts +75 -0
- package/test/update-verification.test.ts +109 -0
- package/test/update.test.ts +236 -0
- package/tsconfig.base.json +20 -0
- package/tsconfig.json +7 -0
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
name: ULW update candidate
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
schedule:
|
|
5
|
+
# 12:00 Asia/Seoul (KST, UTC+9). GitHub may delay scheduled runs.
|
|
6
|
+
- cron: "0 3 * * *"
|
|
7
|
+
workflow_dispatch:
|
|
8
|
+
|
|
9
|
+
permissions:
|
|
10
|
+
contents: read
|
|
11
|
+
|
|
12
|
+
concurrency:
|
|
13
|
+
group: ulw-update-candidate
|
|
14
|
+
cancel-in-progress: false
|
|
15
|
+
|
|
16
|
+
jobs:
|
|
17
|
+
prepare:
|
|
18
|
+
if: github.repository == 'vntrevx/Cataly'
|
|
19
|
+
runs-on: ubuntu-24.04
|
|
20
|
+
timeout-minutes: 15
|
|
21
|
+
outputs:
|
|
22
|
+
changed: ${{ steps.prepare.outputs.changed }}
|
|
23
|
+
steps:
|
|
24
|
+
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0
|
|
25
|
+
with:
|
|
26
|
+
ref: main
|
|
27
|
+
persist-credentials: false
|
|
28
|
+
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
|
|
29
|
+
with:
|
|
30
|
+
bun-version: 1.4.4
|
|
31
|
+
- name: Prepare exact ULW source candidate without executing upstream code
|
|
32
|
+
id: prepare
|
|
33
|
+
run: |
|
|
34
|
+
bun scripts/update-ulw.ts --out "$RUNNER_TEMP/ulw-candidate"
|
|
35
|
+
if [ -f "$RUNNER_TEMP/ulw-candidate/candidate.json" ]; then
|
|
36
|
+
echo 'changed=true' >> "$GITHUB_OUTPUT"
|
|
37
|
+
else
|
|
38
|
+
echo 'changed=false' >> "$GITHUB_OUTPUT"
|
|
39
|
+
fi
|
|
40
|
+
- uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
|
|
41
|
+
if: steps.prepare.outputs.changed == 'true'
|
|
42
|
+
with:
|
|
43
|
+
name: ulw-candidate
|
|
44
|
+
path: ${{ runner.temp }}/ulw-candidate
|
|
45
|
+
if-no-files-found: error
|
|
46
|
+
retention-days: 7
|
|
47
|
+
|
|
48
|
+
propose:
|
|
49
|
+
needs: prepare
|
|
50
|
+
if: needs.prepare.outputs.changed == 'true'
|
|
51
|
+
runs-on: ubuntu-24.04
|
|
52
|
+
timeout-minutes: 5
|
|
53
|
+
permissions:
|
|
54
|
+
contents: write
|
|
55
|
+
pull-requests: write
|
|
56
|
+
actions: write
|
|
57
|
+
steps:
|
|
58
|
+
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5.1.0
|
|
59
|
+
with:
|
|
60
|
+
ref: main
|
|
61
|
+
persist-credentials: false
|
|
62
|
+
- uses: oven-sh/setup-bun@0c5077e51419868618aeaa5fe8019c62421857d6 # v2
|
|
63
|
+
with:
|
|
64
|
+
bun-version: 1.4.4
|
|
65
|
+
- uses: actions/download-artifact@37930b1c2abaa49bbe596cd826c3c89aef350131 # v7.0.0
|
|
66
|
+
with:
|
|
67
|
+
name: ulw-candidate
|
|
68
|
+
path: ${{ runner.temp }}/ulw-candidate
|
|
69
|
+
- name: Propose metadata-only draft and dispatch exact-head CI
|
|
70
|
+
env:
|
|
71
|
+
GH_TOKEN: ${{ github.token }}
|
|
72
|
+
run: bun scripts/update-ulw-publish.ts --from "$RUNNER_TEMP/ulw-candidate"
|
package/.oxlintrc.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
// oxlint runs the correctness categories plus the codebase's own rules; Prettier owns layout.
|
|
3
|
+
"$schema": "./node_modules/oxlint/configuration_schema.json",
|
|
4
|
+
"plugins": ["typescript", "unicorn", "oxc", "import"],
|
|
5
|
+
"categories": {
|
|
6
|
+
"correctness": "error",
|
|
7
|
+
"suspicious": "warn",
|
|
8
|
+
"perf": "warn"
|
|
9
|
+
},
|
|
10
|
+
"env": {
|
|
11
|
+
"es2024": true
|
|
12
|
+
},
|
|
13
|
+
"rules": {
|
|
14
|
+
// Project rules kept from the previous linter configuration.
|
|
15
|
+
"typescript/no-explicit-any": "error",
|
|
16
|
+
"typescript/consistent-type-imports": ["error", { "disallowTypeAnnotations": false }],
|
|
17
|
+
"eqeqeq": ["error", "always", { "null": "ignore" }],
|
|
18
|
+
"no-unused-vars": ["error", { "argsIgnorePattern": "^_", "varsIgnorePattern": "^_", "ignoreRestSiblings": true }],
|
|
19
|
+
"no-unused-expressions": ["error", { "allowTernary": true }],
|
|
20
|
+
// Defaults match the deleted module-graph test: any cycle length, `import type` erased as it is at run time.
|
|
21
|
+
"import/no-cycle": "error",
|
|
22
|
+
"import/no-duplicates": "error",
|
|
23
|
+
|
|
24
|
+
// Deliberately off: tsc noFallthroughCasesInSwitch covers fallthrough with type knowledge (process.exit returns never).
|
|
25
|
+
"no-fallthrough": "off",
|
|
26
|
+
// Deliberately off: `!` follows noUncheckedIndexedAccess guards that the code has already checked.
|
|
27
|
+
"typescript/no-non-null-assertion": "off",
|
|
28
|
+
// Deliberately off: the code base uses forEach for side-effect loops in a few places; for-of rewrites add churn and no safety.
|
|
29
|
+
"unicorn/no-array-for-each": "off",
|
|
30
|
+
|
|
31
|
+
// The previous configuration never enforced these either (no sign was set), so keeping them on would add only churn.
|
|
32
|
+
"no-await-in-loop": "off",
|
|
33
|
+
"no-shadow": "off",
|
|
34
|
+
"no-unmodified-loop-condition": "off",
|
|
35
|
+
"preserve-caught-error": "off",
|
|
36
|
+
"no-new": "off",
|
|
37
|
+
"no-underscore-dangle": "off",
|
|
38
|
+
"unicorn/no-array-sort": "off",
|
|
39
|
+
"unicorn/no-array-reverse": "off",
|
|
40
|
+
"unicorn/consistent-function-scoping": "off",
|
|
41
|
+
"unicorn/prefer-set-has": "off",
|
|
42
|
+
"unicorn/no-useless-spread": "off",
|
|
43
|
+
"oxc/no-map-spread": "off"
|
|
44
|
+
},
|
|
45
|
+
// Fixtures, the read-only reference checkout and local harness state are not product code.
|
|
46
|
+
"ignorePatterns": ["**/fixtures", "ref/**", ".hyper/**"]
|
|
47
|
+
}
|
package/.prettierignore
ADDED
package/.prettierrc.json
ADDED
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,343 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## Unreleased
|
|
4
|
+
|
|
5
|
+
- Telegram intake binds a private atomic cursor to the authenticated bot and omits offsets after 24 hours without observed updates, missing/invalid timestamps, or clock rollback. Bounded message/revision receipts prevent replay across epoch resets without treating a reused update ID as sufficient identity. Empty polls do not renew the epoch; legacy unscoped numeric cursors are preserved but not trusted. Windows uses a private owner ACL and an exclusive per-bot lease.
|
|
6
|
+
|
|
7
|
+
- Add opt-in cron schedules with durable claims, explicit delivery, and read-only systemd observation. Stale ownership markers hold scheduled work for operator reconciliation.
|
|
8
|
+
|
|
9
|
+
- Register lane artifacts by content hash, bind checkpoints and operator-reported delivery receipts to versions, and preserve worktrees that contain registered evidence.
|
|
10
|
+
|
|
11
|
+
- Add opt-in `dori update source check|status|apply`, `idle-check`, and `lead restart` on the existing managed deployment engine. The source supervisor checks CI and stops only at a verified idle and quiet boundary; service and upstream update defaults are unchanged.
|
|
12
|
+
|
|
13
|
+
- Report the currently verified managed source and native runtime separately from historic deployment receipts.
|
|
14
|
+
|
|
15
|
+
- Record terminal monitor outcomes and opt-in once completion, preserving interrupted work and holding managed restarts while once work remains unfinished.
|
|
16
|
+
|
|
17
|
+
- Add opt-in Bash rules to fresh native lanes, with launch-bound snapshots, inherited restrictions and an auditable one-attempt grant. Native approvals and default unconfigured lanes are unchanged.
|
|
18
|
+
|
|
19
|
+
- Supervised Discord lead intake records the original source and native dispatch attempt in the existing SQLite FIFO and requires an on-disk receipt before advancing the cursor. Lost acknowledgements reconcile without redispatch; an unresolved attempt holds intake. Explicit `inbound-abandon` retains the source and operator decision without resending. Native admission is separate from ASK, tool approval, authorization, Discord delivery and completion.
|
|
20
|
+
|
|
21
|
+
- Serialize owner-obligation snapshot writers during lock recovery, while preserving cancellation, the original JSONL files and compatibility with an existing live writer.
|
|
22
|
+
|
|
23
|
+
- Verify the exact native provider and model before delivering briefs to readable interactive lane launches; preserve explicit non-interactive and opaque compatibility with unavailable provenance and an opt-in strict gate.
|
|
24
|
+
|
|
25
|
+
- Add opt-in Discord and Telegram conversation recall, partitioned by authenticated bot, configured owner and verified conversation. `dori recall` requires an explicit identity and space; logical deletion is identity-scoped and leaves legacy records untouched. Recalled excerpts are historical data, never fresh instructions or approvals.
|
|
26
|
+
|
|
27
|
+
- Add explicit local lane usage and read-only quota commands. Native usage supervision stays opt-in, incomplete observations stay unknown, and quota display never changes accounts, credits or policy.
|
|
28
|
+
|
|
29
|
+
- Bind opted-in lane reports and checkpoints to the original received request and launch run on terminal and headless lanes, retaining attribution across reopen and wake. Exact Discord reply receipts can be linked explicitly; unsupported delivery paths remain unverified. Validate retained execution history before launch or reopen without dropping completed checkpoint effects, and reject valueless delivery options before acknowledging a report.
|
|
30
|
+
|
|
31
|
+
- Persist a private local dispatch record before telling or nudging a lane or sending a Done notice. An uncertain delivery holds later tells, nudges and Done notices across restarts. `dori tell <key> --status` inspects the latest record; `--resolve ID --note WHY` releases only that exact hold without confirming, cancelling or replaying the original action. These IDs are not native submission, report or run receipts. Direct native owner input, ASK replies, pause/resume and explicit reopen notes retain their existing admission rules and do not clear the hold.
|
|
32
|
+
|
|
33
|
+
- Discord purpose commands accept `--source "discord CHANNEL MESSAGE"` to bind the invocation to a verified owner message in its physical conversation. Only that conversation and its actual thread parent are eligible. Notes and source receipts are stored atomically: matching retries return the original result without overwriting later edits, and conflicting reuse is rejected. Manual commands remain available.
|
|
34
|
+
|
|
35
|
+
- Discord voice documents `gpt-live-1.1` as a `voice.liveModel` (same Live WebSocket protocol as `gpt-live-1`) and records the provider's paused-seconds breakdown as `pausedSeconds` within billed `liveSeconds`; minute limits still count all billed seconds, late paused reports stay on the days that hold the session's billed time, and an inconsistent breakdown ends the session. GPT-Live standby is WebRTC-only, so it is documented as unavailable over Dori's WebSocket transport, where idle close and wake remain.
|
|
36
|
+
|
|
37
|
+
- Honor scoped work approvals from Cataly's authenticated Discord owner intake without requiring a duplicate terminal message. Native OMP approvals and spending rules are unchanged.
|
|
38
|
+
|
|
39
|
+
- Render eligible Discord ASK choices as native buttons, with the checked option labeled as recommended. A single pending text-capable question also accepts ordinary owner text in its exact Discord channel.
|
|
40
|
+
|
|
41
|
+
- After three minutes with no answer to a posted Discord ASK, submit its single explicit recommendation as a timeout, not an owner reply.
|
|
42
|
+
|
|
43
|
+
- Restore Discord ASK for Dori leads already using an environment-supplied bot token when the standard private token file is absent. Automatic delivery still requires the same live receiver and a unique explicit channel; lane routing and saved settings do not change.
|
|
44
|
+
|
|
45
|
+
- Add an opt-in local owner profile that the lead can consult for preferences without copying entries into system prompts or migration briefs. With `ownerDistillHour` set, the hourly loop queues one date-bound request per day through the lead's inbox. `dori harness owner init|show|snapshot|check|diff|revert` creates, reads, validates and restores the profile.
|
|
46
|
+
|
|
47
|
+
- Bound native OMP keeps pending custom notices with their original transcript across `/new`, `/clear`, and session switches. An unchanged reload retains eligible notices and passive next-turn payloads without restarting old provider work; a changed transcript drops them. External delivery waits for transition and rollback reconciliation, and CI exercises ownership against the bound native source.
|
|
48
|
+
|
|
49
|
+
- Append compact role guidance once per root Dori/lane prompt, preserving existing host and ULW composition. Plain and child sessions are unchanged, and lane bookkeeping remains Sol-only.
|
|
50
|
+
|
|
51
|
+
- Slack thread positions are bound to the authenticated workspace/account rather than shared channel/root IDs. `dori inbound slack` keeps its existing readiness line and physical channel IDs; `--qualified-routes` opts into account-qualified readiness and destinations. Replies reject mismatched parents, qualified destinations reject another account before mutation, and nonempty legacy ledgers require explicit matching operator adoption with a durable receipt; existing non-self/non-bot intake and post-emit cursor semantics remain unchanged.
|
|
52
|
+
|
|
53
|
+
- `dori park` and `dori reopen` accept saved OMP sessions whose first line is OMP's fixed-width title slot (v1) before the session header; any other leading record, a second title, a missing header, or a different session id or cwd is still refused.
|
|
54
|
+
|
|
55
|
+
- Discord replies retain their original message ID and copied snapshot, distinguish unresolved, unavailable and observed-empty context, and reject reference or snapshot channel mismatches before owner delivery or checkpoint. Outgoing replies bind to the exact physical channel or thread and require the original target to exist; a deleted or other-channel target no longer silently becomes an unlinked post. Normal `INBOUND` grammar, split-message ordering and non-pinging mentions remain unchanged.
|
|
56
|
+
|
|
57
|
+
- `dori decision` records who may settle each choice: `ask --kind routine` (reversible, in scope, at least two options, in the work's thread) lets the lead record `decision choose <id> <N> --reason TEXT --source REF --thread REF` after posting its choice and reason in that thread, while unmarked and pre-existing decisions stay owner-only; `list` shows `kind` and the answer's `authority`, `digest` shows `kind`, the same rules hold for hand-written or raced records, and no decision answer or choice grants a native execution approval.
|
|
58
|
+
|
|
59
|
+
- Require per-PR copied/adapted source provenance, concept-only attribution, and component-specific license/notice preservation.
|
|
60
|
+
|
|
61
|
+
- Record observed source/native/ULW identities, environment, commands, receipts and unverified surfaces together in PR and release evidence.
|
|
62
|
+
|
|
63
|
+
- The scripts reference documents what Discord, Slack and Telegram inbound intake can recover on first install, for threads created while offline, after edits behind the saved position, and when platform retention or rate limits interrupt intake. Runtime behavior is unchanged.
|
|
64
|
+
|
|
65
|
+
- Unreleased (source only): Telegram inbound now verifies bot identity and an empty webhook before readiness or polling; startup rejection and interruption leave the cursor and existing webhook untouched.
|
|
66
|
+
|
|
67
|
+
- Exercise native prompt rendering across role, ULW, workflow, profile, child-tool, and compaction boundaries in an isolated offline composition matrix.
|
|
68
|
+
|
|
69
|
+
- Lane final reports separate the outcome, changes or findings, verified evidence, unrun checks and handoff. Done claims cite the saved report and live Done receipts without treating partial or blocked work as done.
|
|
70
|
+
|
|
71
|
+
- Hide explicitly selected `monitor` tools from native child sessions while preserving inherited role behavior, ordinary main/child tools and the separate main-session execution guard.
|
|
72
|
+
|
|
73
|
+
- Add opt-in `dori inbound discord --wake-lanes` for cleanly retired herdr tabs: queue owner messages for the exact registered OMP session and post lane replies back to the original Discord thread. Existing settings and monitor defaults are unchanged.
|
|
74
|
+
|
|
75
|
+
- Bind Discord owed-answer receipts to the exact owner request and every accepted reply part; unrelated posts, legacy receipts and partial sends do not settle another request (omp-superagent comparison F22).
|
|
76
|
+
|
|
77
|
+
- Messenger mutations stop on ambiguous transport/server failures with an actionable uncertain-delivery outcome and confirmed partial-send IDs, while reads and rejected rate-limited requests retain bounded retry behavior.
|
|
78
|
+
|
|
79
|
+
- New lane registry records and brief footers retain requested launch text and its configuration origin without changing default ULW, raw message delivery or startup goal checks. Launch-selection provenance describes matching text rather than programmatic assignment history. Same-value reassignment retains the matching default or loaded-file origin, with regression coverage for both cases.
|
|
80
|
+
|
|
81
|
+
- Add explicit lane parking, exact-session reopening, abandonment receipts and a read-only hold ledger. Keep worktrees, accepted pending Discord messages and ordinary Done verification.
|
|
82
|
+
|
|
83
|
+
- Added opt-in last-lane thread completion, exact-thread lane and worklog links, and lead-owned idempotent Discord title status without automatic archiving.
|
|
84
|
+
|
|
85
|
+
- Clarify that autonomous local work and successful review do not authorize merge, deployment, publication, spending or destructive cleanup; preserve read-only requests and all existing execution gates.
|
|
86
|
+
|
|
87
|
+
- Add read-only lane status, historical ETA summaries and opt-in single-message Discord/Telegram boards. Boards validate options before delivery, omit URL credentials and parameters, and retain pending holds; Telegram recovery requires an existing message binding.
|
|
88
|
+
|
|
89
|
+
- Add read-only `dori doctor` configuration, adoption and monitor diagnostics, canonical `monitor-presets`, and an advisory boot summary. Doctor checks external terminal metadata and verifies the native monitor's restart policy; documented filters include supervision and loop-error events.
|
|
90
|
+
|
|
91
|
+
- Added opt-in idle-only freshness nudges, owner summaries and report-kind posting policy, with exact report relay receipts to prevent duplicate owner updates.
|
|
92
|
+
|
|
93
|
+
- Add literal brief templates and durable prerequisite queues with explicit starts, live completion and host checks, expiry, cancellation and restart visibility.
|
|
94
|
+
|
|
95
|
+
- Read-only `dori sync` shares one successful process-table snapshot and one herdr pane list within a pass. Later passes, failed reads, hc group queries and all `--write` observations stay fresh.
|
|
96
|
+
|
|
97
|
+
- Align lead and skill routing: answer direct requests in place, honor explicitly main-scoped implementation, and isolate independent work without requiring a lane or supervisor solely because it has several steps or a PR.
|
|
98
|
+
|
|
99
|
+
- Restore the Discord 👀 read receipt after accepting lane chat or an exact ASK reply. A failed reaction does not block message delivery.
|
|
100
|
+
|
|
101
|
+
- Lane briefs and generated footers retain task sources, recorded locations, scoped acceptance, preserved resources and resume context without copying the lead transcript or inventing missing authority.
|
|
102
|
+
|
|
103
|
+
- Route ordinary Discord messages for an unambiguously connected lane to its own OMP session. Existing connections need no new setting; exact ASK replies still resolve the open form instead of starting a turn.
|
|
104
|
+
|
|
105
|
+
- Supported native OMP ASK forms are automatically available through an already connected Discord receiver with an unambiguous destination. Existing settings and explicit routes stay in place; only the configured owner's reply to the exact message answers that ASK.
|
|
106
|
+
|
|
107
|
+
- Keep ambient Discord and Telegram tokens out of launched lane agents, reject empty tokens before network access, and preserve native authentication and the existing Slack token-file flow.
|
|
108
|
+
|
|
109
|
+
- Dori and duty report observed progress at meaningful result boundaries without creating reporting-only model timers, while retaining code watches, inbound delivery and explicit long-silence alerts.
|
|
110
|
+
|
|
111
|
+
- `dori voice discord` adds an opt-in, paid, owner-only Discord voice assistant configured by `voice` in the existing Dori config. It reads lanes and reports, searches the web, posts notes and forwards work to the lead once, claiming delivery only after receipt is observed; forwarded requests carry a written-approval policy, not an effect-point authorization gate. Daily, cumulative and backend spending caps apply, though in-flight usage can exceed them. Native codecs are optional dependencies loaded only by this command. See [the voice guide](docs/discord-voice.md).
|
|
112
|
+
|
|
113
|
+
- Opted-in Dori monitors can restart unexpectedly exited receiver processes with a bounded retry policy. The policy survives session resume and managed handoff; clean exits, explicit stops, and monitors without the policy retain their existing behavior.
|
|
114
|
+
|
|
115
|
+
- Document opt-in GPT-6.2 Sol Ultrafast defaults for external OMP 19 lanes and cover the alias in the GPT-6.2 prompt integration. Explicit external commands no longer require a consumer-native receipt; managed launchers retain receipt checks and their pinned runtime.
|
|
116
|
+
|
|
117
|
+
- Reuse an already-published ULW candidate after unrelated main changes only after verifying its canonical PR, accepted parent and exact metadata-only tree. Preserve closed decisions and exact-head CI deduplication without rewriting branches or repeating Git object uploads.
|
|
118
|
+
|
|
119
|
+
- Follow the canonical `vntrevx/Cataly` repository identity in the ULW/release workflow guards and their shared publisher/release checks. The exact repository, tag, commit, workflow and trusted check bindings remain enforced; forks and the former identity are refused.
|
|
120
|
+
|
|
121
|
+
- Schedule the ULW candidate workflow for 03:00 UTC (12:00 KST) daily, retaining manual dispatch and fail-closed publication. Preparation errors name conflicting paths without executing upstream code.
|
|
122
|
+
|
|
123
|
+
- Port the bound ULW overlay to `6ec7ecd40b2b5667f37c9802999db1d12ebbc2ae`: preserve upstream GPT-6.2 Astra/Sol standalone prompts alongside the retained DeepSeek profiles, Claude routing and native-host adaptations. Regenerate authenticated patch/tree/postimage identities; reviewed source does not by itself publish a release or update existing installations.
|
|
124
|
+
|
|
125
|
+
- Discord REST clients accept an optional `DORI_DISCORD_API_BASE` for isolated loopback HTTP tests, retaining the production endpoint by default. Path prefixes are normalized, and credentials, query strings, fragments and non-loopback origins are rejected without exposing the configured value.
|
|
126
|
+
|
|
127
|
+
- Discord owner intake now follows active threads whose parent is a watched channel, so an owner reply posted in a thread of the intake channel is received without listing the thread ID. Threads are listed at startup and refreshed every tenth REST poll and on every Gateway READY/RESUMED, live dispatches are matched through one cached channel lookup, a channel counts as a thread only for Discord's thread channel types (a text channel's `parent_id` names its category), threads of unwatched channels stay outside intake, an unreadable thread is skipped like scope-all discovery, and an archived thread keeps its cursor for a later reactivation. A thread first seen after startup starts at its own creation, never before the parent's startup position. `DORI_DISCORD_THREADS=off` restores channel-only intake.
|
|
128
|
+
- Unknown live thread scope is resolved before SQLite payload admission using at most 100 volatile frames, 1 MiB aggregate serialized payload bytes, one resolver and 256 historical metadata results. Known-scoped frames still enter the existing durable FIFO immediately. Overflow stops intake visibly without deleting committed work; crash, close or overflow can lose unresolved candidates. No unscoped payload is written to disk. Admitted thread rows retain parent provenance for recovery under the current intake scope, including an enabled configured parent after archiving or lost history access. Excluded queued rows are discarded when drained rather than held for a later scope change.
|
|
129
|
+
|
|
130
|
+
- Discord REST intake probes one latest message before draining history. Quiet, empty and deleted-head channels avoid downloading up to 100 bodies; active channels pay one additional sequential probe and its rate-limit budget while retaining complete pagination, existing delivery/checkpoint and qualified late-arrival boundaries, and the received head if it is deleted between requests.
|
|
131
|
+
|
|
132
|
+
- Discord Gateway intake spools pending work to a private SQLite FIFO instead of retaining an unbounded Promise chain during REST backfill failures. A bounded page cache and one decoded record keep application backlog memory independent of queue length; pending work survives shutdown and restart, with existing cursor and delivery-error boundaries preserved. Disk writes and backlog-sized storage replace in-memory retention. Both REST and Gateway acquire the queue lock before authentication or polling, including a fresh state directory. Intake stops at the 256 MiB database limit or when another consumer owns the same queue, and REST-only mode refuses pending Gateway work until it is drained in Gateway mode.
|
|
133
|
+
|
|
134
|
+
- Discord backfill reconciles durably queued owners with older REST gaps before newer delivery or filtered checkpoints, preserving requests absent from REST. Indexed one-record reads keep queued backlog out of application arrays. Admission metadata and exact-ID acknowledgements preserve late frames without regressing cursors; ordering is qualified at each delivery selection. Emit/checkpoint crashes, late acknowledgement crashes and conservative legacy-row recovery can repeat requests. Existing queue ownership, privacy and storage limits remain in force; migration indexes consume database budget and temporary construction space.
|
|
135
|
+
|
|
136
|
+
- Discord REST intake batches filtered-message cursor writes into the next successful owner checkpoint or one trailing checkpoint. Owner emits still checkpoint individually, live Gateway delivery is unchanged, and failures never commit past an undelivered owner message.
|
|
137
|
+
|
|
138
|
+
- Linux host sampling now reads load and memory directly from `/proc`, avoiding two `cat` children and three failed macOS command attempts per sample. Disk and session sampling, unknown-value behavior, and non-Linux probes are unchanged.
|
|
139
|
+
|
|
140
|
+
- The skill CLI loads command implementations on demand, avoiding updater, messenger and lane graphs for successful journal commands and all configuration/command graphs for `--version`. Ordinary commands retain configuration and consumer-native admission before execution; usage, exit codes and original error classes remain unchanged.
|
|
141
|
+
|
|
142
|
+
- A freshness tick parses each unchanged lane report journal once and reuses a quiet supervision activity observation. Journal changes invalidate the per-tick memo. A post-effect sample absorbs incidental hook writes without consuming activity on explicitly watched files.
|
|
143
|
+
|
|
144
|
+
- Platform behaviour now sits behind one `PlatformAdapter` in `src/platform/`, with a single implementation per host (darwin, linux, win32) in place of scattered `process.platform` checks. Answers, messages and failure modes are unchanged.
|
|
145
|
+
|
|
146
|
+
- `src/release/files.ts` flushes a directory only through the adapter's `syncDirectory` instead of testing `directoryFsync` first; on Windows that release path no longer opens and fsyncs a directory, and it is unreachable there because `provision.ts` prerequisites reject win32. A manifest `cwd` carrying `..` behind either separator is rejected again on every host, as it was before the adapter named a separator set.
|
|
147
|
+
|
|
148
|
+
- Biome is replaced by oxlint for linting, Prettier for formatting and a husky `pre-commit` hook that runs both. `bun run check` now runs `lint` (`oxlint --deny-warnings`) then `format:check`, `bun run format` replaces `bun run fmt`, and the formatter options, rule severities and ignore patterns carry over unchanged. Biome's optional-chain correction (the default fix behind `useOptionalChain`) has no oxlint equivalent, so code it had already fixed stays as it is.
|
|
149
|
+
|
|
150
|
+
- Automatic CI keeps its release gate in `.github/workflows/ci.yml`: the Linux `check`, `e2e-herdr` and `e2e-hc` jobs on `ubuntu-24.04`, and exact-commit release validation and contributor requirements still require exactly those three. A separate `.github/workflows/cross-os.yml` now runs on each pull request and `main` push outside that gate: `test-macos` on a GitHub-hosted `macos-15` arm64 runner runs the full root, skill and extension suites against prepared fixtures, allowing the slower runner `--timeout=30000` for the root suite, and its genuine Darwin arm64 hc consumer release smoke runs only on `main` pushes and manual runs; `test-windows` on a GitHub-hosted `windows-2025` runner runs the static checks and the three test suites. Windows CI is not product support, and the supported release scope stays Linux x64/herdr plus the documented isolated macOS arm64/hc profile. Windows coverage gates POSIX-only cases individually, or by their whole `describe` suite when every case in it needs the POSIX runtime, with `skipIf(process.platform === "win32")` and a reason comment, never by excluding files or relaxing a security check, and Windows path handling was fixed where it was wrong — `realDirectory` stops at the root, directory fsync is skipped on win32, local Git paths are recognized on Windows, and the bound ULW overlay and the skill monitor, supervision and OMP argv matching handle Windows path separators. The workflows now pin their runner versions and per-job `timeout-minutes` and use Node 24 action releases; the Linux and cross-OS jobs share one composite setup action and a Bun install cache, and the release workflows use the same pinned Node 24 checkout and artifact actions.
|
|
151
|
+
|
|
152
|
+
- The GitHub repository is now `vntrevx/Cataly`, renamed from `vntrevx/omp-dori`; GitHub redirects the old URLs. The release gate, workflows, installers and documentation links follow the new name, while product and CLI names such as `omp-dori`, `dori`, `~/.omp-dori` and `LICENSE.omp-dori` are unchanged.
|
|
153
|
+
|
|
154
|
+
- Managed release preparation installs only production dependencies for the root and skill packages, leaving out development-only gate tools. The extension keeps its full frozen host install; private HOME/cache, lifecycle-script rejection, source admission and existing prepared releases are unchanged.
|
|
155
|
+
|
|
156
|
+
- Monitor stdout/stderr use bounded incremental line framing and 64 KiB delivery batches. Oversized lines or rendered messages are preserved in private temporary files with explicit path/size notices instead of being truncated or accumulated in memory; storage/read failures stop the child and report potentially incomplete output. Normal filters, UTF-8, EOF, stop and session ownership behavior remain intact.
|
|
157
|
+
|
|
158
|
+
- Slack inbound saves all own-thread cursors from a successful poll in one locked ledger transaction instead of rewriting the file for every thread. Read/emit failures still advance no cursor; concurrent records and newer seen positions are preserved. Thread watch coverage and Slack request counts are unchanged.
|
|
159
|
+
|
|
160
|
+
- Linux host admission now checks visible ancestor cgroup memory budgets as well as host memory. `guard` and `can-launch` distinguish hard-limit headroom from v2 `memory.high` throttling headroom, support hierarchical v1 limits, discount clean unmapped file cache while retaining raw charged counters, and preserve readable budgets when another reading is unavailable. macOS sampling and existing disk/session protections are unchanged.
|
|
161
|
+
|
|
162
|
+
- `dori decision ask|posted|answer|withdraw|match|list|digest` keeps the lead's pending owner decisions in an append-only `<stateDir>/decisions.jsonl` instead of its context: numbered options with an optional recommendation, the posted message a reply binds to (`match`), the answer with its owner source (a bare number picks an option; other text stays free text), withdrawals, and an optional link to an open worklog item that gets an answer note. Each record carries a nonce, so a writer knows whether its own change took: the first answer or withdrawal wins a race, the first binding of a message among open decisions holds it, and a losing command fails with one line. `digest` prints the open list to re-post, and `dori boot` lists open decisions as `DECIDE` lines when the ledger exists. `dori inbound telegram` lines append ` reply=<message_id>` for a reply (never for the topic root Telegram names on every topic message), so a Telegram reply binds like a Discord `ref=`; a Discord forward no longer prints its source as `ref=` or `INBOUND_REPLY`; a Slack question binds by its thread root.
|
|
163
|
+
|
|
164
|
+
- `dori pr track|untrack|list|watch` follows a pull request after its lane closes. `pr watch --loop MIN` (an opt-in monitor needing `gh` auth) baselines each tracked PR, then prints one line per new outside review or comment (`PR_FEEDBACK`), review state change such as a dismissed approval, failing check run or commit status on the head (`PR_CI_FAIL`), head moved by someone else's commits or rewritten without new ones (`PR_HEAD_MOVED`), and merge, close or reopen (`PR_MERGED`/`PR_CLOSED`/`PR_REOPENED`), each naming the lane and thread to route it to. Our own comments and pushes (including commits under a configured `repoIdentities` email with no GitHub account), and `--ignore-author` logins, print nothing; tracking again keeps the cursor and re-reads a closed PR, while untrack then track starts a new baseline; GitHub text is folded to one control-free line. Lines are printed before the cursor is saved, so a crash repeats rather than loses one; a failed read warns once per reason and changes nothing, and a damaged cursor holds the watcher instead of re-baselining. `prAutoTrack: true` (default `false`) tracks pull-request links in recorded `claim-done` evidence and `checkpoint --remote-effect` receipts for their lane. `verify-pr` now shares the `gh api` reader; its behavior is unchanged.
|
|
165
|
+
|
|
166
|
+
- `dori channel discord set <channel> --purpose TEXT`, `clear <channel>` and `list` keep the operator's one-line purpose note per Discord channel, thread or DM in an owner-only `<stateDir>/discord-channels.json`, replaced whole under a writer lock; a damaged file is reported and never overwritten. Opt-in `dori inbound discord --context` ends each owner message's record group with `INBOUND_CONTEXT`: the channel (name, topic, purpose) and, inside a thread, the thread (name, purpose) or a DM marker. Each channel is looked up at most once a minute (failures and hangs included) and waited on for at most five seconds, and the lookup cache drops expired entries and holds at most 500 (a channel evicted by that cap is looked up again); a failed or late lookup or unreadable purposes still deliver the message, with an `error` that never echoes a response body. Without `--context`, intake output and requests are unchanged. The intake's emit may now return a promise, which is awaited before the cursor moves.
|
|
167
|
+
|
|
168
|
+
- `dori send discord` splits text over 2000 UTF-16 code units into consecutive messages (blank line, then newline, then space, never inside a surrogate pair), closes a code block that a cut leaves open (pairing backtick runs as Discord renders them) and reopens it with its language in the next part, and prints `SENT` with every message ID; a failed part names the parts already posted. `--reply MESSAGE_ID` makes the first part a non-pinging reply, `--text-file PATH` (`-` for standard input) reads the body on every platform, and `thread discord create --message ID` opens the thread on an existing message, with optional text inside. Long forum and thread starter text is split the same way. Invalid IDs, `--reply` with `--edit`, `--reply` on Slack or Telegram, both or neither body flags, unreadable or empty files and Discord edits over 2000 code units are refused before any request. Short sends keep their request and `SENT <id>` output.
|
|
169
|
+
|
|
170
|
+
- `dori tell <key> --text TEXT` sends the lead's message to a registered lane's session once through `sendVerified` and reports the outcome: `TOLD` (exit 0) when the agent moved to working, `TELL_UNCONFIRMED` (exit 3, never resend) when no move was seen, including every send to an agent that was already working, and `TELL_FAILED` (exit 2, nothing sent) for a shell, a stopped agent, an approval, an unreadable status, an hc agent that is blocked or in error, a paused lane, a lane without a session or unsafe text; a refusal by the runtime ends with the status read after it. Unknown and closed keys exit 1. tell reads the lane again under a per-lane delivery lock that `dori pause` now holds from its goal command through its Escape, so a pause finishing during a tell can no longer be followed by a new turn; while a tell holds that lock (seconds), a pause waits for it, and after 30 seconds either side gives up without sending. `close` waits for the same lock before marking a lane closed and after 30 seconds refuses with `HELD` (exit 2); the watch's auto-close verifies and closes under it and, while it is held, prints `LANE_HELD` and retries on the next tick.
|
|
171
|
+
- `dori dead-panes` drops retained screen tails and unknown counters for vanished or no-longer-watched panes after a successful complete listing, and limits alert deduplication to current watched panes and the current hour. Failed or malformed runtime listings preserve prior state; two-screen dead detection, three-tick unknown alerts and live-agent protection remain unchanged. Valid herdr tabs without a workspace remain nonmatches for workspace-filtered scans and sync.
|
|
172
|
+
|
|
173
|
+
- Native Bun and addon SHA-256 verification now uses one 1 MiB read buffer instead of allocating each entire binary. Receipt creation and every reuse/launch still hash all bytes synchronously, preserve short reads and close the descriptor on errors.
|
|
174
|
+
|
|
175
|
+
- Full CI now checks native OMP and both ULW fixture prerequisites before the expensive suites, so an absent real-ULW fixture cannot produce a successful full gate with its native composition tests skipped. The contributor guide and PR template require explicit dependencies, preserved contracts, final-revision regression evidence and measured performance claims; the four required CI jobs and test discovery remain unchanged.
|
|
176
|
+
|
|
177
|
+
- Isolated consumer install and rollback use the fully verified selected release's reference renderer under the existing launch gate, restoring the older release's exact wrapper bytes instead of retaining the updater's newer automatic-launch template. Missing or changed renderers hold activation. Older clients need the new bootstrap or an explicit same-release reinstall to publish the new launch hook.
|
|
178
|
+
- Configured Dori MAIN turns request bounded continuations for recent open Discord obligations. CLI intake and monitor delivery admit owner messages into private, per-file locked JSONL snapshots capped at 200 lines; atomic replacement isolates corrupt tails and preserves concurrent admitted records. Complete accepted channel sends and successful exact-message read marks are both required after the owe; reply IDs do not change that matching policy. Writers wait asynchronously under contention, monitor readers backpressure, and session invalidation cancels undelivered admissions before they can wake a later session. Gateway close cancels its pending ledger admission without dropping the queued payload or advancing its cursor. The settle hook remains synchronous, obligations expire after 30 minutes, and each owe allows at most three continuations.
|
|
179
|
+
|
|
180
|
+
- Bound-source admission computes its Git tree through a private index copy, reusing the narrowly reviewed fix from PR #67 without changing its shared index or lock. Parallel consumer launches no longer contend on Git's implicit write-tree index lock; content, mode, postimage and exact-tree checks remain required.
|
|
181
|
+
|
|
182
|
+
- The reviewed ULW bundle advances to upstream `33b375dc8d289d6fec944a8a5ee8f2db721a8c34`, retaining the managed overlay and its exact admission hashes. Latest upstream code-mode bridges remain intact; local runtime overlay files are unchanged. The port preserves default Claude exclusions and tests the updated task/todo eval-bridge contract. Native task/TUI smoke and full consumer rollout remain separate evidence, not inferred from unit or declaration checks.
|
|
183
|
+
|
|
184
|
+
- New consumer builds check for a newer compatible stable release before eligible OMP launches, at most once per day, and reuse verified whole-release installation for Dori, ULW and native source together. Live Dori/lane sessions hold activation; explicit overrides, user configuration and the native update fence are preserved. Offline checks keep a valid installation usable; local integrity failures still hold. `dori update auto status|enable|disable` and `DORI_AUTO_UPDATE=0` control checking; rollback pauses it until explicitly re-enabled. Existing clients require an initial upgrade and source homes are not migrated.
|
|
185
|
+
- A daily canonical ULW workflow resolves an exact fast-forward upstream commit, rebases the verified overlay in a private checkout and proposes only pin/overlay metadata in a draft PR with exact-head CI. Conflicts hold for review; no upstream candidate code receives publication credentials. Independent compatibility review and normal stable-release publication remain required, so merging source changes alone does not update existing users.
|
|
186
|
+
|
|
187
|
+
- `dori harness lock <name> --lane K [--priority 1-9] -- CMD` runs one command at a time per lock name, in lane-priority order then arrival order (same-millisecond arrivals included); `--list` and `status` show the holder and the line. Lanes record a priority via `start --priority`, `priority <key> N` or the backlog item. The lock is the shell-compatible `state/<name>.lock` directory: the owner line names the command's pid before it runs, so for other `dori harness lock` waiters the lock stays held while the command lives even if its wrapper is SIGKILLed; a shell waiter keeps it held only if its script also reads `cmd=`. Getting in line, the head check and taking the lock are one step under the queue's `.guard`, so a p5 never takes the lock past a p1 already in line. A dead owner's lock is removed in place under a same-directory `.lock-claim-<sha256>` file, never moved, so a paused taker cannot remove a live replacement's lock; guard and claim files left by a killed process are taken over with bounded 76-byte claim names hashing the target basename and observed snapshot, including through physical directory aliases. Other tools' plain `*.lock` files in the shared `state/` are not listed by `status`, and a lock name taken by one is refused without touching it; reading a line removes only well-formed tickets of dead waiters, and only in queues named like locks; `--lane` must be a non-reserved lane key, but need not have a lane record; a signal that comes as the lock is taken releases it and runs nothing; a terminal Ctrl-C reaches the command once, not again through the wrapper. See `docs/locks.md`.
|
|
188
|
+
- Side source installation refreshes only `omp.yml`'s managed `skills.ignoredSkills`, `skills.customDirectories` and `update.auto: false` fence. Other owner values, including model roles, thinking level, update channel and unrelated `skills` keys, survive reinstalls. The existing configuration remains visible until a valid merged replacement is ready; invalid YAML or non-mapping configuration is left unchanged.
|
|
189
|
+
- Inbox appends take the inbox lock, and a message sent while another process holds it goes to a spool file the next holder moves in, so a concurrent flush, ack or migration no longer drops it. A send holds the inbox's route lock while it writes, waits for a migration's route without blocking the process, and resolves a lane, role or `--to-shell` name again under the route; duty notices resolve their lane or role the same way. The forward marker lives only while a migration runs and nothing stays on either id afterwards, so a reused herdr pane or hc terminal id gets its own messages. Named lead sends past a held route retain their logical intent through role replacement or disappearance and are kept for the next duty pass; explicit session sends never silently become sends to a future lead. Stale-lock claims use bounded same-directory names tied to the target basename and observed snapshot, including through directory aliases. Unique acquisition nonces prevent a prior release from deleting a same-process, same-timestamp replacement.
|
|
190
|
+
- Current source and newly built release defaults prepare reviewed OMP 18.20.0 source plus its bound patch and the 33b375dc ULW overlay. Full source/patch/result identities, actual Bun/addon bytes and protected source launchers are checked; stock OMP, a same-version cache or a version-only receipt cannot substitute. Frozen official addon reuse requires no Cargo and makes no binary-equivalence claim.
|
|
191
|
+
- Source-native preparation generates the export viewer against its bound manifest without changing tracked metadata. Native cache reuse and launch require the authenticated viewer asset, restoring local HTML export and share-page generation while rejecting missing or altered assets.
|
|
192
|
+
- Source primary/side wrappers, lane commands, consumer install/update/runtime re-pinning and managed preparation/admission/reuse consume these payloads end to end. Default dependency drift, malformed patches and partial preparations fail closed; explicit external native/ULW commands remain documented overrides. Genuinely older no-lock release and toolchain records retain their rollback protocol.
|
|
193
|
+
- Legacy release activation holds before changing references when PATH or the preserved agent command selects the managed OMP wrapper that activation removes. An independent surviving OMP 18.18.8+ remains required.
|
|
194
|
+
- Native OMP launcher changes share the release activation journal. Rollback and recovery reconcile source, installed state and the owned launcher together, while unexpected pointer edits remain held for inspection.
|
|
195
|
+
- Managed commands preserve the native fence and pinned Dori extension as complete argv, with role-gated ULW selection. Harness shell calls quote each argument; installer-owned defaults include historical lexical aliases, while explicit external commands and user shell fragments remain intact.
|
|
196
|
+
- Source native overrides become absolute before probing and wrapper generation, so installed commands keep selecting the same executable after working-directory changes. The primary ULW guard also captures Bun absolutely when PATH supplies a relative tools directory.
|
|
197
|
+
- Bound source checkout, release-source materialization, managed Git preparation and frozen dependency installation use explicit private directories and child-local umasks before bundle admission, so group-writable caller defaults do not undermine it; the caller's umask and global settings are unchanged.
|
|
198
|
+
- Release staging resolves its newly created temporary directory to its real path before strict bundle admission, supporting aliased system temporary roots without accepting symlinks in supplied bundle paths.
|
|
199
|
+
- Native process attestation recognizes the source launcher's same-package Bun preload and CLI pair, including its exact optional `PI_TIMING=1` timing preload. Managed startup canonicalizes absolute source entry arguments, including the upstream launcher's `scripts/../src/cli.ts` spelling. Terminal ancestry, process-start, session, approval and journaled-incarnation guards remain required; foreign or extra preloads, mismatched scripts and unrelated command mentions remain untrusted.
|
|
200
|
+
- Source-native process recognition preserves foreground argument boundaries and handles spaces in prepared source paths while retaining same-package, ancestry, session and process-start checks.
|
|
201
|
+
- The skill's lane startup, goal, sync, pause and session-recovery checks recognize the Linux source launcher's Bun process (`bun --preload <pkg>/scripts/omp.ts ... <pkg>/src/cli.ts`, including spaced roots and the timing preload). Shared process/argv classification keeps configured commands, harness roles and update detection aligned without trusting a mere OMP mention. Readable nested `env` prefixes and Bun/Node launch forms retain native argument checks; unreadable prefixes, OMP-naming shell strings and external wrappers behind launchers still require `engine:"external"`, even when they declare `"omp"`. General classification also recognizes launchers, package runners and `omp-dori omp`, but automated native updates require a **PID-preserving** launch: config loading and model-launch validation refuse `timeout`, `caffeinate`, every `setsid` form (including conditional forks), `npx`, `bunx`, `bun x`, `npm exec`/`x` and conservatively unreadable runner variants, also with explicit `engine:"omp"`. Direct OMP and known exec-preserving `env`, `nohup`, `nice` and `stdbuf` forms keep their complete argv, controller guards and strict PID/nonce/job/source/tool-scope receipt checks; only `"external"` opts out. `npm exec`/`x` without `--` immediately before its command is unparsed, never an exact OMP start. Possible-OMP lane commands, including these runners and unreadable OMP mentions, still require trusted session records for goals and pause, never quoted screen text; unrelated custom-agent prose/options keep their own contract. Recordless discovery can find OMP's start-time session for OMP-naming process lines while trusted state retains exact process checks. Historical `env -u --profile` startup claims do not establish successful scope-receipt validation or a provider-backed run; the current `env -u` and `stdbuf` regression sources exercise full worker/reviewer receipt validation without a provider.
|
|
202
|
+
- Initial terminal launches, reviewer children, migration and native resume explicitly retain their selected home, config, state, complete argv, pinned overlay, scope and runtime session across server boundaries. Fresh sessions clear parent startup restoration without copying arbitrary parent variables or pane identities.
|
|
203
|
+
- Required managed ULW import and factory failures now block role requests for directory entries as well as `index.ts`, while ordinary sessions and explicit external overlays keep their existing behavior.
|
|
204
|
+
- Source installation holds before overwriting a selected native executable that aliases a generated wrapper, including symlinks and hard links. Both explicit overrides and newly selected bundled launchers are checked without trusting existing wrapper contents.
|
|
205
|
+
- Native overrides also hold when their selected pathname traverses a command symlink that installation will replace. Independent paths, symlinks and hard links to the same native target remain usable.
|
|
206
|
+
- A failed required managed ULW load cancels the native operation before role requests reach a provider. Error reporting remains visible even though the native host catches handler exceptions; ordinary sessions keep their existing request behavior.
|
|
207
|
+
- ULW scope selection uses process-local `OMP_ULW_SCOPE_FILE` or the portable HOME default, without shipping private policy contents or changing global settings. Payload preparation and source regressions do not by themselves claim new real installation, provider or messenger QA.
|
|
208
|
+
- Every lead, lane, reviewer and duty prompt, including native launch footers and nudges, now requires explicit user permission for each reset-coupon or credit use, including existing paid or promotional balances. Exhausted provider quota or credit budget requires stopping and reporting instead of automatic redemption, top-up, paid overage or account/provider/model switching. These are agent instructions, not a provider billing enforcement API.
|
|
209
|
+
- Contribution and license files now identify the vntrevx-maintained omp-dori fork directly: the contribution workflow and project credits are documented, LICENSE states component scope, the MIT-covered integration credits its current maintenance, and all six READMEs link the matching terms. Original SUL/MIT terms and author notices are preserved.
|
|
210
|
+
- Harness duty separates evidence progress from quiet time: changed regular files (following symlinks) and first-reported links reset progress; reports without new evidence do not. Working, blocked and waiting lanes remain eligible for one queued escalation after 40 minutes without progress, with waiting targets named in supervision and the status board.
|
|
211
|
+
- New evidence and READY clear the prior epoch's escalation marker and nudges, including after backward clock adjustments. A queued escalation suppresses delayed nudges until the next epoch; an existing marker at or before current progress is recognized as belonging to an older epoch. Legacy three-nudge records conservatively receive one verifiable renewed alert because the old counter does not prove delivery; a missing lead never creates an escalation marker.
|
|
212
|
+
- The status board preserves whole lane keys, session refs, waiting targets and timestamps by moving narrow layouts onto another line. The CLI status header prints runtime, roles and the full home path on separate, unwrapped lines. Waiting nudges fit their target to the first line's remaining width. Custom prompt directories override individual files: missing templates use the built-in default and count a real nudge; existing unreadable or directory overrides, including directory traversal errors, fail before queueing or consuming it and can be repaired. Hourly audits use the same evidence progress clock.
|
|
213
|
+
- Waiting supervision keeps clipped targets and evidence whole on one indented line, including counted and skipped `report` progress diagnostics. Names use `oneName`: each control/bidi run becomes one space while printable spaces and Unicode stay unchanged; waiting targets trim boundary whitespace only. Full references may exceed the target width instead of wrapping, so herdr's typed fallback keeps its line separators outside them. Legacy waiting templates without `wholeTarget` get the complete target beneath their first line when the compact target is clipped or absent.
|
|
214
|
+
- Evidence-display regression fixtures force clipping independently of the operating system's temporary-directory path length, keeping Linux and macOS on the same assertion path.
|
|
215
|
+
- Duty notice retries retain queued and settled IDs across inbox rewrites, forwarding and migration; settlement matches identified messages by ID and keeps tuple matching for legacy messages. Persisted lane-incarnation identities and progress-epoch counters separate new evidence and READY from earlier notices even after clock rollback, and keep LOST notices distinct when keys, timestamps or pane IDs repeat. Owed LOST notices survive lane replacement and use the destination inbox lock when repaid; a held lock defers the move without losing its source. Deduplication covers retained local queues and ID journals, not external exactly-once delivery.
|
|
216
|
+
- REPORT retains the lane's current WAITING status when `--status` is omitted. REPORT and READY keep each evidence reference on the lead's evidence line without injected line breaks or terminal escapes.
|
|
217
|
+
- Managed release and restart journals retain the forward failure in `error` when rollback also fails, with the rollback cause stored separately in `rollbackError`. Shell rejection diagnostics distinguish live stopped, pane-owner and foreground PIDs and retain compact foreground metadata without process arguments or private session contents. Runtime identity guards, stop ordering and deadlines are unchanged.
|
|
218
|
+
- Managed forward stops can explicitly opt into `nativeStopMode: "ui"` for one persisted Ctrl+D request after an actual idle, approval-free native session and empty recognized renderer input are observed. Omission retains the existing signal behavior and canonical config/hash. UI rejection never falls back to a signal; recovery observes native exit and the bare root shell without resending. Rollback cleanup retains its existing bound signal. Normal UI handoff was exercised with Native 18.20 on Linux/herdr; the historical SIGTERM failure cause remains unconfirmed.
|
|
219
|
+
- Uncertain managed UI-stop acknowledgements reconcile actual native exit instead of rolling back to an actor that may still be shutting down. An unsettled forward stop retains its durable pending restart or retryable deployment journal, without resending the key or certifying the old actor as restored.
|
|
220
|
+
- Maintainer managed deployments support portable Linux/macOS process observation and hc terminals. Default herdr configurations retain their pre-upgrade serialized identity so pending release and restart journals can resume. UI-stop screen and exit operations stay bound to the selected herdr session and are available only on Linux/herdr; unsupported combinations hold before stop intent without a signal fallback.
|
|
221
|
+
- Discord owner intake carries reply context and ordered attachment metadata, including exact signed URLs and voice flags/duration, through the existing REST/Gateway path. The `INBOUND discord` grammar stays unchanged; following `INBOUND_REPLY`/`INBOUND_ATTACHMENT` records share one emit before cursor commit. Malformed attachments and failed delivery leave the message uncommitted; metadata delivery starts no transcription.
|
|
222
|
+
- Discord operations resolve channel names within `DORI_DISCORD_GUILD_ID`, send/edit directly in threads, create text threads or tagged forum posts, rename/retag/archive/reopen threads, and add/remove bot reactions. HTTP(S) audio transcription uses the existing hook with private temporary downloads and cleanup; existing local transcription and the primary Discord intake remain unchanged.
|
|
223
|
+
- GPT-6.1 Sol lane main agents receive idempotent guidance to batch required todo, goal and launch-footer bookkeeping with work when dependencies allow. Existing journals, forwarding guards and completion prerequisites remain required; strict review lanes without a launch footer keep their output contract. Other models, Dori, ordinary sessions and subagents retain their prompts.
|
|
224
|
+
- Launch footers use the runtime already selected by `DORI_RUNTIME`, config or detection. With a known runtime and lead pane, one shell call records and forwards the report as one data argument after the live-agent/empty-input checks. Missing destinations leave a report-only command and explanatory prose; write-free previews need no running or installed runtime.
|
|
225
|
+
- Opt-in `dori inbound discord --gateway` delivers owner text live and reconciles REST gaps with known queued owners after every READY/RESUMED. Both paths share per-channel durable cursors; known records are ordered at each delivery selection, while late arrivals and conservative recovery may arrive late or repeat without regressing a cursor. Gateway mode ignores `--loop`, including `0`; default single-channel REST polling, output and cursor files remain compatible.
|
|
226
|
+
- Discord intake accepts multiple configured channels and threads through `DORI_DISCORD_CHANNEL_IDS`, with accurate per-variable env diagnostics. Opt-in `DORI_DISCORD_SCOPE=all` discovers readable text channels, active threads and the owner DM, skipping unavailable discovered targets, including DM creation returning 403/404. Explicit-channel, authentication, rate-limit and server failures retain their error behavior.
|
|
227
|
+
- Every channel without a saved cursor baselines existing history, including later REST discoveries. In scope `all`, the first live message from an unseen channel starts its cursor just before that message; earlier history is skipped.
|
|
228
|
+
- Local inbound response faults, including malformed successful JSON, stop the Gateway backfill queue without advancing past undelivered messages. Real HTTP 502/other 5xx, 429 and network failures remain transient; other HTTP 4xx remain fatal. Gateway shutdown stops new scheduling and retries, retains pending dispatches on disk and drains active REST work before `done` settles, retaining any failure from that work. Emit/checkpoint and late-acknowledgement windows can repeat work after restart.
|
|
229
|
+
- Discovered Discord channels are skipped only for remote history-read 403/404 responses. Missing owner content, delivery failures and local cursor errors propagate instead of being mistaken for lost access. Gateway intake fails on a disappeared watched cursor without silently dropping messages or rebaselining, while new scope-all channels retain first-message seeding.
|
|
230
|
+
- The shared Discord Gateway client retains presence behavior and output; intake and presence still own separate sessions and lifecycles. Offline benchmark tooling compares the immutable pre-Gateway single-channel intake with current REST/Gateway variants over synthetic loopback HTTP/WebSocket traffic, not real Discord service latency.
|
|
231
|
+
- Lane briefs retain the newest 12 eligible global standing rules and 8 repo lessons under separate caps. Over-cap rules are returned as `omitted` and named in launch warnings with `global` or the canonical repo cwd.
|
|
232
|
+
- Nested OMP runs preserve another live process's pane record. Positive safe-integer pid validation allows malformed and dead records to be replaced while retaining live-owner and `EPERM` protection.
|
|
233
|
+
- Same-process `/new` sessions keep their Dori or lane role. Dori sessions record and restore desired monitor intent and intake configuration for the new session without replaying the old startup bootstrap; other session switches follow the destination's own records.
|
|
234
|
+
- Role-session shutdown keeps its recorded session identity as an inactive resume pointer, clearing live ownership, approval and working state. Interactive plain sessions remove an unowned pointer without publishing role status; print/RPC children and records owned by another live process remain unchanged.
|
|
235
|
+
- Telegram plain-text sends split losslessly at a conservative 4096 UTF-16 code-unit bound without cutting surrogate pairs, returning the last part's message ID. Malformed API responses stop the send with a messenger error.
|
|
236
|
+
- Telegram edits remain single-message updates: oversized raw input fails before any request or mutation. Rich sends retain one unsplit HTML request; rich edits count markup in the same conservative bound. HTML-aware splitting and multi-message edits are outside this change.
|
|
237
|
+
- Telegram owner intake retains message dates, adds a single read-receipt reaction for new messages and records lag separately from the positional `INBOUND` line. New lag journals use mode `0600` and contain chat/user metadata, without message text or bot tokens. `inbound-lag --limit` reads backwards to the requested nonblank-record window and reports nearest-rank percentiles, skipping unusable readings.
|
|
238
|
+
- The current ULW base is `b2159b77fe3acbf9a8c6482f80dc5d4069fda881` plus the bound overlay; published `v0.1.2` assets remain immutable. The real extension fixture now applies that same overlay and uses an isolated, exactly locked native OMP 18.20.0 host.
|
|
239
|
+
- The native factory/runner guard still covers imported and standalone registration orders, combined preset/bookkeeping, declining handlers, base preservation, repeat turns and excluded roles/models/subagents. A missing native host fails when the real dependency fixture is present.
|
|
240
|
+
- Embedded ULW imports use the host's canonical extension loader before binding the role gate, preserving the native settings registry and exactly one factory invocation. The extension declares its OMP 18.20.0 host peer; contributor typechecks use the exact fixture's published SDK declarations.
|
|
241
|
+
- The exact public `cbfe5ee72e5b2783af01616e7f4d3da5e3f9180d` remains a CI-only explicit-override compatibility case against its own opaque legacy baseline, not a production default or source-bundle substitute.
|
|
242
|
+
- The source-only `scripts/install-source.sh` supports explicit `primary` and `side` modes. Side installs use their own config/state, `omp-dori` wrappers, OMP skill overlay and hc namespace without replacing the primary Dori's command or links; the mode marker keeps reinstalls in place.
|
|
243
|
+
- Source installation preserves unmanaged legacy/fork recognition, terminal choice and EOF holds, foreign-checkout and failed-pull guards, and config/link-target backups for explicit unmanaged primary takeovers.
|
|
244
|
+
- Primary source installation links the executable skill CLI directly in `OMP_DORI_BIN_DIR` instead of using Bun global package registration. It backs up foreign command symlink targets before replacement and preserves conflicting regular files with an actionable error.
|
|
245
|
+
- Consumer metadata and source pointers protect the selected installation home in either mode, including aliases. Source primary installation holds on a consumer home; side paths must remain separate. The published preview assets remain immutable while the current source bootstrap/runtime implement the new bound-default protocol.
|
|
246
|
+
- Source-only ULW now defaults to the exact locked base plus reviewed overlay. Latest/custom refs use a separate explicit checkout; external and pre-package.json standalone extensions remain user-owned overrides. Replacing an earlier source-owned default/custom link with a standalone still loads only one copy.
|
|
247
|
+
- Source configs keep an empty `ompUlwPath` for one standalone load; primary mode discloses global extension discovery, while side wrappers load their selected extensions explicitly. Consumer/managed defaults resolve and validate their matching prepared overlay instead.
|
|
248
|
+
- Side source installs can return from an external checkout to an existing bound default cache. Legacy unpatched real defaults are preserved and held rather than silently reset or accepted as patched.
|
|
249
|
+
- Multi-cycle real-Git publication integration tests use a test-local 30-second budget instead of Bun's 5-second default. Producer timeouts, CI wait deadlines, assertions and retry policy are unchanged.
|
|
250
|
+
- New `dori update cache [--reference DIR]...` reports native cache identities, exclusive logical inode bytes and observed references or unknown uses without changing the cache. It scans both default homes, selected/loaded and configured homes, explicit reference roots, complete files, links and receipts, plus process arguments, working directories, executables, open files, mappings, leases and native preparations. Unreadable state and unscanned `.git` or `node_modules` subtrees conservatively hold identities; an empty `protectedBy` is not exhaustive liveness or permission to delete.
|
|
251
|
+
- `dori update cache --prune` quarantines identities nothing uses and never removes one by itself: a writer from an older checkout takes no lease and its absence cannot be proven, so removal is a person's decision with `--delete-quarantined`, who accepts the risk of such a writer publishing between the last check and the removal. Native preparation, verification before use, the consumer wrapper, the cache launcher, `install-source.sh` and an explicit `DORI_OMP` or deployment `omp` inside the cache lease their identity for the process that uses it (a launch's lease lasts its session) and wait while a prune holds the cache's prune lock, a kernel lock its holder's death releases; a second prune is refused. A prune moves an unused identity aside (recorded with the time) and puts back a quarantined copy that is used by now; `--delete-quarantined` removes copies unused through `--grace MINUTES` (default 10) after renaming them `.deleting-<nonce>` and checking once more. A preparation killed by a signal is removed once nothing leases its identity or works or has a file open in it. `--trust-process PID@START` and `--trust-root-cwd` let the user pass unreadable processes the report lists; the output says what was removed or quarantined, why each other identity was kept and what was trusted.
|
|
252
|
+
- Lane registry writes are serialized per lane, and status changes (claim, objection, verification, pause, resume, close) apply only when no other status change landed since the lane was read, so a slow sweep or close no longer overwrites a claim or objection written meanwhile. A refused change prints `LANE_CHANGED <key> ...; <change> not recorded`; `claim-done`, `object-done`, `close`, `pause` and `resume` exit 3 on it. `close` now records the lane closed before closing its thread, tab and worktrees. `launch` and `adopt` register a key only while it has no record, checked under the same lock, so a second launch of a key refuses (closing the session it just created) instead of overwriting the first lane's record. `launch` stages a copy of the brief beside it before opening the session and rewrites the brief in place (through a linked brief) only once it owns the key; a launch that does not open removes its own record, tab and staged brief. A stale-lock takeover that cannot put back a live writer's lock it moved aside keeps that lock instead of deleting it.
|
|
253
|
+
- `dori freshness` no longer records a report as posted when the `hooks.threadReply` command fails: it prints `POST-FAILED <key> thread hook failed (exit <code>)` without copying private hook stderr (once per failure, not on every retry) and posts it again on the next tick.
|
|
254
|
+
- A launch rewrites its brief in place, as the same file, so the brief keeps its inode, hard links, owner, group, permissions and ACL, including a linked private brief; a read-only brief is refused before a session opens, and a rewrite that fails part-way puts the original bytes back (or, if that fails too, keeps them in a `0600` copy beside the brief and names it in the error); stale status transitions cannot recreate a lane removed by failed-launch rollback.
|
|
255
|
+
- The Slack thread ledger is shared safely between `dori send slack` and a long-lived `dori inbound slack --loop`: every read takes the file as it is, every change merges under a writer lock, and a thread already in the ledger keeps the seen position only the receiver moves, so a later send no longer skips an owner reply that arrived before it. `pollSlackInbound` now takes an `emit` callback and returns nothing; it saves thread positions only after every message was emitted, so a failed read or consumer leaves them unseen, and the partial threads view no longer moves any position.
|
|
256
|
+
- `dori inbound slack` prints each `INBOUND` text whole (JSON-escaped on one line) instead of cutting it at 200 characters.
|
|
257
|
+
- `dori send slack|discord --edit` refuses an empty, blank or missing message id instead of posting a new message.
|
|
258
|
+
- Lane startup no longer reports `STARTUP_ERROR` on the first check for a working agent whose own goal is active just because its screen quotes a failure phrase; a start without a live goal still fails on it.
|
|
259
|
+
- `dori boot` no longer ties a shared monitor to a closed lane whose key is a word of the monitor's own command (`dori inbound slack` and lane `slack`), wherever that command stands (behind `env`, `timeout`, `nice`, `exec` or a shell, in a loop, a condition or a subshell, after a `cd`, or from a `bun .../cli.ts` source entry). A command string is cut at operators (`;`, `&&`, `||`, `|`, `&`, `(`, `)`, `$(`, backtick, with or without spaces) and line breaks outside quotes and backslash escapes (`rg -F \;`; a backslash before a line break continues the line), at a shell's or `flock LOCK -c`'s script, `env -S STRING`'s words and a command substitution inside double quotes (`x="$(dori inbound slack)"`); each command's program (after reserved words such as `do`/`then`/`if`/`!` where the command starts, assignments, `exec`/`command`/`builtin`, and a known launcher's own options and operands: `env`, `timeout`, `nice`, `nohup`, `setsid`, `stdbuf`, `caffeinate`, `flock`, `sudo`, `ionice`, `time`) never names a lane (`env tail -F` is not lane `tail`). A dori program is `dori`/`omp-dori` or the skill's `dori-mode/scripts/src/cli.ts`, also behind bun's options (`bun --smol`, `bun --cwd DIR src/cli.ts`; a relative path is otherwise read in the directory it runs in: the monitor's cwd, as a `cd` before it or `env -C`/`--chdir` for its own command leaves it, never another program's `-C`); its dori command and, after a messenger command, the platform are its own words, while a value of one of cli.ts's value options never is (`dori send --text slack discord`). Every other word may still name a lane as before: arguments (`dori checkpoints --cwd X dori`, `dori send slack --text dori`), paths (`ls /x/dori freshness`), reserved words used as arguments (`rg then freshness`) and other programs' words (`env rg -c dori freshness`, `bun /other/src/cli.ts watch`). `env -S STRING` is read with env's own options again (`env -S '-i dori inbound slack'`, `\_` separating words), a `cd` holds only inside its own subshell or command substitution and replaces the directory only where it surely runs in that shell (starting a list, outside condition and loop bodies, not in a pipeline or the background; after `&&`/`||` or in a body it only adds a possible directory, and a relative entry must be the skill CLI in every possible one), and a substitution's end is found past its quoted parentheses (`"$(printf ')'; dori ...)"`). Known limits: a `#` comment is read as words, and behind an `env` option this does not know no program is read, so every word after it may name a lane as before; and a legacy record whose argv holds a non-string is matched by its command as before instead of stopping `dori boot`.
|
|
260
|
+
- `upstream check` exits `5` (retryable) when the updater root is locked by a verified live same-host controller, and the resident supervisor retries it on the next interval; malformed, dead-owner, other-host and reused-PID locks still exit `2`. The supervisor reads `intervalSeconds` through the shared config loader, so its default (300) and range match `upstream check`.
|
|
261
|
+
- The OMP extension rolls back the role when a monitor bootstrap is rejected: no pane state is published, the shutdown handler still removes the record, a later tree or branch move in that session does not restore the role, and a `--dori-role` flag is not recorded for that session; a start that fails for any other reason still records it, as before. A live pid that started after a pane record's session (a reused pid) no longer keeps a new session from writing that pane's state.
|
|
262
|
+
- First directory-to-managed conversion binds the rollback toolchain's extension overlay to the prior source when that source pins the same overlay identity and holds otherwise, building the rollback command before the old actor is stopped.
|
|
263
|
+
- Installer regression fixtures cover data/permission/link preservation and managed consumer isolation. The new source workflow has no new real OMP, provider, messenger, consumer QA or CI result claimed here; those results belong with the exact candidate's evidence.
|
|
264
|
+
|
|
265
|
+
Existing consumer command interfaces and historical release/toolchain rollback remain available. New 18.20.0 manifests require the complete source bundle; they do not inherit the old independent-native minimum or bypass its new identity checks. The published preview's live support boundary is unchanged.
|
|
266
|
+
|
|
267
|
+
## 0.1.2 — Linux x64 preview (`v0.1.2`)
|
|
268
|
+
|
|
269
|
+
This preview targets the first public release for the OMP port. Live consumer support is scoped to Linux x64, herdr and Discord. The tested clean-consumer baseline is Ubuntu 24.04 x64 with Bun 1.4.4, native OMP 18.18.8 and herdr 0.9.5; Bun and OMP versions are also the minimum requirements. Newer versions, other Linux distributions, macOS, hc and other messengers do not inherit an unperformed live consumer test from that baseline. See the [installation and support guide](docs/releases.md) for the support boundary and the canonical release path.
|
|
270
|
+
|
|
271
|
+
### Superseded unpublished tags
|
|
272
|
+
|
|
273
|
+
`v0.1.0` was tagged before the producer identity correction but was never published and has zero uploaded assets. A body-only draft metadata update changed the draft's tag binding, so publication verification stopped before any asset upload.
|
|
274
|
+
|
|
275
|
+
The immutable `v0.1.1` tag points to `6ff348fc247bfa7c36df8a11b86d2cc0b4d80c92`. Its official build and gate passed, and canonical draft identity survived, confirming the initial identity fix. Publication then stopped on the first asset upload, `SHA256SUMS`; its underlying HTTP error was not retained. The binary upload helper omitted required `Content-Length`, and a separate real API diagnostic reproduced HTTP 400 for that lengthless request. That release was never published and has zero release assets.
|
|
276
|
+
|
|
277
|
+
Both tags are retained immutably as superseded unpublished release attempts, not stable published releases. `v0.1.2` is the new intended first public preview.
|
|
278
|
+
|
|
279
|
+
### Producer corrections
|
|
280
|
+
|
|
281
|
+
The producer now names the tag and commit identity explicitly in every release-metadata mutation, including the release-update path that previously sent only the body, and reads back the known release ID instead of re-resolving a draft by tag. This is a producer interface change; consumer commands and the asset contract are unchanged.
|
|
282
|
+
|
|
283
|
+
Binary release-asset uploads now set the exact `Content-Length` from the existing payload's `byteLength`, without another copy or read. The stateful upload fixture rejects missing, malformed or mismatched lengths against the actual stdin bytes with HTTP 400; the existing complete producer lifecycle is the regression case.
|
|
284
|
+
|
|
285
|
+
The corrected upload and download helpers were exercised against GitHub with one private binary test asset, including a byte-offset view and SHA-256-verified binary readback. Only that newly created test asset was deleted afterward; the held draft's tag, body and zero-asset state were preserved. This proves the binary transport, not publication of a consumer release.
|
|
286
|
+
|
|
287
|
+
CLI output, release metadata and opt-in telemetry resource versions use the canonical root `package.json` version rather than independent copied version values.
|
|
288
|
+
|
|
289
|
+
### Release installation and recovery
|
|
290
|
+
|
|
291
|
+
- The root `install.sh` installs an exact verified release instead of cloning or pulling arbitrary `main`. Select this preview explicitly with `--version v0.1.2` or `DORI_RELEASE=v0.1.2`; default latest selects stable releases only.
|
|
292
|
+
- Fixed assets are `omp-dori-v0.1.2.tar.gz`, `release-manifest.json`, `SHA256SUMS` and `install.sh`. Version/tag, commit/tree, archive digest and the extracted public source manifest are checked before activation. Unsafe archive paths, links and special files are rejected.
|
|
293
|
+
- The explicit launcher is `~/.dori/bin/dori`. CLI, skill and extension use one active `~/.dori/src` pointer, with verified previous releases retained for rollback. Existing configuration, authentication, work and sessions are preserved.
|
|
294
|
+
- `dori update check|install|status|rollback` is the consumer release API. `--version` selects an exact release; `check` and `install` also accept `--from DIST` for local assets. First-time pinned public omp-ulw retrieval can still require anonymous network access.
|
|
295
|
+
- Consumer-managed dependency cache paths resolve from the executing release's own `omp-ulw.lock`, including after update or rollback, without rewriting saved configuration. Explicit dependency paths outside that managed cache remain user-owned.
|
|
296
|
+
- Dead updater lock recovery retains an identity-bound tombstone, so a delayed concurrent contender cannot steal a newly acquired live lock.
|
|
297
|
+
- Install/update/rollback activation holds while a live Dori exists, even when idle. These commands do not kill or restart sessions. Failed verification keeps the prior source active; rollback verifies the retained previous release. The activation journal supports interrupted pointer/state reconciliation.
|
|
298
|
+
- Installation starts no provider, messenger, watcher, service, presence process or harness. Users supply their own AI and messenger authentication; consumer release management needs no porting models, `gh` or GitHub write permission.
|
|
299
|
+
|
|
300
|
+
### Maintainer interfaces
|
|
301
|
+
|
|
302
|
+
- Existing source-port/check/fresh-review, promotion, supervisor and recovery functionality moves to `dori upstream ... --config FILE`. There is no legacy `dori update stage/watch` alias.
|
|
303
|
+
- The checkout installer moves to `scripts/install-source.sh`, retaining its source-user behavior. Public consumers use the separate release bootstrap.
|
|
304
|
+
- `bun scripts/release.ts build --out DIST --prerelease` packages actual committed source into the fixed release assets. The root `package.json` remains the canonical version source; public archives exclude `ref/omp-ulw` and keep the exact external dependency pin.
|
|
305
|
+
- Tag publication requires successful exact-commit `check`, `test-macos`, `e2e-herdr` and `e2e-hc` results from the repository's trusted CI workflow and GitHub Actions app. Existing tags/releases/assets are not overwritten.
|
|
306
|
+
|
|
307
|
+
### Discord operation
|
|
308
|
+
|
|
309
|
+
Native `dori inbound discord` provides owner-only bot REST intake for one exact channel, with required bot token/owner/channel environment and a persistent per-channel cursor. Its default polling interval is three seconds; `--loop` remains minutes, with `0` for one-shot operation. A cold start records the latest message without replaying history; resumed polling emits new owner text chronologically. Startup checks authentication, channel access and Message Content Intent. The supported text flow needs no Node, external agent-messenger watcher, private helper or ad-hoc SDK adapter. Both intake and presence remain explicit native-monitor opt-ins, with the token loaded only inside each child from the user's protected file.
|
|
310
|
+
|
|
311
|
+
Discord REST polling and message sending are separate from online presence. An explicitly enabled `dori presence discord` process must remain running under the owning OMP session's native monitor supervision to keep the bot online. Readiness follows a genuine Gateway READY/RESUMED dispatch, the first heartbeat acknowledgement of each connection is logged, and reconnect/terminal errors are distinguished from readiness. Later routine acknowledgements update lifecycle state silently. Explicit stop ends the presence lifecycle and makes the bot offline; installation does not silently enable it or restore unrelated paused watchers.
|
|
312
|
+
|
|
313
|
+
### Retained source features and verification limits
|
|
314
|
+
|
|
315
|
+
The port retains messenger/lane commands, host and heavy-slot guards, claim-done evidence checks, worklog/checkpoints/lessons, the complete lead/duty harness, duty/hourly loops, inbox/backlog, runtime migration, review/merge gates, hooks and telemetry. OMP roles, live-process session identity, approval-aware delivery, native goals and recorded monitor intent remain part of the runtime integration. Slack, Telegram and hc source features remain available to maintainers.
|
|
316
|
+
|
|
317
|
+
CI coverage for macOS/hc is distinct from supported live consumer behavior. A source test, isolated runtime fixture, clean install/recovery run and actual messenger intake/reply establish different things. This changelog is not a claim that a future QA run passed, a model/provider was exercised, an independent external-user beta took place or an asset was published. Actual release QA, exact-head CI and publication readback belong with that release's evidence.
|
|
318
|
+
|
|
319
|
+
The terminal-admission integration group uses a test-local 20-second budget for two distinct real Git/fsync candidate lifecycles. Runtime command deadlines, assertion coverage and the default budget of unrelated tests are unchanged.
|
|
320
|
+
|
|
321
|
+
The Sustainable Use License, OMP attribution in `LICENSE.omp-dori`, `NOTICE`, public dependency pin and third-party notices remain unchanged.
|
|
322
|
+
|
|
323
|
+
- Unreleased: Extend the Telegram transport regression matrix for cross-field route spoofing and message/edit identity ordering alongside existing delivery and recovery coverage.
|
|
324
|
+
|
|
325
|
+
- Unreleased: Isolate automated worktree discovery, completion checks and non-forced cleanup from inherited `GIT_*` overrides. Ordinary commands retain their environment; a foreign Git context can no longer hide local work or redirect worktree cleanup. Other Git probe failures hold completion instead of being treated as a missing checkout.
|
|
326
|
+
|
|
327
|
+
- Unreleased: Stream URL transcription within configurable `transcribeMaxBytes` (default 25 MiB), abort overflow immediately, and check audio format against MIME before invoking the hook. Ogg requires Opus or Vorbis, M4A/MP4 requires an audio track, and MP3 accepts free-format frames with a confirmed cadence. Raw PCM, unsupported URL formats, and MIME mismatches get a one-line remedy; local file paths remain unchanged.
|
|
328
|
+
|
|
329
|
+
## Unreleased addendum
|
|
330
|
+
|
|
331
|
+
- Unreleased (source only): `dori send discord --render-tables` optionally aligns pipe tables in bounded code fences using Unicode display width. The default body, existing escapes/code, split-send replies and receipts remain intact; rendering over 80 columns or a 64 KiB message budget keeps the original text, and oversized edits still fail before any request. The adapted renderer retains its full upstream MIT notice in `NOTICE`.
|
|
332
|
+
|
|
333
|
+
- Unreleased (source only): Reuse the existing native goal or durable workflow owner before creating an objective. Preserve paused ownership until the user explicitly directs resumption, and keep questions, external waits and availability monitoring from creating duplicate goals.
|
|
334
|
+
|
|
335
|
+
Setup now offers configuration-only previews, preserves owner JSON/YAML values outside the existing managed keys, rejects observed concurrent edits, and atomically publishes owned configuration with permission/group preservation and redacted effective-reader readback. Shared-writable targets and linked configuration files now hold with repair guidance; source directory aliases retain physical-target checks; invalid UTF-8 source rewrites are refused, while unchanged configuration bytes are retained. Consumer reader unavailability is reported without blocking recovery. Source and consumer setup do not activate models, accounts or services; saved bytes are reported separately from inherited overrides and unstarted native settings (omp-superagent comparison F64).
|
|
336
|
+
|
|
337
|
+
- Native lane close refuses a confirmed working or blocked main (including approval waits) and, once close preparation binds its PID/startTicks/bootId, waits for that kernel incarnation to exit before thread or worktree cleanup on herdr/hc. A missing pane or wall-clock shift is not an exit receipt; failed reads after preparation stay held. HC prepared-close recovery requires complete observed foreground arguments; a name alone or malformed argv stays held. Unknown first-run legacy closes retain their existing behavior. This protects observed living work, not full quiescence: unknown initial lanes, owned async jobs, queued input and services still need native read-only/unknown/quiescence APIs.
|
|
338
|
+
|
|
339
|
+
- `dori sync` and voice lane status label observation time, session source, unknown reasons and sampled registry/session relationships. Failed process reads and unverified live native records no longer supply session writes or start-time guesses. Existing result fields and successful legacy/custom discovery remain unchanged; a matched ID is not a current-owner guarantee or permission to act.
|
|
340
|
+
|
|
341
|
+
- Lane reports, checkpoints and filesystem observations share an evidence clock independent of report time. Reworded reports, touches, commits of unchanged bytes and identical tool results do not reset it; changed bytes and structured results do. `--evidence-file` and lane-only `dori_report` preserve idempotent receipts and source-bound native background completions. Rotating observations hash at most 256 paths; new hung declarations require a final all-candidate stat confirmation, not an atomic snapshot. Unstable observations remain unknown and persistent read errors are deduplicated without hiding budget alerts; native timing and declared artifact locators do not masquerade as new results.
|
|
342
|
+
- Equal-millisecond evidence from report and checkpoint journals replays in a shared, locked acceptance sequence. Unchanged observations stay quiet without hiding real file reversions; checkpoint retries, immediate writer refusal and legacy journal reads are preserved.
|
|
343
|
+
- Evidence supervision prepares and commits only for the same lane generation, with observation I/O outside the delivery lock. Reopened lanes retain their own reports and state instead of accepting a stale sweep.
|