opensquid 0.5.395
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +330 -0
- package/dist/anti-drift/evaluator.d.ts +88 -0
- package/dist/anti-drift/evaluator.d.ts.map +1 -0
- package/dist/anti-drift/evaluator.js +417 -0
- package/dist/anti-drift/evaluator.js.map +1 -0
- package/dist/anti-drift/evaluator.test.js +78 -0
- package/dist/anti-drift/rules.d.ts +80 -0
- package/dist/anti-drift/rules.d.ts.map +1 -0
- package/dist/anti-drift/rules.js +368 -0
- package/dist/anti-drift/rules.js.map +1 -0
- package/dist/anti-drift/rules.test.js +213 -0
- package/dist/anti-drift/state.d.ts +107 -0
- package/dist/anti-drift/state.d.ts.map +1 -0
- package/dist/anti-drift/state.js +177 -0
- package/dist/anti-drift/state.js.map +1 -0
- package/dist/anti-drift/state.test.js +120 -0
- package/dist/channels/adapters/discord.d.ts +45 -0
- package/dist/channels/adapters/discord.d.ts.map +1 -0
- package/dist/channels/adapters/discord.js +220 -0
- package/dist/channels/adapters/discord.js.map +1 -0
- package/dist/channels/adapters/slack.d.ts +63 -0
- package/dist/channels/adapters/slack.d.ts.map +1 -0
- package/dist/channels/adapters/slack.js +216 -0
- package/dist/channels/adapters/slack.js.map +1 -0
- package/dist/channels/adapters/telegram.d.ts +89 -0
- package/dist/channels/adapters/telegram.d.ts.map +1 -0
- package/dist/channels/adapters/telegram.js +400 -0
- package/dist/channels/adapters/telegram.js.map +1 -0
- package/dist/channels/adapters/webhook.d.ts +53 -0
- package/dist/channels/adapters/webhook.d.ts.map +1 -0
- package/dist/channels/adapters/webhook.js +98 -0
- package/dist/channels/adapters/webhook.js.map +1 -0
- package/dist/channels/chat.d.ts +18 -0
- package/dist/channels/chat.d.ts.map +1 -0
- package/dist/channels/chat.js +35 -0
- package/dist/channels/chat.js.map +1 -0
- package/dist/channels/config.d.ts +110 -0
- package/dist/channels/config.d.ts.map +1 -0
- package/dist/channels/config.js +223 -0
- package/dist/channels/config.js.map +1 -0
- package/dist/channels/daemon/autospawn.d.ts +64 -0
- package/dist/channels/daemon/autospawn.d.ts.map +1 -0
- package/dist/channels/daemon/autospawn.js +145 -0
- package/dist/channels/daemon/autospawn.js.map +1 -0
- package/dist/channels/daemon/cli.d.ts +38 -0
- package/dist/channels/daemon/cli.d.ts.map +1 -0
- package/dist/channels/daemon/cli.js +98 -0
- package/dist/channels/daemon/cli.js.map +1 -0
- package/dist/channels/daemon/lifecycle.d.ts +68 -0
- package/dist/channels/daemon/lifecycle.d.ts.map +1 -0
- package/dist/channels/daemon/lifecycle.js +182 -0
- package/dist/channels/daemon/lifecycle.js.map +1 -0
- package/dist/channels/daemon/protocol.d.ts +118 -0
- package/dist/channels/daemon/protocol.d.ts.map +1 -0
- package/dist/channels/daemon/protocol.js +61 -0
- package/dist/channels/daemon/protocol.js.map +1 -0
- package/dist/channels/daemon/rpc_server.d.ts +48 -0
- package/dist/channels/daemon/rpc_server.d.ts.map +1 -0
- package/dist/channels/daemon/rpc_server.js +229 -0
- package/dist/channels/daemon/rpc_server.js.map +1 -0
- package/dist/channels/daemon/worker.d.ts +48 -0
- package/dist/channels/daemon/worker.d.ts.map +1 -0
- package/dist/channels/daemon/worker.js +218 -0
- package/dist/channels/daemon/worker.js.map +1 -0
- package/dist/channels/env-token.d.ts +71 -0
- package/dist/channels/env-token.d.ts.map +1 -0
- package/dist/channels/env-token.js +150 -0
- package/dist/channels/env-token.js.map +1 -0
- package/dist/channels/factory.d.ts +52 -0
- package/dist/channels/factory.d.ts.map +1 -0
- package/dist/channels/factory.js +88 -0
- package/dist/channels/factory.js.map +1 -0
- package/dist/channels/gateway.d.ts +109 -0
- package/dist/channels/gateway.d.ts.map +1 -0
- package/dist/channels/gateway.js +142 -0
- package/dist/channels/gateway.js.map +1 -0
- package/dist/channels/inbound_router.d.ts +110 -0
- package/dist/channels/inbound_router.d.ts.map +1 -0
- package/dist/channels/inbound_router.js +182 -0
- package/dist/channels/inbound_router.js.map +1 -0
- package/dist/channels/index.d.ts +20 -0
- package/dist/channels/index.d.ts.map +1 -0
- package/dist/channels/index.js +19 -0
- package/dist/channels/index.js.map +1 -0
- package/dist/channels/migrate.d.ts +133 -0
- package/dist/channels/migrate.d.ts.map +1 -0
- package/dist/channels/migrate.js +0 -0
- package/dist/channels/migrate.js.map +1 -0
- package/dist/channels/router.d.ts +54 -0
- package/dist/channels/router.d.ts.map +1 -0
- package/dist/channels/router.js +80 -0
- package/dist/channels/router.js.map +1 -0
- package/dist/channels/routing.d.ts +281 -0
- package/dist/channels/routing.d.ts.map +1 -0
- package/dist/channels/routing.js +206 -0
- package/dist/channels/routing.js.map +1 -0
- package/dist/channels/transport_inbox.d.ts +75 -0
- package/dist/channels/transport_inbox.d.ts.map +1 -0
- package/dist/channels/transport_inbox.js +97 -0
- package/dist/channels/transport_inbox.js.map +1 -0
- package/dist/channels/types.d.ts +149 -0
- package/dist/channels/types.d.ts.map +1 -0
- package/dist/channels/types.js +10 -0
- package/dist/channels/types.js.map +1 -0
- package/dist/chat/adapters/discord.d.ts +41 -0
- package/dist/chat/adapters/discord.d.ts.map +1 -0
- package/dist/chat/adapters/discord.js +176 -0
- package/dist/chat/adapters/discord.js.map +1 -0
- package/dist/chat/adapters/discord.test.js +25 -0
- package/dist/chat/adapters/slack.d.ts +43 -0
- package/dist/chat/adapters/slack.d.ts.map +1 -0
- package/dist/chat/adapters/slack.js +172 -0
- package/dist/chat/adapters/slack.js.map +1 -0
- package/dist/chat/adapters/slack.test.js +30 -0
- package/dist/chat/adapters/telegram.d.ts +148 -0
- package/dist/chat/adapters/telegram.d.ts.map +1 -0
- package/dist/chat/adapters/telegram.js +498 -0
- package/dist/chat/adapters/telegram.js.map +1 -0
- package/dist/chat/adapters/telegram.test.js +94 -0
- package/dist/chat/config.d.ts +98 -0
- package/dist/chat/config.d.ts.map +1 -0
- package/dist/chat/config.js +185 -0
- package/dist/chat/config.js.map +1 -0
- package/dist/chat/daemon/active-project.d.ts +17 -0
- package/dist/chat/daemon/active-project.d.ts.map +1 -0
- package/dist/chat/daemon/active-project.js +23 -0
- package/dist/chat/daemon/active-project.js.map +1 -0
- package/dist/chat/daemon/autospawn.d.ts +40 -0
- package/dist/chat/daemon/autospawn.d.ts.map +1 -0
- package/dist/chat/daemon/autospawn.js +129 -0
- package/dist/chat/daemon/autospawn.js.map +1 -0
- package/dist/chat/daemon/autospawn.test.js +112 -0
- package/dist/chat/daemon/cli.d.ts +18 -0
- package/dist/chat/daemon/cli.d.ts.map +1 -0
- package/dist/chat/daemon/cli.js +71 -0
- package/dist/chat/daemon/cli.js.map +1 -0
- package/dist/chat/daemon/collisions.js +384 -0
- package/dist/chat/daemon/health-check.d.ts +69 -0
- package/dist/chat/daemon/health-check.d.ts.map +1 -0
- package/dist/chat/daemon/health-check.js +112 -0
- package/dist/chat/daemon/health-check.js.map +1 -0
- package/dist/chat/daemon/inbox-read.d.ts +35 -0
- package/dist/chat/daemon/inbox-read.d.ts.map +1 -0
- package/dist/chat/daemon/inbox-read.js +75 -0
- package/dist/chat/daemon/inbox-read.js.map +1 -0
- package/dist/chat/daemon/inbox-read.test.js +97 -0
- package/dist/chat/daemon/inbox.d.ts +63 -0
- package/dist/chat/daemon/inbox.d.ts.map +1 -0
- package/dist/chat/daemon/inbox.js +56 -0
- package/dist/chat/daemon/inbox.js.map +1 -0
- package/dist/chat/daemon/inbox.test.js +110 -0
- package/dist/chat/daemon/lifecycle.d.ts +71 -0
- package/dist/chat/daemon/lifecycle.d.ts.map +1 -0
- package/dist/chat/daemon/lifecycle.js +221 -0
- package/dist/chat/daemon/lifecycle.js.map +1 -0
- package/dist/chat/daemon/lifecycle.test.js +163 -0
- package/dist/chat/daemon/protocol.d.ts +107 -0
- package/dist/chat/daemon/protocol.d.ts.map +1 -0
- package/dist/chat/daemon/protocol.js +54 -0
- package/dist/chat/daemon/protocol.js.map +1 -0
- package/dist/chat/daemon/routing.d.ts +140 -0
- package/dist/chat/daemon/routing.d.ts.map +1 -0
- package/dist/chat/daemon/routing.js +198 -0
- package/dist/chat/daemon/routing.js.map +1 -0
- package/dist/chat/daemon/routing.test.js +259 -0
- package/dist/chat/daemon/rpc-client.d.ts +45 -0
- package/dist/chat/daemon/rpc-client.d.ts.map +1 -0
- package/dist/chat/daemon/rpc-client.js +133 -0
- package/dist/chat/daemon/rpc-client.js.map +1 -0
- package/dist/chat/daemon/rpc-server.d.ts +39 -0
- package/dist/chat/daemon/rpc-server.d.ts.map +1 -0
- package/dist/chat/daemon/rpc-server.js +385 -0
- package/dist/chat/daemon/rpc-server.js.map +1 -0
- package/dist/chat/daemon/rpc.test.js +177 -0
- package/dist/chat/daemon/subscribers.js +257 -0
- package/dist/chat/daemon/worker.d.ts +27 -0
- package/dist/chat/daemon/worker.d.ts.map +1 -0
- package/dist/chat/daemon/worker.js +313 -0
- package/dist/chat/daemon/worker.js.map +1 -0
- package/dist/chat/daemon/workspace-topic.js +324 -0
- package/dist/chat/env-token.d.ts +60 -0
- package/dist/chat/env-token.d.ts.map +1 -0
- package/dist/chat/env-token.js +137 -0
- package/dist/chat/env-token.js.map +1 -0
- package/dist/chat/env-token.test.js +160 -0
- package/dist/chat/factory.d.ts +30 -0
- package/dist/chat/factory.d.ts.map +1 -0
- package/dist/chat/factory.js +50 -0
- package/dist/chat/factory.js.map +1 -0
- package/dist/chat/factory.test.js +55 -0
- package/dist/chat/gateway.d.ts +176 -0
- package/dist/chat/gateway.d.ts.map +1 -0
- package/dist/chat/gateway.js +146 -0
- package/dist/chat/gateway.js.map +1 -0
- package/dist/chat/gateway.test.js +192 -0
- package/dist/chat_daemon/client.d.ts +61 -0
- package/dist/chat_daemon/client.d.ts.map +1 -0
- package/dist/chat_daemon/client.js +122 -0
- package/dist/chat_daemon/client.js.map +1 -0
- package/dist/claude-md.d.ts +39 -0
- package/dist/claude-md.d.ts.map +1 -0
- package/dist/claude-md.js +113 -0
- package/dist/claude-md.js.map +1 -0
- package/dist/claude-md.test.js +91 -0
- package/dist/cli/pack.d.ts +14 -0
- package/dist/cli/pack.d.ts.map +1 -0
- package/dist/cli/pack.js +232 -0
- package/dist/cli/pack.js.map +1 -0
- package/dist/cli.d.ts +18 -0
- package/dist/cli.d.ts.map +1 -0
- package/dist/cli.js +317 -0
- package/dist/cli.js.map +1 -0
- package/dist/codex/activate.d.ts +66 -0
- package/dist/codex/activate.d.ts.map +1 -0
- package/dist/codex/activate.js +329 -0
- package/dist/codex/activate.js.map +1 -0
- package/dist/codex/activate.test.js +229 -0
- package/dist/codex/bundled-default/bundled-default.test.js +161 -0
- package/dist/codex/cli-publish.test.js +133 -0
- package/dist/codex/cli.d.ts +35 -0
- package/dist/codex/cli.d.ts.map +1 -0
- package/dist/codex/cli.js +554 -0
- package/dist/codex/cli.js.map +1 -0
- package/dist/codex/cli.test.js +277 -0
- package/dist/codex/import-skill-md.d.ts +53 -0
- package/dist/codex/import-skill-md.d.ts.map +1 -0
- package/dist/codex/import-skill-md.js +236 -0
- package/dist/codex/import-skill-md.js.map +1 -0
- package/dist/codex/import-skill-md.test.js +225 -0
- package/dist/codex/loader.d.ts +27 -0
- package/dist/codex/loader.d.ts.map +1 -0
- package/dist/codex/loader.js +86 -0
- package/dist/codex/loader.js.map +1 -0
- package/dist/codex/loader.test.js +75 -0
- package/dist/codex/parse.d.ts +28 -0
- package/dist/codex/parse.d.ts.map +1 -0
- package/dist/codex/parse.js +309 -0
- package/dist/codex/parse.js.map +1 -0
- package/dist/codex/parse.test.js +241 -0
- package/dist/codex/store.d.ts +87 -0
- package/dist/codex/store.d.ts.map +1 -0
- package/dist/codex/store.js +205 -0
- package/dist/codex/store.js.map +1 -0
- package/dist/codex/store.test.js +242 -0
- package/dist/codex/types.d.ts +398 -0
- package/dist/codex/types.d.ts.map +1 -0
- package/dist/codex/types.js +21 -0
- package/dist/codex/types.js.map +1 -0
- package/dist/config.d.ts +53 -0
- package/dist/config.d.ts.map +1 -0
- package/dist/config.js +202 -0
- package/dist/config.js.map +1 -0
- package/dist/config.test.js +117 -0
- package/dist/engine/cli.d.ts +14 -0
- package/dist/engine/cli.d.ts.map +1 -0
- package/dist/engine/cli.js +171 -0
- package/dist/engine/cli.js.map +1 -0
- package/dist/engine/client.d.ts +219 -0
- package/dist/engine/client.d.ts.map +1 -0
- package/dist/engine/client.js +312 -0
- package/dist/engine/client.js.map +1 -0
- package/dist/engine/config.d.ts +62 -0
- package/dist/engine/config.d.ts.map +1 -0
- package/dist/engine/config.js +223 -0
- package/dist/engine/config.js.map +1 -0
- package/dist/engine/index.d.ts +17 -0
- package/dist/engine/index.d.ts.map +1 -0
- package/dist/engine/index.js +16 -0
- package/dist/engine/index.js.map +1 -0
- package/dist/engine/resolver.d.ts +62 -0
- package/dist/engine/resolver.d.ts.map +1 -0
- package/dist/engine/resolver.js +103 -0
- package/dist/engine/resolver.js.map +1 -0
- package/dist/engine/singleton.d.ts +95 -0
- package/dist/engine/singleton.d.ts.map +1 -0
- package/dist/engine/singleton.js +325 -0
- package/dist/engine/singleton.js.map +1 -0
- package/dist/engine/types.d.ts +402 -0
- package/dist/engine/types.d.ts.map +1 -0
- package/dist/engine/types.js +22 -0
- package/dist/engine/types.js.map +1 -0
- package/dist/engine-binary-resolver.js +110 -0
- package/dist/engine-binary-resolver.test.js +61 -0
- package/dist/engine-cli.js +60 -0
- package/dist/engine-client.js +301 -0
- package/dist/engine-client.test.js +118 -0
- package/dist/functions/active_task.d.ts +90 -0
- package/dist/functions/active_task.d.ts.map +1 -0
- package/dist/functions/active_task.js +203 -0
- package/dist/functions/active_task.js.map +1 -0
- package/dist/functions/cached_audit.d.ts +33 -0
- package/dist/functions/cached_audit.d.ts.map +1 -0
- package/dist/functions/cached_audit.js +143 -0
- package/dist/functions/cached_audit.js.map +1 -0
- package/dist/functions/chain_state.d.ts +51 -0
- package/dist/functions/chain_state.d.ts.map +1 -0
- package/dist/functions/chain_state.js +59 -0
- package/dist/functions/chain_state.js.map +1 -0
- package/dist/functions/chat_watcher_autostart.d.ts +33 -0
- package/dist/functions/chat_watcher_autostart.d.ts.map +1 -0
- package/dist/functions/chat_watcher_autostart.js +59 -0
- package/dist/functions/chat_watcher_autostart.js.map +1 -0
- package/dist/functions/check_chat_connection.d.ts +49 -0
- package/dist/functions/check_chat_connection.d.ts.map +1 -0
- package/dist/functions/check_chat_connection.js +124 -0
- package/dist/functions/check_chat_connection.js.map +1 -0
- package/dist/functions/check_flow_health.d.ts +43 -0
- package/dist/functions/check_flow_health.d.ts.map +1 -0
- package/dist/functions/check_flow_health.js +93 -0
- package/dist/functions/check_flow_health.js.map +1 -0
- package/dist/functions/destination_check.d.ts +49 -0
- package/dist/functions/destination_check.d.ts.map +1 -0
- package/dist/functions/destination_check.js +136 -0
- package/dist/functions/destination_check.js.map +1 -0
- package/dist/functions/effective_content.d.ts +31 -0
- package/dist/functions/effective_content.d.ts.map +1 -0
- package/dist/functions/effective_content.js +74 -0
- package/dist/functions/effective_content.js.map +1 -0
- package/dist/functions/ensure_umbrella_topic.d.ts +66 -0
- package/dist/functions/ensure_umbrella_topic.d.ts.map +1 -0
- package/dist/functions/ensure_umbrella_topic.js +148 -0
- package/dist/functions/ensure_umbrella_topic.js.map +1 -0
- package/dist/functions/event.d.ts +34 -0
- package/dist/functions/event.d.ts.map +1 -0
- package/dist/functions/event.js +164 -0
- package/dist/functions/event.js.map +1 -0
- package/dist/functions/file_write.d.ts +35 -0
- package/dist/functions/file_write.d.ts.map +1 -0
- package/dist/functions/file_write.js +86 -0
- package/dist/functions/file_write.js.map +1 -0
- package/dist/functions/fsm.d.ts +3 -0
- package/dist/functions/fsm.d.ts.map +1 -0
- package/dist/functions/fsm.js +62 -0
- package/dist/functions/fsm.js.map +1 -0
- package/dist/functions/handoff_session_start.d.ts +26 -0
- package/dist/functions/handoff_session_start.d.ts.map +1 -0
- package/dist/functions/handoff_session_start.js +81 -0
- package/dist/functions/handoff_session_start.js.map +1 -0
- package/dist/functions/http_request.d.ts +23 -0
- package/dist/functions/http_request.d.ts.map +1 -0
- package/dist/functions/http_request.js +59 -0
- package/dist/functions/http_request.js.map +1 -0
- package/dist/functions/index.d.ts +24 -0
- package/dist/functions/index.d.ts.map +1 -0
- package/dist/functions/index.js +28 -0
- package/dist/functions/index.js.map +1 -0
- package/dist/functions/is_automation_mode.d.ts +42 -0
- package/dist/functions/is_automation_mode.d.ts.map +1 -0
- package/dist/functions/is_automation_mode.js +53 -0
- package/dist/functions/is_automation_mode.js.map +1 -0
- package/dist/functions/lessons.d.ts +84 -0
- package/dist/functions/lessons.d.ts.map +1 -0
- package/dist/functions/lessons.js +241 -0
- package/dist/functions/lessons.js.map +1 -0
- package/dist/functions/llm.d.ts +44 -0
- package/dist/functions/llm.d.ts.map +1 -0
- package/dist/functions/llm.js +160 -0
- package/dist/functions/llm.js.map +1 -0
- package/dist/functions/path_exists.d.ts +60 -0
- package/dist/functions/path_exists.d.ts.map +1 -0
- package/dist/functions/path_exists.js +129 -0
- package/dist/functions/path_exists.js.map +1 -0
- package/dist/functions/rag.d.ts +39 -0
- package/dist/functions/rag.d.ts.map +1 -0
- package/dist/functions/rag.js +142 -0
- package/dist/functions/rag.js.map +1 -0
- package/dist/functions/recall_pre_inject.d.ts +40 -0
- package/dist/functions/recall_pre_inject.d.ts.map +1 -0
- package/dist/functions/recall_pre_inject.js +180 -0
- package/dist/functions/recall_pre_inject.js.map +1 -0
- package/dist/functions/registry.d.ts +90 -0
- package/dist/functions/registry.d.ts.map +1 -0
- package/dist/functions/registry.js +90 -0
- package/dist/functions/registry.js.map +1 -0
- package/dist/functions/scope_dwell.d.ts +33 -0
- package/dist/functions/scope_dwell.d.ts.map +1 -0
- package/dist/functions/scope_dwell.js +76 -0
- package/dist/functions/scope_dwell.js.map +1 -0
- package/dist/functions/session_status_manifest.d.ts +47 -0
- package/dist/functions/session_status_manifest.d.ts.map +1 -0
- package/dist/functions/session_status_manifest.js +148 -0
- package/dist/functions/session_status_manifest.js.map +1 -0
- package/dist/functions/session_tool_history.d.ts +46 -0
- package/dist/functions/session_tool_history.d.ts.map +1 -0
- package/dist/functions/session_tool_history.js +52 -0
- package/dist/functions/session_tool_history.js.map +1 -0
- package/dist/functions/shell_exec.d.ts +23 -0
- package/dist/functions/shell_exec.d.ts.map +1 -0
- package/dist/functions/shell_exec.js +58 -0
- package/dist/functions/shell_exec.js.map +1 -0
- package/dist/functions/state.d.ts +29 -0
- package/dist/functions/state.d.ts.map +1 -0
- package/dist/functions/state.js +165 -0
- package/dist/functions/state.js.map +1 -0
- package/dist/functions/subagent.d.ts +107 -0
- package/dist/functions/subagent.d.ts.map +1 -0
- package/dist/functions/subagent.js +202 -0
- package/dist/functions/subagent.js.map +1 -0
- package/dist/functions/text_pattern_match.d.ts +54 -0
- package/dist/functions/text_pattern_match.d.ts.map +1 -0
- package/dist/functions/text_pattern_match.js +89 -0
- package/dist/functions/text_pattern_match.js.map +1 -0
- package/dist/functions/verdict.d.ts +39 -0
- package/dist/functions/verdict.d.ts.map +1 -0
- package/dist/functions/verdict.js +105 -0
- package/dist/functions/verdict.js.map +1 -0
- package/dist/hooks/drift-catalog.d.ts +68 -0
- package/dist/hooks/drift-catalog.d.ts.map +1 -0
- package/dist/hooks/drift-catalog.js +184 -0
- package/dist/hooks/drift-catalog.js.map +1 -0
- package/dist/hooks/drift-catalog.test.js +154 -0
- package/dist/hooks/drift-patterns.d.ts +110 -0
- package/dist/hooks/drift-patterns.d.ts.map +1 -0
- package/dist/hooks/drift-patterns.js +289 -0
- package/dist/hooks/drift-patterns.js.map +1 -0
- package/dist/hooks/drift-patterns.test.js +325 -0
- package/dist/hooks/engine-vocab-gate.d.ts +108 -0
- package/dist/hooks/engine-vocab-gate.d.ts.map +1 -0
- package/dist/hooks/engine-vocab-gate.js +225 -0
- package/dist/hooks/engine-vocab-gate.js.map +1 -0
- package/dist/hooks/engine-vocab-gate.test.js +170 -0
- package/dist/hooks/heartbeat.d.ts +107 -0
- package/dist/hooks/heartbeat.d.ts.map +1 -0
- package/dist/hooks/heartbeat.js +316 -0
- package/dist/hooks/heartbeat.js.map +1 -0
- package/dist/hooks/heartbeat.test.js +393 -0
- package/dist/hooks/honesty-ledger-session-scope.test.js +100 -0
- package/dist/hooks/honesty-ledger.d.ts +123 -0
- package/dist/hooks/honesty-ledger.d.ts.map +1 -0
- package/dist/hooks/honesty-ledger.js +226 -0
- package/dist/hooks/honesty-ledger.js.map +1 -0
- package/dist/hooks/honesty-ledger.test.js +466 -0
- package/dist/hooks/inline-report-check.d.ts +63 -0
- package/dist/hooks/inline-report-check.d.ts.map +1 -0
- package/dist/hooks/inline-report-check.js +88 -0
- package/dist/hooks/inline-report-check.js.map +1 -0
- package/dist/hooks/inline-report-check.test.js +96 -0
- package/dist/hooks/pre-tool-use.d.ts +62 -0
- package/dist/hooks/pre-tool-use.d.ts.map +1 -0
- package/dist/hooks/pre-tool-use.js +342 -0
- package/dist/hooks/pre-tool-use.js.map +1 -0
- package/dist/hooks/pre-tool-use.test.js +134 -0
- package/dist/hooks/session-end.d.ts +15 -0
- package/dist/hooks/session-end.d.ts.map +1 -0
- package/dist/hooks/session-end.js +60 -0
- package/dist/hooks/session-end.js.map +1 -0
- package/dist/hooks/session-end.test.js +52 -0
- package/dist/hooks/stop.d.ts +35 -0
- package/dist/hooks/stop.d.ts.map +1 -0
- package/dist/hooks/stop.js +136 -0
- package/dist/hooks/stop.js.map +1 -0
- package/dist/hooks/transcript-active-task.test.js +342 -0
- package/dist/hooks/transcript.d.ts +26 -0
- package/dist/hooks/transcript.d.ts.map +1 -0
- package/dist/hooks/transcript.js +266 -0
- package/dist/hooks/transcript.js.map +1 -0
- package/dist/hooks/transcript.test.js +103 -0
- package/dist/hooks/user-prompt-submit.d.ts +74 -0
- package/dist/hooks/user-prompt-submit.d.ts.map +1 -0
- package/dist/hooks/user-prompt-submit.js +256 -0
- package/dist/hooks/user-prompt-submit.js.map +1 -0
- package/dist/hooks/user-prompt-submit.test.js +118 -0
- package/dist/hooks/versioning-gate.d.ts +101 -0
- package/dist/hooks/versioning-gate.d.ts.map +1 -0
- package/dist/hooks/versioning-gate.js +245 -0
- package/dist/hooks/versioning-gate.js.map +1 -0
- package/dist/hooks/versioning-gate.test.js +368 -0
- package/dist/hooks/workflow-gate.d.ts +64 -0
- package/dist/hooks/workflow-gate.d.ts.map +1 -0
- package/dist/hooks/workflow-gate.js +152 -0
- package/dist/hooks/workflow-gate.js.map +1 -0
- package/dist/hooks/workflow-gate.test.js +197 -0
- package/dist/hooks-cli.d.ts +25 -0
- package/dist/hooks-cli.d.ts.map +1 -0
- package/dist/hooks-cli.js +286 -0
- package/dist/hooks-cli.js.map +1 -0
- package/dist/hooks-cli.test.js +148 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -0
- package/dist/mcp/anchor.d.ts +20 -0
- package/dist/mcp/anchor.d.ts.map +1 -0
- package/dist/mcp/anchor.js +25 -0
- package/dist/mcp/anchor.js.map +1 -0
- package/dist/mcp/chat-bridge-server.d.ts +45 -0
- package/dist/mcp/chat-bridge-server.d.ts.map +1 -0
- package/dist/mcp/chat-bridge-server.js +475 -0
- package/dist/mcp/chat-bridge-server.js.map +1 -0
- package/dist/mcp/chat_bridge_subscriber.d.ts +101 -0
- package/dist/mcp/chat_bridge_subscriber.d.ts.map +1 -0
- package/dist/mcp/chat_bridge_subscriber.js +227 -0
- package/dist/mcp/chat_bridge_subscriber.js.map +1 -0
- package/dist/mcp/index.d.ts +21 -0
- package/dist/mcp/index.d.ts.map +1 -0
- package/dist/mcp/index.js +18 -0
- package/dist/mcp/index.js.map +1 -0
- package/dist/mcp/server.d.ts +39 -0
- package/dist/mcp/server.d.ts.map +1 -0
- package/dist/mcp/server.js +298 -0
- package/dist/mcp/server.js.map +1 -0
- package/dist/mcp/tools/forget.d.ts +45 -0
- package/dist/mcp/tools/forget.d.ts.map +1 -0
- package/dist/mcp/tools/forget.js +45 -0
- package/dist/mcp/tools/forget.js.map +1 -0
- package/dist/mcp/tools/inspect-skill.d.ts +28 -0
- package/dist/mcp/tools/inspect-skill.d.ts.map +1 -0
- package/dist/mcp/tools/inspect-skill.js +70 -0
- package/dist/mcp/tools/inspect-skill.js.map +1 -0
- package/dist/mcp/tools/list-drift-events.d.ts +27 -0
- package/dist/mcp/tools/list-drift-events.d.ts.map +1 -0
- package/dist/mcp/tools/list-drift-events.js +38 -0
- package/dist/mcp/tools/list-drift-events.js.map +1 -0
- package/dist/mcp/tools/list-packs.d.ts +18 -0
- package/dist/mcp/tools/list-packs.d.ts.map +1 -0
- package/dist/mcp/tools/list-packs.js +29 -0
- package/dist/mcp/tools/list-packs.js.map +1 -0
- package/dist/mcp/tools/list-skills.d.ts +22 -0
- package/dist/mcp/tools/list-skills.d.ts.map +1 -0
- package/dist/mcp/tools/list-skills.js +42 -0
- package/dist/mcp/tools/list-skills.js.map +1 -0
- package/dist/mcp/tools/log_phase.d.ts +49 -0
- package/dist/mcp/tools/log_phase.d.ts.map +1 -0
- package/dist/mcp/tools/log_phase.js +67 -0
- package/dist/mcp/tools/log_phase.js.map +1 -0
- package/dist/mcp/tools/memorize.d.ts +79 -0
- package/dist/mcp/tools/memorize.d.ts.map +1 -0
- package/dist/mcp/tools/memorize.js +133 -0
- package/dist/mcp/tools/memorize.js.map +1 -0
- package/dist/mcp/tools/read-state.d.ts +24 -0
- package/dist/mcp/tools/read-state.d.ts.map +1 -0
- package/dist/mcp/tools/read-state.js +41 -0
- package/dist/mcp/tools/read-state.js.map +1 -0
- package/dist/mcp/tools/read-violations.d.ts +19 -0
- package/dist/mcp/tools/read-violations.d.ts.map +1 -0
- package/dist/mcp/tools/read-violations.js +36 -0
- package/dist/mcp/tools/read-violations.js.map +1 -0
- package/dist/mcp/tools/recall.d.ts +39 -0
- package/dist/mcp/tools/recall.d.ts.map +1 -0
- package/dist/mcp/tools/recall.js +54 -0
- package/dist/mcp/tools/recall.js.map +1 -0
- package/dist/mcp/tools/store-lesson.d.ts +49 -0
- package/dist/mcp/tools/store-lesson.d.ts.map +1 -0
- package/dist/mcp/tools/store-lesson.js +53 -0
- package/dist/mcp/tools/store-lesson.js.map +1 -0
- package/dist/mcp/tools/workgraph.d.ts +74 -0
- package/dist/mcp/tools/workgraph.d.ts.map +1 -0
- package/dist/mcp/tools/workgraph.js +43 -0
- package/dist/mcp/tools/workgraph.js.map +1 -0
- package/dist/models/cost_router.d.ts +116 -0
- package/dist/models/cost_router.d.ts.map +1 -0
- package/dist/models/cost_router.js +127 -0
- package/dist/models/cost_router.js.map +1 -0
- package/dist/models/dispatcher.d.ts +38 -0
- package/dist/models/dispatcher.d.ts.map +1 -0
- package/dist/models/dispatcher.js +76 -0
- package/dist/models/dispatcher.js.map +1 -0
- package/dist/models/index.d.ts +12 -0
- package/dist/models/index.d.ts.map +1 -0
- package/dist/models/index.js +5 -0
- package/dist/models/index.js.map +1 -0
- package/dist/models/load_config.d.ts +51 -0
- package/dist/models/load_config.d.ts.map +1 -0
- package/dist/models/load_config.js +99 -0
- package/dist/models/load_config.js.map +1 -0
- package/dist/models/strategies/_stub.d.ts +23 -0
- package/dist/models/strategies/_stub.d.ts.map +1 -0
- package/dist/models/strategies/_stub.js +30 -0
- package/dist/models/strategies/_stub.js.map +1 -0
- package/dist/models/strategies/api_anthropic.d.ts +68 -0
- package/dist/models/strategies/api_anthropic.d.ts.map +1 -0
- package/dist/models/strategies/api_anthropic.js +99 -0
- package/dist/models/strategies/api_anthropic.js.map +1 -0
- package/dist/models/strategies/api_openai.d.ts +57 -0
- package/dist/models/strategies/api_openai.d.ts.map +1 -0
- package/dist/models/strategies/api_openai.js +83 -0
- package/dist/models/strategies/api_openai.js.map +1 -0
- package/dist/models/strategies/local_ollama.d.ts +41 -0
- package/dist/models/strategies/local_ollama.d.ts.map +1 -0
- package/dist/models/strategies/local_ollama.js +60 -0
- package/dist/models/strategies/local_ollama.js.map +1 -0
- package/dist/models/strategies/mcp.d.ts +65 -0
- package/dist/models/strategies/mcp.d.ts.map +1 -0
- package/dist/models/strategies/mcp.js +86 -0
- package/dist/models/strategies/mcp.js.map +1 -0
- package/dist/models/strategies/subscription_cli.d.ts +48 -0
- package/dist/models/strategies/subscription_cli.d.ts.map +1 -0
- package/dist/models/strategies/subscription_cli.js +122 -0
- package/dist/models/strategies/subscription_cli.js.map +1 -0
- package/dist/models/strategies/subscription_sdk.d.ts +50 -0
- package/dist/models/strategies/subscription_sdk.d.ts.map +1 -0
- package/dist/models/strategies/subscription_sdk.js +65 -0
- package/dist/models/strategies/subscription_sdk.js.map +1 -0
- package/dist/models/types.d.ts +42 -0
- package/dist/models/types.d.ts.map +1 -0
- package/dist/models/types.js +23 -0
- package/dist/models/types.js.map +1 -0
- package/dist/origin.d.ts +16 -0
- package/dist/origin.d.ts.map +1 -0
- package/dist/origin.js +92 -0
- package/dist/origin.js.map +1 -0
- package/dist/packs/apply_extends.d.ts +47 -0
- package/dist/packs/apply_extends.d.ts.map +1 -0
- package/dist/packs/apply_extends.js +96 -0
- package/dist/packs/apply_extends.js.map +1 -0
- package/dist/packs/composite_resolver.d.ts +14 -0
- package/dist/packs/composite_resolver.d.ts.map +1 -0
- package/dist/packs/composite_resolver.js +131 -0
- package/dist/packs/composite_resolver.js.map +1 -0
- package/dist/packs/discovery.d.ts +98 -0
- package/dist/packs/discovery.d.ts.map +1 -0
- package/dist/packs/discovery.js +255 -0
- package/dist/packs/discovery.js.map +1 -0
- package/dist/packs/flows_compiler.d.ts +37 -0
- package/dist/packs/flows_compiler.d.ts.map +1 -0
- package/dist/packs/flows_compiler.js +55 -0
- package/dist/packs/flows_compiler.js.map +1 -0
- package/dist/packs/guards_compiler.d.ts +51 -0
- package/dist/packs/guards_compiler.d.ts.map +1 -0
- package/dist/packs/guards_compiler.js +56 -0
- package/dist/packs/guards_compiler.js.map +1 -0
- package/dist/packs/index.d.ts +18 -0
- package/dist/packs/index.d.ts.map +1 -0
- package/dist/packs/index.js +33 -0
- package/dist/packs/index.js.map +1 -0
- package/dist/packs/living_pack.d.ts +17 -0
- package/dist/packs/living_pack.d.ts.map +1 -0
- package/dist/packs/living_pack.js +41 -0
- package/dist/packs/living_pack.js.map +1 -0
- package/dist/packs/load_order.d.ts +32 -0
- package/dist/packs/load_order.d.ts.map +1 -0
- package/dist/packs/load_order.js +51 -0
- package/dist/packs/load_order.js.map +1 -0
- package/dist/packs/loader.d.ts +48 -0
- package/dist/packs/loader.d.ts.map +1 -0
- package/dist/packs/loader.js +357 -0
- package/dist/packs/loader.js.map +1 -0
- package/dist/packs/personal_revision.d.ts +82 -0
- package/dist/packs/personal_revision.d.ts.map +1 -0
- package/dist/packs/personal_revision.js +158 -0
- package/dist/packs/personal_revision.js.map +1 -0
- package/dist/packs/schemas/channels.d.ts +30 -0
- package/dist/packs/schemas/channels.d.ts.map +1 -0
- package/dist/packs/schemas/channels.js +44 -0
- package/dist/packs/schemas/channels.js.map +1 -0
- package/dist/packs/schemas/chat_agent.d.ts +78 -0
- package/dist/packs/schemas/chat_agent.d.ts.map +1 -0
- package/dist/packs/schemas/chat_agent.js +88 -0
- package/dist/packs/schemas/chat_agent.js.map +1 -0
- package/dist/packs/schemas/drift_response.d.ts +47 -0
- package/dist/packs/schemas/drift_response.d.ts.map +1 -0
- package/dist/packs/schemas/drift_response.js +65 -0
- package/dist/packs/schemas/drift_response.js.map +1 -0
- package/dist/packs/schemas/index.d.ts +39 -0
- package/dist/packs/schemas/index.d.ts.map +1 -0
- package/dist/packs/schemas/index.js +39 -0
- package/dist/packs/schemas/index.js.map +1 -0
- package/dist/packs/schemas/manifest.d.ts +1907 -0
- package/dist/packs/schemas/manifest.d.ts.map +1 -0
- package/dist/packs/schemas/manifest.js +532 -0
- package/dist/packs/schemas/manifest.js.map +1 -0
- package/dist/packs/schemas/models.d.ts +108 -0
- package/dist/packs/schemas/models.d.ts.map +1 -0
- package/dist/packs/schemas/models.js +67 -0
- package/dist/packs/schemas/models.js.map +1 -0
- package/dist/packs/schemas/notifications.d.ts +44 -0
- package/dist/packs/schemas/notifications.d.ts.map +1 -0
- package/dist/packs/schemas/notifications.js +66 -0
- package/dist/packs/schemas/notifications.js.map +1 -0
- package/dist/packs/schemas/skill.d.ts +740 -0
- package/dist/packs/schemas/skill.d.ts.map +1 -0
- package/dist/packs/schemas/skill.js +292 -0
- package/dist/packs/schemas/skill.js.map +1 -0
- package/dist/packs/schemas/team.d.ts +99 -0
- package/dist/packs/schemas/team.d.ts.map +1 -0
- package/dist/packs/schemas/team.js +63 -0
- package/dist/packs/schemas/team.js.map +1 -0
- package/dist/packs/seed_lessons_ingest.d.ts +30 -0
- package/dist/packs/seed_lessons_ingest.d.ts.map +1 -0
- package/dist/packs/seed_lessons_ingest.js +107 -0
- package/dist/packs/seed_lessons_ingest.js.map +1 -0
- package/dist/packs/validate_functions.d.ts +26 -0
- package/dist/packs/validate_functions.d.ts.map +1 -0
- package/dist/packs/validate_functions.js +91 -0
- package/dist/packs/validate_functions.js.map +1 -0
- package/dist/packs/validate_uniqueness.d.ts +16 -0
- package/dist/packs/validate_uniqueness.d.ts.map +1 -0
- package/dist/packs/validate_uniqueness.js +33 -0
- package/dist/packs/validate_uniqueness.js.map +1 -0
- package/dist/packs/verify_gates_compiler.d.ts +47 -0
- package/dist/packs/verify_gates_compiler.d.ts.map +1 -0
- package/dist/packs/verify_gates_compiler.js +59 -0
- package/dist/packs/verify_gates_compiler.js.map +1 -0
- package/dist/packs/yaml.d.ts +39 -0
- package/dist/packs/yaml.d.ts.map +1 -0
- package/dist/packs/yaml.js +79 -0
- package/dist/packs/yaml.js.map +1 -0
- package/dist/project-cli.d.ts +7 -0
- package/dist/project-cli.d.ts.map +1 -0
- package/dist/project-cli.js +145 -0
- package/dist/project-cli.js.map +1 -0
- package/dist/project.d.ts +127 -0
- package/dist/project.d.ts.map +1 -0
- package/dist/project.js +281 -0
- package/dist/project.js.map +1 -0
- package/dist/project.test.js +287 -0
- package/dist/rag/backend_factory.d.ts +59 -0
- package/dist/rag/backend_factory.d.ts.map +1 -0
- package/dist/rag/backend_factory.js +125 -0
- package/dist/rag/backend_factory.js.map +1 -0
- package/dist/rag/backends/claude_auto_memory.d.ts +46 -0
- package/dist/rag/backends/claude_auto_memory.d.ts.map +1 -0
- package/dist/rag/backends/claude_auto_memory.js +152 -0
- package/dist/rag/backends/claude_auto_memory.js.map +1 -0
- package/dist/rag/backends/libsql_lexical.d.ts +33 -0
- package/dist/rag/backends/libsql_lexical.d.ts.map +1 -0
- package/dist/rag/backends/libsql_lexical.js +164 -0
- package/dist/rag/backends/libsql_lexical.js.map +1 -0
- package/dist/rag/backends/libsql_qwen3.d.ts +8 -0
- package/dist/rag/backends/libsql_qwen3.d.ts.map +1 -0
- package/dist/rag/backends/libsql_qwen3.js +23 -0
- package/dist/rag/backends/libsql_qwen3.js.map +1 -0
- package/dist/rag/backends/libsql_store.d.ts +28 -0
- package/dist/rag/backends/libsql_store.d.ts.map +1 -0
- package/dist/rag/backends/libsql_store.js +246 -0
- package/dist/rag/backends/libsql_store.js.map +1 -0
- package/dist/rag/backends/loop_engine.d.ts +61 -0
- package/dist/rag/backends/loop_engine.d.ts.map +1 -0
- package/dist/rag/backends/loop_engine.js +160 -0
- package/dist/rag/backends/loop_engine.js.map +1 -0
- package/dist/rag/backends/perfile_source.d.ts +8 -0
- package/dist/rag/backends/perfile_source.d.ts.map +1 -0
- package/dist/rag/backends/perfile_source.js +78 -0
- package/dist/rag/backends/perfile_source.js.map +1 -0
- package/dist/rag/config.d.ts +38 -0
- package/dist/rag/config.d.ts.map +1 -0
- package/dist/rag/config.js +127 -0
- package/dist/rag/config.js.map +1 -0
- package/dist/rag/embedders/fastembed.d.ts +3 -0
- package/dist/rag/embedders/fastembed.d.ts.map +1 -0
- package/dist/rag/embedders/fastembed.js +51 -0
- package/dist/rag/embedders/fastembed.js.map +1 -0
- package/dist/rag/embedders/ollama_qwen3.d.ts +6 -0
- package/dist/rag/embedders/ollama_qwen3.d.ts.map +1 -0
- package/dist/rag/embedders/ollama_qwen3.js +30 -0
- package/dist/rag/embedders/ollama_qwen3.js.map +1 -0
- package/dist/rag/embedders/types.d.ts +20 -0
- package/dist/rag/embedders/types.d.ts.map +1 -0
- package/dist/rag/embedders/types.js +2 -0
- package/dist/rag/embedders/types.js.map +1 -0
- package/dist/rag/index.d.ts +18 -0
- package/dist/rag/index.d.ts.map +1 -0
- package/dist/rag/index.js +16 -0
- package/dist/rag/index.js.map +1 -0
- package/dist/rag/memory/compress.d.ts +36 -0
- package/dist/rag/memory/compress.d.ts.map +1 -0
- package/dist/rag/memory/compress.js +158 -0
- package/dist/rag/memory/compress.js.map +1 -0
- package/dist/rag/memory/consolidate.d.ts +32 -0
- package/dist/rag/memory/consolidate.d.ts.map +1 -0
- package/dist/rag/memory/consolidate.js +77 -0
- package/dist/rag/memory/consolidate.js.map +1 -0
- package/dist/rag/memory/cycle.d.ts +24 -0
- package/dist/rag/memory/cycle.d.ts.map +1 -0
- package/dist/rag/memory/cycle.js +50 -0
- package/dist/rag/memory/cycle.js.map +1 -0
- package/dist/rag/memory/store.d.ts +48 -0
- package/dist/rag/memory/store.d.ts.map +1 -0
- package/dist/rag/memory/store.js +126 -0
- package/dist/rag/memory/store.js.map +1 -0
- package/dist/rag/migrate_memories.d.ts +22 -0
- package/dist/rag/migrate_memories.d.ts.map +1 -0
- package/dist/rag/migrate_memories.js +53 -0
- package/dist/rag/migrate_memories.js.map +1 -0
- package/dist/rag/ollama_client.d.ts +28 -0
- package/dist/rag/ollama_client.d.ts.map +1 -0
- package/dist/rag/ollama_client.js +43 -0
- package/dist/rag/ollama_client.js.map +1 -0
- package/dist/rag/rrf.d.ts +20 -0
- package/dist/rag/rrf.d.ts.map +1 -0
- package/dist/rag/rrf.js +37 -0
- package/dist/rag/rrf.js.map +1 -0
- package/dist/rag/scope.d.ts +10 -0
- package/dist/rag/scope.d.ts.map +1 -0
- package/dist/rag/scope.js +45 -0
- package/dist/rag/scope.js.map +1 -0
- package/dist/rag/types.d.ts +76 -0
- package/dist/rag/types.d.ts.map +1 -0
- package/dist/rag/types.js +43 -0
- package/dist/rag/types.js.map +1 -0
- package/dist/rag/wedge/gate.d.ts +69 -0
- package/dist/rag/wedge/gate.d.ts.map +1 -0
- package/dist/rag/wedge/gate.js +104 -0
- package/dist/rag/wedge/gate.js.map +1 -0
- package/dist/rag/wedge/migrate.d.ts +7 -0
- package/dist/rag/wedge/migrate.d.ts.map +1 -0
- package/dist/rag/wedge/migrate.js +21 -0
- package/dist/rag/wedge/migrate.js.map +1 -0
- package/dist/rag/wedge/paths.d.ts +3 -0
- package/dist/rag/wedge/paths.d.ts.map +1 -0
- package/dist/rag/wedge/paths.js +13 -0
- package/dist/rag/wedge/paths.js.map +1 -0
- package/dist/rag/wedge/source.d.ts +11 -0
- package/dist/rag/wedge/source.d.ts.map +1 -0
- package/dist/rag/wedge/source.js +111 -0
- package/dist/rag/wedge/source.js.map +1 -0
- package/dist/rag/wedge/store.d.ts +64 -0
- package/dist/rag/wedge/store.d.ts.map +1 -0
- package/dist/rag/wedge/store.js +255 -0
- package/dist/rag/wedge/store.js.map +1 -0
- package/dist/recall.d.ts +82 -0
- package/dist/recall.d.ts.map +1 -0
- package/dist/recall.js +81 -0
- package/dist/recall.js.map +1 -0
- package/dist/runtime/agent_bridge/agent_loop.d.ts +151 -0
- package/dist/runtime/agent_bridge/agent_loop.d.ts.map +1 -0
- package/dist/runtime/agent_bridge/agent_loop.js +229 -0
- package/dist/runtime/agent_bridge/agent_loop.js.map +1 -0
- package/dist/runtime/agent_bridge/agent_loop_subscription.d.ts +144 -0
- package/dist/runtime/agent_bridge/agent_loop_subscription.d.ts.map +1 -0
- package/dist/runtime/agent_bridge/agent_loop_subscription.js +224 -0
- package/dist/runtime/agent_bridge/agent_loop_subscription.js.map +1 -0
- package/dist/runtime/agent_bridge/autospawn.d.ts +131 -0
- package/dist/runtime/agent_bridge/autospawn.d.ts.map +1 -0
- package/dist/runtime/agent_bridge/autospawn.js +251 -0
- package/dist/runtime/agent_bridge/autospawn.js.map +1 -0
- package/dist/runtime/agent_bridge/batch.d.ts +135 -0
- package/dist/runtime/agent_bridge/batch.d.ts.map +1 -0
- package/dist/runtime/agent_bridge/batch.js +197 -0
- package/dist/runtime/agent_bridge/batch.js.map +1 -0
- package/dist/runtime/agent_bridge/cli.d.ts +54 -0
- package/dist/runtime/agent_bridge/cli.d.ts.map +1 -0
- package/dist/runtime/agent_bridge/cli.js +272 -0
- package/dist/runtime/agent_bridge/cli.js.map +1 -0
- package/dist/runtime/agent_bridge/daemon.d.ts +198 -0
- package/dist/runtime/agent_bridge/daemon.d.ts.map +1 -0
- package/dist/runtime/agent_bridge/daemon.js +452 -0
- package/dist/runtime/agent_bridge/daemon.js.map +1 -0
- package/dist/runtime/agent_bridge/dispatcher.d.ts +170 -0
- package/dist/runtime/agent_bridge/dispatcher.d.ts.map +1 -0
- package/dist/runtime/agent_bridge/dispatcher.js +333 -0
- package/dist/runtime/agent_bridge/dispatcher.js.map +1 -0
- package/dist/runtime/agent_bridge/event_bus.d.ts +44 -0
- package/dist/runtime/agent_bridge/event_bus.d.ts.map +1 -0
- package/dist/runtime/agent_bridge/event_bus.js +56 -0
- package/dist/runtime/agent_bridge/event_bus.js.map +1 -0
- package/dist/runtime/agent_bridge/headless_lease.d.ts +113 -0
- package/dist/runtime/agent_bridge/headless_lease.d.ts.map +1 -0
- package/dist/runtime/agent_bridge/headless_lease.js +190 -0
- package/dist/runtime/agent_bridge/headless_lease.js.map +1 -0
- package/dist/runtime/agent_bridge/index.d.ts +38 -0
- package/dist/runtime/agent_bridge/index.d.ts.map +1 -0
- package/dist/runtime/agent_bridge/index.js +38 -0
- package/dist/runtime/agent_bridge/index.js.map +1 -0
- package/dist/runtime/agent_bridge/mcp_config.d.ts +68 -0
- package/dist/runtime/agent_bridge/mcp_config.d.ts.map +1 -0
- package/dist/runtime/agent_bridge/mcp_config.js +102 -0
- package/dist/runtime/agent_bridge/mcp_config.js.map +1 -0
- package/dist/runtime/agent_bridge/pack_binding.d.ts +84 -0
- package/dist/runtime/agent_bridge/pack_binding.d.ts.map +1 -0
- package/dist/runtime/agent_bridge/pack_binding.js +202 -0
- package/dist/runtime/agent_bridge/pack_binding.js.map +1 -0
- package/dist/runtime/agent_bridge/session_manager.d.ts +133 -0
- package/dist/runtime/agent_bridge/session_manager.d.ts.map +1 -0
- package/dist/runtime/agent_bridge/session_manager.js +226 -0
- package/dist/runtime/agent_bridge/session_manager.js.map +1 -0
- package/dist/runtime/agent_bridge/session_persistence.d.ts +95 -0
- package/dist/runtime/agent_bridge/session_persistence.d.ts.map +1 -0
- package/dist/runtime/agent_bridge/session_persistence.js +178 -0
- package/dist/runtime/agent_bridge/session_persistence.js.map +1 -0
- package/dist/runtime/agent_bridge/tool_dispatcher.d.ts +60 -0
- package/dist/runtime/agent_bridge/tool_dispatcher.d.ts.map +1 -0
- package/dist/runtime/agent_bridge/tool_dispatcher.js +104 -0
- package/dist/runtime/agent_bridge/tool_dispatcher.js.map +1 -0
- package/dist/runtime/agent_bridge/tools/chat_send.d.ts +56 -0
- package/dist/runtime/agent_bridge/tools/chat_send.d.ts.map +1 -0
- package/dist/runtime/agent_bridge/tools/chat_send.js +101 -0
- package/dist/runtime/agent_bridge/tools/chat_send.js.map +1 -0
- package/dist/runtime/agent_bridge/tools/index.d.ts +38 -0
- package/dist/runtime/agent_bridge/tools/index.d.ts.map +1 -0
- package/dist/runtime/agent_bridge/tools/index.js +37 -0
- package/dist/runtime/agent_bridge/tools/index.js.map +1 -0
- package/dist/runtime/agent_bridge/tools/recall.d.ts +38 -0
- package/dist/runtime/agent_bridge/tools/recall.d.ts.map +1 -0
- package/dist/runtime/agent_bridge/tools/recall.js +90 -0
- package/dist/runtime/agent_bridge/tools/recall.js.map +1 -0
- package/dist/runtime/agent_bridge/tools/store_lesson.d.ts +41 -0
- package/dist/runtime/agent_bridge/tools/store_lesson.d.ts.map +1 -0
- package/dist/runtime/agent_bridge/tools/store_lesson.js +103 -0
- package/dist/runtime/agent_bridge/tools/store_lesson.js.map +1 -0
- package/dist/runtime/agent_bridge/transport_bridge.d.ts +133 -0
- package/dist/runtime/agent_bridge/transport_bridge.d.ts.map +1 -0
- package/dist/runtime/agent_bridge/transport_bridge.js +371 -0
- package/dist/runtime/agent_bridge/transport_bridge.js.map +1 -0
- package/dist/runtime/agent_bridge/types.d.ts +320 -0
- package/dist/runtime/agent_bridge/types.d.ts.map +1 -0
- package/dist/runtime/agent_bridge/types.js +157 -0
- package/dist/runtime/agent_bridge/types.js.map +1 -0
- package/dist/runtime/atomic_write.d.ts +15 -0
- package/dist/runtime/atomic_write.d.ts.map +1 -0
- package/dist/runtime/atomic_write.js +23 -0
- package/dist/runtime/atomic_write.js.map +1 -0
- package/dist/runtime/audit_adapters.d.ts +97 -0
- package/dist/runtime/audit_adapters.d.ts.map +1 -0
- package/dist/runtime/audit_adapters.js +190 -0
- package/dist/runtime/audit_adapters.js.map +1 -0
- package/dist/runtime/audit_log.d.ts +85 -0
- package/dist/runtime/audit_log.d.ts.map +1 -0
- package/dist/runtime/audit_log.js +215 -0
- package/dist/runtime/audit_log.js.map +1 -0
- package/dist/runtime/auto_correct.d.ts +67 -0
- package/dist/runtime/auto_correct.d.ts.map +1 -0
- package/dist/runtime/auto_correct.js +122 -0
- package/dist/runtime/auto_correct.js.map +1 -0
- package/dist/runtime/automation_state.d.ts +41 -0
- package/dist/runtime/automation_state.d.ts.map +1 -0
- package/dist/runtime/automation_state.js +68 -0
- package/dist/runtime/automation_state.js.map +1 -0
- package/dist/runtime/bootstrap.d.ts +87 -0
- package/dist/runtime/bootstrap.d.ts.map +1 -0
- package/dist/runtime/bootstrap.js +381 -0
- package/dist/runtime/bootstrap.js.map +1 -0
- package/dist/runtime/builtin_denylist.d.ts +25 -0
- package/dist/runtime/builtin_denylist.d.ts.map +1 -0
- package/dist/runtime/builtin_denylist.js +98 -0
- package/dist/runtime/builtin_denylist.js.map +1 -0
- package/dist/runtime/capability_gate.d.ts +86 -0
- package/dist/runtime/capability_gate.d.ts.map +1 -0
- package/dist/runtime/capability_gate.js +295 -0
- package/dist/runtime/capability_gate.js.map +1 -0
- package/dist/runtime/chain_state.d.ts +124 -0
- package/dist/runtime/chain_state.d.ts.map +1 -0
- package/dist/runtime/chain_state.js +189 -0
- package/dist/runtime/chain_state.js.map +1 -0
- package/dist/runtime/chat/claim_lease.d.ts +35 -0
- package/dist/runtime/chat/claim_lease.d.ts.map +1 -0
- package/dist/runtime/chat/claim_lease.js +65 -0
- package/dist/runtime/chat/claim_lease.js.map +1 -0
- package/dist/runtime/chat/inbound_watch.d.ts +58 -0
- package/dist/runtime/chat/inbound_watch.d.ts.map +1 -0
- package/dist/runtime/chat/inbound_watch.js +194 -0
- package/dist/runtime/chat/inbound_watch.js.map +1 -0
- package/dist/runtime/chat/inbox.d.ts +161 -0
- package/dist/runtime/chat/inbox.d.ts.map +1 -0
- package/dist/runtime/chat/inbox.js +167 -0
- package/dist/runtime/chat/inbox.js.map +1 -0
- package/dist/runtime/chat/inbox_drain.d.ts +43 -0
- package/dist/runtime/chat/inbox_drain.d.ts.map +1 -0
- package/dist/runtime/chat/inbox_drain.js +97 -0
- package/dist/runtime/chat/inbox_drain.js.map +1 -0
- package/dist/runtime/chat/inbox_inject.d.ts +64 -0
- package/dist/runtime/chat/inbox_inject.d.ts.map +1 -0
- package/dist/runtime/chat/inbox_inject.js +120 -0
- package/dist/runtime/chat/inbox_inject.js.map +1 -0
- package/dist/runtime/chat/inbox_writer.d.ts +35 -0
- package/dist/runtime/chat/inbox_writer.d.ts.map +1 -0
- package/dist/runtime/chat/inbox_writer.js +69 -0
- package/dist/runtime/chat/inbox_writer.js.map +1 -0
- package/dist/runtime/chat/live_session_lease.d.ts +66 -0
- package/dist/runtime/chat/live_session_lease.d.ts.map +1 -0
- package/dist/runtime/chat/live_session_lease.js +110 -0
- package/dist/runtime/chat/live_session_lease.js.map +1 -0
- package/dist/runtime/chat/session_routing.d.ts +64 -0
- package/dist/runtime/chat/session_routing.d.ts.map +1 -0
- package/dist/runtime/chat/session_routing.js +95 -0
- package/dist/runtime/chat/session_routing.js.map +1 -0
- package/dist/runtime/chat/watch.d.ts +72 -0
- package/dist/runtime/chat/watch.d.ts.map +1 -0
- package/dist/runtime/chat/watch.js +143 -0
- package/dist/runtime/chat/watch.js.map +1 -0
- package/dist/runtime/chat/watch_cli.d.ts +49 -0
- package/dist/runtime/chat/watch_cli.d.ts.map +1 -0
- package/dist/runtime/chat/watch_cli.js +124 -0
- package/dist/runtime/chat/watch_cli.js.map +1 -0
- package/dist/runtime/compression_orchestrator.d.ts +75 -0
- package/dist/runtime/compression_orchestrator.d.ts.map +1 -0
- package/dist/runtime/compression_orchestrator.js +127 -0
- package/dist/runtime/compression_orchestrator.js.map +1 -0
- package/dist/runtime/context_inherit.d.ts +65 -0
- package/dist/runtime/context_inherit.d.ts.map +1 -0
- package/dist/runtime/context_inherit.js +76 -0
- package/dist/runtime/context_inherit.js.map +1 -0
- package/dist/runtime/daemon.d.ts +184 -0
- package/dist/runtime/daemon.d.ts.map +1 -0
- package/dist/runtime/daemon.js +460 -0
- package/dist/runtime/daemon.js.map +1 -0
- package/dist/runtime/deliver_only.d.ts +68 -0
- package/dist/runtime/deliver_only.d.ts.map +1 -0
- package/dist/runtime/deliver_only.js +98 -0
- package/dist/runtime/deliver_only.js.map +1 -0
- package/dist/runtime/destination_scheduler.d.ts +52 -0
- package/dist/runtime/destination_scheduler.d.ts.map +1 -0
- package/dist/runtime/destination_scheduler.js +156 -0
- package/dist/runtime/destination_scheduler.js.map +1 -0
- package/dist/runtime/detection.d.ts +32 -0
- package/dist/runtime/detection.d.ts.map +1 -0
- package/dist/runtime/detection.js +113 -0
- package/dist/runtime/detection.js.map +1 -0
- package/dist/runtime/drift_catalog.d.ts +69 -0
- package/dist/runtime/drift_catalog.d.ts.map +1 -0
- package/dist/runtime/drift_catalog.js +152 -0
- package/dist/runtime/drift_catalog.js.map +1 -0
- package/dist/runtime/drift_response.d.ts +82 -0
- package/dist/runtime/drift_response.d.ts.map +1 -0
- package/dist/runtime/drift_response.js +108 -0
- package/dist/runtime/drift_response.js.map +1 -0
- package/dist/runtime/durable/canonical_json.d.ts +47 -0
- package/dist/runtime/durable/canonical_json.d.ts.map +1 -0
- package/dist/runtime/durable/canonical_json.js +127 -0
- package/dist/runtime/durable/canonical_json.js.map +1 -0
- package/dist/runtime/durable/checkpoint_store.d.ts +228 -0
- package/dist/runtime/durable/checkpoint_store.d.ts.map +1 -0
- package/dist/runtime/durable/checkpoint_store.js +415 -0
- package/dist/runtime/durable/checkpoint_store.js.map +1 -0
- package/dist/runtime/durable/index.d.ts +36 -0
- package/dist/runtime/durable/index.d.ts.map +1 -0
- package/dist/runtime/durable/index.js +36 -0
- package/dist/runtime/durable/index.js.map +1 -0
- package/dist/runtime/durable/memo_cache.d.ts +195 -0
- package/dist/runtime/durable/memo_cache.d.ts.map +1 -0
- package/dist/runtime/durable/memo_cache.js +364 -0
- package/dist/runtime/durable/memo_cache.js.map +1 -0
- package/dist/runtime/durable/resumer.d.ts +131 -0
- package/dist/runtime/durable/resumer.d.ts.map +1 -0
- package/dist/runtime/durable/resumer.js +190 -0
- package/dist/runtime/durable/resumer.js.map +1 -0
- package/dist/runtime/durable/run_id.d.ts +50 -0
- package/dist/runtime/durable/run_id.d.ts.map +1 -0
- package/dist/runtime/durable/run_id.js +52 -0
- package/dist/runtime/durable/run_id.js.map +1 -0
- package/dist/runtime/escalate.d.ts +89 -0
- package/dist/runtime/escalate.d.ts.map +1 -0
- package/dist/runtime/escalate.js +118 -0
- package/dist/runtime/escalate.js.map +1 -0
- package/dist/runtime/evaluator/expression/ast.d.ts +57 -0
- package/dist/runtime/evaluator/expression/ast.d.ts.map +1 -0
- package/dist/runtime/evaluator/expression/ast.js +156 -0
- package/dist/runtime/evaluator/expression/ast.js.map +1 -0
- package/dist/runtime/evaluator/expression/cache.d.ts +40 -0
- package/dist/runtime/evaluator/expression/cache.d.ts.map +1 -0
- package/dist/runtime/evaluator/expression/cache.js +46 -0
- package/dist/runtime/evaluator/expression/cache.js.map +1 -0
- package/dist/runtime/evaluator/expression/functions.d.ts +61 -0
- package/dist/runtime/evaluator/expression/functions.d.ts.map +1 -0
- package/dist/runtime/evaluator/expression/functions.js +143 -0
- package/dist/runtime/evaluator/expression/functions.js.map +1 -0
- package/dist/runtime/evaluator/expression/index.d.ts +86 -0
- package/dist/runtime/evaluator/expression/index.d.ts.map +1 -0
- package/dist/runtime/evaluator/expression/index.js +144 -0
- package/dist/runtime/evaluator/expression/index.js.map +1 -0
- package/dist/runtime/evaluator/expression/interpreter.d.ts +83 -0
- package/dist/runtime/evaluator/expression/interpreter.d.ts.map +1 -0
- package/dist/runtime/evaluator/expression/interpreter.js +191 -0
- package/dist/runtime/evaluator/expression/interpreter.js.map +1 -0
- package/dist/runtime/evaluator/expression/lexer.d.ts +63 -0
- package/dist/runtime/evaluator/expression/lexer.d.ts.map +1 -0
- package/dist/runtime/evaluator/expression/lexer.js +98 -0
- package/dist/runtime/evaluator/expression/lexer.js.map +1 -0
- package/dist/runtime/evaluator/expression/parser.d.ts +76 -0
- package/dist/runtime/evaluator/expression/parser.d.ts.map +1 -0
- package/dist/runtime/evaluator/expression/parser.js +169 -0
- package/dist/runtime/evaluator/expression/parser.js.map +1 -0
- package/dist/runtime/evaluator.d.ts +112 -0
- package/dist/runtime/evaluator.d.ts.map +1 -0
- package/dist/runtime/evaluator.js +520 -0
- package/dist/runtime/evaluator.js.map +1 -0
- package/dist/runtime/event.d.ts +535 -0
- package/dist/runtime/event.d.ts.map +1 -0
- package/dist/runtime/event.js +303 -0
- package/dist/runtime/event.js.map +1 -0
- package/dist/runtime/failure_handling.d.ts +68 -0
- package/dist/runtime/failure_handling.d.ts.map +1 -0
- package/dist/runtime/failure_handling.js +103 -0
- package/dist/runtime/failure_handling.js.map +1 -0
- package/dist/runtime/fsm.d.ts +120 -0
- package/dist/runtime/fsm.d.ts.map +1 -0
- package/dist/runtime/fsm.js +92 -0
- package/dist/runtime/fsm.js.map +1 -0
- package/dist/runtime/fsm_state.d.ts +42 -0
- package/dist/runtime/fsm_state.d.ts.map +1 -0
- package/dist/runtime/fsm_state.js +114 -0
- package/dist/runtime/fsm_state.js.map +1 -0
- package/dist/runtime/handoff/collect.d.ts +64 -0
- package/dist/runtime/handoff/collect.d.ts.map +1 -0
- package/dist/runtime/handoff/collect.js +211 -0
- package/dist/runtime/handoff/collect.js.map +1 -0
- package/dist/runtime/handoff/index.d.ts +21 -0
- package/dist/runtime/handoff/index.d.ts.map +1 -0
- package/dist/runtime/handoff/index.js +33 -0
- package/dist/runtime/handoff/index.js.map +1 -0
- package/dist/runtime/handoff/narrate.d.ts +19 -0
- package/dist/runtime/handoff/narrate.d.ts.map +1 -0
- package/dist/runtime/handoff/narrate.js +44 -0
- package/dist/runtime/handoff/narrate.js.map +1 -0
- package/dist/runtime/handoff/render.d.ts +25 -0
- package/dist/runtime/handoff/render.d.ts.map +1 -0
- package/dist/runtime/handoff/render.js +162 -0
- package/dist/runtime/handoff/render.js.map +1 -0
- package/dist/runtime/handoff/substance.d.ts +19 -0
- package/dist/runtime/handoff/substance.d.ts.map +1 -0
- package/dist/runtime/handoff/substance.js +48 -0
- package/dist/runtime/handoff/substance.js.map +1 -0
- package/dist/runtime/handoff/write.d.ts +39 -0
- package/dist/runtime/handoff/write.d.ts.map +1 -0
- package/dist/runtime/handoff/write.js +131 -0
- package/dist/runtime/handoff/write.js.map +1 -0
- package/dist/runtime/hooks/active_task_mirror.d.ts +70 -0
- package/dist/runtime/hooks/active_task_mirror.d.ts.map +1 -0
- package/dist/runtime/hooks/active_task_mirror.js +226 -0
- package/dist/runtime/hooks/active_task_mirror.js.map +1 -0
- package/dist/runtime/hooks/apply_patch.d.ts +27 -0
- package/dist/runtime/hooks/apply_patch.d.ts.map +1 -0
- package/dist/runtime/hooks/apply_patch.js +54 -0
- package/dist/runtime/hooks/apply_patch.js.map +1 -0
- package/dist/runtime/hooks/dispatch.d.ts +152 -0
- package/dist/runtime/hooks/dispatch.d.ts.map +1 -0
- package/dist/runtime/hooks/dispatch.js +468 -0
- package/dist/runtime/hooks/dispatch.js.map +1 -0
- package/dist/runtime/hooks/hook_output.d.ts +40 -0
- package/dist/runtime/hooks/hook_output.d.ts.map +1 -0
- package/dist/runtime/hooks/hook_output.js +50 -0
- package/dist/runtime/hooks/hook_output.js.map +1 -0
- package/dist/runtime/hooks/memory_reconcile.d.ts +39 -0
- package/dist/runtime/hooks/memory_reconcile.d.ts.map +1 -0
- package/dist/runtime/hooks/memory_reconcile.js +75 -0
- package/dist/runtime/hooks/memory_reconcile.js.map +1 -0
- package/dist/runtime/hooks/new_project_detect.d.ts +35 -0
- package/dist/runtime/hooks/new_project_detect.d.ts.map +1 -0
- package/dist/runtime/hooks/new_project_detect.js +93 -0
- package/dist/runtime/hooks/new_project_detect.js.map +1 -0
- package/dist/runtime/hooks/permission_decision.d.ts +34 -0
- package/dist/runtime/hooks/permission_decision.d.ts.map +1 -0
- package/dist/runtime/hooks/permission_decision.js +39 -0
- package/dist/runtime/hooks/permission_decision.js.map +1 -0
- package/dist/runtime/hooks/post-tool-use.d.ts +3 -0
- package/dist/runtime/hooks/post-tool-use.d.ts.map +1 -0
- package/dist/runtime/hooks/post-tool-use.js +97 -0
- package/dist/runtime/hooks/post-tool-use.js.map +1 -0
- package/dist/runtime/hooks/pre-tool-use.d.ts +3 -0
- package/dist/runtime/hooks/pre-tool-use.d.ts.map +1 -0
- package/dist/runtime/hooks/pre-tool-use.js +169 -0
- package/dist/runtime/hooks/pre-tool-use.js.map +1 -0
- package/dist/runtime/hooks/profession_resolver.d.ts +65 -0
- package/dist/runtime/hooks/profession_resolver.d.ts.map +1 -0
- package/dist/runtime/hooks/profession_resolver.js +86 -0
- package/dist/runtime/hooks/profession_resolver.js.map +1 -0
- package/dist/runtime/hooks/scope_intent.d.ts +32 -0
- package/dist/runtime/hooks/scope_intent.d.ts.map +1 -0
- package/dist/runtime/hooks/scope_intent.js +32 -0
- package/dist/runtime/hooks/scope_intent.js.map +1 -0
- package/dist/runtime/hooks/session-end.d.ts +3 -0
- package/dist/runtime/hooks/session-end.d.ts.map +1 -0
- package/dist/runtime/hooks/session-end.js +159 -0
- package/dist/runtime/hooks/session-end.js.map +1 -0
- package/dist/runtime/hooks/session-start.d.ts +3 -0
- package/dist/runtime/hooks/session-start.d.ts.map +1 -0
- package/dist/runtime/hooks/session-start.js +116 -0
- package/dist/runtime/hooks/session-start.js.map +1 -0
- package/dist/runtime/hooks/session_id.d.ts +86 -0
- package/dist/runtime/hooks/session_id.d.ts.map +1 -0
- package/dist/runtime/hooks/session_id.js +186 -0
- package/dist/runtime/hooks/session_id.js.map +1 -0
- package/dist/runtime/hooks/session_liveness.d.ts +49 -0
- package/dist/runtime/hooks/session_liveness.d.ts.map +1 -0
- package/dist/runtime/hooks/session_liveness.js +65 -0
- package/dist/runtime/hooks/session_liveness.js.map +1 -0
- package/dist/runtime/hooks/stop.d.ts +3 -0
- package/dist/runtime/hooks/stop.d.ts.map +1 -0
- package/dist/runtime/hooks/stop.js +128 -0
- package/dist/runtime/hooks/stop.js.map +1 -0
- package/dist/runtime/hooks/stop_drive.d.ts +37 -0
- package/dist/runtime/hooks/stop_drive.d.ts.map +1 -0
- package/dist/runtime/hooks/stop_drive.js +86 -0
- package/dist/runtime/hooks/stop_drive.js.map +1 -0
- package/dist/runtime/hooks/stop_stream.d.ts +32 -0
- package/dist/runtime/hooks/stop_stream.d.ts.map +1 -0
- package/dist/runtime/hooks/stop_stream.js +74 -0
- package/dist/runtime/hooks/stop_stream.js.map +1 -0
- package/dist/runtime/hooks/transcript.d.ts +47 -0
- package/dist/runtime/hooks/transcript.d.ts.map +1 -0
- package/dist/runtime/hooks/transcript.js +115 -0
- package/dist/runtime/hooks/transcript.js.map +1 -0
- package/dist/runtime/hooks/transcript_tasks.d.ts +66 -0
- package/dist/runtime/hooks/transcript_tasks.d.ts.map +1 -0
- package/dist/runtime/hooks/transcript_tasks.js +193 -0
- package/dist/runtime/hooks/transcript_tasks.js.map +1 -0
- package/dist/runtime/hooks/user-prompt-submit.d.ts +4 -0
- package/dist/runtime/hooks/user-prompt-submit.d.ts.map +1 -0
- package/dist/runtime/hooks/user-prompt-submit.js +184 -0
- package/dist/runtime/hooks/user-prompt-submit.js.map +1 -0
- package/dist/runtime/index.d.ts +30 -0
- package/dist/runtime/index.d.ts.map +1 -0
- package/dist/runtime/index.js +43 -0
- package/dist/runtime/index.js.map +1 -0
- package/dist/runtime/load_budget.d.ts +48 -0
- package/dist/runtime/load_budget.d.ts.map +1 -0
- package/dist/runtime/load_budget.js +43 -0
- package/dist/runtime/load_budget.js.map +1 -0
- package/dist/runtime/load_matchers.d.ts +139 -0
- package/dist/runtime/load_matchers.d.ts.map +1 -0
- package/dist/runtime/load_matchers.js +190 -0
- package/dist/runtime/load_matchers.js.map +1 -0
- package/dist/runtime/observability/index.d.ts +21 -0
- package/dist/runtime/observability/index.d.ts.map +1 -0
- package/dist/runtime/observability/index.js +20 -0
- package/dist/runtime/observability/index.js.map +1 -0
- package/dist/runtime/observability/otel_export.d.ts +58 -0
- package/dist/runtime/observability/otel_export.d.ts.map +1 -0
- package/dist/runtime/observability/otel_export.js +74 -0
- package/dist/runtime/observability/otel_export.js.map +1 -0
- package/dist/runtime/observability/trace_reader.d.ts +104 -0
- package/dist/runtime/observability/trace_reader.d.ts.map +1 -0
- package/dist/runtime/observability/trace_reader.js +357 -0
- package/dist/runtime/observability/trace_reader.js.map +1 -0
- package/dist/runtime/observability/trace_types.d.ts +64 -0
- package/dist/runtime/observability/trace_types.d.ts.map +1 -0
- package/dist/runtime/observability/trace_types.js +15 -0
- package/dist/runtime/observability/trace_types.js.map +1 -0
- package/dist/runtime/paths.d.ts +136 -0
- package/dist/runtime/paths.d.ts.map +1 -0
- package/dist/runtime/paths.js +303 -0
- package/dist/runtime/paths.js.map +1 -0
- package/dist/runtime/phase_ledger.d.ts +56 -0
- package/dist/runtime/phase_ledger.d.ts.map +1 -0
- package/dist/runtime/phase_ledger.js +88 -0
- package/dist/runtime/phase_ledger.js.map +1 -0
- package/dist/runtime/pinned_skills.d.ts +63 -0
- package/dist/runtime/pinned_skills.d.ts.map +1 -0
- package/dist/runtime/pinned_skills.js +75 -0
- package/dist/runtime/pinned_skills.js.map +1 -0
- package/dist/runtime/rate_limit.d.ts +109 -0
- package/dist/runtime/rate_limit.d.ts.map +1 -0
- package/dist/runtime/rate_limit.js +222 -0
- package/dist/runtime/rate_limit.js.map +1 -0
- package/dist/runtime/result.d.ts +26 -0
- package/dist/runtime/result.d.ts.map +1 -0
- package/dist/runtime/result.js +17 -0
- package/dist/runtime/result.js.map +1 -0
- package/dist/runtime/satisfaction_probe.d.ts +80 -0
- package/dist/runtime/satisfaction_probe.d.ts.map +1 -0
- package/dist/runtime/satisfaction_probe.js +165 -0
- package/dist/runtime/satisfaction_probe.js.map +1 -0
- package/dist/runtime/schedule_registry.d.ts +64 -0
- package/dist/runtime/schedule_registry.d.ts.map +1 -0
- package/dist/runtime/schedule_registry.js +96 -0
- package/dist/runtime/schedule_registry.js.map +1 -0
- package/dist/runtime/session_state.d.ts +127 -0
- package/dist/runtime/session_state.d.ts.map +1 -0
- package/dist/runtime/session_state.js +335 -0
- package/dist/runtime/session_state.js.map +1 -0
- package/dist/runtime/skill_prefilter.d.ts +60 -0
- package/dist/runtime/skill_prefilter.d.ts.map +1 -0
- package/dist/runtime/skill_prefilter.js +117 -0
- package/dist/runtime/skill_prefilter.js.map +1 -0
- package/dist/runtime/skill_requires.d.ts +77 -0
- package/dist/runtime/skill_requires.d.ts.map +1 -0
- package/dist/runtime/skill_requires.js +124 -0
- package/dist/runtime/skill_requires.js.map +1 -0
- package/dist/runtime/skill_router.d.ts +57 -0
- package/dist/runtime/skill_router.d.ts.map +1 -0
- package/dist/runtime/skill_router.js +97 -0
- package/dist/runtime/skill_router.js.map +1 -0
- package/dist/runtime/tick.d.ts +44 -0
- package/dist/runtime/tick.d.ts.map +1 -0
- package/dist/runtime/tick.js +99 -0
- package/dist/runtime/tick.js.map +1 -0
- package/dist/runtime/triggers/file_watcher.d.ts +100 -0
- package/dist/runtime/triggers/file_watcher.d.ts.map +1 -0
- package/dist/runtime/triggers/file_watcher.js +202 -0
- package/dist/runtime/triggers/file_watcher.js.map +1 -0
- package/dist/runtime/triggers/index.d.ts +17 -0
- package/dist/runtime/triggers/index.d.ts.map +1 -0
- package/dist/runtime/triggers/index.js +17 -0
- package/dist/runtime/triggers/index.js.map +1 -0
- package/dist/runtime/types.d.ts +1988 -0
- package/dist/runtime/types.d.ts.map +1 -0
- package/dist/runtime/types.js +337 -0
- package/dist/runtime/types.js.map +1 -0
- package/dist/runtime/unload_conditions.d.ts +97 -0
- package/dist/runtime/unload_conditions.d.ts.map +1 -0
- package/dist/runtime/unload_conditions.js +96 -0
- package/dist/runtime/unload_conditions.js.map +1 -0
- package/dist/runtime/versioning.d.ts +38 -0
- package/dist/runtime/versioning.d.ts.map +1 -0
- package/dist/runtime/versioning.js +189 -0
- package/dist/runtime/versioning.js.map +1 -0
- package/dist/runtime/webhook_server.d.ts +146 -0
- package/dist/runtime/webhook_server.d.ts.map +1 -0
- package/dist/runtime/webhook_server.js +301 -0
- package/dist/runtime/webhook_server.js.map +1 -0
- package/dist/runtime/webhook_subscriptions.d.ts +178 -0
- package/dist/runtime/webhook_subscriptions.d.ts.map +1 -0
- package/dist/runtime/webhook_subscriptions.js +192 -0
- package/dist/runtime/webhook_subscriptions.js.map +1 -0
- package/dist/runtime/wedge/automation_buffer.d.ts +56 -0
- package/dist/runtime/wedge/automation_buffer.d.ts.map +1 -0
- package/dist/runtime/wedge/automation_buffer.js +202 -0
- package/dist/runtime/wedge/automation_buffer.js.map +1 -0
- package/dist/runtime/wedge/capture.d.ts +40 -0
- package/dist/runtime/wedge/capture.d.ts.map +1 -0
- package/dist/runtime/wedge/capture.js +127 -0
- package/dist/runtime/wedge/capture.js.map +1 -0
- package/dist/runtime/wedge/compress_candidates.d.ts +63 -0
- package/dist/runtime/wedge/compress_candidates.d.ts.map +1 -0
- package/dist/runtime/wedge/compress_candidates.js +109 -0
- package/dist/runtime/wedge/compress_candidates.js.map +1 -0
- package/dist/runtime/wedge/compression_deps.d.ts +12 -0
- package/dist/runtime/wedge/compression_deps.d.ts.map +1 -0
- package/dist/runtime/wedge/compression_deps.js +63 -0
- package/dist/runtime/wedge/compression_deps.js.map +1 -0
- package/dist/runtime/wedge/cost_outcome.d.ts +112 -0
- package/dist/runtime/wedge/cost_outcome.d.ts.map +1 -0
- package/dist/runtime/wedge/cost_outcome.js +85 -0
- package/dist/runtime/wedge/cost_outcome.js.map +1 -0
- package/dist/runtime/wedge/eviction.d.ts +41 -0
- package/dist/runtime/wedge/eviction.d.ts.map +1 -0
- package/dist/runtime/wedge/eviction.js +62 -0
- package/dist/runtime/wedge/eviction.js.map +1 -0
- package/dist/runtime/wedge/index.d.ts +20 -0
- package/dist/runtime/wedge/index.d.ts.map +1 -0
- package/dist/runtime/wedge/index.js +26 -0
- package/dist/runtime/wedge/index.js.map +1 -0
- package/dist/runtime/wedge/mutate_skill.d.ts +30 -0
- package/dist/runtime/wedge/mutate_skill.d.ts.map +1 -0
- package/dist/runtime/wedge/mutate_skill.js +62 -0
- package/dist/runtime/wedge/mutate_skill.js.map +1 -0
- package/dist/runtime/wedge/promote.d.ts +57 -0
- package/dist/runtime/wedge/promote.d.ts.map +1 -0
- package/dist/runtime/wedge/promote.js +66 -0
- package/dist/runtime/wedge/promote.js.map +1 -0
- package/dist/runtime/wedge/schedule_outcome.d.ts +107 -0
- package/dist/runtime/wedge/schedule_outcome.d.ts.map +1 -0
- package/dist/runtime/wedge/schedule_outcome.js +287 -0
- package/dist/runtime/wedge/schedule_outcome.js.map +1 -0
- package/dist/runtime/wedge/types.d.ts +43 -0
- package/dist/runtime/wedge/types.d.ts.map +1 -0
- package/dist/runtime/wedge/types.js +34 -0
- package/dist/runtime/wedge/types.js.map +1 -0
- package/dist/runtime/workflow_fsm.d.ts +21 -0
- package/dist/runtime/workflow_fsm.d.ts.map +1 -0
- package/dist/runtime/workflow_fsm.js +25 -0
- package/dist/runtime/workflow_fsm.js.map +1 -0
- package/dist/runtime/workflow_map.d.ts +26 -0
- package/dist/runtime/workflow_map.d.ts.map +1 -0
- package/dist/runtime/workflow_map.js +38 -0
- package/dist/runtime/workflow_map.js.map +1 -0
- package/dist/runtime/workflow_phases.d.ts +50 -0
- package/dist/runtime/workflow_phases.d.ts.map +1 -0
- package/dist/runtime/workflow_phases.js +92 -0
- package/dist/runtime/workflow_phases.js.map +1 -0
- package/dist/scope.d.ts +48 -0
- package/dist/scope.d.ts.map +1 -0
- package/dist/scope.js +111 -0
- package/dist/scope.js.map +1 -0
- package/dist/secrets/backends/dotenv.d.ts +26 -0
- package/dist/secrets/backends/dotenv.d.ts.map +1 -0
- package/dist/secrets/backends/dotenv.js +65 -0
- package/dist/secrets/backends/dotenv.js.map +1 -0
- package/dist/secrets/backends/keychain.d.ts +59 -0
- package/dist/secrets/backends/keychain.d.ts.map +1 -0
- package/dist/secrets/backends/keychain.js +133 -0
- package/dist/secrets/backends/keychain.js.map +1 -0
- package/dist/secrets/backends/literal.d.ts +19 -0
- package/dist/secrets/backends/literal.d.ts.map +1 -0
- package/dist/secrets/backends/literal.js +25 -0
- package/dist/secrets/backends/literal.js.map +1 -0
- package/dist/secrets/backends/op.d.ts +36 -0
- package/dist/secrets/backends/op.d.ts.map +1 -0
- package/dist/secrets/backends/op.js +69 -0
- package/dist/secrets/backends/op.js.map +1 -0
- package/dist/secrets/index.d.ts +14 -0
- package/dist/secrets/index.d.ts.map +1 -0
- package/dist/secrets/index.js +13 -0
- package/dist/secrets/index.js.map +1 -0
- package/dist/secrets/resolver.d.ts +19 -0
- package/dist/secrets/resolver.d.ts.map +1 -0
- package/dist/secrets/resolver.js +40 -0
- package/dist/secrets/resolver.js.map +1 -0
- package/dist/secrets/types.d.ts +28 -0
- package/dist/secrets/types.d.ts.map +1 -0
- package/dist/secrets/types.js +14 -0
- package/dist/secrets/types.js.map +1 -0
- package/dist/setup/cli/attestations.d.ts +32 -0
- package/dist/setup/cli/attestations.d.ts.map +1 -0
- package/dist/setup/cli/attestations.js +52 -0
- package/dist/setup/cli/attestations.js.map +1 -0
- package/dist/setup/cli/audit.d.ts +30 -0
- package/dist/setup/cli/audit.d.ts.map +1 -0
- package/dist/setup/cli/audit.js +139 -0
- package/dist/setup/cli/audit.js.map +1 -0
- package/dist/setup/cli/audit_actions.d.ts +54 -0
- package/dist/setup/cli/audit_actions.d.ts.map +1 -0
- package/dist/setup/cli/audit_actions.js +200 -0
- package/dist/setup/cli/audit_actions.js.map +1 -0
- package/dist/setup/cli/audit_state.d.ts +27 -0
- package/dist/setup/cli/audit_state.d.ts.map +1 -0
- package/dist/setup/cli/audit_state.js +52 -0
- package/dist/setup/cli/audit_state.js.map +1 -0
- package/dist/setup/cli/automation.d.ts +47 -0
- package/dist/setup/cli/automation.d.ts.map +1 -0
- package/dist/setup/cli/automation.js +156 -0
- package/dist/setup/cli/automation.js.map +1 -0
- package/dist/setup/cli/cache.d.ts +44 -0
- package/dist/setup/cli/cache.d.ts.map +1 -0
- package/dist/setup/cli/cache.js +154 -0
- package/dist/setup/cli/cache.js.map +1 -0
- package/dist/setup/cli/chat.d.ts +69 -0
- package/dist/setup/cli/chat.d.ts.map +1 -0
- package/dist/setup/cli/chat.js +95 -0
- package/dist/setup/cli/chat.js.map +1 -0
- package/dist/setup/cli/chat_actions.d.ts +57 -0
- package/dist/setup/cli/chat_actions.d.ts.map +1 -0
- package/dist/setup/cli/chat_actions.js +358 -0
- package/dist/setup/cli/chat_actions.js.map +1 -0
- package/dist/setup/cli/chat_actions_prompts.d.ts +51 -0
- package/dist/setup/cli/chat_actions_prompts.d.ts.map +1 -0
- package/dist/setup/cli/chat_actions_prompts.js +319 -0
- package/dist/setup/cli/chat_actions_prompts.js.map +1 -0
- package/dist/setup/cli/chat_actions_prompts_alias.d.ts +37 -0
- package/dist/setup/cli/chat_actions_prompts_alias.d.ts.map +1 -0
- package/dist/setup/cli/chat_actions_prompts_alias.js +185 -0
- package/dist/setup/cli/chat_actions_prompts_alias.js.map +1 -0
- package/dist/setup/cli/chat_actions_test_helpers.d.ts +37 -0
- package/dist/setup/cli/chat_actions_test_helpers.d.ts.map +1 -0
- package/dist/setup/cli/chat_actions_test_helpers.js +125 -0
- package/dist/setup/cli/chat_actions_test_helpers.js.map +1 -0
- package/dist/setup/cli/chat_actions_test_step.d.ts +86 -0
- package/dist/setup/cli/chat_actions_test_step.d.ts.map +1 -0
- package/dist/setup/cli/chat_actions_test_step.js +303 -0
- package/dist/setup/cli/chat_actions_test_step.js.map +1 -0
- package/dist/setup/cli/chat_actions_writers.d.ts +140 -0
- package/dist/setup/cli/chat_actions_writers.d.ts.map +1 -0
- package/dist/setup/cli/chat_actions_writers.js +297 -0
- package/dist/setup/cli/chat_actions_writers.js.map +1 -0
- package/dist/setup/cli/chat_state.d.ts +121 -0
- package/dist/setup/cli/chat_state.d.ts.map +1 -0
- package/dist/setup/cli/chat_state.js +310 -0
- package/dist/setup/cli/chat_state.js.map +1 -0
- package/dist/setup/cli/checkpoints.d.ts +47 -0
- package/dist/setup/cli/checkpoints.d.ts.map +1 -0
- package/dist/setup/cli/checkpoints.js +85 -0
- package/dist/setup/cli/checkpoints.js.map +1 -0
- package/dist/setup/cli/checkpoints_actions.d.ts +47 -0
- package/dist/setup/cli/checkpoints_actions.d.ts.map +1 -0
- package/dist/setup/cli/checkpoints_actions.js +153 -0
- package/dist/setup/cli/checkpoints_actions.js.map +1 -0
- package/dist/setup/cli/checkpoints_core.d.ts +57 -0
- package/dist/setup/cli/checkpoints_core.d.ts.map +1 -0
- package/dist/setup/cli/checkpoints_core.js +73 -0
- package/dist/setup/cli/checkpoints_core.js.map +1 -0
- package/dist/setup/cli/checkpoints_render.d.ts +23 -0
- package/dist/setup/cli/checkpoints_render.d.ts.map +1 -0
- package/dist/setup/cli/checkpoints_render.js +65 -0
- package/dist/setup/cli/checkpoints_render.js.map +1 -0
- package/dist/setup/cli/codex_hooks.d.ts +27 -0
- package/dist/setup/cli/codex_hooks.d.ts.map +1 -0
- package/dist/setup/cli/codex_hooks.js +73 -0
- package/dist/setup/cli/codex_hooks.js.map +1 -0
- package/dist/setup/cli/cost.d.ts +29 -0
- package/dist/setup/cli/cost.d.ts.map +1 -0
- package/dist/setup/cli/cost.js +98 -0
- package/dist/setup/cli/cost.js.map +1 -0
- package/dist/setup/cli/cost_state.d.ts +86 -0
- package/dist/setup/cli/cost_state.d.ts.map +1 -0
- package/dist/setup/cli/cost_state.js +223 -0
- package/dist/setup/cli/cost_state.js.map +1 -0
- package/dist/setup/cli/doctor.d.ts +47 -0
- package/dist/setup/cli/doctor.d.ts.map +1 -0
- package/dist/setup/cli/doctor.js +314 -0
- package/dist/setup/cli/doctor.js.map +1 -0
- package/dist/setup/cli/gate.d.ts +71 -0
- package/dist/setup/cli/gate.d.ts.map +1 -0
- package/dist/setup/cli/gate.js +287 -0
- package/dist/setup/cli/gate.js.map +1 -0
- package/dist/setup/cli/hooks.d.ts +69 -0
- package/dist/setup/cli/hooks.d.ts.map +1 -0
- package/dist/setup/cli/hooks.js +104 -0
- package/dist/setup/cli/hooks.js.map +1 -0
- package/dist/setup/cli/index.d.ts +11 -0
- package/dist/setup/cli/index.d.ts.map +1 -0
- package/dist/setup/cli/index.js +11 -0
- package/dist/setup/cli/index.js.map +1 -0
- package/dist/setup/cli/limits.d.ts +30 -0
- package/dist/setup/cli/limits.d.ts.map +1 -0
- package/dist/setup/cli/limits.js +102 -0
- package/dist/setup/cli/limits.js.map +1 -0
- package/dist/setup/cli/limits_state.d.ts +77 -0
- package/dist/setup/cli/limits_state.d.ts.map +1 -0
- package/dist/setup/cli/limits_state.js +170 -0
- package/dist/setup/cli/limits_state.js.map +1 -0
- package/dist/setup/cli/mcp.d.ts +73 -0
- package/dist/setup/cli/mcp.d.ts.map +1 -0
- package/dist/setup/cli/mcp.js +175 -0
- package/dist/setup/cli/mcp.js.map +1 -0
- package/dist/setup/cli/memory.d.ts +55 -0
- package/dist/setup/cli/memory.d.ts.map +1 -0
- package/dist/setup/cli/memory.js +139 -0
- package/dist/setup/cli/memory.js.map +1 -0
- package/dist/setup/cli/permissions.d.ts +49 -0
- package/dist/setup/cli/permissions.d.ts.map +1 -0
- package/dist/setup/cli/permissions.js +77 -0
- package/dist/setup/cli/permissions.js.map +1 -0
- package/dist/setup/cli/permissions_actions.d.ts +72 -0
- package/dist/setup/cli/permissions_actions.d.ts.map +1 -0
- package/dist/setup/cli/permissions_actions.js +208 -0
- package/dist/setup/cli/permissions_actions.js.map +1 -0
- package/dist/setup/cli/permissions_state.d.ts +98 -0
- package/dist/setup/cli/permissions_state.d.ts.map +1 -0
- package/dist/setup/cli/permissions_state.js +202 -0
- package/dist/setup/cli/permissions_state.js.map +1 -0
- package/dist/setup/cli/portability.d.ts +68 -0
- package/dist/setup/cli/portability.d.ts.map +1 -0
- package/dist/setup/cli/portability.js +413 -0
- package/dist/setup/cli/portability.js.map +1 -0
- package/dist/setup/cli/schedule.d.ts +45 -0
- package/dist/setup/cli/schedule.d.ts.map +1 -0
- package/dist/setup/cli/schedule.js +92 -0
- package/dist/setup/cli/schedule.js.map +1 -0
- package/dist/setup/cli/schedule_actions.d.ts +63 -0
- package/dist/setup/cli/schedule_actions.d.ts.map +1 -0
- package/dist/setup/cli/schedule_actions.js +299 -0
- package/dist/setup/cli/schedule_actions.js.map +1 -0
- package/dist/setup/cli/schedule_render.d.ts +18 -0
- package/dist/setup/cli/schedule_render.d.ts.map +1 -0
- package/dist/setup/cli/schedule_render.js +69 -0
- package/dist/setup/cli/schedule_render.js.map +1 -0
- package/dist/setup/cli/schedule_state.d.ts +92 -0
- package/dist/setup/cli/schedule_state.d.ts.map +1 -0
- package/dist/setup/cli/schedule_state.js +291 -0
- package/dist/setup/cli/schedule_state.js.map +1 -0
- package/dist/setup/cli/state_io.d.ts +67 -0
- package/dist/setup/cli/state_io.d.ts.map +1 -0
- package/dist/setup/cli/state_io.js +130 -0
- package/dist/setup/cli/state_io.js.map +1 -0
- package/dist/setup/cli/topic_create_step.d.ts +84 -0
- package/dist/setup/cli/topic_create_step.d.ts.map +1 -0
- package/dist/setup/cli/topic_create_step.js +213 -0
- package/dist/setup/cli/topic_create_step.js.map +1 -0
- package/dist/setup/cli/trace.d.ts +52 -0
- package/dist/setup/cli/trace.d.ts.map +1 -0
- package/dist/setup/cli/trace.js +239 -0
- package/dist/setup/cli/trace.js.map +1 -0
- package/dist/setup/cli/triggers.d.ts +32 -0
- package/dist/setup/cli/triggers.d.ts.map +1 -0
- package/dist/setup/cli/triggers.js +141 -0
- package/dist/setup/cli/triggers.js.map +1 -0
- package/dist/setup/cli/triggers_state.d.ts +47 -0
- package/dist/setup/cli/triggers_state.d.ts.map +1 -0
- package/dist/setup/cli/triggers_state.js +119 -0
- package/dist/setup/cli/triggers_state.js.map +1 -0
- package/dist/setup/cli/triggers_synth.d.ts +19 -0
- package/dist/setup/cli/triggers_synth.d.ts.map +1 -0
- package/dist/setup/cli/triggers_synth.js +70 -0
- package/dist/setup/cli/triggers_synth.js.map +1 -0
- package/dist/setup/cli/webhooks.d.ts +42 -0
- package/dist/setup/cli/webhooks.d.ts.map +1 -0
- package/dist/setup/cli/webhooks.js +77 -0
- package/dist/setup/cli/webhooks.js.map +1 -0
- package/dist/setup/cli/webhooks_actions.d.ts +86 -0
- package/dist/setup/cli/webhooks_actions.d.ts.map +1 -0
- package/dist/setup/cli/webhooks_actions.js +301 -0
- package/dist/setup/cli/webhooks_actions.js.map +1 -0
- package/dist/setup/cli/webhooks_state.d.ts +79 -0
- package/dist/setup/cli/webhooks_state.d.ts.map +1 -0
- package/dist/setup/cli/webhooks_state.js +73 -0
- package/dist/setup/cli/webhooks_state.js.map +1 -0
- package/dist/setup/index.d.ts +9 -0
- package/dist/setup/index.d.ts.map +1 -0
- package/dist/setup/index.js +9 -0
- package/dist/setup/index.js.map +1 -0
- package/dist/setup/migrate/auto_memory_importer.d.ts +101 -0
- package/dist/setup/migrate/auto_memory_importer.d.ts.map +1 -0
- package/dist/setup/migrate/auto_memory_importer.js +163 -0
- package/dist/setup/migrate/auto_memory_importer.js.map +1 -0
- package/dist/setup/migrate/auto_memory_reader.d.ts +84 -0
- package/dist/setup/migrate/auto_memory_reader.d.ts.map +1 -0
- package/dist/setup/migrate/auto_memory_reader.js +99 -0
- package/dist/setup/migrate/auto_memory_reader.js.map +1 -0
- package/dist/setup/migrate/auto_memory_snapshot.d.ts +33 -0
- package/dist/setup/migrate/auto_memory_snapshot.d.ts.map +1 -0
- package/dist/setup/migrate/auto_memory_snapshot.js +67 -0
- package/dist/setup/migrate/auto_memory_snapshot.js.map +1 -0
- package/dist/setup/migrate/memory_drift.d.ts +45 -0
- package/dist/setup/migrate/memory_drift.d.ts.map +1 -0
- package/dist/setup/migrate/memory_drift.js +92 -0
- package/dist/setup/migrate/memory_drift.js.map +1 -0
- package/dist/setup/migrate/memory_store_handle.d.ts +31 -0
- package/dist/setup/migrate/memory_store_handle.d.ts.map +1 -0
- package/dist/setup/migrate/memory_store_handle.js +93 -0
- package/dist/setup/migrate/memory_store_handle.js.map +1 -0
- package/dist/setup/migrate/migrate-scope.d.ts +25 -0
- package/dist/setup/migrate/migrate-scope.d.ts.map +1 -0
- package/dist/setup/migrate/migrate-scope.js +82 -0
- package/dist/setup/migrate/migrate-scope.js.map +1 -0
- package/dist/setup/schedule_nl.d.ts +88 -0
- package/dist/setup/schedule_nl.d.ts.map +1 -0
- package/dist/setup/schedule_nl.js +183 -0
- package/dist/setup/schedule_nl.js.map +1 -0
- package/dist/setup/wizard/codex-hooks-writer.d.ts +67 -0
- package/dist/setup/wizard/codex-hooks-writer.d.ts.map +1 -0
- package/dist/setup/wizard/codex-hooks-writer.js +104 -0
- package/dist/setup/wizard/codex-hooks-writer.js.map +1 -0
- package/dist/setup/wizard/git-hooks.d.ts +49 -0
- package/dist/setup/wizard/git-hooks.d.ts.map +1 -0
- package/dist/setup/wizard/git-hooks.js +106 -0
- package/dist/setup/wizard/git-hooks.js.map +1 -0
- package/dist/setup/wizard/mcp-hosts.d.ts +44 -0
- package/dist/setup/wizard/mcp-hosts.d.ts.map +1 -0
- package/dist/setup/wizard/mcp-hosts.js +87 -0
- package/dist/setup/wizard/mcp-hosts.js.map +1 -0
- package/dist/setup/wizard/mcp-writer.d.ts +81 -0
- package/dist/setup/wizard/mcp-writer.d.ts.map +1 -0
- package/dist/setup/wizard/mcp-writer.js +115 -0
- package/dist/setup/wizard/mcp-writer.js.map +1 -0
- package/dist/setup/wizard/settings-reader.d.ts +74 -0
- package/dist/setup/wizard/settings-reader.d.ts.map +1 -0
- package/dist/setup/wizard/settings-reader.js +81 -0
- package/dist/setup/wizard/settings-reader.js.map +1 -0
- package/dist/setup/wizard/settings-writer.d.ts +95 -0
- package/dist/setup/wizard/settings-writer.d.ts.map +1 -0
- package/dist/setup/wizard/settings-writer.js +154 -0
- package/dist/setup/wizard/settings-writer.js.map +1 -0
- package/dist/storage/atomic_file.d.ts +3 -0
- package/dist/storage/atomic_file.d.ts.map +1 -0
- package/dist/storage/atomic_file.js +27 -0
- package/dist/storage/atomic_file.js.map +1 -0
- package/dist/system-export.d.ts +65 -0
- package/dist/system-export.d.ts.map +1 -0
- package/dist/system-export.js +194 -0
- package/dist/system-export.js.map +1 -0
- package/dist/utterance/classifier.d.ts +53 -0
- package/dist/utterance/classifier.d.ts.map +1 -0
- package/dist/utterance/classifier.js +184 -0
- package/dist/utterance/classifier.js.map +1 -0
- package/dist/utterance/classifier.test.js +147 -0
- package/dist/workgraph/events.d.ts +12 -0
- package/dist/workgraph/events.d.ts.map +1 -0
- package/dist/workgraph/events.js +90 -0
- package/dist/workgraph/events.js.map +1 -0
- package/dist/workgraph/store.d.ts +15 -0
- package/dist/workgraph/store.d.ts.map +1 -0
- package/dist/workgraph/store.js +195 -0
- package/dist/workgraph/store.js.map +1 -0
- package/dist/workgraph/types.d.ts +49 -0
- package/dist/workgraph/types.d.ts.map +1 -0
- package/dist/workgraph/types.js +2 -0
- package/dist/workgraph/types.js.map +1 -0
- package/docs/load-budget.md +98 -0
- package/docs/pack-runtime.md +1205 -0
- package/docs/skill-grammar-guide.md +646 -0
- package/package.json +145 -0
- package/packs/builtin/coding-flow/PROFILES.md +39 -0
- package/packs/builtin/coding-flow/fsm.yaml +52 -0
- package/packs/builtin/coding-flow/manifest.yaml +29 -0
- package/packs/builtin/coding-flow/skills/entry-and-handoffs/skill.yaml +246 -0
- package/packs/builtin/coding-flow/skills/execute-gate/skill.yaml +71 -0
- package/packs/builtin/coding-flow/skills/flow-health-check/skill.yaml +42 -0
- package/packs/builtin/coding-flow/skills/pause-prevention/skill.yaml +73 -0
- package/packs/builtin/coding-flow/skills/pause-stop-guard/skill.yaml +67 -0
- package/packs/builtin/coding-flow/skills/phase-advance/skill.yaml +28 -0
- package/packs/builtin/coding-flow/skills/phase-audit/skill.yaml +68 -0
- package/packs/builtin/coding-flow/skills/scope-lifecycle/skill.yaml +362 -0
- package/packs/builtin/coding-flow/skills/task-start/skill.yaml +42 -0
- package/packs/builtin/cycle-pack/manifest.yaml +20 -0
- package/packs/builtin/cycle-pack/skills/lesson-capture/prose.md +34 -0
- package/packs/builtin/cycle-pack/skills/lesson-capture/skill.yaml +57 -0
- package/packs/builtin/default-discipline/channels.yaml +8 -0
- package/packs/builtin/default-discipline/drift_response.yaml +51 -0
- package/packs/builtin/default-discipline/manifest.yaml +297 -0
- package/packs/builtin/default-discipline/models.yaml +8 -0
- package/packs/builtin/default-discipline/notifications.yaml +12 -0
- package/packs/builtin/default-discipline/skills/d9-guard/skill.yaml +82 -0
- package/packs/builtin/default-discipline/skills/inbound-greeter/SKILL.md +38 -0
- package/packs/builtin/default-discipline/skills/inbound-greeter/skill.yaml +36 -0
- package/packs/builtin/default-discipline/skills/session-connection-check/SKILL.md +45 -0
- package/packs/builtin/default-discipline/skills/session-connection-check/skill.yaml +55 -0
- package/packs/builtin/default-discipline/skills/workflow/skill.yaml +65 -0
- package/packs/builtin/examples/file-pattern-guard/BEFORE.md +70 -0
- package/packs/builtin/examples/file-pattern-guard/SKILL.md +79 -0
- package/packs/builtin/examples/file-pattern-guard/fixtures/edit_node_modules.expected.json +3 -0
- package/packs/builtin/examples/file-pattern-guard/fixtures/edit_node_modules.input.json +9 -0
- package/packs/builtin/examples/file-pattern-guard/fixtures/edit_src.expected.json +3 -0
- package/packs/builtin/examples/file-pattern-guard/fixtures/edit_src.input.json +9 -0
- package/packs/builtin/examples/file-pattern-guard/manifest.yaml +18 -0
- package/packs/builtin/examples/file-pattern-guard/skills/guard/skill.yaml +33 -0
- package/packs/builtin/examples/multi-clause-drift-detector/BEFORE.md +62 -0
- package/packs/builtin/examples/multi-clause-drift-detector/SKILL.md +90 -0
- package/packs/builtin/examples/multi-clause-drift-detector/fixtures/drift_no_verify.expected.json +3 -0
- package/packs/builtin/examples/multi-clause-drift-detector/fixtures/drift_no_verify.input.json +18 -0
- package/packs/builtin/examples/multi-clause-drift-detector/fixtures/drift_with_verify.expected.json +3 -0
- package/packs/builtin/examples/multi-clause-drift-detector/fixtures/drift_with_verify.input.json +18 -0
- package/packs/builtin/examples/multi-clause-drift-detector/manifest.yaml +18 -0
- package/packs/builtin/examples/multi-clause-drift-detector/skills/drift/skill.yaml +60 -0
- package/packs/builtin/examples/tool-history-correlator/BEFORE.md +73 -0
- package/packs/builtin/examples/tool-history-correlator/SKILL.md +85 -0
- package/packs/builtin/examples/tool-history-correlator/fixtures/few_bash.expected.json +3 -0
- package/packs/builtin/examples/tool-history-correlator/fixtures/few_bash.input.json +10 -0
- package/packs/builtin/examples/tool-history-correlator/fixtures/many_bash.expected.json +3 -0
- package/packs/builtin/examples/tool-history-correlator/fixtures/many_bash.input.json +10 -0
- package/packs/builtin/examples/tool-history-correlator/manifest.yaml +18 -0
- package/packs/builtin/examples/tool-history-correlator/skills/correlator/skill.yaml +46 -0
- package/packs/builtin/focused-atomic-design/README.md +21 -0
- package/packs/builtin/focused-atomic-design/manifest.yaml +151 -0
- package/packs/builtin/focused-react-19/README.md +36 -0
- package/packs/builtin/focused-react-19/manifest.yaml +171 -0
- package/packs/builtin/focused-typescript-strict/README.md +21 -0
- package/packs/builtin/focused-typescript-strict/manifest.yaml +163 -0
- package/packs/builtin/frontend-react-19-atomic/README.md +61 -0
- package/packs/builtin/frontend-react-19-atomic/manifest.yaml +124 -0
- package/packs/builtin/general/chat_agent.yaml +16 -0
- package/packs/builtin/general/manifest.yaml +39 -0
- package/packs/builtin/general/system_prompt.md +11 -0
- package/packs/builtin/pack-architect/SKILL.md +74 -0
- package/packs/builtin/pack-architect/manifest.yaml +53 -0
- package/packs/builtin/pack-architect/skills/fsm-author-walkthrough/skill.yaml +45 -0
- package/packs/builtin/pack-architect/skills/manifest-author-walkthrough/skill.yaml +50 -0
- package/packs/builtin/pack-architect/skills/pack-scope-elicit/skill.yaml +44 -0
- package/packs/builtin/pack-architect/skills/skill-yaml-author-walkthrough/skill.yaml +52 -0
- package/packs/builtin/pack-architect/team.yaml +84 -0
- package/packs/builtin/scope-architect/manifest.yaml +43 -0
- package/packs/builtin/scope-architect/skills/inline-spec-block/skill.yaml +56 -0
- package/packs/builtin/scope-architect/skills/pack-skill-authoring/skill.yaml +83 -0
- package/packs/builtin/scope-architect/skills/pre-research-authoring/skill.yaml +142 -0
- package/packs/builtin/scope-architect/skills/scope-before-code/skill.yaml +34 -0
- package/packs/builtin/scope-architect/skills/scope-detect/skill.yaml +73 -0
- package/packs/builtin/scope-architect/skills/task-list-generated/skill.yaml +28 -0
- package/packs/builtin/scope-architect/skills/taskcreate-spec-required/skill.yaml +27 -0
- package/packs/builtin/scope-architect/team.yaml +65 -0
- package/packs/builtin/seo-aeo-expert/drift_response.yaml +11 -0
- package/packs/builtin/seo-aeo-expert/fixtures/bot-policy-guard/citation_allow_pass.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/bot-policy-guard/citation_allow_pass.input.json +10 -0
- package/packs/builtin/seo-aeo-expert/fixtures/bot-policy-guard/citation_cross_section_pass.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/bot-policy-guard/citation_cross_section_pass.input.json +10 -0
- package/packs/builtin/seo-aeo-expert/fixtures/bot-policy-guard/citation_robots_fire.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/bot-policy-guard/citation_robots_fire.input.json +10 -0
- package/packs/builtin/seo-aeo-expert/fixtures/bot-policy-guard/training_fire.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/bot-policy-guard/training_fire.input.json +10 -0
- package/packs/builtin/seo-aeo-expert/fixtures/bot-policy-guard/training_unrelated_pass.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/bot-policy-guard/training_unrelated_pass.input.json +10 -0
- package/packs/builtin/seo-aeo-expert/fixtures/bot-policy-guard/wildcard_fire.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/bot-policy-guard/wildcard_fire.input.json +10 -0
- package/packs/builtin/seo-aeo-expert/fixtures/bot-policy-guard/wildcard_path_pass.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/bot-policy-guard/wildcard_path_pass.input.json +10 -0
- package/packs/builtin/seo-aeo-expert/fixtures/ground-truth-gate/no_claims_pass.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/ground-truth-gate/no_claims_pass.input.json +14 -0
- package/packs/builtin/seo-aeo-expert/fixtures/ground-truth-gate/offer_no_doc_fire.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/ground-truth-gate/offer_no_doc_fire.input.json +14 -0
- package/packs/builtin/seo-aeo-expert/fixtures/ground-truth-gate/offer_with_doc_pass.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/ground-truth-gate/offer_with_doc_pass.input.json +14 -0
- package/packs/builtin/seo-aeo-expert/fixtures/meta-quality-gate/desc_long_fire.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/meta-quality-gate/desc_long_fire.input.json +10 -0
- package/packs/builtin/seo-aeo-expert/fixtures/meta-quality-gate/desc_ok_pass.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/meta-quality-gate/desc_ok_pass.input.json +10 -0
- package/packs/builtin/seo-aeo-expert/fixtures/meta-quality-gate/img_alt_fire.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/meta-quality-gate/img_alt_fire.input.json +10 -0
- package/packs/builtin/seo-aeo-expert/fixtures/meta-quality-gate/img_alt_pass.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/meta-quality-gate/img_alt_pass.input.json +10 -0
- package/packs/builtin/seo-aeo-expert/fixtures/meta-quality-gate/title_long_fire.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/meta-quality-gate/title_long_fire.input.json +10 -0
- package/packs/builtin/seo-aeo-expert/fixtures/meta-quality-gate/title_ok_pass.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/meta-quality-gate/title_ok_pass.input.json +10 -0
- package/packs/builtin/seo-aeo-expert/fixtures/page-removal-guard/rm_other_pass.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/page-removal-guard/rm_other_pass.input.json +6 -0
- package/packs/builtin/seo-aeo-expert/fixtures/page-removal-guard/rm_page_fire.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/page-removal-guard/rm_page_fire.input.json +6 -0
- package/packs/builtin/seo-aeo-expert/fixtures/pre-push-seo-checklist/checklist_fire.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/pre-push-seo-checklist/checklist_fire.input.json +7 -0
- package/packs/builtin/seo-aeo-expert/fixtures/pre-push-seo-checklist/checklist_shipped_pass.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/pre-push-seo-checklist/checklist_shipped_pass.input.json +7 -0
- package/packs/builtin/seo-aeo-expert/fixtures/pre-push-seo-checklist/push_fixing_fire.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/pre-push-seo-checklist/push_fixing_fire.input.json +7 -0
- package/packs/builtin/seo-aeo-expert/fixtures/pre-push-seo-checklist/push_idle_pass.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/pre-push-seo-checklist/push_idle_pass.input.json +7 -0
- package/packs/builtin/seo-aeo-expert/fixtures/run.mjs +123 -0
- package/packs/builtin/seo-aeo-expert/fixtures/schema-validation-gate/lint_product_fire.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/schema-validation-gate/lint_product_fire.input.json +10 -0
- package/packs/builtin/seo-aeo-expert/fixtures/schema-validation-gate/lint_product_pass.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/schema-validation-gate/lint_product_pass.input.json +10 -0
- package/packs/builtin/seo-aeo-expert/fixtures/schema-validation-gate/lint_rating_fire.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/schema-validation-gate/lint_rating_fire.input.json +10 -0
- package/packs/builtin/seo-aeo-expert/fixtures/schema-validation-gate/lint_rating_pass.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/schema-validation-gate/lint_rating_pass.input.json +10 -0
- package/packs/builtin/seo-aeo-expert/fixtures/schema-validation-gate/schema_touched_fire.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/schema-validation-gate/schema_touched_fire.input.json +12 -0
- package/packs/builtin/seo-aeo-expert/fixtures/schema-validation-gate/schema_touched_in_cycle_pass.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/schema-validation-gate/schema_touched_in_cycle_pass.input.json +12 -0
- package/packs/builtin/seo-aeo-expert/fixtures/schema-validation-gate/validation_run_fire.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/schema-validation-gate/validation_run_fire.input.json +6 -0
- package/packs/builtin/seo-aeo-expert/fixtures/schema-validation-gate/validation_run_pass.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/schema-validation-gate/validation_run_pass.input.json +6 -0
- package/packs/builtin/seo-aeo-expert/fixtures/ssr-regression-guard/fetch_effect_fire.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/ssr-regression-guard/fetch_effect_fire.input.json +10 -0
- package/packs/builtin/seo-aeo-expert/fixtures/ssr-regression-guard/organism_leaf_pass.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/ssr-regression-guard/organism_leaf_pass.input.json +10 -0
- package/packs/builtin/seo-aeo-expert/fixtures/ssr-regression-guard/server_page_pass.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/ssr-regression-guard/server_page_pass.input.json +10 -0
- package/packs/builtin/seo-aeo-expert/fixtures/ssr-regression-guard/use_client_page_fire.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/ssr-regression-guard/use_client_page_fire.input.json +10 -0
- package/packs/builtin/seo-aeo-expert/fixtures/stale-tactic-guard/clean_pass.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/stale-tactic-guard/clean_pass.input.json +10 -0
- package/packs/builtin/seo-aeo-expert/fixtures/stale-tactic-guard/docs_exempt_pass.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/stale-tactic-guard/docs_exempt_pass.input.json +10 -0
- package/packs/builtin/seo-aeo-expert/fixtures/stale-tactic-guard/faq_schema_fire.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/stale-tactic-guard/faq_schema_fire.input.json +10 -0
- package/packs/builtin/seo-aeo-expert/fixtures/stale-tactic-guard/llms_claim_fire.expected.json +3 -0
- package/packs/builtin/seo-aeo-expert/fixtures/stale-tactic-guard/llms_claim_fire.input.json +10 -0
- package/packs/builtin/seo-aeo-expert/fsm.yaml +43 -0
- package/packs/builtin/seo-aeo-expert/lessons/ai-mode-default-fanout/lesson.md +16 -0
- package/packs/builtin/seo-aeo-expert/lessons/bing-is-chatgpt/lesson.md +15 -0
- package/packs/builtin/seo-aeo-expert/lessons/bot-taxonomy-three-classes/lesson.md +21 -0
- package/packs/builtin/seo-aeo-expert/lessons/chunk-shape/lesson.md +18 -0
- package/packs/builtin/seo-aeo-expert/lessons/citation-over-rank/lesson.md +19 -0
- package/packs/builtin/seo-aeo-expert/lessons/cloudflare-default-block/lesson.md +18 -0
- package/packs/builtin/seo-aeo-expert/lessons/deprecated-tactics-2026/lesson.md +32 -0
- package/packs/builtin/seo-aeo-expert/lessons/engine-divergence/lesson.md +22 -0
- package/packs/builtin/seo-aeo-expert/lessons/freehand-schema-forbidden/lesson.md +21 -0
- package/packs/builtin/seo-aeo-expert/lessons/geo-content-levers/lesson.md +20 -0
- package/packs/builtin/seo-aeo-expert/lessons/google-official-ai-guide/lesson.md +17 -0
- package/packs/builtin/seo-aeo-expert/lessons/llms-txt-dead/lesson.md +19 -0
- package/packs/builtin/seo-aeo-expert/lessons/local-ai-gap/lesson.md +20 -0
- package/packs/builtin/seo-aeo-expert/lessons/measurement-discontinuities/lesson.md +29 -0
- package/packs/builtin/seo-aeo-expert/lessons/mentions-beat-backlinks/lesson.md +16 -0
- package/packs/builtin/seo-aeo-expert/lessons/no-js-execution/lesson.md +18 -0
- package/packs/builtin/seo-aeo-expert/lessons/schema-actual-role/lesson.md +22 -0
- package/packs/builtin/seo-aeo-expert/lessons/schema-claims-need-ground-truth/lesson.md +34 -0
- package/packs/builtin/seo-aeo-expert/lessons/ugc-citation-channels/lesson.md +22 -0
- package/packs/builtin/seo-aeo-expert/manifest.yaml +128 -0
- package/packs/builtin/seo-aeo-expert/models.yaml +19 -0
- package/packs/builtin/seo-aeo-expert/skills/bot-policy-guard/skill.yaml +159 -0
- package/packs/builtin/seo-aeo-expert/skills/ground-truth-gate/skill.yaml +66 -0
- package/packs/builtin/seo-aeo-expert/skills/meta-quality-gate/skill.yaml +137 -0
- package/packs/builtin/seo-aeo-expert/skills/page-removal-guard/skill.yaml +30 -0
- package/packs/builtin/seo-aeo-expert/skills/pre-push-seo-checklist/skill.yaml +61 -0
- package/packs/builtin/seo-aeo-expert/skills/schema-validation-gate/skill.yaml +163 -0
- package/packs/builtin/seo-aeo-expert/skills/ssr-regression-guard/skill.yaml +58 -0
- package/packs/builtin/seo-aeo-expert/skills/stale-tactic-guard/skill.yaml +72 -0
- package/packs/builtin/task-spec-author/SKILL.md +469 -0
- package/packs/builtin/task-spec-author/manifest.yaml +41 -0
- package/packs/builtin/task-spec-author/skills-catalog.md +115 -0
- package/packs/builtin/task-spec-author/team.yaml +33 -0
- package/schemas/channels.schema.json +13 -0
- package/schemas/drift_response.schema.json +47 -0
- package/schemas/manifest.schema.json +904 -0
- package/schemas/models.schema.json +68 -0
- package/schemas/notifications.schema.json +64 -0
- package/schemas/skill.schema.json +556 -0
|
@@ -0,0 +1,469 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: task-spec-author
|
|
3
|
+
description: 'Author task specs that ship at high compression. Use when the user wants to add a new task to docs/tasks/, extend an existing track, or create a new track spec file. Applies the standardized 11-field template (persona-specific skills + 7-phase workflow + concrete code shapes + acceptance criteria) that empirically ships 10–15× faster than minimal specs by eliminating implementation drift.'
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Task Spec Author
|
|
7
|
+
|
|
8
|
+
You're authoring a task spec destined for `docs/tasks/<track>.md` in the loop planning repo (or equivalent task-spec location). The spec is a contract for future implementation — a subagent reading any task block should have zero guesswork about what to do.
|
|
9
|
+
|
|
10
|
+
**Why this discipline matters:** detailed specs have empirically compressed 14–15 working days of typical implementation into ~10.6 wall-clock hours (~13× compression on the opensquid 8-phase refactor, 2026-05-19 → 2026-05-20). The mechanism: subagents given persona-specific skills + concrete 7-phase steps + real code shapes don't burn cycles exploring or asking — they execute. The cost of detail upfront (~30–60 min per task) is paid back many times over in avoided rework cycles.
|
|
11
|
+
|
|
12
|
+
## When to use this skill
|
|
13
|
+
|
|
14
|
+
Trigger phrases include:
|
|
15
|
+
|
|
16
|
+
- "add a task for X"
|
|
17
|
+
- "spec out the work for Y"
|
|
18
|
+
- "create a new track for Z"
|
|
19
|
+
- "author task specs"
|
|
20
|
+
- "extend docs/tasks/ with..."
|
|
21
|
+
- "write up the implementation plan for..."
|
|
22
|
+
|
|
23
|
+
Do NOT use this skill for:
|
|
24
|
+
|
|
25
|
+
- Memory entries (use the auto-memory system in CLAUDE.md)
|
|
26
|
+
- Slash commands or runtime skills (those have separate formats)
|
|
27
|
+
- One-off implementation notes (this is for tracked, multi-phase work)
|
|
28
|
+
- ADRs / design docs (those go in `docs/`, not `docs/tasks/`)
|
|
29
|
+
|
|
30
|
+
## The 11-field task template (fixed order)
|
|
31
|
+
|
|
32
|
+
Every task block follows this template in this order:
|
|
33
|
+
|
|
34
|
+
````markdown
|
|
35
|
+
### Task <ID>: <name>
|
|
36
|
+
|
|
37
|
+
**Required skills:** [2–5 from skills-catalog.md]
|
|
38
|
+
**Deliverable:** [one sentence]
|
|
39
|
+
**Depends on:** [task IDs or markdown links to other phase files]
|
|
40
|
+
|
|
41
|
+
**Files affected:**
|
|
42
|
+
|
|
43
|
+
- `path/to/file.ts` (new) — role
|
|
44
|
+
- `other/file.ts` (modify) — what changes
|
|
45
|
+
|
|
46
|
+
**Key code shapes:**
|
|
47
|
+
|
|
48
|
+
```<lang>
|
|
49
|
+
// real TS / YAML / SQL — never pseudocode
|
|
50
|
+
```
|
|
51
|
+
````
|
|
52
|
+
|
|
53
|
+
**Test fixtures:**
|
|
54
|
+
|
|
55
|
+
- Input X → expected Y
|
|
56
|
+
- Input A → expected B
|
|
57
|
+
- Edge case: empty input → expected behavior
|
|
58
|
+
|
|
59
|
+
**Acceptance criteria:**
|
|
60
|
+
|
|
61
|
+
- [ ] specific condition 1
|
|
62
|
+
- [ ] specific condition 2
|
|
63
|
+
|
|
64
|
+
**Risk callouts:**
|
|
65
|
+
|
|
66
|
+
- gotcha 1
|
|
67
|
+
- gotcha 2
|
|
68
|
+
|
|
69
|
+
**References:**
|
|
70
|
+
|
|
71
|
+
- URL or path
|
|
72
|
+
|
|
73
|
+
**Verification commands:**
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
pnpm typecheck
|
|
77
|
+
pnpm vitest run path/to/test
|
|
78
|
+
```
|
|
79
|
+
|
|
80
|
+
**7-phase steps:**
|
|
81
|
+
|
|
82
|
+
1. **pre-research:** [specific files, URLs, questions]
|
|
83
|
+
2. **learn:** [specific output deliverable]
|
|
84
|
+
3. **code:** [specific files + module structure]
|
|
85
|
+
4. **test:** [specific test names + cases]
|
|
86
|
+
5. **audit:** [specific quality gates]
|
|
87
|
+
6. **post-research:** [specific external sources]
|
|
88
|
+
7. **fix:** [what audit + post-research feedback gets applied]
|
|
89
|
+
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
The order is load-bearing — readers scan top-down. Skills line first lets a subagent know which persona to embody before reading further.
|
|
93
|
+
|
|
94
|
+
## Field-by-field discipline
|
|
95
|
+
|
|
96
|
+
### Required skills (2–5 entries)
|
|
97
|
+
|
|
98
|
+
**Granularity rule:** library/package or research-domain level. NOT generic categories.
|
|
99
|
+
|
|
100
|
+
Wrong (generic):
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
**Required skills:** TypeScript expert; Testing expert
|
|
104
|
+
|
|
105
|
+
```
|
|
106
|
+
|
|
107
|
+
Right (persona-specific):
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
**Required skills:** Zod schema design expert (zod npm package, TS); TypeScript discriminated union design expert; Audit / code review expert; Architectural design expert
|
|
111
|
+
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
Mix two types:
|
|
115
|
+
- **Library/package** experts: `chokidar npm package expert`, `lru-cache npm package expert`, `Zod schema design expert (zod npm package, TS)`, `commander v12 CLI argument parsing expert`
|
|
116
|
+
- **Research-domain** experts: `Audit / code review expert`, `Architectural design expert`, `Security capability model expert`, `Performance / overhead analysis expert`, `Two-stage validation gate design expert`
|
|
117
|
+
|
|
118
|
+
The persona IS the embodied expertise. Mix both kinds so the subagent knows the right library AND the right thinking discipline.
|
|
119
|
+
|
|
120
|
+
If a skill isn't in `skills-catalog.md` yet, **add it** (see "Skills catalog extension" below).
|
|
121
|
+
|
|
122
|
+
### Deliverable (one sentence)
|
|
123
|
+
|
|
124
|
+
The shipped artifact. Concrete and observable.
|
|
125
|
+
|
|
126
|
+
Wrong: "Improve the runtime"
|
|
127
|
+
Right: "`src/runtime/types.ts` Event union has 8 variants (4 existing + 4 new); skill schema accepts `triggers:` block; evaluator filters rules by event kind; all Phase 1–7 tests still pass."
|
|
128
|
+
|
|
129
|
+
### Depends on
|
|
130
|
+
|
|
131
|
+
Task IDs OR markdown links to other phase files. Every dependency must be resolvable.
|
|
132
|
+
|
|
133
|
+
Wrong: "Depends on Phase 1"
|
|
134
|
+
Right: "Depends on [AUTO.1](automation.md#task-auto1-widen-event-union-...), [phase-7-wedge-gate.md](phase-7-wedge-gate.md) (capture.ts + promote.ts)"
|
|
135
|
+
|
|
136
|
+
### Files affected
|
|
137
|
+
|
|
138
|
+
Manifest of every file the task creates or modifies, with role.
|
|
139
|
+
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
- `src/runtime/types.ts` (modify) — extend Event union with 4 new variants
|
|
143
|
+
- `src/runtime/types.test.ts` (new) — round-trip tests per variant
|
|
144
|
+
- `package.json` (modify) — add `chokidar: ^3.6.0` dependency
|
|
145
|
+
|
|
146
|
+
````
|
|
147
|
+
|
|
148
|
+
Catches scope creep. If you're touching 10 files, the task is too big — split it.
|
|
149
|
+
|
|
150
|
+
### Key code shapes
|
|
151
|
+
|
|
152
|
+
**Real code, not pseudocode.** The shapes are paste-and-adapt scaffolding for the implementing subagent. Show:
|
|
153
|
+
- Type signatures
|
|
154
|
+
- Function shapes (impl body can be `/* ... */`)
|
|
155
|
+
- YAML schemas
|
|
156
|
+
- SQL DDL
|
|
157
|
+
|
|
158
|
+
Wrong (pseudocode):
|
|
159
|
+
```typescript
|
|
160
|
+
// somewhere, somehow, parse the cron expression and validate it
|
|
161
|
+
function parseCron(input: string): CronResult { /* magic */ }
|
|
162
|
+
````
|
|
163
|
+
|
|
164
|
+
Right (real shape):
|
|
165
|
+
|
|
166
|
+
```typescript
|
|
167
|
+
import { CronExpressionParser } from 'cron-parser';
|
|
168
|
+
|
|
169
|
+
export interface CronResult {
|
|
170
|
+
cron: string;
|
|
171
|
+
next: Date;
|
|
172
|
+
timezone: string;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
export function parseCron(input: string, tz: string = 'UTC'): CronResult {
|
|
176
|
+
const expr = CronExpressionParser.parse(input, { tz });
|
|
177
|
+
return { cron: input, next: expr.next().toDate(), timezone: tz };
|
|
178
|
+
}
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
If the spec's signatures differ from the design doc, **the design doc wins** — file an issue rather than diverging silently.
|
|
182
|
+
|
|
183
|
+
### Test fixtures
|
|
184
|
+
|
|
185
|
+
Concrete input → expected output. Treat as the floor: add to them; don't shrink them.
|
|
186
|
+
|
|
187
|
+
Format:
|
|
188
|
+
|
|
189
|
+
```
|
|
190
|
+
- Input: X → expected: Y
|
|
191
|
+
- Input: edge case A → expected: B
|
|
192
|
+
- Input: malformed payload → expected: ZodError citing the variant
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
Include happy path + at least one error path + at least one edge case.
|
|
196
|
+
|
|
197
|
+
### Acceptance criteria
|
|
198
|
+
|
|
199
|
+
Checklist that the audit phase verifies explicitly. Specific, not vague.
|
|
200
|
+
|
|
201
|
+
Wrong: "Code works correctly"
|
|
202
|
+
Right:
|
|
203
|
+
|
|
204
|
+
```
|
|
205
|
+
- [ ] Event union exports 8 variants (4 old + 4 new)
|
|
206
|
+
- [ ] Each new variant has Zod schema + TS type via `z.infer`
|
|
207
|
+
- [ ] Skill schema accepts `triggers:` block; default fills `[{kind: 'tool_call'}]`
|
|
208
|
+
- [ ] `pnpm typecheck` exits zero
|
|
209
|
+
- [ ] `pnpm vitest run src/runtime/types.test.ts` passes ≥ 5 new tests
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
### Risk callouts (optional but valuable for foundation/security tasks)
|
|
213
|
+
|
|
214
|
+
Specific gotchas that have bitten or will bite. Each should be actionable.
|
|
215
|
+
|
|
216
|
+
Wrong: "Be careful with concurrency"
|
|
217
|
+
Right: "Discriminated unions in Zod require `z.literal(<value>)` on the discriminator — `z.string()` breaks narrowing silently."
|
|
218
|
+
|
|
219
|
+
For foundation tasks (event unions, type definitions), security tasks (capability gates, auth), and performance-critical tasks (checkpointing, caching), always include 3–5 risk callouts. Cheap CLI wrappers and doc tasks can skip this field.
|
|
220
|
+
|
|
221
|
+
### References
|
|
222
|
+
|
|
223
|
+
URLs, file paths, memory entries. Anything the implementer should read.
|
|
224
|
+
|
|
225
|
+
```
|
|
226
|
+
- `src/runtime/types.ts` lines 52–84 — current Event union
|
|
227
|
+
- `docs/opensquid-real-design.md` §"Event union"
|
|
228
|
+
- Zod discriminated-union docs: https://zod.dev/?id=discriminated-unions
|
|
229
|
+
- Memory: `feedback_user_authored_lessons_immune`
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
### Verification commands
|
|
233
|
+
|
|
234
|
+
Bash commands the implementer runs to verify the task is done. Treat exit codes as gates; never proceed to commit on red.
|
|
235
|
+
|
|
236
|
+
```bash
|
|
237
|
+
cd /Users/slee/projects/opensquid
|
|
238
|
+
pnpm typecheck
|
|
239
|
+
pnpm vitest run src/runtime/types.test.ts
|
|
240
|
+
pnpm build
|
|
241
|
+
```
|
|
242
|
+
|
|
243
|
+
CI invokes the same set — that's the contract.
|
|
244
|
+
|
|
245
|
+
### 7-phase steps
|
|
246
|
+
|
|
247
|
+
The non-negotiable structural lock. Every task lists all seven phases with concrete actions per phase, even if a phase is trivial.
|
|
248
|
+
|
|
249
|
+
The seven phases:
|
|
250
|
+
|
|
251
|
+
1. **pre-research** — read existing code, study docs, lock the approach BEFORE writing
|
|
252
|
+
2. **learn** — synthesize what to build (the "spec output" of pre-research)
|
|
253
|
+
3. **code** — write the implementation
|
|
254
|
+
4. **test** — write + run tests
|
|
255
|
+
5. **audit** — quality gates (file size, idioms, no fail-open, exhaustiveness)
|
|
256
|
+
6. **post-research** — compare against external sources, competitor patterns
|
|
257
|
+
7. **fix** — apply audit + post-research feedback
|
|
258
|
+
|
|
259
|
+
Each phase entry is a SPECIFIC action, not a generic verb.
|
|
260
|
+
|
|
261
|
+
Wrong (vague):
|
|
262
|
+
|
|
263
|
+
```
|
|
264
|
+
1. **pre-research:** Read the relevant code.
|
|
265
|
+
2. **learn:** Figure out what to build.
|
|
266
|
+
3. **code:** Implement it.
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
Right (specific):
|
|
270
|
+
|
|
271
|
+
```
|
|
272
|
+
1. **pre-research:** Re-read `src/runtime/types.ts` lines 52–84 (current Event union). Re-read `src/runtime/evaluator.ts` to enumerate every `switch (event.kind)` site. Read Zod discriminated-union docs.
|
|
273
|
+
2. **learn:** Lock the new event variants' payload fields. Lock `triggers:` block default = `[{kind: 'tool_call'}]`.
|
|
274
|
+
3. **code:** Add 4 z.object schemas + TS types. Extend Event union. Add `triggers:` block to skill schema. Update evaluator filter. Add TS exhaustiveness checks at every switch.
|
|
275
|
+
```
|
|
276
|
+
|
|
277
|
+
The audit phase is the one most often skipped under momentum pressure. **Never skip it** — retroactive audits have empirically surfaced 13+ critical findings on prior tracks. Specs that have a clear `audit:` action save downstream cycles.
|
|
278
|
+
|
|
279
|
+
## Skills catalog extension
|
|
280
|
+
|
|
281
|
+
If a task needs a persona-skill not in `skills-catalog.md`:
|
|
282
|
+
|
|
283
|
+
1. Add an entry to the catalog in the appropriate category (Language/Architectural/Schema/Testing/MCP/Storage/Channels/Secrets/CLI/Cross-platform/Domain-specific/Automation/Durable/Security/Observability/Cost/Wedge/Performance)
|
|
284
|
+
2. Format: `- **<Persona name>** — <one-line scope: library name, key concepts, gotchas>`
|
|
285
|
+
3. Match the granularity of existing entries (library + concepts, not just library name)
|
|
286
|
+
|
|
287
|
+
Example new entry:
|
|
288
|
+
|
|
289
|
+
```markdown
|
|
290
|
+
- **chokidar npm package expert** — `chokidar` file system watcher, `awaitWriteFinish`, polling fallback, FSEvents quirks, ignored globs
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
Adding to the catalog is part of the spec authoring task — don't ship task specs that reference catalog entries that don't exist.
|
|
294
|
+
|
|
295
|
+
## File location + naming
|
|
296
|
+
|
|
297
|
+
Specs live in:
|
|
298
|
+
|
|
299
|
+
```
|
|
300
|
+
/Users/slee/projects/loop/.claude/worktrees/<branch>/docs/tasks/<track>.md
|
|
301
|
+
```
|
|
302
|
+
|
|
303
|
+
Track file naming:
|
|
304
|
+
|
|
305
|
+
- Phase files: `phase-<N>-<slug>.md` (e.g. `phase-1-runtime.md`)
|
|
306
|
+
- Cross-cutting tracks: `cross-<area>.md` or just `<area>.md` (e.g. `cross-llm-call-modes.md`, `automation.md`, `scheduling.md`)
|
|
307
|
+
- Specialty: `personal-pack.md`, `release.md`
|
|
308
|
+
|
|
309
|
+
Task IDs:
|
|
310
|
+
|
|
311
|
+
- Phase tasks: `<phase>.<index>` (e.g. `1.7`, `2.4`)
|
|
312
|
+
- Cross-cutting: `<ABBREV>.<index>` (e.g. `AUTO.1`, `SCHED.3`, `UI.1`, `CLI.5`)
|
|
313
|
+
- Keep IDs stable once shipped — don't renumber, even when inserting tasks
|
|
314
|
+
|
|
315
|
+
## Track file structure (top of file)
|
|
316
|
+
|
|
317
|
+
Every track file opens with a header block before any task entries:
|
|
318
|
+
|
|
319
|
+
```markdown
|
|
320
|
+
# <Track name>
|
|
321
|
+
|
|
322
|
+
**Scope:** Per `docs/<design-doc>.md` §"<section>". One-paragraph description of what this track delivers + why it exists.
|
|
323
|
+
**Relationship to phases:** Which phases/tracks this depends on. Which tasks are keystones.
|
|
324
|
+
**Tasks:** N (<ID-low> through <ID-high>)
|
|
325
|
+
**Specialist skills referenced:** see [`skills-catalog.md`](skills-catalog.md). New entries added in this track: <list any new persona-skills added>.
|
|
326
|
+
**Cross-references:** [other-track.md](other-track.md) (why); [phase-X.md](phase-X.md) (why).
|
|
327
|
+
|
|
328
|
+
---
|
|
329
|
+
```
|
|
330
|
+
|
|
331
|
+
Then the task entries follow, separated by `---` between tasks.
|
|
332
|
+
|
|
333
|
+
## Worked example (compact)
|
|
334
|
+
|
|
335
|
+
A task in the canonical form:
|
|
336
|
+
|
|
337
|
+
````markdown
|
|
338
|
+
### Task EXAMPLE.1: Add request ID propagation to MCP server
|
|
339
|
+
|
|
340
|
+
**Required skills:** MCP SDK expert (@modelcontextprotocol/sdk npm package, TS); TypeScript ESM module design expert; Architectural design expert
|
|
341
|
+
**Deliverable:** Every inbound MCP request generates or propagates a `requestId`; downstream logs + tool responses include it; round-trip test verifies propagation.
|
|
342
|
+
**Depends on:** [Task 1.8](phase-1-runtime.md#task-18-mcp-server-entry--5-read-only-tools)
|
|
343
|
+
|
|
344
|
+
**Files affected:**
|
|
345
|
+
|
|
346
|
+
- `src/mcp/server.ts` (modify) — add request-id middleware
|
|
347
|
+
- `src/mcp/request_id.ts` (new) — generation + extraction helpers
|
|
348
|
+
- `src/mcp/request_id.test.ts` (new)
|
|
349
|
+
|
|
350
|
+
**Key code shapes:**
|
|
351
|
+
|
|
352
|
+
```typescript
|
|
353
|
+
// src/mcp/request_id.ts
|
|
354
|
+
import { randomUUID } from 'node:crypto';
|
|
355
|
+
|
|
356
|
+
export function ensureRequestId(headers: Record<string, unknown>): string {
|
|
357
|
+
const existing = headers['x-request-id'];
|
|
358
|
+
if (typeof existing === 'string' && existing.length > 0) return existing;
|
|
359
|
+
return randomUUID();
|
|
360
|
+
}
|
|
361
|
+
```
|
|
362
|
+
````
|
|
363
|
+
|
|
364
|
+
**Test fixtures:**
|
|
365
|
+
|
|
366
|
+
- Input: headers without `x-request-id` → returns generated UUID v4
|
|
367
|
+
- Input: headers with `x-request-id: "abc-123"` → returns `"abc-123"` unchanged
|
|
368
|
+
- Input: headers with empty string `x-request-id` → returns generated UUID
|
|
369
|
+
|
|
370
|
+
**Acceptance criteria:**
|
|
371
|
+
|
|
372
|
+
- [ ] `ensureRequestId` returns existing id if present, else generates
|
|
373
|
+
- [ ] MCP server wraps every request with the id in context
|
|
374
|
+
- [ ] Tool responses include `requestId` in metadata
|
|
375
|
+
- [ ] `pnpm vitest run src/mcp/request_id.test.ts` passes ≥ 3 tests
|
|
376
|
+
|
|
377
|
+
**Risk callouts:**
|
|
378
|
+
|
|
379
|
+
- MCP SDK 1.29.0 middleware hook signature differs from 1.28 — verify against current version
|
|
380
|
+
- Empty string id should fail the "existing" check, not propagate
|
|
381
|
+
|
|
382
|
+
**References:**
|
|
383
|
+
|
|
384
|
+
- MCP SDK middleware docs: https://github.com/modelcontextprotocol/typescript-sdk
|
|
385
|
+
|
|
386
|
+
**Verification commands:**
|
|
387
|
+
|
|
388
|
+
```bash
|
|
389
|
+
pnpm typecheck
|
|
390
|
+
pnpm vitest run src/mcp/request_id.test.ts
|
|
391
|
+
```
|
|
392
|
+
|
|
393
|
+
**7-phase steps:**
|
|
394
|
+
|
|
395
|
+
1. **pre-research:** Read `src/mcp/server.ts` to find the middleware insertion point. Read MCP SDK 1.29.0 middleware docs to confirm signature.
|
|
396
|
+
2. **learn:** Lock generation strategy (UUID v4 via node:crypto, no external dep).
|
|
397
|
+
3. **code:** Implement `ensureRequestId` + middleware wrapper. Inject into server.ts.
|
|
398
|
+
4. **test:** Three input fixtures. Run vitest.
|
|
399
|
+
5. **audit:** Empty-string case handled. No PII in request ID. File size ≤ 80 LOC.
|
|
400
|
+
6. **post-research:** Compare against gRPC's `x-correlation-id` conventions.
|
|
401
|
+
7. **fix:** Tighten naming if conventions differ.
|
|
402
|
+
|
|
403
|
+
```
|
|
404
|
+
|
|
405
|
+
Note: this is a deliberately small task to show the format compactly. Real foundation/security/performance tasks should be denser in code shapes + risk callouts + 7-phase specificity.
|
|
406
|
+
|
|
407
|
+
## Verification checklist before shipping a spec
|
|
408
|
+
|
|
409
|
+
Before committing a new task or track file:
|
|
410
|
+
|
|
411
|
+
- [ ] Every task has all 11 fields (risk callouts optional for thin tasks)
|
|
412
|
+
- [ ] Every `Required skills` entry resolves in `skills-catalog.md` (or has been added)
|
|
413
|
+
- [ ] Every `Depends on` reference is a valid task ID or working markdown link
|
|
414
|
+
- [ ] Every `Files affected` row has new/modify + role
|
|
415
|
+
- [ ] Every `Key code shapes` block is real code (not pseudocode)
|
|
416
|
+
- [ ] Every 7-phase step is specific (names files, URLs, locks decisions)
|
|
417
|
+
- [ ] Track file has the header block (Scope + Relationship + Tasks count + Skills reference + Cross-references)
|
|
418
|
+
- [ ] README.md task-index updated with the new track + total task count
|
|
419
|
+
- [ ] No engine-vocabulary leak in tasks that touch substrate-side code
|
|
420
|
+
|
|
421
|
+
## Common pitfalls
|
|
422
|
+
|
|
423
|
+
- **Generic skill assignments.** "TypeScript expert" doesn't tell a subagent which persona to embody. Specify library + concepts.
|
|
424
|
+
- **Pseudocode in key code shapes.** The shapes are paste-and-adapt — pseudocode forces the subagent to redesign rather than implement.
|
|
425
|
+
- **Skipping risk callouts on foundation tasks.** Saves 5 minutes now, costs 5 hours of rework later.
|
|
426
|
+
- **Vague 7-phase steps.** "Read the docs" is worthless. "Read commander v12 docs at https://... — focus on subcommand action chaining" is actionable.
|
|
427
|
+
- **Forgetting to extend skills-catalog.** Catalog entries are a dependency; task specs that reference missing entries fail to brief subagents.
|
|
428
|
+
- **Letting task count drift.** README.md task index is the source of truth — every new task increments the total. Update both.
|
|
429
|
+
- **Mixing scopes in one task.** If you find yourself writing "and also" in the deliverable, split into two tasks.
|
|
430
|
+
- **Skipping the audit phase action.** The phase is non-negotiable; specify what audit gate applies (file size, no fail-open, exhaustiveness, license check, engine-vocabulary scan).
|
|
431
|
+
|
|
432
|
+
## What makes a track keystone vs follower
|
|
433
|
+
|
|
434
|
+
Foundation tasks (event unions, type definitions, schema migrations, security gates, perf-critical paths) carry the highest detail bar. Their downstream tasks depend on them; a bad design ripples.
|
|
435
|
+
|
|
436
|
+
Follower tasks (thin CLI wrappers, doc regeneration, simple migrations) carry standard detail. Don't over-engineer them — but never skip the 11 fields entirely.
|
|
437
|
+
|
|
438
|
+
The marginal value of detail is highest for keystone tasks and lowest for follower tasks. Spend authoring time accordingly.
|
|
439
|
+
|
|
440
|
+
## Cross-cutting reminders (apply to every task)
|
|
441
|
+
|
|
442
|
+
These come from the loop project's `docs/tasks/README.md` "Cross-cutting notes" section and should not be duplicated in each task block — but the spec author should verify the task respects them:
|
|
443
|
+
|
|
444
|
+
- TaskCreate before logging the first phase
|
|
445
|
+
- Log all seven phases (never skip audit)
|
|
446
|
+
- File-size discipline (no monoliths)
|
|
447
|
+
- Engine-vocabulary discipline (substrate types only in substrate code)
|
|
448
|
+
- License discipline (no AGPL/GPL/SSPL)
|
|
449
|
+
- Model-neutral architecture (LLM calls via aliases, no model names in source)
|
|
450
|
+
- Auto-commit each verified slice (PATCH bump per slice)
|
|
451
|
+
- No silent fail-open (validate at load, notify, pause)
|
|
452
|
+
- User-authored lessons are eviction-immune
|
|
453
|
+
- Pre-push checklist (typecheck + prettier + lint + test + build, in opensquid)
|
|
454
|
+
- Verify CI after every push
|
|
455
|
+
|
|
456
|
+
These are the cross-cutting contract a task ships into. The spec doesn't restate them — but if the task's design violates one (e.g. introduces silent fail-open, or names a model in source), surface it as a risk callout.
|
|
457
|
+
|
|
458
|
+
## Output
|
|
459
|
+
|
|
460
|
+
After authoring a track file or extending an existing one:
|
|
461
|
+
|
|
462
|
+
1. Confirm the task IDs and count are stable
|
|
463
|
+
2. List the new persona-skills added to skills-catalog.md (if any)
|
|
464
|
+
3. Update `docs/tasks/README.md` task-index row + total count
|
|
465
|
+
4. Commit as one logical slice (`docs: tasks/ — <track> spec authoring (N tasks)`)
|
|
466
|
+
5. Report: how many tasks added, total now, which keystone tasks anchor downstream work
|
|
467
|
+
|
|
468
|
+
If the user said "spec out X tasks" — author + commit. Don't ask "shall I commit?" — the auto-commit rule applies.
|
|
469
|
+
```
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# task-spec-author — opensquid built-in PROFESSION pack wrapping the
|
|
2
|
+
# task-spec-author format authority.
|
|
3
|
+
#
|
|
4
|
+
# The format authority itself lives at ~/.claude/skills/task-spec-author/
|
|
5
|
+
# (Claude Code skill, 432 LOC SKILL.md + 114 LOC skills-catalog.md). This
|
|
6
|
+
# pack provides the OPENSQUID-side handle: when scope-architect's chain-handoff
|
|
7
|
+
# emits a directive with `next_action.profession: task-spec-author`, the agent
|
|
8
|
+
# resolves the profession by reading this pack's `team.yaml` role + the
|
|
9
|
+
# bundled SKILL.md format authority, then spawns a subagent applying both.
|
|
10
|
+
#
|
|
11
|
+
# Promoted per T-DISCIPLINE-PIPELINE-COMPLETION DPC.1 (2026-05-30). The CC
|
|
12
|
+
# skill stays at its CC location for the format-authority + skills-catalog
|
|
13
|
+
# discipline; this pack is the opensquid-side reference that makes the
|
|
14
|
+
# profession addressable from chain-handoff directives.
|
|
15
|
+
#
|
|
16
|
+
# Ships in the npm package; opt-in via active.json:
|
|
17
|
+
#
|
|
18
|
+
# { "packs": ["scope-architect", "task-spec-author"] }
|
|
19
|
+
#
|
|
20
|
+
# `evolves: false` — task-spec-author's format authority is locked content
|
|
21
|
+
# (the 11-field template + 7-phase steps + persona-skills catalog), not a
|
|
22
|
+
# wedge-gate-mutable rule set.
|
|
23
|
+
name: task-spec-author
|
|
24
|
+
version: 0.1.0
|
|
25
|
+
scope: universal
|
|
26
|
+
# GF.1 (F1) — a PROFESSION pack. Without this the manifest defaults to `usage: active`,
|
|
27
|
+
# so `loadPack` skips its team.yaml and `resolveProfessionDirective` rejects the
|
|
28
|
+
# coding-flow `handoff-research-to-spec` directive `wrong-usage` and drops it — the
|
|
29
|
+
# SCOPE→AUTHOR handoff, the spine of the 3-stage flow, never fires. Mirrors
|
|
30
|
+
# scope-architect/manifest.yaml `usage: both`.
|
|
31
|
+
usage: profession
|
|
32
|
+
goal: produce verified 11-field task specs from intent + pre-research
|
|
33
|
+
description: |
|
|
34
|
+
Profession pack wrapping the task-spec-author format authority. Has no
|
|
35
|
+
`rules` of its own (validatePackFunctions is a no-op for profession packs;
|
|
36
|
+
the discipline lives in the bundled SKILL.md + skills-catalog.md format
|
|
37
|
+
reference). Loaded when chain-handoff-research-to-spec directive emits
|
|
38
|
+
`next_action.profession: task-spec-author` — the agent spawns a subagent
|
|
39
|
+
with this pack's team-role and the bundled SKILL.md as its system-prompt
|
|
40
|
+
addendum, runs the spec-authoring, returns the produced docs/tasks/T-*.md.
|
|
41
|
+
evolves: false
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
# Skills catalog
|
|
2
|
+
|
|
3
|
+
Persona-specific skills referenced by `docs/tasks/*.md` track specs in the loop planning repo. Each entry follows `library + concepts + gotchas` granularity — generic categories ("TypeScript expert", "Testing expert") are not acceptable; the persona must point at concrete libraries / domains the implementer must already know.
|
|
4
|
+
|
|
5
|
+
Entries are categorized so spec authors can scan by area. When adding a new persona, drop it in the closest category — create a new category only when 2+ entries would land in it.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## Language / Module structure
|
|
10
|
+
|
|
11
|
+
- **TypeScript ESM module design expert** — Node ESM (`type: "module"`), `.js` extension in import specifiers, top-level `await`, barrel re-exports, ESM ↔ CJS interop gotchas
|
|
12
|
+
- **TypeScript discriminated union design expert** — `z.literal` discriminators, exhaustiveness via `never`, `as const` narrowing, no-fail-open at switches
|
|
13
|
+
- **TypeScript compiler API expert** — `typescript` npm package, `ts.createSourceFile(name, text, ts.ScriptTarget.Latest, /*setParentNodes*/ true)`, `ts.forEachChild` recursive visitor, type guards (`ts.isCallExpression`, `ts.isPropertyAccessExpression`, `ts.isIdentifier`), `ts.SyntaxKind` enum, `SourceFile.getLineAndCharacterOfPosition(pos)` for human-readable positions (1-indexed line in display), JSDoc trivia stripped by default (the parser DOESN'T emit comment nodes — perfect for "real call site" detection), no need to add `typescript` as a runtime dep (it's already a devDependency in opensquid)
|
|
14
|
+
- **Rust async expert (tokio)** — `tokio::spawn`, `tokio::net`, async traits, `Arc<Mutex>` vs message passing, cancellation safety, runtime feature flags
|
|
15
|
+
- **Quarantine archaeology expert** — reading pre-reset code in `src.legacy/`, mapping symbols to current architecture, separating "still useful" from "obsolete", git-blame-driven recovery
|
|
16
|
+
|
|
17
|
+
## Schema / Validation
|
|
18
|
+
|
|
19
|
+
- **Zod schema design expert** — `zod` npm package, discriminated unions, `z.infer`, `.brand`, narrowing patterns, `safeParse` vs `parse`, error shape preservation
|
|
20
|
+
- **JSON Schema / Ajv expert** — Draft 2020-12, `ajv` npm package, schema bundling, `$ref` resolution, custom keywords, oneOf vs anyOf vs allOf semantics
|
|
21
|
+
- **YAML schema design expert** — `yaml` npm package, anchors + aliases pitfalls, bundled schemas, editor-friendly key ordering, forgiving validation patterns
|
|
22
|
+
|
|
23
|
+
## Architecture / Audit
|
|
24
|
+
|
|
25
|
+
- **Architectural design expert** — boundary discipline, substrate vs consumer separation, dependency direction, file-size enforcement, async vs sync surface choice
|
|
26
|
+
- **Architectural-invariant test design expert** — production-grade enforcement of architectural decisions via test (single-caller invariants, layer-boundary invariants, "no caller in X may call Y" rules); the source-grep vs AST-walk trade-off (grep matches strings in JSDoc/comments — fragile; AST-walk parses the real call graph — ~100ms per file but robust); test placement convention (name the file after the invariant — e.g. `appendturn_sole_caller.test.ts` — not as a dumping-ground `architecture.test.ts`); INCLUDE-and-assert-location pattern (count == 1 AND location == expected) vs EXCLUDE-and-count (looser, passes at count==0); failure-message discipline (cite the offender file + line so triage is one-step + suggest the fix path); stale-FIXME-as-drift discipline (FIXMEs describing already-shipped work are documentation drift — recharacterize as architectural-contract JSDoc, don't delete the prose); the "JSDoc IS the architecture doc" principle — a separate architecture.md drifts; per-class JSDoc is the canonical statement
|
|
27
|
+
- **Audit / code review expert** — fail-open detection, file-size discipline, idiom-check, no-`console.log`, no-`process.exit` outside CLI, license-grep, engine-vocabulary leak
|
|
28
|
+
- **Two-stage validation gate design expert** — capture-stage user validation + promotion-stage outcome validation; eviction immunity invariants; block-only-testable patterns
|
|
29
|
+
- **Tool-sequence FSM design expert** — Letta-style finite-state-machine over agent tool-call sequences ("after X tool, next tool must be Y or Z") adapted for opensquid via `session_tool_history` primitive + Stop-hook + exit-2 retry-loop pattern; heuristic-detection limitations (regex-only consumption check is imperfect — false-negatives slip drift through, false-positives cost a recovery turn); the ~1s visible-flash trade-off (Claude Code has no PreAssistantMessage hook, so Stop+exit-2 fires AFTER prose is emitted); plugin-vs-direct-install Stop hook split (GitHub issue #10412 — plugin Stop hooks halt, direct `.claude/hooks/` Stop hooks loop); when to pair with `destination_check` rule for LLM-judged consumption detection vs deterministic-heuristic-only
|
|
30
|
+
- **Security capability model expert** — capability-grant patterns, denylist sealing, override env vars, audit log row shape, blast-radius reasoning, sandbox depth/step caps, proto-pollution defense via `Object.hasOwn`, allow-list discipline, fail-closed error paths
|
|
31
|
+
- **Performance / overhead analysis expert** — hot-path branch cost, cold-start vs warm-path, allocation budgets, fs-read budgets per hook fire, microsecond-class budgets
|
|
32
|
+
- **TypeScript exhaustiveness checking expert** — discriminated-union switches with `never` default, `as const` narrowing, no-fail-open at every switch, `assertNever(x: never): never` helper pattern
|
|
33
|
+
- **Regression testing expert** — preserve every test in a contract suite, identify the single justified rewrite, audit-grep for orphan symbols, behavior-change documentation in CHANGELOG
|
|
34
|
+
|
|
35
|
+
## Parser / Interpreter / DSL
|
|
36
|
+
|
|
37
|
+
- **chevrotain npm package expert** — `chevrotain` v11 (pin against opensquid Node 20+), `createToken` token primitives, `Lexer`, `CstParser` LL(k) grammar DSL, perf-guide singleton-parser pattern, longest-match token ordering (multi-char operators first), `performSelfAnalysis()` lock against left-recursion, error recovery, `getBaseCstVisitorConstructor()` for CST→AST
|
|
38
|
+
- **Tree-walking interpreter design expert** — AST node dispatch via discriminated union, scope binding via `Map<string, unknown>`, short-circuit evaluation for `&&`/`||`, sandbox primitives (depth-cap, step-cap, prototype-pollution defense via `Object.hasOwn`), error class hierarchy (`InterpreterLimitError` / `InterpreterRuntimeError`), strict vs loose equality semantics
|
|
39
|
+
- **CST→AST visitor pattern expert** — chevrotain `BaseCstVisitor` subclassing, `validateVisitor()` lock against typo'd method names, position-preserving lowering (chevrotain token `startOffset` → AST `offset` field), left-fold associativity for `MANY`-produced rhs sequences, exhaustive node-kind dispatch
|
|
40
|
+
- **TypeScript function allow-list design expert** — frozen `Record<string, FnHandler>` map via `Object.freeze`, no spread / no late mutation invariant, audit-grep for `FUNCTIONS\[` assignment, 5-point expansion checklist (cite-skill / pure / attack-surface / coercion-table / test-gate), JSDoc coercion tables
|
|
41
|
+
- **ReDoS mitigation expert** — catastrophic backtracking patterns (`(a+)+$`-class), V8 RegExp engine pathologies, comparable-project landscape (Cerbos Go regexp, Cloudflare re2-wasm, OPA Rego), threat-model scoping by trust boundary (first-party vs third-party pack ecosystem), node `vm` module rejection (CVE-2023-29017 / VM2)
|
|
42
|
+
- **re2-wasm npm package expert** — `re2-wasm` / `node-re2` / `re2js` package landscape + maintenance verification, `new RE2(pattern).test(s)` API, PCRE-subset that RE2 rejects (backreferences `\1`, lookarounds `(?=...)`/`(?<=...)`, possessive quantifiers `a++`), WASM cold-start (~50ms), bundle-size delta (~250KB)
|
|
43
|
+
|
|
44
|
+
## MCP / Tool servers
|
|
45
|
+
|
|
46
|
+
- **MCP SDK expert (`@modelcontextprotocol/sdk` npm package, TS)** — `Server` + `ListToolsRequestSchema` + `CallToolRequestSchema`, `StdioServerTransport`, version handshake, `zodToJsonSchema` integration, read-only-by-default tool design
|
|
47
|
+
- **MCP write-tool design expert** — idempotency keys, side-effect surface (storage row inserts vs in-memory state), dispatcher-bypass auditing, harness re-prompt safety, capability gating on write tools
|
|
48
|
+
- **JSON-RPC 2.0 over stdio expert** — line-delimited framing, request/response id pairing, error code conventions (-32700..-32603 reserved, -32000..-32099 custom), `id: null` notification edge cases
|
|
49
|
+
- **loop-engine JSON-RPC client expert** — `EngineClient` wrapper from `src/engine/client.ts`, custom `ENGINE_ERROR` codes (-32000..-32004), `ManifestAssembleParams` side-effect quirks, LOOP_HOME pinning, stderr drain
|
|
50
|
+
|
|
51
|
+
## Storage / RAG / Embeddings
|
|
52
|
+
|
|
53
|
+
- **lru-cache npm package expert** — `lru-cache` v11 (already a dep in opensquid at `package.json:69`), `max` sizing, `get`/`set` API, `cache.size` property (not method) in v11, `cache.max` read-only, `clear()` for hot-reload paths, manual hit/miss counting (v11 doesn't expose counters by default)
|
|
54
|
+
- **libsql migration expert** — `@libsql/client` npm package, schema migrations via `db.execute(...)` + version pragma, idempotent ingest (`INSERT OR IGNORE`, `UNIQUE` constraints), scope tagging, Turso remote URL vs local file URL
|
|
55
|
+
- **Turso replication / cloud sync expert** — embedded replica + remote URL pattern, LWW per-row conflict policy, scope-keyed selective sync, replication interval tuning, opt-in config surface, sensitive-row exclusion
|
|
56
|
+
- **Vector search / RRF expert** — Reciprocal Rank Fusion (RRF_K=60 industry default), hybrid semantic + text fusion, score normalization caveats, top-k vs candidate-set sizing
|
|
57
|
+
- **Qwen3 embedder integration expert** — Qwen3-Embedding-4B via Ollama (`http://localhost:11434/api/embed`), 2560-dim vector shape, batch vs per-call cost, fallback-on-Ollama-down patterns
|
|
58
|
+
- **HNSW persistence + cold-start expert** — `hnsw_rs` crate, rehydrate-on-start patterns, status-aware failure surface, `HNSW_MAX_ELEMENTS` caps, .vec sidecar discipline
|
|
59
|
+
|
|
60
|
+
## Hooks / Harness integration
|
|
61
|
+
|
|
62
|
+
- **Claude Code hooks expert** — `~/.claude/settings.json` hooks contract, `SessionStart`/`SessionEnd`/`Stop`/`PreToolUse`/`UserPromptSubmit` event shapes, stdin JSON payload, stderr-for-drift convention, exit-code semantics (0=allow, 2=block), `bin` entry vs inline `node` command, fail-open invariant
|
|
63
|
+
- **System integration test / CI fixtures expert** — spawning bin entries with constructed stdin in CI, exit-code + stdout + stderr assertions, no-op detection via observable side effect, fixture stability across Node versions
|
|
64
|
+
- **harness Monitor stream-source expert** — authoring a long-running command for the Claude Code `Monitor` tool (`persistent: true`): one stdout LINE = one in-chat event, events arrive on their own schedule (NOT user replies), child-side buffering is the #1 gotcha (a Node child `process.stdout.write(line + '\n')` per event flushes per call — no `stdbuf` needed, unlike piped C stdio), graceful run-forever (no exit), the session-scoped lifecycle limitation (dies at session end → agent re-starts at session start); contrast with cron/interval polling (`CronCreate`/`ScheduleWakeup`) which this explicitly replaces
|
|
65
|
+
|
|
66
|
+
## CLI / UX
|
|
67
|
+
|
|
68
|
+
- **commander v12 CLI argument parsing expert** — `commander` npm package v12, subcommand action chaining, `parseAsync`, `--help` output discipline, error exit codes
|
|
69
|
+
- **CLI + UX expert** — clear `--help` strings, idempotent verbs, dry-run flags, `--yes` confirmation policy, TTY-vs-non-TTY behavior, exit-code conventions
|
|
70
|
+
|
|
71
|
+
## Cross-platform / Lifecycle
|
|
72
|
+
|
|
73
|
+
- **Unix domain socket singleton design expert** — `node:net` + `tokio::net::UnixListener`, path-byte limits (macOS 104, Linux 108), stale-socket cleanup, `proper-lockfile` serialization, `detached + stdio:'ignore'` patterns
|
|
74
|
+
- **Subprocess lifecycle expert** — `node:child_process.spawn`, stderr drain, SIGTERM → SIGKILL escalation, pidfile patterns, detached daemon survival across parent exit
|
|
75
|
+
- **opensquid hook-bin fast-path expert** — the four universal hook bins (`pre-tool-use.ts`, `user-prompt-submit.ts`, `stop.ts`, `session-end.ts`) at `src/runtime/hooks/`: their unconditional sequence (parse → side-effect writes → `loadActivePacks` → `buildRegistry` → `dispatchEvent`); where the idle-skip slot is (AFTER existing side effects to preserve observable behavior, BEFORE `loadActivePacks` to avoid the cost); the stat-based liveness probe pattern (cheap `fs.stat` on `automation.flag` + `active-task.json`); when to short-circuit vs always-run (state-transitioning tools like `TaskCreate`/`TaskUpdate` must NEVER skip dispatch since they may write the active-task signal); fail-open discipline at the fast-path boundary (stat-error of unknown kind → assume engaged, run the dispatcher — never silently swallow a gate by exiting early); shared regex constants kept in sync with personal-pack rules via a SUPERSET discipline (false-positive = cheap pack load; false-negative = missed gate)
|
|
76
|
+
- **session-liveness probe expert** — answering "is this session-id plausible RIGHT NOW?" from filesystem evidence alone: stat-based freshness checks on session-state files (`<home>/sessions/<id>/active-task.json` and `state/tool-ledger.json`), mtime threshold semantics (default ~30min, env-configurable), `--force` escape hatch for first-fire-before-any-hook scenarios, fail-loud-not-silent when a CLI is about to write state to an implausible session-id (the cross-process-coordination failure mode behind silent-gate-disablement); contrast with active-task-presence checks (which answer "is a task loaded?", not "is the session itself alive?")
|
|
77
|
+
- **cross-platform app-config path resolution expert** — locating per-host config files across macOS/Windows/Linux: macOS `~/Library/Application Support/<App>/`, Windows `%APPDATA%\<App>\`, Linux `~/.config/<App>/` (XDG); `process.platform` branching, `homedir()` + `env.APPDATA` fallbacks, `path.join` (never string concat); "app installed?" detection via parent-dir existence (create file only if dir exists, skip otherwise — don't fabricate an app's config tree)
|
|
78
|
+
- **chokidar file-tail / append-stream expert** — `chokidar` npm package (already an opensquid dep, see `src/runtime/agent_bridge/transport_bridge.ts`): watching an append-only JSONL file that may not exist yet (fires `add` on creation, `change` on append), `{ ignoreInitial: true }` for new-only (the `tail -n 0 -F` equivalent — skip backlog), `awaitWriteFinish: { stabilityThreshold, pollInterval }` to coalesce partial-write events, byte-offset + leftover-buffer pattern for reading only appended bytes (stat size vs lastOffset; size < offset ⇒ truncation/rotation reset), partial-trailing-line carry across events; FSEvents quirks on macOS, polling fallback
|
|
79
|
+
|
|
80
|
+
## Domain-specific (opensquid runtime)
|
|
81
|
+
|
|
82
|
+
- **Pack / cartridge loader expert** — `src/cartridge/`, manifest.yaml schema, preload vs lazy load, scope hierarchy (user / project / skill / global / team)
|
|
83
|
+
- **opensquid pack loader expert** — `src/packs/loader.ts` + `src/packs/yaml.ts` (`parseYamlFile` error formatter at lines 86-93), schema-failure surfacing with source path, load-time vs eval-time validation timing, Zod field-path threading
|
|
84
|
+
- **opensquid pack-format expert** — `packs/builtin/` directory structure, `manifest.yaml` + `SKILL.md` + fixtures layout, `# Example — not load-bearing` header convention, BEFORE.md/SKILL.md/manifest.yaml triple-file pedagogical pattern
|
|
85
|
+
- **Evaluator + rule process expert** — `src/runtime/evaluator.ts` unified rule + checkpoint + memo paths, `ProcessStep[]` interpreter, durable wrap + memo wrap order, no-eval policy, `verdict` primitive semantics
|
|
86
|
+
- **opensquid runtime evaluator integration expert** — `src/runtime/evaluator.ts` unified rule + checkpoint + memo paths, `evalCondition` delegate boundary, header-docstring discipline, no-eval policy, regex-constant deletion targets (`EQ_PATTERN`/`BARE_PATTERN`/`NUM_CMP_PATTERN`/`BOOL_CMP_PATTERN`/`STR_PATH_EQ_PATTERN`)
|
|
87
|
+
- **Recall-injection / context-pre-prepend expert** — `UserPromptSubmit` hook pattern, top-K recall selection, system-reminder framing, configurable per-codex thresholds, token-budget guards
|
|
88
|
+
- **opensquid skill.yaml author expert** — authoring `skills/<name>/skill.yaml` against `schemas/skill.schema.json`: `track_check` vs `destination_check` rules, `ProcessStep` chains (`call`/`args`/`as`/`if`/`on_empty`), `when_to_load` triggers (`event_type` / `tool_match`), `if:` clause authoring against the frozen 5-function allow-list (`len`/`contains`/`startsWith`/`endsWith`/`match`), `parseExpression()` pre-write validation discipline, verdict-level selection (`pass`/`block`/`warn`/`surface`), copy-precedent from `workflow`/`git`/`d9-guard` skills, no-agent-loop constraint (skills emit verdicts, never orchestrate)
|
|
89
|
+
- **opensquid chain-state machine expert** — the per-session chain state machine at `~/.opensquid/sessions/<id>/chain-state.json`: 7 stages (`idle → scoping → researched → spec_authored → tasks_loaded → phases_in_flight → phases_complete`), idempotent same-stage writes, append-only `history` audit trail, enrichment fields (`pre_research_path`, `spec_path`, `task_ids`) that accumulate across transitions, the writer-distribution pattern (5 transition points: UserPromptSubmit scope-intent, PreToolUse for research/spec/TaskCreate, log_phase MCP tool), session-scoped lifecycle (`SessionEnd` clears), session_state.ts-style helper pattern (`transitionChainStage` / `readChainState` / `readChainStage` / `clearChainState`), no-throw read posture (absent/malformed ⇒ null ⇒ caller defaults to `'idle'`); contrast with the active-task signal (single value, no history) — chain-state is a multi-stage progression with audit
|
|
90
|
+
- **opensquid directive verdict / structured-protocol expert** — the `level: 'directive'` extension to the `Verdict` schema: `next_action: { skill?, tool?, args?, rationale }` shape (skill XOR tool, args is arbitrary JSON, rationale is mandatory and human-readable), the dispatcher aggregation pattern (mirrors `contextInjections: string[]` for `directives: Directive[]`), the UserPromptSubmit envelope serialization (`additionalContext` carries a fenced JSON block with a clear marker `⛔ DIRECTIVE` so the agent's reader surfaces it AND a future enforcer can parse it without re-parsing English), the no-agent-loop invariant (opensquid still does NOT invoke the named skill — it emits a structured recommendation; the agent dispatches), the coexistence semantics with `block` verdicts (block wins on exitCode 2; directives still ride through on stdout so the next-prompt context carries both); copies the `inject_context` aggregation precedent at `src/runtime/hooks/dispatch.ts:202-214` but with stronger typing
|
|
91
|
+
- **opensquid dispatcher-boundary integration expert** — adding a new gate at the dispatcher's per-skill walk boundary (`src/runtime/hooks/dispatch.ts` between `matchesEvent(...)` and `for (const rule of skill.rules)`): per-fire caching of disk-derived state (one stat per session-scoped file across N skills' precondition evaluations — the cache key is `(sessionId, fire-id)`); fail-open in the engaged direction (ENOENT = absent, any other error = assume present, run the rules); the load-bearing distinction from rule-level `if: auto.value == true` guards (dispatcher-boundary is ONE eval per skill, rule-level is one eval per `process` step); AND-semantics for the new field (every entry must hold; an empty list trivially holds; back-compat with every existing skill); the migration arithmetic — hoisting a skill's leading `is_automation_mode` call into `requires:` saves both that primitive call AND every subsequent step's `if: auto.value == true` guard re-evaluation; integration with the existing trigger filter + `unloads_when` gates (the new boundary slots BETWEEN them); contrast with the hook-bin fast-path (bin-level, all-or-nothing; this is per-skill, declarative)
|
|
92
|
+
- **opensquid agent-bridge daemon expert** — the WAB warm-agent-chat-bridge (`src/runtime/agent_bridge/`): `daemon.ts` (long-running process; PID lock `~/.opensquid/agent-bridge.lock`; per-project chokidar inbox watcher; api-mode lazily constructs the Anthropic SDK client, subscription-mode materializes `~/.opensquid/agent-bridge/mcp-config.json` + spawns Claude with subscription auth, NO ANTHROPIC_API_KEY/metered cost), `transport_bridge.ts` (inbox JSONL → typed events), `dispatcher.ts` (`ChatDispatcher.handleInbound` → batch/coalesce → `runAgentTurn` (api) | `runAgentTurnSubscription` (subscription) → `onReply`; `projectUuidBySlug` mapping), `agent_loop.ts` (`runAgentTurn` — full Anthropic Messages API turn, tool-use loop ≤8, prompt-cache, persisted history via `session_manager.ts`), CLI `agent-bridge {start|stop|status|restart|run-foreground}` (`resolveProjectUuidFromEnv` → cwd-walk); the daemon is autonomous + project-scoped — distinct from the harness-Monitor `chat watch` path which pushes into one live interactive session
|
|
93
|
+
- **opensquid MCP setup-wizard / config-writer expert** — `src/setup/cli/mcp.ts` (`runMcpWizard` testable core; `--dry-run`/`--opensquid-root`/`--no-detect-project-cleanup` flags; injectable `McpCliDeps` for tests) + `src/setup/wizard/mcp-writer.ts` (`writeOpensquidMcp(configPath, repoRoot)` — PATH-generic, not Code-specific; `buildDesiredEntries(root)` = the two server entries → `dist/mcp/server.js` + `dist/mcp/chat-bridge-server.js`; `projectOpensquidMcp` merge that PRESERVES every non-`mcpServers` key via spread round-trip; `'@opensquid': true` marker for idempotent re-run + scoped upgrade; `.bak` snapshot before mutation); the writer works on ANY host config file with the `{mcpServers:{}}` shape (Claude Code `~/.claude.json`, Claude Desktop, Cursor) — host knowledge is just the path
|
|
94
|
+
- **opensquid function primitive author expert** — authoring `src/functions/<name>.ts` primitives: `FunctionDef<TArgs,TResult>` shape (`name`/`argSchema` Zod `.strict()`/`durable`/`memoizable`/`costEstimateMs`/`execute`), `Result<T,FunctionError>` no-throw error model (`ok`/`err` from `../runtime/result.js`), `EvalCtx` access (`event`/`event.cwd`/`bindings`/`sessionId`), read-only vs side-effecting discipline, registration in `buildRegistry()` (`src/runtime/bootstrap.ts`), distinction from the frozen `if:` 5-function allow-list (primitives are `call:`-able, NOT `if:` functions)
|
|
95
|
+
- **opensquid active-task lifecycle expert** — the `active-task.json` signal (`~/.opensquid/sessions/<id>/active-task.json` = `{id,subject,started_at}` | absent) per the unified-evaluator design: written on TaskCreate/TaskUpdate(in_progress), cleared on completed, archived at SessionEnd (rule #16); the harness-TaskCreate vs `mcp__opensquid__TaskCreate` distinction (opensquid must write its own signal); the d9-guard.sh anti-pattern (reading tasks from Stop stdin, which CC doesn't populate); the gate-reads-it / writer-writes-it coupling that the G-track severed; fail-closed-not-open on a missing/malformed signal
|
|
96
|
+
- **loop-engine RPC handler author expert (Rust)** — adding a JSON-RPC method to `engine/src/serve.rs`: the `match method { "memory.create" => … }` dispatch arm pattern, `#[derive(Deserialize)]` param structs, `DispatchError::InvalidParams`, threading the dispatch context deps (`storage`/`llm`/`embedder`/`vector_index`), wrapping an existing `engine::memory::*` library fn (NOT reimplementing), `serde_json::json!` result shaping; the engine pre-push gate (fmt + clippy -D warnings + public-api snapshot + nightly + test) — a new public RPC shifts the public-api snapshot, update deliberately; engine-vocabulary discipline (substrate types only, no consumer concepts)
|
|
97
|
+
- **memory-compression lifecycle expert** — `engine/src/engine/memory/{compress,lifecycle,cycle,store}.rs`: `compress(window, config) -> Mc` (detail→gist LLM summary), `derived_from` predecessor chains + `mem-c-<hex>` ids, citation transfer (`consumed_by_user_lessons = Σ predecessors`), `recompute_citation_counts` / `get_by_id_chasing_derived_from` (citations survive predecessor deletion), cycle/depth guards (max 16), recursive compression; the append-only + user-immunity invariant (`delete(force)` refuses engine-initiated deletes of user-cited memories); the LOCKED policy (D2) — predecessor deletion is the verified, satisfaction-gated, immunity-safe TERMINAL step, never automatic; recall-replay as the compression-quality gate
|
|
98
|
+
- **opensquid skill-lifecycle expert** — the skill load/unload machinery: `unloads_when` (skill field, `types.ts`), `tick.ts` (`createTick`/`advanceTick`/`resetTick` — `prompt_submit` bumps `turnsSinceActivation`, `stop`/`session_end` latch `taskCompleted`/`sessionEnded`, `tool_call` no-op), `unload_conditions.ts` (`shouldUnload` OR-walk over `UnloadCondition` = `active_task_completes`|`session_ends`|`idle_n_turns:n`; `TickState` shape), `pinned_skills.ts` (universal+preload = pinned/resident, exempt from unload; dynamic = unloadable); the "Phase 4 wiring" gap (machinery has ZERO live call sites — `shouldUnload`/`advanceTick` never called by the dispatcher); per-PROCESS persistence requirement (hooks are separate processes, so tick state lives in `session_state.ts` like the tool-ledger, NOT an in-memory Map); the recall-load side (`recall_pre_inject.ts`) is SEPARATE + out of scope (per-turn-fresh `additionalContext`, harness-owned window — not accumulated)
|
|
99
|
+
- **LLM-classifier integration expert** — `llm_classify` primitive (`src/functions/llm.ts`): args `{model(alias), prompt, allowed_labels, timeout_ms?}`, returns one label or `'UNCERTAIN'`, `durable+memoizable` `costEstimateMs:3000`; model-neutral alias resolution (`fast_classifier`, never literal model names); cheap-first composition (gate the LLM step behind a deterministic `if:` so it only fires on a pre-filter hit — zero per-turn cost); fail-quiet on `UNCERTAIN`; the regex-pre-filter → `llm_classify` → `verdict` single-rule pattern (d9-guard / pause-prompt-extended precedent)
|
|
100
|
+
|
|
101
|
+
## Migration / Cleanup
|
|
102
|
+
|
|
103
|
+
- **Auto-memory migration expert** — `~/.claude/projects/<slug>/memory/*.md` reader, frontmatter extraction, idempotent ingest via stable external_id, scope mapping (`scope=user` default), dry-run + diff surfaces
|
|
104
|
+
- **Quarantine cleanup expert** — safe deletion of unimported code, import-graph traversal (`tsc --noEmit` + `eslint-plugin-import` unused detection), `git rm` discipline, per-file commit rationale, rollback safety via single-commit chunks
|
|
105
|
+
|
|
106
|
+
## Documentation / Pedagogy
|
|
107
|
+
|
|
108
|
+
- **Technical writing expert (developer docs)** — reference-doc structure (operator tables, function tables, gotchas), runnable code samples (extract + verify via parser), cross-link discipline, tone matched to comparable projects (Cerbos conditions, OPA Rego, GitHub Actions expressions), keep-a-changelog CHANGELOG conventions
|
|
109
|
+
- **Pedagogical example design expert** — before/after compression demos (BEFORE.md prose vs YAML compressed form), real-vs-toy scenario selection, fixture/expected-output pairing in `fixtures/` subdirs, operator-family variety across examples (logical / regex / indexing), `# Example — not load-bearing` header to prevent calcification
|
|
110
|
+
|
|
111
|
+
## Cross-cutting (every track touches these)
|
|
112
|
+
|
|
113
|
+
- **Engine-vocabulary discipline expert** — substrate types stay at substrate boundary, no `Authorship` / `BlockReason` / `PromotionConfig` leak into user-facing strings or MCP descriptions
|
|
114
|
+
- **Pre-push checklist expert** — opensquid: typecheck + lint + format:check + test + build; engine: fmt + clippy + public-api +nightly + test; gate enforcement before commit
|
|
115
|
+
- **Testing + build expert** — `vitest`, fixture discipline, skip-if-no-binary patterns for live integration, `pnpm build` clean, no leaked test artifacts
|