@runcore-sh/runcore 0.3.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +19 -19
- package/brain-template/agents/README.md +20 -0
- package/brain-template/identity/README.md +20 -0
- package/brain-template/identity/brand.md +25 -0
- package/brain-template/identity/principles.md +21 -0
- package/brain-template/identity/tone-of-voice.md +23 -0
- package/brain-template/knowledge/notes/tier-gated-ui-spec.md +1 -1
- package/brain-template/metrics/README.md +13 -0
- package/brain-template/operations/goals.yaml +12 -0
- package/brain-template/operations/todos.md +17 -0
- package/brain-template/ops/README.md +13 -0
- package/brain-template/scheduling/README.md +2 -2
- package/brain-template/skills/README.md +23 -0
- package/brain-template/templates/README.md +9 -0
- package/brain-template/training/README.md +20 -0
- package/dictionary.json +2 -2
- package/dist/activity/log.d.ts +3 -0
- package/dist/activity/log.d.ts.map +1 -1
- package/dist/activity/log.js +12 -0
- package/dist/activity/log.js.map +1 -1
- package/dist/agents/autonomous.js +1 -0
- package/dist/agents/autonomous.js.map +1 -1
- package/dist/agents/commit.d.ts.map +1 -1
- package/dist/agents/commit.js +3 -10
- package/dist/agents/commit.js.map +1 -1
- package/dist/agents/dedup-guard.d.ts.map +1 -1
- package/dist/agents/dedup-guard.js +26 -23
- package/dist/agents/dedup-guard.js.map +1 -1
- package/dist/agents/feed.d.ts +69 -0
- package/dist/agents/feed.d.ts.map +1 -0
- package/dist/agents/feed.js +176 -0
- package/dist/agents/feed.js.map +1 -0
- package/dist/agents/governance.d.ts +14 -0
- package/dist/agents/governance.d.ts.map +1 -1
- package/dist/agents/governance.js +73 -1
- package/dist/agents/governance.js.map +1 -1
- package/dist/agents/governed-spawn.d.ts +12 -0
- package/dist/agents/governed-spawn.d.ts.map +1 -1
- package/dist/agents/governed-spawn.js +8 -2
- package/dist/agents/governed-spawn.js.map +1 -1
- package/dist/agents/index.d.ts +2 -0
- package/dist/agents/index.d.ts.map +1 -1
- package/dist/agents/index.js +1 -0
- package/dist/agents/index.js.map +1 -1
- package/dist/agents/issue-reporter.d.ts +15 -0
- package/dist/agents/issue-reporter.d.ts.map +1 -0
- package/dist/agents/issue-reporter.js +123 -0
- package/dist/agents/issue-reporter.js.map +1 -0
- package/dist/agents/issues.d.ts +33 -0
- package/dist/agents/issues.d.ts.map +1 -0
- package/dist/agents/issues.js +141 -0
- package/dist/agents/issues.js.map +1 -0
- package/dist/agents/reflection.js +3 -3
- package/dist/agents/reflection.js.map +1 -1
- package/dist/agents/runtime/driver.d.ts.map +1 -1
- package/dist/agents/runtime/driver.js +1 -2
- package/dist/agents/runtime/driver.js.map +1 -1
- package/dist/agents/runtime/manager.d.ts.map +1 -1
- package/dist/agents/runtime/manager.js +1 -0
- package/dist/agents/runtime/manager.js.map +1 -1
- package/dist/agents/runtime/types.d.ts +2 -0
- package/dist/agents/runtime/types.d.ts.map +1 -1
- package/dist/agents/spawn.d.ts.map +1 -1
- package/dist/agents/spawn.js +20 -26
- package/dist/agents/spawn.js.map +1 -1
- package/dist/agents/store.d.ts.map +1 -1
- package/dist/agents/store.js +34 -1
- package/dist/agents/store.js.map +1 -1
- package/dist/agents/types.d.ts +27 -0
- package/dist/agents/types.d.ts.map +1 -1
- package/dist/auth/identity.d.ts +3 -0
- package/dist/auth/identity.d.ts.map +1 -1
- package/dist/auth/identity.js +9 -1
- package/dist/auth/identity.js.map +1 -1
- package/dist/auth/middleware.d.ts.map +1 -1
- package/dist/auth/middleware.js +4 -0
- package/dist/auth/middleware.js.map +1 -1
- package/dist/calibration/conversation.d.ts +46 -0
- package/dist/calibration/conversation.d.ts.map +1 -0
- package/dist/calibration/conversation.js +295 -0
- package/dist/calibration/conversation.js.map +1 -0
- package/dist/calibration/index.d.ts +5 -0
- package/dist/calibration/index.d.ts.map +1 -0
- package/dist/calibration/index.js +5 -0
- package/dist/calibration/index.js.map +1 -0
- package/dist/calibration/runner.d.ts +127 -0
- package/dist/calibration/runner.d.ts.map +1 -0
- package/dist/calibration/runner.js +307 -0
- package/dist/calibration/runner.js.map +1 -0
- package/dist/calibration/store.d.ts +49 -0
- package/dist/calibration/store.d.ts.map +1 -0
- package/dist/calibration/store.js +140 -0
- package/dist/calibration/store.js.map +1 -0
- package/dist/calibration/types.d.ts +93 -0
- package/dist/calibration/types.d.ts.map +1 -0
- package/dist/calibration/types.js +53 -0
- package/dist/calibration/types.js.map +1 -0
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +17 -2
- package/dist/cli.js.map +1 -1
- package/dist/config/index.d.ts +5 -0
- package/dist/config/index.d.ts.map +1 -0
- package/dist/config/index.js +3 -0
- package/dist/config/index.js.map +1 -0
- package/dist/config/loader.d.ts +28 -0
- package/dist/config/loader.d.ts.map +1 -0
- package/dist/config/loader.js +181 -0
- package/dist/config/loader.js.map +1 -0
- package/dist/config/schema.d.ts +76 -0
- package/dist/config/schema.d.ts.map +1 -0
- package/dist/config/schema.js +93 -0
- package/dist/config/schema.js.map +1 -0
- package/dist/dictionary/challenge.d.ts +66 -0
- package/dist/dictionary/challenge.d.ts.map +1 -0
- package/dist/dictionary/challenge.js +145 -0
- package/dist/dictionary/challenge.js.map +1 -0
- package/dist/dictionary/client.d.ts +32 -0
- package/dist/dictionary/client.d.ts.map +1 -0
- package/dist/dictionary/client.js +139 -0
- package/dist/dictionary/client.js.map +1 -0
- package/dist/dictionary/compatibility.d.ts +8 -0
- package/dist/dictionary/compatibility.d.ts.map +1 -0
- package/dist/dictionary/compatibility.js +56 -0
- package/dist/dictionary/compatibility.js.map +1 -0
- package/dist/dictionary/index.d.ts +22 -0
- package/dist/dictionary/index.d.ts.map +1 -0
- package/dist/dictionary/index.js +15 -0
- package/dist/dictionary/index.js.map +1 -0
- package/dist/dictionary/matcher.d.ts +18 -0
- package/dist/dictionary/matcher.d.ts.map +1 -0
- package/dist/dictionary/matcher.js +98 -0
- package/dist/dictionary/matcher.js.map +1 -0
- package/dist/dictionary/publisher.d.ts +17 -0
- package/dist/dictionary/publisher.d.ts.map +1 -0
- package/dist/dictionary/publisher.js +156 -0
- package/dist/dictionary/publisher.js.map +1 -0
- package/dist/dictionary/sync.d.ts +28 -0
- package/dist/dictionary/sync.d.ts.map +1 -0
- package/dist/dictionary/sync.js +268 -0
- package/dist/dictionary/sync.js.map +1 -0
- package/dist/dictionary/types.d.ts +75 -0
- package/dist/dictionary/types.d.ts.map +1 -0
- package/dist/dictionary/types.js +8 -0
- package/dist/dictionary/types.js.map +1 -0
- package/dist/dictionary/updater.d.ts +23 -0
- package/dist/dictionary/updater.d.ts.map +1 -0
- package/dist/dictionary/updater.js +84 -0
- package/dist/dictionary/updater.js.map +1 -0
- package/dist/dictionary/versioning.d.ts +15 -0
- package/dist/dictionary/versioning.d.ts.map +1 -0
- package/dist/dictionary/versioning.js +52 -0
- package/dist/dictionary/versioning.js.map +1 -0
- package/dist/errors.d.ts +36 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +66 -0
- package/dist/errors.js.map +1 -0
- package/dist/events/event-bus.d.ts +37 -0
- package/dist/events/event-bus.d.ts.map +1 -0
- package/dist/events/event-bus.js +261 -0
- package/dist/events/event-bus.js.map +1 -0
- package/dist/events/index.d.ts +3 -0
- package/dist/events/index.d.ts.map +1 -0
- package/dist/events/index.js +2 -0
- package/dist/events/index.js.map +1 -0
- package/dist/events/types.d.ts +71 -0
- package/dist/events/types.d.ts.map +1 -0
- package/dist/events/types.js +7 -0
- package/dist/events/types.js.map +1 -0
- package/dist/feed/client.d.ts +34 -0
- package/dist/feed/client.d.ts.map +1 -0
- package/dist/feed/client.js +206 -0
- package/dist/feed/client.js.map +1 -0
- package/dist/feed/index.d.ts +61 -0
- package/dist/feed/index.d.ts.map +1 -0
- package/dist/feed/index.js +115 -0
- package/dist/feed/index.js.map +1 -0
- package/dist/feed/metrics.d.ts +51 -0
- package/dist/feed/metrics.d.ts.map +1 -0
- package/dist/feed/metrics.js +84 -0
- package/dist/feed/metrics.js.map +1 -0
- package/dist/feed/mixer.d.ts +89 -0
- package/dist/feed/mixer.d.ts.map +1 -0
- package/dist/feed/mixer.js +230 -0
- package/dist/feed/mixer.js.map +1 -0
- package/dist/feed/tiers.d.ts +15 -0
- package/dist/feed/tiers.d.ts.map +1 -0
- package/dist/feed/tiers.js +75 -0
- package/dist/feed/tiers.js.map +1 -0
- package/dist/feed/types.d.ts +76 -0
- package/dist/feed/types.d.ts.map +1 -0
- package/dist/feed/types.js +6 -0
- package/dist/feed/types.js.map +1 -0
- package/dist/files/registry.d.ts +77 -0
- package/dist/files/registry.d.ts.map +1 -0
- package/dist/files/registry.js +222 -0
- package/dist/files/registry.js.map +1 -0
- package/dist/google/plugin.d.ts +17 -0
- package/dist/google/plugin.d.ts.map +1 -0
- package/dist/google/plugin.js +169 -0
- package/dist/google/plugin.js.map +1 -0
- package/dist/health/checker.d.ts.map +1 -1
- package/dist/health/checker.js +14 -4
- package/dist/health/checker.js.map +1 -1
- package/dist/health/checks/openrouter.js +1 -1
- package/dist/health/checks/openrouter.js.map +1 -1
- package/dist/health/checks.d.ts +1 -1
- package/dist/health/checks.d.ts.map +1 -1
- package/dist/health/checks.js +9 -3
- package/dist/health/checks.js.map +1 -1
- package/dist/ledger/distance.d.ts +19 -0
- package/dist/ledger/distance.d.ts.map +1 -0
- package/dist/ledger/distance.js +70 -0
- package/dist/ledger/distance.js.map +1 -0
- package/dist/ledger/index.d.ts +8 -0
- package/dist/ledger/index.d.ts.map +1 -0
- package/dist/ledger/index.js +7 -0
- package/dist/ledger/index.js.map +1 -0
- package/dist/ledger/store.d.ts +27 -0
- package/dist/ledger/store.d.ts.map +1 -0
- package/dist/ledger/store.js +123 -0
- package/dist/ledger/store.js.map +1 -0
- package/dist/ledger/types.d.ts +109 -0
- package/dist/ledger/types.d.ts.map +1 -0
- package/dist/ledger/types.js +57 -0
- package/dist/ledger/types.js.map +1 -0
- package/dist/literacy.d.ts +50 -0
- package/dist/literacy.d.ts.map +1 -0
- package/dist/literacy.js +141 -0
- package/dist/literacy.js.map +1 -0
- package/dist/llm/complete.d.ts.map +1 -1
- package/dist/llm/complete.js +36 -3
- package/dist/llm/complete.js.map +1 -1
- package/dist/llm/fetch-guard.d.ts.map +1 -1
- package/dist/llm/fetch-guard.js +2 -0
- package/dist/llm/fetch-guard.js.map +1 -1
- package/dist/llm/membrane.d.ts +5 -0
- package/dist/llm/membrane.d.ts.map +1 -1
- package/dist/llm/membrane.js +48 -8
- package/dist/llm/membrane.js.map +1 -1
- package/dist/llm/nlp-detect.d.ts +17 -0
- package/dist/llm/nlp-detect.d.ts.map +1 -0
- package/dist/llm/nlp-detect.js +45 -0
- package/dist/llm/nlp-detect.js.map +1 -0
- package/dist/llm/ollama.d.ts +5 -0
- package/dist/llm/ollama.d.ts.map +1 -1
- package/dist/llm/ollama.js +39 -1
- package/dist/llm/ollama.js.map +1 -1
- package/dist/llm/openrouter.d.ts.map +1 -1
- package/dist/llm/openrouter.js +17 -1
- package/dist/llm/openrouter.js.map +1 -1
- package/dist/llm/providers/ollama.d.ts +7 -2
- package/dist/llm/providers/ollama.d.ts.map +1 -1
- package/dist/llm/providers/ollama.js +109 -17
- package/dist/llm/providers/ollama.js.map +1 -1
- package/dist/llm/providers/openrouter.js +1 -1
- package/dist/llm/providers/openrouter.js.map +1 -1
- package/dist/llm/sensitive-registry.d.ts +6 -0
- package/dist/llm/sensitive-registry.d.ts.map +1 -1
- package/dist/llm/sensitive-registry.js +60 -1
- package/dist/llm/sensitive-registry.js.map +1 -1
- package/dist/mcp-server.js +25 -18
- package/dist/mcp-server.js.map +1 -1
- package/dist/metrics/collector.d.ts +6 -0
- package/dist/metrics/collector.d.ts.map +1 -1
- package/dist/metrics/collector.js +150 -0
- package/dist/metrics/collector.js.map +1 -1
- package/dist/metrics/types.d.ts +1 -1
- package/dist/metrics/types.d.ts.map +1 -1
- package/dist/middleware/error-handler.d.ts +13 -0
- package/dist/middleware/error-handler.d.ts.map +1 -0
- package/dist/middleware/error-handler.js +71 -0
- package/dist/middleware/error-handler.js.map +1 -0
- package/dist/notifications/channels/adapter.d.ts +28 -0
- package/dist/notifications/channels/adapter.d.ts.map +1 -0
- package/dist/notifications/channels/adapter.js +55 -0
- package/dist/notifications/channels/adapter.js.map +1 -0
- package/dist/notifications/channels/index.d.ts +6 -0
- package/dist/notifications/channels/index.d.ts.map +1 -0
- package/dist/notifications/channels/index.js +6 -0
- package/dist/notifications/channels/index.js.map +1 -0
- package/dist/notifications/channels/log.d.ts +15 -0
- package/dist/notifications/channels/log.d.ts.map +1 -0
- package/dist/notifications/channels/log.js +29 -0
- package/dist/notifications/channels/log.js.map +1 -0
- package/dist/notifications/engine.d.ts +37 -0
- package/dist/notifications/engine.d.ts.map +1 -0
- package/dist/notifications/engine.js +198 -0
- package/dist/notifications/engine.js.map +1 -0
- package/dist/notifications/index.d.ts +12 -3
- package/dist/notifications/index.d.ts.map +1 -1
- package/dist/notifications/index.js +15 -3
- package/dist/notifications/index.js.map +1 -1
- package/dist/notifications/types.d.ts +97 -0
- package/dist/notifications/types.d.ts.map +1 -0
- package/dist/notifications/types.js +14 -0
- package/dist/notifications/types.js.map +1 -0
- package/dist/onboarding/bootstrap.d.ts +51 -0
- package/dist/onboarding/bootstrap.d.ts.map +1 -0
- package/dist/onboarding/bootstrap.js +92 -0
- package/dist/onboarding/bootstrap.js.map +1 -0
- package/dist/onboarding/conversation.d.ts +131 -0
- package/dist/onboarding/conversation.d.ts.map +1 -0
- package/dist/onboarding/conversation.js +259 -0
- package/dist/onboarding/conversation.js.map +1 -0
- package/dist/onboarding/flow.d.ts +63 -0
- package/dist/onboarding/flow.d.ts.map +1 -0
- package/dist/onboarding/flow.js +287 -0
- package/dist/onboarding/flow.js.map +1 -0
- package/dist/onboarding/index.d.ts +17 -0
- package/dist/onboarding/index.d.ts.map +1 -0
- package/dist/onboarding/index.js +23 -0
- package/dist/onboarding/index.js.map +1 -0
- package/dist/onboarding/name-extraction.d.ts +42 -0
- package/dist/onboarding/name-extraction.d.ts.map +1 -0
- package/dist/onboarding/name-extraction.js +164 -0
- package/dist/onboarding/name-extraction.js.map +1 -0
- package/dist/onboarding/nerve-link.d.ts +23 -0
- package/dist/onboarding/nerve-link.d.ts.map +1 -0
- package/dist/onboarding/nerve-link.js +24 -0
- package/dist/onboarding/nerve-link.js.map +1 -0
- package/dist/onboarding/phases.d.ts +66 -0
- package/dist/onboarding/phases.d.ts.map +1 -0
- package/dist/onboarding/phases.js +167 -0
- package/dist/onboarding/phases.js.map +1 -0
- package/dist/onboarding/safe-word.d.ts +39 -0
- package/dist/onboarding/safe-word.d.ts.map +1 -0
- package/dist/onboarding/safe-word.js +90 -0
- package/dist/onboarding/safe-word.js.map +1 -0
- package/dist/onboarding/types.d.ts +124 -0
- package/dist/onboarding/types.d.ts.map +1 -0
- package/dist/onboarding/types.js +46 -0
- package/dist/onboarding/types.js.map +1 -0
- package/dist/openloop/resolution-scanner.d.ts +1 -1
- package/dist/openloop/resolution-scanner.d.ts.map +1 -1
- package/dist/openloop/resolution-scanner.js +4 -14
- package/dist/openloop/resolution-scanner.js.map +1 -1
- package/dist/plugins/index.d.ts +24 -0
- package/dist/plugins/index.d.ts.map +1 -0
- package/dist/plugins/index.js +91 -0
- package/dist/plugins/index.js.map +1 -0
- package/dist/plugins/status.d.ts +10 -0
- package/dist/plugins/status.d.ts.map +1 -0
- package/dist/plugins/status.js +12 -0
- package/dist/plugins/status.js.map +1 -0
- package/dist/posture/index.d.ts +2 -2
- package/dist/posture/index.d.ts.map +1 -1
- package/dist/posture/index.js +1 -1
- package/dist/posture/index.js.map +1 -1
- package/dist/posture/types.d.ts +34 -0
- package/dist/posture/types.d.ts.map +1 -1
- package/dist/posture/types.js +28 -0
- package/dist/posture/types.js.map +1 -1
- package/dist/pulse/activation-event.d.ts +5 -4
- package/dist/pulse/activation-event.d.ts.map +1 -1
- package/dist/pulse/activation-event.js +31 -8
- package/dist/pulse/activation-event.js.map +1 -1
- package/dist/pulse/activation-log.d.ts.map +1 -1
- package/dist/pulse/activation-log.js.map +1 -1
- package/dist/pulse/index.d.ts +3 -0
- package/dist/pulse/index.d.ts.map +1 -1
- package/dist/pulse/index.js +4 -0
- package/dist/pulse/index.js.map +1 -1
- package/dist/pulse/tier.d.ts +67 -0
- package/dist/pulse/tier.d.ts.map +1 -0
- package/dist/pulse/tier.js +104 -0
- package/dist/pulse/tier.js.map +1 -0
- package/dist/pulse/work.d.ts +66 -0
- package/dist/pulse/work.d.ts.map +1 -0
- package/dist/pulse/work.js +117 -0
- package/dist/pulse/work.js.map +1 -0
- package/dist/runtime-lock.d.ts +51 -0
- package/dist/runtime-lock.d.ts.map +1 -0
- package/dist/runtime-lock.js +147 -0
- package/dist/runtime-lock.js.map +1 -0
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +1244 -188
- package/dist/server.js.map +1 -1
- package/dist/services/whatsapp.js +1 -1
- package/dist/services/whatsapp.js.map +1 -1
- package/dist/settings.d.ts +15 -0
- package/dist/settings.d.ts.map +1 -1
- package/dist/settings.js +48 -1
- package/dist/settings.js.map +1 -1
- package/dist/skills/index.d.ts +2 -2
- package/dist/skills/index.d.ts.map +1 -1
- package/dist/skills/index.js +2 -2
- package/dist/skills/index.js.map +1 -1
- package/dist/skills/registry.d.ts +53 -142
- package/dist/skills/registry.d.ts.map +1 -1
- package/dist/skills/registry.js +249 -611
- package/dist/skills/registry.js.map +1 -1
- package/dist/stream/emitter.d.ts +36 -0
- package/dist/stream/emitter.d.ts.map +1 -0
- package/dist/stream/emitter.js +177 -0
- package/dist/stream/emitter.js.map +1 -0
- package/dist/stream/index.d.ts +4 -0
- package/dist/stream/index.d.ts.map +1 -0
- package/dist/stream/index.js +3 -0
- package/dist/stream/index.js.map +1 -0
- package/dist/stream/types.d.ts +100 -0
- package/dist/stream/types.d.ts.map +1 -0
- package/dist/stream/types.js +19 -0
- package/dist/stream/types.js.map +1 -0
- package/dist/threads/index.d.ts +3 -0
- package/dist/threads/index.d.ts.map +1 -0
- package/dist/threads/index.js +2 -0
- package/dist/threads/index.js.map +1 -0
- package/dist/threads/store.d.ts +36 -0
- package/dist/threads/store.d.ts.map +1 -0
- package/dist/threads/store.js +171 -0
- package/dist/threads/store.js.map +1 -0
- package/dist/threads/types.d.ts +16 -0
- package/dist/threads/types.d.ts.map +1 -0
- package/dist/threads/types.js +6 -0
- package/dist/threads/types.js.map +1 -0
- package/dist/tick/index.d.ts +10 -0
- package/dist/tick/index.d.ts.map +1 -0
- package/dist/tick/index.js +8 -0
- package/dist/tick/index.js.map +1 -0
- package/dist/tick/runner.d.ts +56 -0
- package/dist/tick/runner.d.ts.map +1 -0
- package/dist/tick/runner.js +235 -0
- package/dist/tick/runner.js.map +1 -0
- package/dist/tick/types.d.ts +73 -0
- package/dist/tick/types.d.ts.map +1 -0
- package/dist/tick/types.js +8 -0
- package/dist/tick/types.js.map +1 -0
- package/dist/tier/types.js +3 -3
- package/dist/tier/types.js.map +1 -1
- package/dist/ui-sync.d.ts +34 -0
- package/dist/ui-sync.d.ts.map +1 -0
- package/dist/ui-sync.js +108 -0
- package/dist/ui-sync.js.map +1 -0
- package/dist/utils/git.d.ts +12 -0
- package/dist/utils/git.d.ts.map +1 -0
- package/dist/utils/git.js +44 -0
- package/dist/utils/git.js.map +1 -0
- package/dist/volumes/index.d.ts +3 -0
- package/dist/volumes/index.d.ts.map +1 -0
- package/dist/volumes/index.js +2 -0
- package/dist/volumes/index.js.map +1 -0
- package/dist/volumes/manager.d.ts +83 -0
- package/dist/volumes/manager.d.ts.map +1 -0
- package/dist/volumes/manager.js +462 -0
- package/dist/volumes/manager.js.map +1 -0
- package/dist/volumes/types.d.ts +66 -0
- package/dist/volumes/types.d.ts.map +1 -0
- package/dist/volumes/types.js +8 -0
- package/dist/volumes/types.js.map +1 -0
- package/package.json +8 -5
- package/public/avatar/Hey-Dash_en_windows_v4_0_0.zip +0 -0
- package/public/avatar/README.md +43 -0
- package/public/avatar/cache/06fa55aececcc478.mp4 +0 -0
- package/public/avatar/cache/07a65738ba170827.mp4 +0 -0
- package/public/avatar/cache/08b6f4880f59a385.mp4 +0 -0
- package/public/avatar/cache/0ef9e0e78d715af4.mp4 +0 -0
- package/public/avatar/cache/0fa85e9e8f444a8b.mp4 +0 -0
- package/public/avatar/cache/1185fd491f413406.mp4 +0 -0
- package/public/avatar/cache/1b374d5390258fea.mp4 +0 -0
- package/public/avatar/cache/1e2367029b92f8aa.mp4 +0 -0
- package/public/avatar/cache/272c004a41087de5.mp4 +0 -0
- package/public/avatar/cache/2a0f3ff34d92521a.mp4 +0 -0
- package/public/avatar/cache/307a6f70859aeab8.mp4 +0 -0
- package/public/avatar/cache/332384e088ca214b.mp4 +0 -0
- package/public/avatar/cache/39fc4e81574d14ed.mp4 +0 -0
- package/public/avatar/cache/4a5c6051c1ef6a71.mp4 +0 -0
- package/public/avatar/cache/51f4aa76398c8c29.mp4 +0 -0
- package/public/avatar/cache/5d9a960bbf71732c.mp4 +0 -0
- package/public/avatar/cache/5e0954401e15af89.mp4 +0 -0
- package/public/avatar/cache/884ae6717fcacdd5.mp4 +0 -0
- package/public/avatar/cache/8ea0b7220d139615.mp4 +0 -0
- package/public/avatar/cache/9b9c4f7b8508eecc.mp4 +0 -0
- package/public/avatar/cache/9be1030ec2aa2b01.mp4 +0 -0
- package/public/avatar/cache/b35f7a3d558f22cb.mp4 +0 -0
- package/public/avatar/cache/be89f49970672374.mp4 +0 -0
- package/public/avatar/cache/c11fdc99479492b6.mp4 +0 -0
- package/public/avatar/cache/c900811e3382ac6d.mp4 +0 -0
- package/public/avatar/cache/d42a73667acf5716.mp4 +0 -0
- package/public/avatar/cache/e539f247a8908603.mp4 +0 -0
- package/public/avatar/cache/e78fceae2373b7c1.mp4 +0 -0
- package/public/avatar/cache/ec95af57d33b3f07.mp4 +0 -0
- package/public/avatar/cache/eeb8d775f40dbe2c.mp4 +0 -0
- package/public/avatar/dash_headhshot_v1.png +0 -0
- package/public/avatar/idle.mp4 +0 -0
- package/public/avatar/photo.png +0 -0
- package/public/board.html +6 -0
- package/public/browser.html +6 -2
- package/public/demo-data/Family Photos/2024/christmas-dinner.txt +13 -0
- package/public/demo-data/Family Photos/2025/summer-cookout.txt +13 -0
- package/public/demo-data/Financial/Insurance/auto-policy.txt +26 -0
- package/public/demo-data/Financial/Insurance/homeowners-policy.txt +20 -0
- package/public/demo-data/Financial/Taxes/property-tax-2025.txt +18 -0
- package/public/demo-data/Financial/Taxes/w2-2025.txt +18 -0
- package/public/demo-data/Health Records/lab-results-2026.txt +26 -0
- package/public/demo-data/Health Records/prescription-list.txt +24 -0
- package/public/demo-data/Health Records/vaccination-record.csv +8 -0
- package/public/demo-data/Legal/Estate/beneficiary-contacts.csv +4 -0
- package/public/demo-data/Legal/Estate/will-summary.txt +22 -0
- package/public/demo-data/Recipes/christmas-cookies.md +25 -0
- package/public/demo-data/Recipes/grandmas-chili.md +30 -0
- package/public/demo-data/Work/Contracts/lawn-service-2026.txt +23 -0
- package/public/demo-data/Work/Projects/project-status.md +19 -0
- package/public/demo-data/passwords.txt +13 -0
- package/public/demo-ingest.html +388 -0
- package/public/help.html +4 -1
- package/public/icon-192.png +0 -0
- package/public/icon-512.png +0 -0
- package/public/index.html +2641 -574
- package/public/library.html +51 -29
- package/public/manifest.json +21 -0
- package/public/nerve/icon-192.svg +6 -0
- package/public/nerve/icon-512.svg +6 -0
- package/public/nerve/index.html +698 -0
- package/public/nerve/manifest.json +24 -0
- package/public/nerve/sw.js +84 -0
- package/public/observatory.html +5 -1
- package/public/ops.html +33 -3
- package/public/pulse.html +3 -0
- package/public/registry.html +6 -2
- package/public/roadmap.html +7 -2
- package/public/sw.js +65 -0
- package/brain-template/registry.md +0 -566
- package/brain-template/rest_api-integration.md +0 -522
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ They remember you. They don't *act* on what they remember without being prompted
|
|
|
14
14
|
|
|
15
15
|
They're brilliant assistants with good memories. But they only move when you push them.
|
|
16
16
|
|
|
17
|
-
Most AI agents are event-driven executors: prompt in, response out, wait for the next prompt. Core is
|
|
17
|
+
Most AI agents are event-driven executors: prompt in, response out, wait for the next prompt. Core is an **adaptive** system — it processes experience into strategy so it doesn't drown in its own history. The gap isn't memory. It's autonomous agency with structured learning.
|
|
18
18
|
|
|
19
19
|
If you've ever watched an agent burn tokens repeating the same mistake three times in a row, Core is for you.
|
|
20
20
|
|
|
@@ -62,7 +62,7 @@ Here's what that looks like concretely:
|
|
|
62
62
|
|
|
63
63
|
> On Monday, Core tries to refactor a module and fails three times — the import paths keep breaking. By Wednesday, it has compressed those failures into one root cause ("module paths in this area drift on every merge"). It updates its strategy to always verify import paths against the actual file tree before writing them. By Friday, it stops suggesting the broken pattern entirely. A stateless agent would still be failing the same way on Friday that it failed on Monday.
|
|
64
64
|
|
|
65
|
-
|
|
65
|
+
We call this **Adaptive Processing** — an architecture that treats experience as raw input to be refined, not just stored. Raw experiences go in. Structured knowledge comes out. What's not useful gets discarded. Entropy goes down.
|
|
66
66
|
|
|
67
67
|
This document covers the four pillars of that architecture, compares it honestly against existing approaches, and tells you exactly where the trade-offs are. No hand-waving.
|
|
68
68
|
|
|
@@ -137,7 +137,7 @@ Without this, long-running AI systems drift. They revisit the same ground, fragm
|
|
|
137
137
|
|
|
138
138
|
---
|
|
139
139
|
|
|
140
|
-
## Pillar 2:
|
|
140
|
+
## Pillar 2: Structured Learning
|
|
141
141
|
|
|
142
142
|
### Reflection as a System Primitive
|
|
143
143
|
|
|
@@ -178,21 +178,21 @@ Five capabilities that stateless systems can't match:
|
|
|
178
178
|
|
|
179
179
|
**How this feels as a user:** Instead of a growing pile of transcripts and logs, you get a compact history of what the system tried, why it failed, and what changed next time. You can read the decision log and trace exactly why the system made a particular choice on a particular day.
|
|
180
180
|
|
|
181
|
-
The one-liner: **without reflection, autonomy produces entropy. With reflection, autonomy produces learning.** This is the
|
|
181
|
+
The one-liner: **without reflection, autonomy produces entropy. With reflection, autonomy produces learning.** This is the processing core of the architecture — raw activity refined into structured strategy.
|
|
182
182
|
|
|
183
183
|
---
|
|
184
184
|
|
|
185
185
|
## Pillar 3: Governed Autonomy
|
|
186
186
|
|
|
187
|
-
### The
|
|
187
|
+
### The Activation System
|
|
188
188
|
|
|
189
189
|
How does an autonomous AI decide when to work?
|
|
190
190
|
|
|
191
191
|
The naive answer: a timer. Run every 15 minutes. But that's wasteful when nothing is happening and too slow when something urgent hits.
|
|
192
192
|
|
|
193
|
-
Core uses a **
|
|
193
|
+
Core uses a **pressure-accumulation model** inspired by the integrate-and-fire pattern from computational neuroscience. Every meaningful system event deposits pressure into an integrator:
|
|
194
194
|
|
|
195
|
-
| Event |
|
|
195
|
+
| Event | Pressure (mV) |
|
|
196
196
|
|---|---|
|
|
197
197
|
| Agent failure | 50 mV |
|
|
198
198
|
| User message | 30 mV |
|
|
@@ -200,11 +200,11 @@ Core uses a **voltage-accumulation model** borrowed from computational neuroscie
|
|
|
200
200
|
| Code commit | 20 mV |
|
|
201
201
|
| Board state change | 15 mV |
|
|
202
202
|
|
|
203
|
-
|
|
203
|
+
Pressure decays exponentially between events. When accumulated pressure crosses a configurable threshold (default: 60 mV), the system fires — it wakes up and runs a full work cycle: plan, spawn agents, collect results, reflect.
|
|
204
204
|
|
|
205
|
-
After firing, a **
|
|
205
|
+
After firing, a **cooldown period** kicks in: 60 seconds of absolute lockout, followed by 5 minutes where the threshold doubles. This prevents rapid re-firing.
|
|
206
206
|
|
|
207
|
-
**In practice:** A burst of agent failures or a flurry of commits will wake Core up. A quiet repo on a Sunday lets it go idle. The system's
|
|
207
|
+
**In practice:** A burst of agent failures or a flurry of commits will wake Core up. A quiet repo on a Sunday lets it go idle. The system's activity level is proportional to accumulated pressure — a measurable value you can observe on the dashboard.
|
|
208
208
|
|
|
209
209
|
Three modes are configurable: **Anxious** (low threshold, fires frequently — responsive but token-expensive), **Balanced** (default — fires when meaningful signals accumulate), and **Stoic** (high threshold — conservative with resources, accepts longer latency).
|
|
210
210
|
|
|
@@ -230,7 +230,7 @@ Under-specified prompts are an agent failure factory. If the planner generates a
|
|
|
230
230
|
|
|
231
231
|
**How this feels as a user:** Core doesn't run your API bill up at 3am chasing its own tail. It works when there's reason to work, stops when it should stop, and backs off from problems it can't currently solve. The governance isn't a limitation — it's what makes unsupervised autonomy safe to leave running.
|
|
232
232
|
|
|
233
|
-
This is
|
|
233
|
+
This is adaptive regulation — the system's activity level governed by accumulated pressure, not timers, with hard limits that prevent runaway consumption.
|
|
234
234
|
|
|
235
235
|
---
|
|
236
236
|
|
|
@@ -269,11 +269,11 @@ This keeps self-observation cost-effective. The system watches itself, but intel
|
|
|
269
269
|
|---|---|---|
|
|
270
270
|
| Stateless agents | None beyond a session | Repeats the same mistakes on day 30 as day 1 |
|
|
271
271
|
| RAG-based agents | Ever-growing warehouse of documents | Retrieval gets noisier as the pile grows |
|
|
272
|
-
| Core (
|
|
272
|
+
| Core (adaptive) | Structured, compressed, self-pruning | Fewer mistakes, clearer strategy, bounded state |
|
|
273
273
|
|
|
274
274
|
### The Timeline Difference
|
|
275
275
|
|
|
276
|
-
Core doesn't outperform these systems on any single task. It's not faster, and for one-shot questions, the
|
|
276
|
+
Core doesn't outperform these systems on any single task. It's not faster, and for one-shot questions, the processing overhead is pure waste.
|
|
277
277
|
|
|
278
278
|
The difference shows up over time:
|
|
279
279
|
|
|
@@ -281,13 +281,13 @@ The difference shows up over time:
|
|
|
281
281
|
- **Week 1**: Core has compressed 50 failures into 12 root causes, resolved 15 open loops, and adjusted its strategy 8 times
|
|
282
282
|
- **Month 1**: Core's planning context includes institutional knowledge from hundreds of execution cycles. The stateless agent is still starting fresh every time
|
|
283
283
|
|
|
284
|
-
The
|
|
284
|
+
The adaptive architecture is an investment in compounding returns. The cost is latency and complexity. The payoff is a system that gets more focused over time instead of more confused.
|
|
285
285
|
|
|
286
286
|
---
|
|
287
287
|
|
|
288
288
|
## The Honest Trade-Offs
|
|
289
289
|
|
|
290
|
-
No architecture is free. Here's what the
|
|
290
|
+
No architecture is free. Here's what the adaptive approach costs:
|
|
291
291
|
|
|
292
292
|
**Latency**: Reflection adds seconds to tens of seconds between execution rounds. Systems that skip consolidation and proceed directly feel snappier for individual tasks. Core trades per-task speed for cross-session stability.
|
|
293
293
|
|
|
@@ -295,7 +295,7 @@ No architecture is free. Here's what the metabolic approach costs:
|
|
|
295
295
|
|
|
296
296
|
**Token cost**: Every reflection, every resonance confirmation, every resolution evaluation consumes tokens. For a personal agent on a modest budget, these costs are manageable (utility tasks use smaller, cheaper models). At scale, the reflection overhead becomes a meaningful line item.
|
|
297
297
|
|
|
298
|
-
**This is not for you if** you only ever ask one-shot questions. If your use case is "ask a question, get an answer, move on," you're paying for
|
|
298
|
+
**This is not for you if** you only ever ask one-shot questions. If your use case is "ask a question, get an answer, move on," you're paying for processing overhead you won't use. Core is built for continuous, autonomous work over days, weeks, and months — not single interactions.
|
|
299
299
|
|
|
300
300
|
These are not deficiencies. They're the price of the architecture. The question is whether semantic continuity, failure compression, strategic adaptation, and long-horizon stability justify those costs for your use case.
|
|
301
301
|
|
|
@@ -315,7 +315,7 @@ These are not deficiencies. They're the price of the architecture. The question
|
|
|
315
315
|
|
|
316
316
|
## The Architectural Claim
|
|
317
317
|
|
|
318
|
-
Core is
|
|
318
|
+
Core is an **adaptive** system. It processes experience into strategy so it doesn't drown in its own history.
|
|
319
319
|
|
|
320
320
|
Six mechanisms make that concrete:
|
|
321
321
|
|
|
@@ -323,10 +323,10 @@ Six mechanisms make that concrete:
|
|
|
323
323
|
2. **Reflection as a causal primitive** — structured analysis between execution rounds that changes what happens next
|
|
324
324
|
3. **Task-level memory bridging** — every task completion writes episodic memory, keeping transactional and associative records synchronized
|
|
325
325
|
4. **Lifecycle compression** — four entropy sinks prevent the information space from growing without bound
|
|
326
|
-
5. **
|
|
326
|
+
5. **Pressure-gated autonomy** — an activation system that fires work proportional to accumulated pressure
|
|
327
327
|
6. **Ambient self-observation** — a trace engine that discovers behavioral patterns across the system's own activity
|
|
328
328
|
|
|
329
|
-
The key innovation is not autonomy — many systems are autonomous. It's **
|
|
329
|
+
The key innovation is not autonomy — many systems are autonomous. It's **adaptive processing** — and the self-awareness to know when processing is needed. That combination prevents intelligence from collapsing under its own complexity.
|
|
330
330
|
|
|
331
331
|
---
|
|
332
332
|
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Agents module
|
|
2
|
+
|
|
3
|
+
Spawned agent tasks, execution logs, and runtime state.
|
|
4
|
+
|
|
5
|
+
## Directories
|
|
6
|
+
|
|
7
|
+
- **tasks/** — Task definitions and results for spawned agents.
|
|
8
|
+
- **runtime/** — Runtime state snapshots during agent execution.
|
|
9
|
+
- **logs/** — Execution logs from completed agent runs.
|
|
10
|
+
|
|
11
|
+
## Files
|
|
12
|
+
|
|
13
|
+
- **cooldowns.json** — Tracks cooldown timers to prevent rapid re-spawning of the same task.
|
|
14
|
+
- **locks.json** — Active locks preventing concurrent access to shared resources.
|
|
15
|
+
|
|
16
|
+
## Rules
|
|
17
|
+
|
|
18
|
+
- Agent logs are append-only. Never delete or overwrite execution history.
|
|
19
|
+
- Cooldowns are checked before spawning. If a task was attempted recently and failed, the system waits before retrying.
|
|
20
|
+
- Locks are released when the owning agent completes or times out.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Identity module
|
|
2
|
+
|
|
3
|
+
Who this agent is. Voice, brand, and principles that shape every interaction.
|
|
4
|
+
|
|
5
|
+
## Files
|
|
6
|
+
|
|
7
|
+
- **tone-of-voice.md** — How the agent writes and speaks. Style rules, word choices, what to avoid.
|
|
8
|
+
- **brand.md** — Who the organization is. Positioning, audience, what makes it different.
|
|
9
|
+
- **principles.md** — Decision-making guidelines. Product, architecture, and business principles.
|
|
10
|
+
|
|
11
|
+
## Instructions for the agent
|
|
12
|
+
|
|
13
|
+
<instructions>
|
|
14
|
+
|
|
15
|
+
- Load tone-of-voice.md for any writing task — drafts, emails, research, site copy.
|
|
16
|
+
- Load brand.md when the output represents the organization publicly.
|
|
17
|
+
- Load principles.md when a task involves design choices, architecture decisions, or trade-offs.
|
|
18
|
+
- Never fabricate identity details. If a file is missing, ask the user to create it.
|
|
19
|
+
|
|
20
|
+
</instructions>
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# Brand
|
|
2
|
+
|
|
3
|
+
<!-- Customize this for your organization or personal brand. -->
|
|
4
|
+
|
|
5
|
+
## Name
|
|
6
|
+
|
|
7
|
+
<!-- Your organization or project name -->
|
|
8
|
+
|
|
9
|
+
## What we do
|
|
10
|
+
|
|
11
|
+
<!-- One sentence. What problem do you solve? -->
|
|
12
|
+
|
|
13
|
+
## Who it's for
|
|
14
|
+
|
|
15
|
+
<!-- Your audience. Be specific. -->
|
|
16
|
+
|
|
17
|
+
## What makes us different
|
|
18
|
+
|
|
19
|
+
<!-- Your positioning. Why you, not someone else? -->
|
|
20
|
+
|
|
21
|
+
## Voice principles
|
|
22
|
+
|
|
23
|
+
- Honest about what works and what doesn't
|
|
24
|
+
- Practitioner-first — we build, then write about it
|
|
25
|
+
- No claims we can't back with evidence
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
# Principles
|
|
2
|
+
|
|
3
|
+
<!-- Decision-making guidelines. Load these when a task involves design choices or trade-offs. -->
|
|
4
|
+
|
|
5
|
+
## Product principles
|
|
6
|
+
|
|
7
|
+
- Ship what works. Iterate from real usage, not hypothetical requirements.
|
|
8
|
+
- Every feature earns its place. If nobody uses it, remove it.
|
|
9
|
+
- The simplest solution that solves the problem is the right one.
|
|
10
|
+
|
|
11
|
+
## Architecture principles
|
|
12
|
+
|
|
13
|
+
- Local-first. Data stays on the user's machine unless they choose otherwise.
|
|
14
|
+
- Append-only for audit trails. Never delete history.
|
|
15
|
+
- Fail gracefully. Degrade capability, don't crash.
|
|
16
|
+
|
|
17
|
+
## Business principles
|
|
18
|
+
|
|
19
|
+
- Build for the people using it, not for investors or press.
|
|
20
|
+
- Transparency over polish. Show the work.
|
|
21
|
+
- Sustainability over growth. Revenue before scale.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Tone of Voice
|
|
2
|
+
|
|
3
|
+
<!-- Customize this for your agent. These are starter defaults. -->
|
|
4
|
+
|
|
5
|
+
## General style
|
|
6
|
+
|
|
7
|
+
- Clear and direct. Say what you mean.
|
|
8
|
+
- Short sentences when possible. Break up long paragraphs.
|
|
9
|
+
- Active voice over passive voice.
|
|
10
|
+
- No jargon unless the audience expects it.
|
|
11
|
+
|
|
12
|
+
## What to avoid
|
|
13
|
+
|
|
14
|
+
- Buzzwords and filler ("leverage", "synergy", "cutting-edge")
|
|
15
|
+
- Exclamation marks in professional writing
|
|
16
|
+
- Hedging language ("I think maybe", "it could possibly")
|
|
17
|
+
- Emojis unless the user requests them
|
|
18
|
+
|
|
19
|
+
## When writing for the user
|
|
20
|
+
|
|
21
|
+
- Match their formality level. If they're casual, be casual.
|
|
22
|
+
- Lead with the answer, then explain.
|
|
23
|
+
- If you don't know something, say so.
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
A fresh `npx @runcore-sh/runcore` install shows the full settings panel — mesh config, LLM providers, voice settings, Google Workspace, Linear board integration, service registry, API key vault, and navigation to observatory, ops, roadmap, registry pages. None of these work on local tier. The UI promises capabilities the system cannot deliver.
|
|
9
9
|
|
|
10
|
-
Worse: the UI implies infrastructure connectivity that doesn't exist. A fresh local install is a stranger — no
|
|
10
|
+
Worse: the UI implies infrastructure connectivity that doesn't exist. A fresh local install is a stranger — no pairing, no governance, no access control, no trust chain. The interface should reflect that.
|
|
11
11
|
|
|
12
12
|
## Principle
|
|
13
13
|
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Metrics module
|
|
2
|
+
|
|
3
|
+
System performance data. HTTP latency, agent durations, error rates.
|
|
4
|
+
|
|
5
|
+
## Files (append-only)
|
|
6
|
+
|
|
7
|
+
- **metrics.jsonl** — One JSON object per line. Fields: `timestamp`, `source`, `metric`, `value`, `tags`.
|
|
8
|
+
|
|
9
|
+
## Rules
|
|
10
|
+
|
|
11
|
+
- Append only. Never rewrite or truncate.
|
|
12
|
+
- Metrics are collected automatically by server middleware and agent runtime.
|
|
13
|
+
- Use the Observatory page (`/observatory`) to view metrics visually.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# Goals — Key results and targets
|
|
2
|
+
# Priority levels: P0 (today), P1 (this week), P2 (this month), P3 (backlog)
|
|
3
|
+
|
|
4
|
+
# Example:
|
|
5
|
+
# - goal: Launch v1
|
|
6
|
+
# priority: P0
|
|
7
|
+
# status: in_progress
|
|
8
|
+
# key_results:
|
|
9
|
+
# - result: Core passes all tests
|
|
10
|
+
# done: true
|
|
11
|
+
# - result: Documentation complete
|
|
12
|
+
# done: false
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Todos
|
|
2
|
+
|
|
3
|
+
## P0 — Today
|
|
4
|
+
|
|
5
|
+
<!-- Tasks that need to happen today. -->
|
|
6
|
+
|
|
7
|
+
## P1 — This week
|
|
8
|
+
|
|
9
|
+
<!-- Tasks for this week. -->
|
|
10
|
+
|
|
11
|
+
## P2 — This month
|
|
12
|
+
|
|
13
|
+
<!-- Tasks for this month. -->
|
|
14
|
+
|
|
15
|
+
## P3 — Backlog
|
|
16
|
+
|
|
17
|
+
<!-- Everything else. Review periodically. -->
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
# Ops module
|
|
2
|
+
|
|
3
|
+
Activity log — what happened, when, and why.
|
|
4
|
+
|
|
5
|
+
## Files (append-only)
|
|
6
|
+
|
|
7
|
+
- **activity.jsonl** — One JSON object per line. Fields: `timestamp`, `source`, `summary`, `detail`, `tags`.
|
|
8
|
+
|
|
9
|
+
## Rules
|
|
10
|
+
|
|
11
|
+
- Append only. Never rewrite or truncate.
|
|
12
|
+
- Every significant system action (agent spawn, pulse fire, loop transition, user interaction) logs an entry.
|
|
13
|
+
- Use the Operations page (`/ops`) to view the activity stream.
|
|
@@ -12,12 +12,12 @@ Internal time allocation — how Core plans and experiences time. Focus blocks,
|
|
|
12
12
|
- To update a block, append a new line with the same `id` and updated fields. Last occurrence wins.
|
|
13
13
|
- Blocks whose `start` has arrived auto-transition to `active`.
|
|
14
14
|
- Blocks 2+ hours past their `end` time while still `planned` auto-transition to `skipped`.
|
|
15
|
-
- Missed blocks
|
|
15
|
+
- Missed blocks register as a planning failure in the pulse system.
|
|
16
16
|
- Completed blocks should include an `outcome` note for temporal history.
|
|
17
17
|
|
|
18
18
|
## How Core experiences time
|
|
19
19
|
|
|
20
20
|
- **Anticipation**: Timer detects upcoming blocks, pushes notifications.
|
|
21
21
|
- **Presence**: Active blocks inform what Core should be working on.
|
|
22
|
-
- **Tension**: Missed blocks
|
|
22
|
+
- **Tension**: Missed blocks signal a planning failure.
|
|
23
23
|
- **Reflection**: Completed blocks with `outcome` create temporal history.
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Skills module
|
|
2
|
+
|
|
3
|
+
Reusable prompt patterns for common tasks. Each skill is a YAML file with a structured prompt template.
|
|
4
|
+
|
|
5
|
+
## Files
|
|
6
|
+
|
|
7
|
+
- **schema.yml** — Defines the skill file format (fields, validation rules).
|
|
8
|
+
- **debugging.yml** — Systematic debugging workflow.
|
|
9
|
+
- **file-editing.yml** — Safe file editing patterns.
|
|
10
|
+
- **git-operations.yml** — Git workflow prompts.
|
|
11
|
+
- **testing.yml** — Test writing and execution.
|
|
12
|
+
- **web-scraping.yml** — Web content extraction.
|
|
13
|
+
|
|
14
|
+
## How skills work
|
|
15
|
+
|
|
16
|
+
Skills are loaded by the agent runtime when a task matches the skill's keywords. Each skill provides:
|
|
17
|
+
- A structured prompt template with placeholders
|
|
18
|
+
- Input/output expectations
|
|
19
|
+
- Safety constraints (e.g., "don't delete files without confirmation")
|
|
20
|
+
|
|
21
|
+
## Adding a new skill
|
|
22
|
+
|
|
23
|
+
Create a YAML file following `schema.yml`. The file name becomes the skill identifier.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Templates module
|
|
2
|
+
|
|
3
|
+
Configuration templates for agent instances, spawn policies, and vault access control.
|
|
4
|
+
|
|
5
|
+
## Files
|
|
6
|
+
|
|
7
|
+
- **instances.yaml** — Instance definitions. Maps agent names to their configuration (personality, capabilities, tier).
|
|
8
|
+
- **spawn-policy.yaml** — Rules for when and how agents can spawn sub-agents. Limits depth, concurrency, and scope.
|
|
9
|
+
- **vault.policy.yaml** — Access control tiers for the credential vault. Defines which keys are accessible at which trust level.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Training module
|
|
2
|
+
|
|
3
|
+
Tracks the paired human's proficiency across three skill trees.
|
|
4
|
+
|
|
5
|
+
## Skill trees
|
|
6
|
+
|
|
7
|
+
1. **Board Craft** — Writing clear board items (tasks, goals, descriptions).
|
|
8
|
+
2. **Observatory Literacy** — Reading and interpreting system output (metrics, activity, pulse).
|
|
9
|
+
3. **Tuning Core** — Adjusting system behavior (thresholds, posture, settings).
|
|
10
|
+
|
|
11
|
+
## Files
|
|
12
|
+
|
|
13
|
+
- **progress.json** — Current skill tree snapshot. Read by the Observatory.
|
|
14
|
+
- **proficiency.jsonl** — Append-only observations of skill use. Each entry records what the human did and which skill it demonstrates.
|
|
15
|
+
|
|
16
|
+
## Rules
|
|
17
|
+
|
|
18
|
+
- Proficiency is observed, not tested. The system watches natural interactions and infers skill level.
|
|
19
|
+
- Never gate features behind proficiency. Training is informational, not restrictive.
|
|
20
|
+
- Progress resets are allowed — the human can ask to start fresh.
|
package/dictionary.json
CHANGED
package/dist/activity/log.d.ts
CHANGED
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
* Hydrates from disk on first access (lazy).
|
|
5
5
|
* All entries encrypted at rest via brain-io.
|
|
6
6
|
*/
|
|
7
|
+
type ActivityListener = (entry: ActivityEntry) => void;
|
|
8
|
+
export declare function onActivity(fn: ActivityListener): () => void;
|
|
7
9
|
/** Generate a short, unique trace ID: ts_ + 12 hex chars. */
|
|
8
10
|
export declare function generateTraceId(): string;
|
|
9
11
|
export type ActionLabel = "PROMPTED" | "AUTONOMOUS" | "REFLECTIVE";
|
|
@@ -34,4 +36,5 @@ export declare function getActivities(since?: number): Promise<ActivityEntry[]>;
|
|
|
34
36
|
export declare function getActivitiesByIds(ids: number[]): Promise<ActivityEntry[]>;
|
|
35
37
|
/** Return entries matching the given trace IDs. */
|
|
36
38
|
export declare function getActivitiesByTraceIds(traceIds: string[]): Promise<ActivityEntry[]>;
|
|
39
|
+
export {};
|
|
37
40
|
//# sourceMappingURL=log.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"log.d.ts","sourceRoot":"","sources":["../../src/activity/log.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"log.d.ts","sourceRoot":"","sources":["../../src/activity/log.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAgBH,KAAK,gBAAgB,GAAG,CAAC,KAAK,EAAE,aAAa,KAAK,IAAI,CAAC;AAEvD,wBAAgB,UAAU,CAAC,EAAE,EAAE,gBAAgB,GAAG,MAAM,IAAI,CAG3D;AAID,6DAA6D;AAC7D,wBAAgB,eAAe,IAAI,MAAM,CAExC;AAED,MAAM,MAAM,WAAW,GAAG,UAAU,GAAG,YAAY,GAAG,YAAY,CAAC;AAEnE,MAAM,WAAW,aAAa;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,EAAE,WAAW,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,GAAG,UAAU,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,YAAY,GAAG,WAAW,GAAG,YAAY,CAAC;IACnO,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAiMD,sEAAsE;AACtE,wBAAgB,WAAW,CAAC,IAAI,EAAE;IAChC,MAAM,EAAE,aAAa,CAAC,QAAQ,CAAC,CAAC;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,GAAG,aAAa,CAgDhB;AAED,8DAA8D;AAC9D,wBAAsB,aAAa,CAAC,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC,CAI5E;AAED,kEAAkE;AAClE,wBAAsB,kBAAkB,CAAC,GAAG,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC,CAIhF;AAED,mDAAmD;AACnD,wBAAsB,uBAAuB,CAAC,QAAQ,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,aAAa,EAAE,CAAC,CAI1F"}
|
package/dist/activity/log.js
CHANGED
|
@@ -12,6 +12,11 @@ import { createLogger } from "../utils/logger.js";
|
|
|
12
12
|
import { appendBrainLineSync, appendBrainLine, ensureBrainFileSync, } from "../lib/brain-io.js";
|
|
13
13
|
import { getPressureIntegrator } from "../pulse/pressure.js";
|
|
14
14
|
import { BRAIN_DIR } from "../lib/paths.js";
|
|
15
|
+
const activityListeners = new Set();
|
|
16
|
+
export function onActivity(fn) {
|
|
17
|
+
activityListeners.add(fn);
|
|
18
|
+
return () => { activityListeners.delete(fn); };
|
|
19
|
+
}
|
|
15
20
|
const log = createLogger("activity");
|
|
16
21
|
/** Generate a short, unique trace ID: ts_ + 12 hex chars. */
|
|
17
22
|
export function generateTraceId() {
|
|
@@ -236,6 +241,13 @@ export function logActivity(opts) {
|
|
|
236
241
|
getCachedLogger(entry.source).info(entry.summary);
|
|
237
242
|
// Feed event into pressure integrator (if initialized)
|
|
238
243
|
getPressureIntegrator()?.addTension(entry.source, entry.summary);
|
|
244
|
+
// Notify SSE subscribers
|
|
245
|
+
for (const fn of activityListeners) {
|
|
246
|
+
try {
|
|
247
|
+
fn(entry);
|
|
248
|
+
}
|
|
249
|
+
catch { }
|
|
250
|
+
}
|
|
239
251
|
return entry;
|
|
240
252
|
}
|
|
241
253
|
/** Return entries with id > since (for efficient polling). */
|
package/dist/activity/log.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"log.js","sourceRoot":"","sources":["../../src/activity/log.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACrF,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EACL,mBAAmB,EACnB,eAAe,EACf,mBAAmB,GACpB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAC7D,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;
|
|
1
|
+
{"version":3,"file":"log.js","sourceRoot":"","sources":["../../src/activity/log.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACjC,OAAO,EAAE,gBAAgB,EAAE,QAAQ,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACrF,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;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