oh-my-codex 0.20.3 → 0.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Cargo.lock +35 -18
- package/Cargo.toml +1 -1
- package/README.md +22 -19
- package/crates/omx-runtime/Cargo.toml +3 -0
- package/crates/omx-runtime/src/main.rs +390 -0
- package/crates/omx-runtime/tests/execution.rs +264 -0
- package/dist/adapt/__tests__/herdr-target.test.d.ts +2 -0
- package/dist/adapt/__tests__/herdr-target.test.d.ts.map +1 -0
- package/dist/adapt/__tests__/herdr-target.test.js +72 -0
- package/dist/adapt/__tests__/herdr-target.test.js.map +1 -0
- package/dist/adapt/contracts.d.ts +1 -1
- package/dist/adapt/contracts.d.ts.map +1 -1
- package/dist/adapt/contracts.js +1 -1
- package/dist/adapt/contracts.js.map +1 -1
- package/dist/adapt/herdr/__tests__/authority.test.d.ts +2 -0
- package/dist/adapt/herdr/__tests__/authority.test.d.ts.map +1 -0
- package/dist/adapt/herdr/__tests__/authority.test.js +49 -0
- package/dist/adapt/herdr/__tests__/authority.test.js.map +1 -0
- package/dist/adapt/herdr/__tests__/bridge.test.d.ts +2 -0
- package/dist/adapt/herdr/__tests__/bridge.test.d.ts.map +1 -0
- package/dist/adapt/herdr/__tests__/bridge.test.js +176 -0
- package/dist/adapt/herdr/__tests__/bridge.test.js.map +1 -0
- package/dist/adapt/herdr/__tests__/sanitize.test.d.ts +2 -0
- package/dist/adapt/herdr/__tests__/sanitize.test.d.ts.map +1 -0
- package/dist/adapt/herdr/__tests__/sanitize.test.js +45 -0
- package/dist/adapt/herdr/__tests__/sanitize.test.js.map +1 -0
- package/dist/adapt/herdr/__tests__/semantic.test.d.ts +2 -0
- package/dist/adapt/herdr/__tests__/semantic.test.d.ts.map +1 -0
- package/dist/adapt/herdr/__tests__/semantic.test.js +130 -0
- package/dist/adapt/herdr/__tests__/semantic.test.js.map +1 -0
- package/dist/adapt/herdr/__tests__/seq-store.test.d.ts +2 -0
- package/dist/adapt/herdr/__tests__/seq-store.test.d.ts.map +1 -0
- package/dist/adapt/herdr/__tests__/seq-store.test.js +54 -0
- package/dist/adapt/herdr/__tests__/seq-store.test.js.map +1 -0
- package/dist/adapt/herdr/__tests__/socket-live.test.d.ts +2 -0
- package/dist/adapt/herdr/__tests__/socket-live.test.d.ts.map +1 -0
- package/dist/adapt/herdr/__tests__/socket-live.test.js +104 -0
- package/dist/adapt/herdr/__tests__/socket-live.test.js.map +1 -0
- package/dist/adapt/herdr/__tests__/team-map.test.d.ts +2 -0
- package/dist/adapt/herdr/__tests__/team-map.test.d.ts.map +1 -0
- package/dist/adapt/herdr/__tests__/team-map.test.js +46 -0
- package/dist/adapt/herdr/__tests__/team-map.test.js.map +1 -0
- package/dist/adapt/herdr/__tests__/transport.test.d.ts +2 -0
- package/dist/adapt/herdr/__tests__/transport.test.d.ts.map +1 -0
- package/dist/adapt/herdr/__tests__/transport.test.js +160 -0
- package/dist/adapt/herdr/__tests__/transport.test.js.map +1 -0
- package/dist/adapt/herdr/__tests__/wiring.test.d.ts +2 -0
- package/dist/adapt/herdr/__tests__/wiring.test.d.ts.map +1 -0
- package/dist/adapt/herdr/__tests__/wiring.test.js +118 -0
- package/dist/adapt/herdr/__tests__/wiring.test.js.map +1 -0
- package/dist/adapt/herdr/authority.d.ts +34 -0
- package/dist/adapt/herdr/authority.d.ts.map +1 -0
- package/dist/adapt/herdr/authority.js +71 -0
- package/dist/adapt/herdr/authority.js.map +1 -0
- package/dist/adapt/herdr/bridge.d.ts +84 -0
- package/dist/adapt/herdr/bridge.d.ts.map +1 -0
- package/dist/adapt/herdr/bridge.js +222 -0
- package/dist/adapt/herdr/bridge.js.map +1 -0
- package/dist/adapt/herdr/sanitize.d.ts +20 -0
- package/dist/adapt/herdr/sanitize.d.ts.map +1 -0
- package/dist/adapt/herdr/sanitize.js +70 -0
- package/dist/adapt/herdr/sanitize.js.map +1 -0
- package/dist/adapt/herdr/semantic.d.ts +67 -0
- package/dist/adapt/herdr/semantic.d.ts.map +1 -0
- package/dist/adapt/herdr/semantic.js +170 -0
- package/dist/adapt/herdr/semantic.js.map +1 -0
- package/dist/adapt/herdr/seq-store.d.ts +32 -0
- package/dist/adapt/herdr/seq-store.d.ts.map +1 -0
- package/dist/adapt/herdr/seq-store.js +126 -0
- package/dist/adapt/herdr/seq-store.js.map +1 -0
- package/dist/adapt/herdr/team-map.d.ts +30 -0
- package/dist/adapt/herdr/team-map.d.ts.map +1 -0
- package/dist/adapt/herdr/team-map.js +37 -0
- package/dist/adapt/herdr/team-map.js.map +1 -0
- package/dist/adapt/herdr/transport.d.ts +115 -0
- package/dist/adapt/herdr/transport.d.ts.map +1 -0
- package/dist/adapt/herdr/transport.js +260 -0
- package/dist/adapt/herdr/transport.js.map +1 -0
- package/dist/adapt/herdr/wiring.d.ts +24 -0
- package/dist/adapt/herdr/wiring.d.ts.map +1 -0
- package/dist/adapt/herdr/wiring.js +62 -0
- package/dist/adapt/herdr/wiring.js.map +1 -0
- package/dist/adapt/herdr.d.ts +19 -0
- package/dist/adapt/herdr.d.ts.map +1 -0
- package/dist/adapt/herdr.js +115 -0
- package/dist/adapt/herdr.js.map +1 -0
- package/dist/adapt/index.d.ts +4 -0
- package/dist/adapt/index.d.ts.map +1 -1
- package/dist/adapt/index.js +48 -0
- package/dist/adapt/index.js.map +1 -1
- package/dist/adapt/registry.d.ts.map +1 -1
- package/dist/adapt/registry.js +11 -0
- package/dist/adapt/registry.js.map +1 -1
- package/dist/agents/__tests__/definitions.test.js +0 -27
- package/dist/agents/__tests__/definitions.test.js.map +1 -1
- package/dist/agents/__tests__/native-config.test.js +3 -8
- package/dist/agents/__tests__/native-config.test.js.map +1 -1
- package/dist/agents/definitions.d.ts.map +1 -1
- package/dist/agents/definitions.js +0 -41
- package/dist/agents/definitions.js.map +1 -1
- package/dist/agents/policy.d.ts.map +1 -1
- package/dist/agents/policy.js +0 -1
- package/dist/agents/policy.js.map +1 -1
- package/dist/auth/__tests__/hotswap.test.js +60 -1
- package/dist/auth/__tests__/hotswap.test.js.map +1 -1
- package/dist/auth/__tests__/storage.test.js +33 -1
- package/dist/auth/__tests__/storage.test.js.map +1 -1
- package/dist/auth/hotswap.d.ts +16 -2
- package/dist/auth/hotswap.d.ts.map +1 -1
- package/dist/auth/hotswap.js +22 -7
- package/dist/auth/hotswap.js.map +1 -1
- package/dist/auth/storage.js +1 -1
- package/dist/auth/storage.js.map +1 -1
- package/dist/autopilot/__tests__/completion-gate-advisory.test.d.ts +2 -0
- package/dist/autopilot/__tests__/completion-gate-advisory.test.d.ts.map +1 -0
- package/dist/autopilot/__tests__/completion-gate-advisory.test.js +383 -0
- package/dist/autopilot/__tests__/completion-gate-advisory.test.js.map +1 -0
- package/dist/autopilot/completion-gate.d.ts +6 -1
- package/dist/autopilot/completion-gate.d.ts.map +1 -1
- package/dist/autopilot/completion-gate.js +247 -7
- package/dist/autopilot/completion-gate.js.map +1 -1
- package/dist/catalog/__tests__/generator.test.js +15 -10
- package/dist/catalog/__tests__/generator.test.js.map +1 -1
- package/dist/catalog/__tests__/plugin-bundle-ssot.test.js +13 -7
- package/dist/catalog/__tests__/plugin-bundle-ssot.test.js.map +1 -1
- package/dist/catalog/__tests__/schema.test.js +3 -5
- package/dist/catalog/__tests__/schema.test.js.map +1 -1
- package/dist/catalog/schema.js +1 -1
- package/dist/catalog/schema.js.map +1 -1
- package/dist/cli/__tests__/agents-init.test.js +4 -23
- package/dist/cli/__tests__/agents-init.test.js.map +1 -1
- package/dist/cli/__tests__/api.test.js +61 -24
- package/dist/cli/__tests__/api.test.js.map +1 -1
- package/dist/cli/__tests__/auth.test.js +3 -1
- package/dist/cli/__tests__/auth.test.js.map +1 -1
- package/dist/cli/__tests__/autopilot.test.d.ts +2 -0
- package/dist/cli/__tests__/autopilot.test.d.ts.map +1 -0
- package/dist/cli/__tests__/autopilot.test.js +143 -0
- package/dist/cli/__tests__/autopilot.test.js.map +1 -0
- package/dist/cli/__tests__/codex-feature-probe.test.js +66 -1
- package/dist/cli/__tests__/codex-feature-probe.test.js.map +1 -1
- package/dist/cli/__tests__/codex-plugin-layout.test.js +76 -4
- package/dist/cli/__tests__/codex-plugin-layout.test.js.map +1 -1
- package/dist/cli/__tests__/detached-leader-teardown.test.d.ts +2 -0
- package/dist/cli/__tests__/detached-leader-teardown.test.d.ts.map +1 -0
- package/dist/cli/__tests__/detached-leader-teardown.test.js +473 -0
- package/dist/cli/__tests__/detached-leader-teardown.test.js.map +1 -0
- package/dist/cli/__tests__/doctor-process-identity-readiness.test.d.ts +2 -0
- package/dist/cli/__tests__/doctor-process-identity-readiness.test.d.ts.map +1 -0
- package/dist/cli/__tests__/doctor-process-identity-readiness.test.js +103 -0
- package/dist/cli/__tests__/doctor-process-identity-readiness.test.js.map +1 -0
- package/dist/cli/__tests__/doctor-state-root-binding.test.d.ts +2 -0
- package/dist/cli/__tests__/doctor-state-root-binding.test.d.ts.map +1 -0
- package/dist/cli/__tests__/doctor-state-root-binding.test.js +206 -0
- package/dist/cli/__tests__/doctor-state-root-binding.test.js.map +1 -0
- package/dist/cli/__tests__/doctor-team.test.js +85 -0
- package/dist/cli/__tests__/doctor-team.test.js.map +1 -1
- package/dist/cli/__tests__/doctor-warning-copy.test.js +38 -6
- package/dist/cli/__tests__/doctor-warning-copy.test.js.map +1 -1
- package/dist/cli/__tests__/exec.test.js +75 -0
- package/dist/cli/__tests__/exec.test.js.map +1 -1
- package/dist/cli/__tests__/index.test.js +621 -460
- package/dist/cli/__tests__/index.test.js.map +1 -1
- package/dist/cli/__tests__/launch-fallback.test.js +1125 -143
- package/dist/cli/__tests__/launch-fallback.test.js.map +1 -1
- package/dist/cli/__tests__/mcp-parity.test.js +4 -3
- package/dist/cli/__tests__/mcp-parity.test.js.map +1 -1
- package/dist/cli/__tests__/native-assets.test.js +398 -16
- package/dist/cli/__tests__/native-assets.test.js.map +1 -1
- package/dist/cli/__tests__/native-hook-claim-journal.test.js +53 -5
- package/dist/cli/__tests__/native-hook-claim-journal.test.js.map +1 -1
- package/dist/cli/__tests__/package-bin-contract.test.js +5 -8
- package/dist/cli/__tests__/package-bin-contract.test.js.map +1 -1
- package/dist/cli/__tests__/ralph-deslop-contract.test.js +4 -18
- package/dist/cli/__tests__/ralph-deslop-contract.test.js.map +1 -1
- package/dist/cli/__tests__/ralph-goal-mode-contract.test.js +4 -30
- package/dist/cli/__tests__/ralph-goal-mode-contract.test.js.map +1 -1
- package/dist/cli/__tests__/ralph-prd-deep-interview.test.js +4 -15
- package/dist/cli/__tests__/ralph-prd-deep-interview.test.js.map +1 -1
- package/dist/cli/__tests__/ralph.test.js +2 -2
- package/dist/cli/__tests__/ralph.test.js.map +1 -1
- package/dist/cli/__tests__/ralplan-bootstrap-3181.test.js +57 -57
- package/dist/cli/__tests__/ralplan-bootstrap-3181.test.js.map +1 -1
- package/dist/cli/__tests__/ralplan-child-binding-3212.test.d.ts +2 -0
- package/dist/cli/__tests__/ralplan-child-binding-3212.test.d.ts.map +1 -0
- package/dist/cli/__tests__/ralplan-child-binding-3212.test.js +56 -0
- package/dist/cli/__tests__/ralplan-child-binding-3212.test.js.map +1 -0
- package/dist/cli/__tests__/ralplan.test.js +131 -14
- package/dist/cli/__tests__/ralplan.test.js.map +1 -1
- package/dist/cli/__tests__/session-scoped-runtime.test.js +1153 -43
- package/dist/cli/__tests__/session-scoped-runtime.test.js.map +1 -1
- package/dist/cli/__tests__/session-search-help.test.js +65 -3
- package/dist/cli/__tests__/session-search-help.test.js.map +1 -1
- package/dist/cli/__tests__/setup-agents-overwrite.test.js +57 -55
- package/dist/cli/__tests__/setup-agents-overwrite.test.js.map +1 -1
- package/dist/cli/__tests__/setup-hooks-shared-ownership.test.js +34 -0
- package/dist/cli/__tests__/setup-hooks-shared-ownership.test.js.map +1 -1
- package/dist/cli/__tests__/setup-hooks-trust-e2e.test.js +1 -1
- package/dist/cli/__tests__/setup-hooks-trust-e2e.test.js.map +1 -1
- package/dist/cli/__tests__/setup-install-mode.test.js +258 -26
- package/dist/cli/__tests__/setup-install-mode.test.js.map +1 -1
- package/dist/cli/__tests__/setup-prompts-overwrite.test.js +1 -1
- package/dist/cli/__tests__/setup-prompts-overwrite.test.js.map +1 -1
- package/dist/cli/__tests__/setup-refresh.test.js +3 -6
- package/dist/cli/__tests__/setup-refresh.test.js.map +1 -1
- package/dist/cli/__tests__/setup-skills-overwrite.test.js +180 -21
- package/dist/cli/__tests__/setup-skills-overwrite.test.js.map +1 -1
- package/dist/cli/__tests__/sparkshell-cli.test.js +93 -41
- package/dist/cli/__tests__/sparkshell-cli.test.js.map +1 -1
- package/dist/cli/__tests__/team.test.js +45 -1
- package/dist/cli/__tests__/team.test.js.map +1 -1
- package/dist/cli/__tests__/ultragoal.test.js +161 -2
- package/dist/cli/__tests__/ultragoal.test.js.map +1 -1
- package/dist/cli/__tests__/uninstall.test.js +73 -28
- package/dist/cli/__tests__/uninstall.test.js.map +1 -1
- package/dist/cli/__tests__/update.test.js +749 -177
- package/dist/cli/__tests__/update.test.js.map +1 -1
- package/dist/cli/__tests__/windows-popup-loop-contract.test.js +32 -2
- package/dist/cli/__tests__/windows-popup-loop-contract.test.js.map +1 -1
- package/dist/cli/api.d.ts.map +1 -1
- package/dist/cli/api.js +9 -10
- package/dist/cli/api.js.map +1 -1
- package/dist/cli/autopilot.d.ts +8 -0
- package/dist/cli/autopilot.d.ts.map +1 -0
- package/dist/cli/autopilot.js +160 -0
- package/dist/cli/autopilot.js.map +1 -0
- package/dist/cli/codex-feature-probe.d.ts +16 -0
- package/dist/cli/codex-feature-probe.d.ts.map +1 -1
- package/dist/cli/codex-feature-probe.js +44 -0
- package/dist/cli/codex-feature-probe.js.map +1 -1
- package/dist/cli/codex-home.d.ts.map +1 -1
- package/dist/cli/codex-home.js +7 -4
- package/dist/cli/codex-home.js.map +1 -1
- package/dist/cli/doctor.d.ts +29 -0
- package/dist/cli/doctor.d.ts.map +1 -1
- package/dist/cli/doctor.js +433 -19
- package/dist/cli/doctor.js.map +1 -1
- package/dist/cli/index.d.ts +231 -12
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +2354 -724
- package/dist/cli/index.js.map +1 -1
- package/dist/cli/mcp-parity.d.ts.map +1 -1
- package/dist/cli/mcp-parity.js +7 -3
- package/dist/cli/mcp-parity.js.map +1 -1
- package/dist/cli/native-assets.d.ts +26 -1
- package/dist/cli/native-assets.d.ts.map +1 -1
- package/dist/cli/native-assets.js +448 -51
- package/dist/cli/native-assets.js.map +1 -1
- package/dist/cli/native-hook-claim-journal.d.ts +8 -4
- package/dist/cli/native-hook-claim-journal.d.ts.map +1 -1
- package/dist/cli/native-hook-claim-journal.js +30 -8
- package/dist/cli/native-hook-claim-journal.js.map +1 -1
- package/dist/cli/package-manager-ownership.d.ts +69 -0
- package/dist/cli/package-manager-ownership.d.ts.map +1 -0
- package/dist/cli/package-manager-ownership.js +338 -0
- package/dist/cli/package-manager-ownership.js.map +1 -0
- package/dist/cli/plugin-marketplace.d.ts +1 -0
- package/dist/cli/plugin-marketplace.d.ts.map +1 -1
- package/dist/cli/plugin-marketplace.js +123 -55
- package/dist/cli/plugin-marketplace.js.map +1 -1
- package/dist/cli/ralph.js +2 -2
- package/dist/cli/ralph.js.map +1 -1
- package/dist/cli/ralplan.d.ts +6 -2
- package/dist/cli/ralplan.d.ts.map +1 -1
- package/dist/cli/ralplan.js +134 -34
- package/dist/cli/ralplan.js.map +1 -1
- package/dist/cli/session-search.d.ts.map +1 -1
- package/dist/cli/session-search.js +38 -1
- package/dist/cli/session-search.js.map +1 -1
- package/dist/cli/setup-preferences.d.ts +15 -0
- package/dist/cli/setup-preferences.d.ts.map +1 -1
- package/dist/cli/setup-preferences.js +27 -1
- package/dist/cli/setup-preferences.js.map +1 -1
- package/dist/cli/setup.d.ts +6 -0
- package/dist/cli/setup.d.ts.map +1 -1
- package/dist/cli/setup.js +425 -215
- package/dist/cli/setup.js.map +1 -1
- package/dist/cli/sparkshell.d.ts.map +1 -1
- package/dist/cli/sparkshell.js +52 -9
- package/dist/cli/sparkshell.js.map +1 -1
- package/dist/cli/ultragoal.d.ts +1 -1
- package/dist/cli/ultragoal.d.ts.map +1 -1
- package/dist/cli/ultragoal.js +10 -7
- package/dist/cli/ultragoal.js.map +1 -1
- package/dist/cli/uninstall.d.ts.map +1 -1
- package/dist/cli/uninstall.js +27 -28
- package/dist/cli/uninstall.js.map +1 -1
- package/dist/cli/update-worker.d.ts +2 -0
- package/dist/cli/update-worker.d.ts.map +1 -0
- package/dist/cli/update-worker.js +142 -0
- package/dist/cli/update-worker.js.map +1 -0
- package/dist/cli/update.d.ts +16 -23
- package/dist/cli/update.d.ts.map +1 -1
- package/dist/cli/update.js +212 -241
- package/dist/cli/update.js.map +1 -1
- package/dist/compat/__tests__/upgrade-from-0-20.test.d.ts +2 -0
- package/dist/compat/__tests__/upgrade-from-0-20.test.d.ts.map +1 -0
- package/dist/compat/__tests__/upgrade-from-0-20.test.js +109 -0
- package/dist/compat/__tests__/upgrade-from-0-20.test.js.map +1 -0
- package/dist/compat/upgrade-from-0-20.d.ts +64 -0
- package/dist/compat/upgrade-from-0-20.d.ts.map +1 -0
- package/dist/compat/upgrade-from-0-20.js +276 -0
- package/dist/compat/upgrade-from-0-20.js.map +1 -0
- package/dist/config/__tests__/generator-idempotent.test.js +173 -29
- package/dist/config/__tests__/generator-idempotent.test.js.map +1 -1
- package/dist/config/__tests__/generator-notify.test.js +3 -1
- package/dist/config/__tests__/generator-notify.test.js.map +1 -1
- package/dist/config/generator.d.ts +25 -3
- package/dist/config/generator.d.ts.map +1 -1
- package/dist/config/generator.js +113 -35
- package/dist/config/generator.js.map +1 -1
- package/dist/goal-workflows/__tests__/codex-goal-snapshot.test.js +25 -0
- package/dist/goal-workflows/__tests__/codex-goal-snapshot.test.js.map +1 -1
- package/dist/goal-workflows/codex-goal-snapshot.d.ts +1 -1
- package/dist/goal-workflows/codex-goal-snapshot.d.ts.map +1 -1
- package/dist/goal-workflows/codex-goal-snapshot.js +2 -0
- package/dist/goal-workflows/codex-goal-snapshot.js.map +1 -1
- package/dist/hooks/__tests__/agents-overlay.test.js +3 -1
- package/dist/hooks/__tests__/agents-overlay.test.js.map +1 -1
- package/dist/hooks/__tests__/analyze-skill-contract.test.js +24 -31
- package/dist/hooks/__tests__/analyze-skill-contract.test.js.map +1 -1
- package/dist/hooks/__tests__/anti-slop-workflow.test.js +66 -135
- package/dist/hooks/__tests__/anti-slop-workflow.test.js.map +1 -1
- package/dist/hooks/__tests__/autopilot-skill-contract.test.js +47 -106
- package/dist/hooks/__tests__/autopilot-skill-contract.test.js.map +1 -1
- package/dist/hooks/__tests__/code-review-skill-contract.test.js +16 -18
- package/dist/hooks/__tests__/code-review-skill-contract.test.js.map +1 -1
- package/dist/hooks/__tests__/consensus-execution-handoff.test.d.ts +2 -14
- package/dist/hooks/__tests__/consensus-execution-handoff.test.d.ts.map +1 -1
- package/dist/hooks/__tests__/consensus-execution-handoff.test.js +56 -234
- package/dist/hooks/__tests__/consensus-execution-handoff.test.js.map +1 -1
- package/dist/hooks/__tests__/deep-interview-contract.test.js +1 -3
- package/dist/hooks/__tests__/deep-interview-contract.test.js.map +1 -1
- package/dist/hooks/__tests__/design-skill.test.js +18 -16
- package/dist/hooks/__tests__/design-skill.test.js.map +1 -1
- package/dist/hooks/__tests__/explore-sparkshell-guidance-contract.test.js +24 -20
- package/dist/hooks/__tests__/explore-sparkshell-guidance-contract.test.js.map +1 -1
- package/dist/hooks/__tests__/issue-3293-autopilot-handoff.test.d.ts +2 -0
- package/dist/hooks/__tests__/issue-3293-autopilot-handoff.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/issue-3293-autopilot-handoff.test.js +164 -0
- package/dist/hooks/__tests__/issue-3293-autopilot-handoff.test.js.map +1 -0
- package/dist/hooks/__tests__/issue-3497-hook-simplification.test.d.ts +2 -0
- package/dist/hooks/__tests__/issue-3497-hook-simplification.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/issue-3497-hook-simplification.test.js +169 -0
- package/dist/hooks/__tests__/issue-3497-hook-simplification.test.js.map +1 -0
- package/dist/hooks/__tests__/keyword-detector.test.js +226 -858
- package/dist/hooks/__tests__/keyword-detector.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-fallback-watcher.test.js +176 -14
- package/dist/hooks/__tests__/notify-fallback-watcher.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-all-workers-idle.test.js +1 -0
- package/dist/hooks/__tests__/notify-hook-all-workers-idle.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-auto-nudge.test.js +33 -21
- package/dist/hooks/__tests__/notify-hook-auto-nudge.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-cross-worktree-heartbeat.test.js +27 -0
- package/dist/hooks/__tests__/notify-hook-cross-worktree-heartbeat.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-managed-tmux.test.js +10 -118
- package/dist/hooks/__tests__/notify-hook-managed-tmux.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-ralph-resume.test.js +14 -904
- package/dist/hooks/__tests__/notify-hook-ralph-resume.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-regression-205.test.js +7 -0
- package/dist/hooks/__tests__/notify-hook-regression-205.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-session-scope.test.js +5 -5
- package/dist/hooks/__tests__/notify-hook-session-scope.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-team-dispatch.test.js +7 -7
- package/dist/hooks/__tests__/notify-hook-team-dispatch.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-team-leader-nudge.test.js +11 -8
- package/dist/hooks/__tests__/notify-hook-team-leader-nudge.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-team-tmux-guard.test.js +7 -6
- package/dist/hooks/__tests__/notify-hook-team-tmux-guard.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-team-worker-fail-closed.test.js +2 -1
- package/dist/hooks/__tests__/notify-hook-team-worker-fail-closed.test.js.map +1 -1
- package/dist/hooks/__tests__/notify-hook-worker-idle.test.js +1 -0
- package/dist/hooks/__tests__/notify-hook-worker-idle.test.js.map +1 -1
- package/dist/hooks/__tests__/pre-context-gate-skills.test.js +19 -21
- package/dist/hooks/__tests__/pre-context-gate-skills.test.js.map +1 -1
- package/dist/hooks/__tests__/prompt-guidance-contract.test.js +23 -3
- package/dist/hooks/__tests__/prompt-guidance-contract.test.js.map +1 -1
- package/dist/hooks/__tests__/prompt-guidance-wave-two.test.js +23 -28
- package/dist/hooks/__tests__/prompt-guidance-wave-two.test.js.map +1 -1
- package/dist/hooks/__tests__/research-workflow-boundaries.test.js +9 -8
- package/dist/hooks/__tests__/research-workflow-boundaries.test.js.map +1 -1
- package/dist/hooks/__tests__/session.test.js +3656 -656
- package/dist/hooks/__tests__/session.test.js.map +1 -1
- package/dist/hooks/__tests__/skill-catalog-hygiene.test.js +13 -22
- package/dist/hooks/__tests__/skill-catalog-hygiene.test.js.map +1 -1
- package/dist/hooks/__tests__/skill-guidance-contract.test.js +3 -13
- package/dist/hooks/__tests__/skill-guidance-contract.test.js.map +1 -1
- package/dist/hooks/__tests__/sunset-routing-contract.test.d.ts +2 -0
- package/dist/hooks/__tests__/sunset-routing-contract.test.d.ts.map +1 -0
- package/dist/hooks/__tests__/sunset-routing-contract.test.js +172 -0
- package/dist/hooks/__tests__/sunset-routing-contract.test.js.map +1 -0
- package/dist/hooks/__tests__/team-runtime-gating-docs-contract.test.js +2 -2
- package/dist/hooks/__tests__/team-runtime-gating-docs-contract.test.js.map +1 -1
- package/dist/hooks/__tests__/tmux-hook-engine.test.js +18 -3
- package/dist/hooks/__tests__/tmux-hook-engine.test.js.map +1 -1
- package/dist/hooks/__tests__/visual-ralph-skill.test.js +20 -17
- package/dist/hooks/__tests__/visual-ralph-skill.test.js.map +1 -1
- package/dist/hooks/__tests__/visual-verdict-loop.test.js +17 -18
- package/dist/hooks/__tests__/visual-verdict-loop.test.js.map +1 -1
- package/dist/hooks/agents-overlay.js +1 -1
- package/dist/hooks/agents-overlay.js.map +1 -1
- package/dist/hooks/extensibility/__tests__/dispatcher.test.js +108 -2
- package/dist/hooks/extensibility/__tests__/dispatcher.test.js.map +1 -1
- package/dist/hooks/extensibility/__tests__/sdk.test.js +151 -1
- package/dist/hooks/extensibility/__tests__/sdk.test.js.map +1 -1
- package/dist/hooks/extensibility/dispatcher.d.ts.map +1 -1
- package/dist/hooks/extensibility/dispatcher.js +20 -3
- package/dist/hooks/extensibility/dispatcher.js.map +1 -1
- package/dist/hooks/extensibility/plugin-runner.js +1 -0
- package/dist/hooks/extensibility/plugin-runner.js.map +1 -1
- package/dist/hooks/extensibility/runtime.d.ts.map +1 -1
- package/dist/hooks/extensibility/runtime.js.map +1 -1
- package/dist/hooks/extensibility/sdk/paths.d.ts +1 -1
- package/dist/hooks/extensibility/sdk/paths.d.ts.map +1 -1
- package/dist/hooks/extensibility/sdk/paths.js +2 -2
- package/dist/hooks/extensibility/sdk/paths.js.map +1 -1
- package/dist/hooks/extensibility/sdk/runtime-state.d.ts +1 -1
- package/dist/hooks/extensibility/sdk/runtime-state.d.ts.map +1 -1
- package/dist/hooks/extensibility/sdk/runtime-state.js +55 -15
- package/dist/hooks/extensibility/sdk/runtime-state.js.map +1 -1
- package/dist/hooks/extensibility/sdk.d.ts +1 -0
- package/dist/hooks/extensibility/sdk.d.ts.map +1 -1
- package/dist/hooks/extensibility/sdk.js +1 -1
- package/dist/hooks/extensibility/sdk.js.map +1 -1
- package/dist/hooks/extensibility/types.d.ts +7 -0
- package/dist/hooks/extensibility/types.d.ts.map +1 -1
- package/dist/hooks/keyword-detector.d.ts +6 -47
- package/dist/hooks/keyword-detector.d.ts.map +1 -1
- package/dist/hooks/keyword-detector.js +156 -268
- package/dist/hooks/keyword-detector.js.map +1 -1
- package/dist/hooks/keyword-registry.d.ts.map +1 -1
- package/dist/hooks/keyword-registry.js +14 -26
- package/dist/hooks/keyword-registry.js.map +1 -1
- package/dist/hooks/native/capability-warnings.d.ts +16 -0
- package/dist/hooks/native/capability-warnings.d.ts.map +1 -0
- package/dist/hooks/native/capability-warnings.js +40 -0
- package/dist/hooks/native/capability-warnings.js.map +1 -0
- package/dist/hooks/native/index.d.ts +17 -0
- package/dist/hooks/native/index.d.ts.map +1 -0
- package/dist/hooks/native/index.js +17 -0
- package/dist/hooks/native/index.js.map +1 -0
- package/dist/hooks/native/pre-tool-use-advisory.d.ts +17 -0
- package/dist/hooks/native/pre-tool-use-advisory.d.ts.map +1 -0
- package/dist/hooks/native/pre-tool-use-advisory.js +112 -0
- package/dist/hooks/native/pre-tool-use-advisory.js.map +1 -0
- package/dist/hooks/native/types.d.ts +30 -0
- package/dist/hooks/native/types.d.ts.map +1 -0
- package/dist/hooks/native/types.js +22 -0
- package/dist/hooks/native/types.js.map +1 -0
- package/dist/hooks/prompt-guidance-contract.d.ts.map +1 -1
- package/dist/hooks/prompt-guidance-contract.js +46 -93
- package/dist/hooks/prompt-guidance-contract.js.map +1 -1
- package/dist/hooks/session.d.ts +197 -18
- package/dist/hooks/session.d.ts.map +1 -1
- package/dist/hooks/session.js +1939 -271
- package/dist/hooks/session.js.map +1 -1
- package/dist/hooks/sunset-stub.d.ts +17 -0
- package/dist/hooks/sunset-stub.d.ts.map +1 -0
- package/dist/hooks/sunset-stub.js +125 -0
- package/dist/hooks/sunset-stub.js.map +1 -0
- package/dist/hud/__tests__/hud-tmux-injection.test.js +6 -6
- package/dist/hud/__tests__/hud-tmux-injection.test.js.map +1 -1
- package/dist/hud/__tests__/index.test.js +26 -16
- package/dist/hud/__tests__/index.test.js.map +1 -1
- package/dist/hud/__tests__/reconcile.test.js +83 -78
- package/dist/hud/__tests__/reconcile.test.js.map +1 -1
- package/dist/hud/__tests__/state.test.js +36 -31
- package/dist/hud/__tests__/state.test.js.map +1 -1
- package/dist/hud/__tests__/tmux-split-realtmux.test.d.ts +2 -0
- package/dist/hud/__tests__/tmux-split-realtmux.test.d.ts.map +1 -0
- package/dist/hud/__tests__/tmux-split-realtmux.test.js +112 -0
- package/dist/hud/__tests__/tmux-split-realtmux.test.js.map +1 -0
- package/dist/hud/__tests__/tmux.test.js +217 -198
- package/dist/hud/__tests__/tmux.test.js.map +1 -1
- package/dist/hud/tmux.d.ts +43 -4
- package/dist/hud/tmux.d.ts.map +1 -1
- package/dist/hud/tmux.js +1025 -139
- package/dist/hud/tmux.js.map +1 -1
- package/dist/leader/__tests__/contract.test.js +71 -34
- package/dist/leader/__tests__/contract.test.js.map +1 -1
- package/dist/leader/contract.d.ts +1 -6
- package/dist/leader/contract.d.ts.map +1 -1
- package/dist/leader/contract.js +25 -24
- package/dist/leader/contract.js.map +1 -1
- package/dist/mcp/__tests__/hermes-bridge.test.js +17 -0
- package/dist/mcp/__tests__/hermes-bridge.test.js.map +1 -1
- package/dist/mcp/__tests__/server-lifecycle.test.js +4 -4
- package/dist/mcp/__tests__/state-paths.test.js +735 -4
- package/dist/mcp/__tests__/state-paths.test.js.map +1 -1
- package/dist/mcp/__tests__/state-server-ralph-phase.test.js +29 -4
- package/dist/mcp/__tests__/state-server-ralph-phase.test.js.map +1 -1
- package/dist/mcp/__tests__/state-server-schema.test.js +13 -3
- package/dist/mcp/__tests__/state-server-schema.test.js.map +1 -1
- package/dist/mcp/__tests__/state-server.test.js +11 -1033
- package/dist/mcp/__tests__/state-server.test.js.map +1 -1
- package/dist/mcp/__tests__/trace-server.test.js +2 -2
- package/dist/mcp/__tests__/trace-server.test.js.map +1 -1
- package/dist/mcp/hermes-bridge.d.ts.map +1 -1
- package/dist/mcp/hermes-bridge.js +2 -2
- package/dist/mcp/hermes-bridge.js.map +1 -1
- package/dist/mcp/state-paths.d.ts +78 -4
- package/dist/mcp/state-paths.d.ts.map +1 -1
- package/dist/mcp/state-paths.js +543 -40
- package/dist/mcp/state-paths.js.map +1 -1
- package/dist/mcp/state-server.d.ts +68 -97
- package/dist/mcp/state-server.d.ts.map +1 -1
- package/dist/mcp/state-server.js +116 -67
- package/dist/mcp/state-server.js.map +1 -1
- package/dist/modes/__tests__/base-autopilot-gates.test.js +1 -168
- package/dist/modes/__tests__/base-autopilot-gates.test.js.map +1 -1
- package/dist/modes/__tests__/base-autoresearch-contract.test.js +1 -85
- package/dist/modes/__tests__/base-autoresearch-contract.test.js.map +1 -1
- package/dist/modes/__tests__/base-multi-state-compat.test.js +1 -35
- package/dist/modes/__tests__/base-multi-state-compat.test.js.map +1 -1
- package/dist/modes/__tests__/base-session-scope.test.js +10 -158
- package/dist/modes/__tests__/base-session-scope.test.js.map +1 -1
- package/dist/modes/base.d.ts +6 -6
- package/dist/modes/base.d.ts.map +1 -1
- package/dist/modes/base.js +116 -90
- package/dist/modes/base.js.map +1 -1
- package/dist/native-assets/archive.d.ts +17 -0
- package/dist/native-assets/archive.d.ts.map +1 -0
- package/dist/native-assets/archive.js +238 -0
- package/dist/native-assets/archive.js.map +1 -0
- package/dist/native-assets/policy.d.ts +42 -0
- package/dist/native-assets/policy.d.ts.map +1 -0
- package/dist/native-assets/policy.js +155 -0
- package/dist/native-assets/policy.js.map +1 -0
- package/dist/notifications/__tests__/formatter.test.js +8 -0
- package/dist/notifications/__tests__/formatter.test.js.map +1 -1
- package/dist/notifications/__tests__/template-engine.test.js +8 -0
- package/dist/notifications/__tests__/template-engine.test.js.map +1 -1
- package/dist/notifications/formatter.js +1 -1
- package/dist/notifications/formatter.js.map +1 -1
- package/dist/notifications/template-engine.js +1 -1
- package/dist/notifications/template-engine.js.map +1 -1
- package/dist/planning/__tests__/approved-execution-lifecycle-matrix.test.js +0 -21
- package/dist/planning/__tests__/approved-execution-lifecycle-matrix.test.js.map +1 -1
- package/dist/question/autopilot-wait.d.ts.map +1 -1
- package/dist/question/autopilot-wait.js +2 -2
- package/dist/question/autopilot-wait.js.map +1 -1
- package/dist/question/deep-interview.d.ts +1 -2
- package/dist/question/deep-interview.d.ts.map +1 -1
- package/dist/question/deep-interview.js +4 -4
- package/dist/question/deep-interview.js.map +1 -1
- package/dist/ralplan/__tests__/documented-leader-preflight.test.js +328 -39
- package/dist/ralplan/__tests__/documented-leader-preflight.test.js.map +1 -1
- package/dist/ralplan/__tests__/runtime.test.js +56 -821
- package/dist/ralplan/__tests__/runtime.test.js.map +1 -1
- package/dist/ralplan/documented-leader-preflight.d.ts +15 -8
- package/dist/ralplan/documented-leader-preflight.d.ts.map +1 -1
- package/dist/ralplan/documented-leader-preflight.js +356 -54
- package/dist/ralplan/documented-leader-preflight.js.map +1 -1
- package/dist/ralplan/runtime.d.ts +2 -2
- package/dist/ralplan/runtime.d.ts.map +1 -1
- package/dist/ralplan/runtime.js +145 -163
- package/dist/ralplan/runtime.js.map +1 -1
- package/dist/runtime/bridge.d.ts.map +1 -1
- package/dist/runtime/bridge.js +45 -0
- package/dist/runtime/bridge.js.map +1 -1
- package/dist/runtime/run-state.d.ts +5 -1
- package/dist/runtime/run-state.d.ts.map +1 -1
- package/dist/runtime/run-state.js +15 -8
- package/dist/runtime/run-state.js.map +1 -1
- package/dist/scripts/__tests__/codex-native-hook.test.js +12490 -19414
- package/dist/scripts/__tests__/codex-native-hook.test.js.map +1 -1
- package/dist/scripts/__tests__/docs-site-contract.test.js +2 -2
- package/dist/scripts/__tests__/docs-site-contract.test.js.map +1 -1
- package/dist/scripts/__tests__/generated-artifact-drift.test.d.ts +2 -0
- package/dist/scripts/__tests__/generated-artifact-drift.test.d.ts.map +1 -0
- package/dist/scripts/__tests__/generated-artifact-drift.test.js +84 -0
- package/dist/scripts/__tests__/generated-artifact-drift.test.js.map +1 -0
- package/dist/scripts/__tests__/issue-3293-callsite-parity.test.d.ts +2 -0
- package/dist/scripts/__tests__/issue-3293-callsite-parity.test.d.ts.map +1 -0
- package/dist/scripts/__tests__/issue-3293-callsite-parity.test.js +235 -0
- package/dist/scripts/__tests__/issue-3293-callsite-parity.test.js.map +1 -0
- package/dist/scripts/__tests__/issue-3293-cancel-transaction.test.d.ts +2 -0
- package/dist/scripts/__tests__/issue-3293-cancel-transaction.test.d.ts.map +1 -0
- package/dist/scripts/__tests__/issue-3293-cancel-transaction.test.js +188 -0
- package/dist/scripts/__tests__/issue-3293-cancel-transaction.test.js.map +1 -0
- package/dist/scripts/__tests__/issue-3293-hook-owned-cancel.test.d.ts +2 -0
- package/dist/scripts/__tests__/issue-3293-hook-owned-cancel.test.d.ts.map +1 -0
- package/dist/scripts/__tests__/issue-3293-hook-owned-cancel.test.js +207 -0
- package/dist/scripts/__tests__/issue-3293-hook-owned-cancel.test.js.map +1 -0
- package/dist/scripts/__tests__/issue-3311-ultragoal-native-outside-tmux.test.d.ts +2 -0
- package/dist/scripts/__tests__/issue-3311-ultragoal-native-outside-tmux.test.d.ts.map +1 -0
- package/dist/scripts/__tests__/issue-3311-ultragoal-native-outside-tmux.test.js +156 -0
- package/dist/scripts/__tests__/issue-3311-ultragoal-native-outside-tmux.test.js.map +1 -0
- package/dist/scripts/__tests__/issue-3358-ultragoal-cancel-lifecycle.test.d.ts +2 -0
- package/dist/scripts/__tests__/issue-3358-ultragoal-cancel-lifecycle.test.d.ts.map +1 -0
- package/dist/scripts/__tests__/issue-3358-ultragoal-cancel-lifecycle.test.js +191 -0
- package/dist/scripts/__tests__/issue-3358-ultragoal-cancel-lifecycle.test.js.map +1 -0
- package/dist/scripts/__tests__/issue-3369-autopilot-ralplan-state-machine.test.d.ts +2 -0
- package/dist/scripts/__tests__/issue-3369-autopilot-ralplan-state-machine.test.d.ts.map +1 -0
- package/dist/scripts/__tests__/issue-3369-autopilot-ralplan-state-machine.test.js +40 -0
- package/dist/scripts/__tests__/issue-3369-autopilot-ralplan-state-machine.test.js.map +1 -0
- package/dist/scripts/__tests__/issue-3481-conductor-deadlock.test.d.ts +2 -0
- package/dist/scripts/__tests__/issue-3481-conductor-deadlock.test.d.ts.map +1 -0
- package/dist/scripts/__tests__/issue-3481-conductor-deadlock.test.js +63 -0
- package/dist/scripts/__tests__/issue-3481-conductor-deadlock.test.js.map +1 -0
- package/dist/scripts/__tests__/issue-3486-pretooluse-lock-regression.test.d.ts +2 -0
- package/dist/scripts/__tests__/issue-3486-pretooluse-lock-regression.test.d.ts.map +1 -0
- package/dist/scripts/__tests__/issue-3486-pretooluse-lock-regression.test.js +65 -0
- package/dist/scripts/__tests__/issue-3486-pretooluse-lock-regression.test.js.map +1 -0
- package/dist/scripts/__tests__/issue-3536-external-team-state-root.test.d.ts +2 -0
- package/dist/scripts/__tests__/issue-3536-external-team-state-root.test.d.ts.map +1 -0
- package/dist/scripts/__tests__/issue-3536-external-team-state-root.test.js +189 -0
- package/dist/scripts/__tests__/issue-3536-external-team-state-root.test.js.map +1 -0
- package/dist/scripts/__tests__/notify-state-io.test.js +26 -0
- package/dist/scripts/__tests__/notify-state-io.test.js.map +1 -1
- package/dist/scripts/__tests__/notify-tmux-injection.test.js +23 -1
- package/dist/scripts/__tests__/notify-tmux-injection.test.js.map +1 -1
- package/dist/scripts/__tests__/postinstall.test.js +19 -1
- package/dist/scripts/__tests__/postinstall.test.js.map +1 -1
- package/dist/scripts/__tests__/prompt-inventory.test.js +54 -1
- package/dist/scripts/__tests__/prompt-inventory.test.js.map +1 -1
- package/dist/scripts/__tests__/reasoning-artifact-contract.test.js +2 -2
- package/dist/scripts/__tests__/reasoning-artifact-contract.test.js.map +1 -1
- package/dist/scripts/__tests__/role-intent-bootstrap-e2e-3181.test.js +46 -60
- package/dist/scripts/__tests__/role-intent-bootstrap-e2e-3181.test.js.map +1 -1
- package/dist/scripts/__tests__/role-intent-durable-recovery-3181.test.js +60 -25
- package/dist/scripts/__tests__/role-intent-durable-recovery-3181.test.js.map +1 -1
- package/dist/scripts/__tests__/smoke-packed-install.test.js +168 -20
- package/dist/scripts/__tests__/smoke-packed-install.test.js.map +1 -1
- package/dist/scripts/__tests__/verify-native-release-assets.test.d.ts +2 -0
- package/dist/scripts/__tests__/verify-native-release-assets.test.d.ts.map +1 -0
- package/dist/scripts/__tests__/verify-native-release-assets.test.js +235 -0
- package/dist/scripts/__tests__/verify-native-release-assets.test.js.map +1 -0
- package/dist/scripts/codex-native-hook.d.ts +51 -2
- package/dist/scripts/codex-native-hook.d.ts.map +1 -1
- package/dist/scripts/codex-native-hook.js +3648 -1332
- package/dist/scripts/codex-native-hook.js.map +1 -1
- package/dist/scripts/codex-native-pre-post.d.ts +9 -0
- package/dist/scripts/codex-native-pre-post.d.ts.map +1 -1
- package/dist/scripts/codex-native-pre-post.js +33 -22
- package/dist/scripts/codex-native-pre-post.js.map +1 -1
- package/dist/scripts/generate-native-release-manifest.js +80 -51
- package/dist/scripts/generate-native-release-manifest.js.map +1 -1
- package/dist/scripts/notify-fallback-watcher.js +28 -39
- package/dist/scripts/notify-fallback-watcher.js.map +1 -1
- package/dist/scripts/notify-hook/auto-nudge.d.ts +2 -48
- package/dist/scripts/notify-hook/auto-nudge.d.ts.map +1 -1
- package/dist/scripts/notify-hook/auto-nudge.js +1 -0
- package/dist/scripts/notify-hook/auto-nudge.js.map +1 -1
- package/dist/scripts/notify-hook/state-io.d.ts.map +1 -1
- package/dist/scripts/notify-hook/state-io.js +5 -0
- package/dist/scripts/notify-hook/state-io.js.map +1 -1
- package/dist/scripts/notify-hook/team-dispatch.d.ts.map +1 -1
- package/dist/scripts/notify-hook/team-dispatch.js +8 -5
- package/dist/scripts/notify-hook/team-dispatch.js.map +1 -1
- package/dist/scripts/notify-hook/team-leader-nudge.d.ts.map +1 -1
- package/dist/scripts/notify-hook/team-leader-nudge.js +32 -3
- package/dist/scripts/notify-hook/team-leader-nudge.js.map +1 -1
- package/dist/scripts/notify-hook/team-tmux-guard.d.ts +1 -1
- package/dist/scripts/notify-hook/team-tmux-guard.d.ts.map +1 -1
- package/dist/scripts/notify-hook/team-tmux-guard.js +3 -2
- package/dist/scripts/notify-hook/team-tmux-guard.js.map +1 -1
- package/dist/scripts/notify-hook/team-worker-stop.d.ts.map +1 -1
- package/dist/scripts/notify-hook/team-worker-stop.js +23 -3
- package/dist/scripts/notify-hook/team-worker-stop.js.map +1 -1
- package/dist/scripts/notify-hook/team-worker.d.ts.map +1 -1
- package/dist/scripts/notify-hook/team-worker.js +45 -5
- package/dist/scripts/notify-hook/team-worker.js.map +1 -1
- package/dist/scripts/notify-hook/tmux-injection.d.ts +1 -0
- package/dist/scripts/notify-hook/tmux-injection.d.ts.map +1 -1
- package/dist/scripts/notify-hook/tmux-injection.js +4 -1
- package/dist/scripts/notify-hook/tmux-injection.js.map +1 -1
- package/dist/scripts/notify-hook.d.ts.map +1 -1
- package/dist/scripts/notify-hook.js +71 -124
- package/dist/scripts/notify-hook.js.map +1 -1
- package/dist/scripts/postinstall-advisory.d.ts +14 -0
- package/dist/scripts/postinstall-advisory.d.ts.map +1 -0
- package/dist/scripts/postinstall-advisory.js +49 -0
- package/dist/scripts/postinstall-advisory.js.map +1 -0
- package/dist/scripts/postinstall.d.ts +1 -1
- package/dist/scripts/postinstall.d.ts.map +1 -1
- package/dist/scripts/postinstall.js +1 -1
- package/dist/scripts/postinstall.js.map +1 -1
- package/dist/scripts/prompt-inventory.d.ts +39 -0
- package/dist/scripts/prompt-inventory.d.ts.map +1 -1
- package/dist/scripts/prompt-inventory.js +108 -3
- package/dist/scripts/prompt-inventory.js.map +1 -1
- package/dist/scripts/run-compiled-ci.js +2 -0
- package/dist/scripts/run-compiled-ci.js.map +1 -1
- package/dist/scripts/run-test-files.js +1 -0
- package/dist/scripts/run-test-files.js.map +1 -1
- package/dist/scripts/smoke-packed-install.d.ts +32 -1
- package/dist/scripts/smoke-packed-install.d.ts.map +1 -1
- package/dist/scripts/smoke-packed-install.js +407 -60
- package/dist/scripts/smoke-packed-install.js.map +1 -1
- package/dist/scripts/sync-plugin-mirror.d.ts.map +1 -1
- package/dist/scripts/sync-plugin-mirror.js +16 -1
- package/dist/scripts/sync-plugin-mirror.js.map +1 -1
- package/dist/scripts/sync-prompt-guidance-fragments.js +62 -20
- package/dist/scripts/sync-prompt-guidance-fragments.js.map +1 -1
- package/dist/scripts/tmux-hook-engine.d.ts +1 -1
- package/dist/scripts/tmux-hook-engine.d.ts.map +1 -1
- package/dist/scripts/tmux-hook-engine.js +3 -3
- package/dist/scripts/tmux-hook-engine.js.map +1 -1
- package/dist/scripts/verify-capabilities-lock.d.ts +3 -0
- package/dist/scripts/verify-capabilities-lock.d.ts.map +1 -0
- package/dist/scripts/verify-capabilities-lock.js +22 -0
- package/dist/scripts/verify-capabilities-lock.js.map +1 -0
- package/dist/scripts/verify-native-release-assets.js +37 -23
- package/dist/scripts/verify-native-release-assets.js.map +1 -1
- package/dist/state/__tests__/authority-decreasing.test.d.ts +2 -0
- package/dist/state/__tests__/authority-decreasing.test.d.ts.map +1 -0
- package/dist/state/__tests__/authority-decreasing.test.js +78 -0
- package/dist/state/__tests__/authority-decreasing.test.js.map +1 -0
- package/dist/state/__tests__/handoff-carrier.test.d.ts +2 -0
- package/dist/state/__tests__/handoff-carrier.test.d.ts.map +1 -0
- package/dist/state/__tests__/handoff-carrier.test.js +96 -0
- package/dist/state/__tests__/handoff-carrier.test.js.map +1 -0
- package/dist/state/__tests__/mode-state-context.test.js +12 -5
- package/dist/state/__tests__/mode-state-context.test.js.map +1 -1
- package/dist/state/__tests__/operations.test.js +870 -2517
- package/dist/state/__tests__/operations.test.js.map +1 -1
- package/dist/state/__tests__/single-writer-invariant.test.d.ts +2 -0
- package/dist/state/__tests__/single-writer-invariant.test.d.ts.map +1 -0
- package/dist/state/__tests__/single-writer-invariant.test.js +342 -0
- package/dist/state/__tests__/single-writer-invariant.test.js.map +1 -0
- package/dist/state/__tests__/skill-active.test.js +400 -2
- package/dist/state/__tests__/skill-active.test.js.map +1 -1
- package/dist/state/__tests__/stale-state-neutralization.test.d.ts +2 -0
- package/dist/state/__tests__/stale-state-neutralization.test.d.ts.map +1 -0
- package/dist/state/__tests__/stale-state-neutralization.test.js +84 -0
- package/dist/state/__tests__/stale-state-neutralization.test.js.map +1 -0
- package/dist/state/__tests__/workflow-transition.test.js +20 -33
- package/dist/state/__tests__/workflow-transition.test.js.map +1 -1
- package/dist/state/handoff-carrier.d.ts +46 -0
- package/dist/state/handoff-carrier.d.ts.map +1 -0
- package/dist/state/handoff-carrier.js +85 -0
- package/dist/state/handoff-carrier.js.map +1 -0
- package/dist/state/mode-state-context.d.ts +3 -0
- package/dist/state/mode-state-context.d.ts.map +1 -1
- package/dist/state/mode-state-context.js +27 -13
- package/dist/state/mode-state-context.js.map +1 -1
- package/dist/state/namespace-owners.d.ts +34 -0
- package/dist/state/namespace-owners.d.ts.map +1 -0
- package/dist/state/namespace-owners.js +127 -0
- package/dist/state/namespace-owners.js.map +1 -0
- package/dist/state/operations.d.ts +9 -4
- package/dist/state/operations.d.ts.map +1 -1
- package/dist/state/operations.js +194 -235
- package/dist/state/operations.js.map +1 -1
- package/dist/state/skill-active.d.ts +18 -1
- package/dist/state/skill-active.d.ts.map +1 -1
- package/dist/state/skill-active.js +421 -31
- package/dist/state/skill-active.js.map +1 -1
- package/dist/state/workflow-transition-reconcile.d.ts +3 -0
- package/dist/state/workflow-transition-reconcile.d.ts.map +1 -1
- package/dist/state/workflow-transition-reconcile.js +11 -31
- package/dist/state/workflow-transition-reconcile.js.map +1 -1
- package/dist/state/workflow-transition.d.ts +1 -27
- package/dist/state/workflow-transition.d.ts.map +1 -1
- package/dist/state/workflow-transition.js +9 -790
- package/dist/state/workflow-transition.js.map +1 -1
- package/dist/subagents/__tests__/leader-bootstrap-3181.test.js +27 -0
- package/dist/subagents/__tests__/leader-bootstrap-3181.test.js.map +1 -1
- package/dist/subagents/__tests__/tracker.test.js +837 -1048
- package/dist/subagents/__tests__/tracker.test.js.map +1 -1
- package/dist/subagents/tracker.d.ts +64 -60
- package/dist/subagents/tracker.d.ts.map +1 -1
- package/dist/subagents/tracker.js +809 -358
- package/dist/subagents/tracker.js.map +1 -1
- package/dist/team/__tests__/api-interop.test.js +1 -0
- package/dist/team/__tests__/api-interop.test.js.map +1 -1
- package/dist/team/__tests__/delivery-e2e-smoke.test.js +6 -7
- package/dist/team/__tests__/delivery-e2e-smoke.test.js.map +1 -1
- package/dist/team/__tests__/mcp-comm.test.js +104 -3
- package/dist/team/__tests__/mcp-comm.test.js.map +1 -1
- package/dist/team/__tests__/notice-ledger.test.d.ts +2 -0
- package/dist/team/__tests__/notice-ledger.test.d.ts.map +1 -0
- package/dist/team/__tests__/notice-ledger.test.js +131 -0
- package/dist/team/__tests__/notice-ledger.test.js.map +1 -0
- package/dist/team/__tests__/pane-teardown-residue-e2e.test.d.ts +2 -0
- package/dist/team/__tests__/pane-teardown-residue-e2e.test.d.ts.map +1 -0
- package/dist/team/__tests__/pane-teardown-residue-e2e.test.js +410 -0
- package/dist/team/__tests__/pane-teardown-residue-e2e.test.js.map +1 -0
- package/dist/team/__tests__/phase-controller.test.js +20 -0
- package/dist/team/__tests__/phase-controller.test.js.map +1 -1
- package/dist/team/__tests__/runtime.test.js +725 -59
- package/dist/team/__tests__/runtime.test.js.map +1 -1
- package/dist/team/__tests__/scaling.test.js +269 -245
- package/dist/team/__tests__/scaling.test.js.map +1 -1
- package/dist/team/__tests__/state-root.test.js +117 -2
- package/dist/team/__tests__/state-root.test.js.map +1 -1
- package/dist/team/__tests__/team-ops-contract.test.js +1 -0
- package/dist/team/__tests__/team-ops-contract.test.js.map +1 -1
- package/dist/team/__tests__/tmux-session.test.js +1093 -101
- package/dist/team/__tests__/tmux-session.test.js.map +1 -1
- package/dist/team/__tests__/tmux-source-authority-realtmux.test.d.ts +2 -0
- package/dist/team/__tests__/tmux-source-authority-realtmux.test.d.ts.map +1 -0
- package/dist/team/__tests__/tmux-source-authority-realtmux.test.js +159 -0
- package/dist/team/__tests__/tmux-source-authority-realtmux.test.js.map +1 -0
- package/dist/team/__tests__/tmux-test-fixture.d.ts +69 -0
- package/dist/team/__tests__/tmux-test-fixture.d.ts.map +1 -1
- package/dist/team/__tests__/tmux-test-fixture.js +242 -15
- package/dist/team/__tests__/tmux-test-fixture.js.map +1 -1
- package/dist/team/__tests__/tmux-test-fixture.test.js +177 -1
- package/dist/team/__tests__/tmux-test-fixture.test.js.map +1 -1
- package/dist/team/__tests__/worker-bootstrap.test.js +11 -13
- package/dist/team/__tests__/worker-bootstrap.test.js.map +1 -1
- package/dist/team/__tests__/worker-provenance.test.d.ts +2 -0
- package/dist/team/__tests__/worker-provenance.test.d.ts.map +1 -0
- package/dist/team/__tests__/worker-provenance.test.js +251 -0
- package/dist/team/__tests__/worker-provenance.test.js.map +1 -0
- package/dist/team/__tests__/worker-runtime-identity.test.js +45 -72
- package/dist/team/__tests__/worker-runtime-identity.test.js.map +1 -1
- package/dist/team/api-interop.d.ts.map +1 -1
- package/dist/team/api-interop.js +14 -8
- package/dist/team/api-interop.js.map +1 -1
- package/dist/team/mcp-comm.d.ts.map +1 -1
- package/dist/team/mcp-comm.js +3 -8
- package/dist/team/mcp-comm.js.map +1 -1
- package/dist/team/notice-ledger.d.ts +54 -0
- package/dist/team/notice-ledger.d.ts.map +1 -0
- package/dist/team/notice-ledger.js +259 -0
- package/dist/team/notice-ledger.js.map +1 -0
- package/dist/team/phase-controller.d.ts.map +1 -1
- package/dist/team/phase-controller.js +2 -0
- package/dist/team/phase-controller.js.map +1 -1
- package/dist/team/runtime.d.ts +3 -1
- package/dist/team/runtime.d.ts.map +1 -1
- package/dist/team/runtime.js +314 -142
- package/dist/team/runtime.js.map +1 -1
- package/dist/team/scaling.d.ts.map +1 -1
- package/dist/team/scaling.js +161 -91
- package/dist/team/scaling.js.map +1 -1
- package/dist/team/state/monitor.d.ts +10 -0
- package/dist/team/state/monitor.d.ts.map +1 -1
- package/dist/team/state/monitor.js +13 -0
- package/dist/team/state/monitor.js.map +1 -1
- package/dist/team/state/types.d.ts +15 -0
- package/dist/team/state/types.d.ts.map +1 -1
- package/dist/team/state/types.js.map +1 -1
- package/dist/team/state-root.d.ts +12 -0
- package/dist/team/state-root.d.ts.map +1 -1
- package/dist/team/state-root.js +177 -0
- package/dist/team/state-root.js.map +1 -1
- package/dist/team/state.d.ts +19 -0
- package/dist/team/state.d.ts.map +1 -1
- package/dist/team/state.js +47 -1
- package/dist/team/state.js.map +1 -1
- package/dist/team/team-ops.d.ts +1 -0
- package/dist/team/team-ops.d.ts.map +1 -1
- package/dist/team/team-ops.js +1 -0
- package/dist/team/team-ops.js.map +1 -1
- package/dist/team/tmux-session.d.ts +42 -4
- package/dist/team/tmux-session.d.ts.map +1 -1
- package/dist/team/tmux-session.js +572 -196
- package/dist/team/tmux-session.js.map +1 -1
- package/dist/team/ultragoal-context.d.ts +1 -0
- package/dist/team/ultragoal-context.d.ts.map +1 -1
- package/dist/team/ultragoal-context.js +2 -0
- package/dist/team/ultragoal-context.js.map +1 -1
- package/dist/team/worker-provenance.d.ts +35 -0
- package/dist/team/worker-provenance.d.ts.map +1 -0
- package/dist/team/worker-provenance.js +213 -0
- package/dist/team/worker-provenance.js.map +1 -0
- package/dist/ultragoal/__tests__/artifacts.test.js +1053 -2
- package/dist/ultragoal/__tests__/artifacts.test.js.map +1 -1
- package/dist/ultragoal/__tests__/docs-contract.test.js +89 -59
- package/dist/ultragoal/__tests__/docs-contract.test.js.map +1 -1
- package/dist/ultragoal/artifacts.d.ts +36 -1
- package/dist/ultragoal/artifacts.d.ts.map +1 -1
- package/dist/ultragoal/artifacts.js +267 -51
- package/dist/ultragoal/artifacts.js.map +1 -1
- package/dist/url-reader/__tests__/url-reader.test.js +14 -0
- package/dist/url-reader/__tests__/url-reader.test.js.map +1 -1
- package/dist/url-reader/index.js +5 -3
- package/dist/url-reader/index.js.map +1 -1
- package/dist/utils/__tests__/file-durability.test.js +58 -1
- package/dist/utils/__tests__/file-durability.test.js.map +1 -1
- package/dist/utils/__tests__/paths.test.js +21 -1
- package/dist/utils/__tests__/paths.test.js.map +1 -1
- package/dist/utils/__tests__/version.test.js +17 -0
- package/dist/utils/__tests__/version.test.js.map +1 -1
- package/dist/utils/file-durability.d.ts +10 -0
- package/dist/utils/file-durability.d.ts.map +1 -1
- package/dist/utils/file-durability.js +34 -4
- package/dist/utils/file-durability.js.map +1 -1
- package/dist/utils/paths.d.ts.map +1 -1
- package/dist/utils/paths.js +14 -6
- package/dist/utils/paths.js.map +1 -1
- package/dist/utils/version.d.ts.map +1 -1
- package/dist/utils/version.js +2 -1
- package/dist/utils/version.js.map +1 -1
- package/dist/verification/__tests__/ci-rust-gates.test.js +49 -4
- package/dist/verification/__tests__/ci-rust-gates.test.js.map +1 -1
- package/dist/verification/__tests__/explore-harness-release-workflow.test.js +60 -0
- package/dist/verification/__tests__/explore-harness-release-workflow.test.js.map +1 -1
- package/dist/verification/__tests__/native-release-manifest.test.js +157 -4
- package/dist/verification/__tests__/native-release-manifest.test.js.map +1 -1
- package/package.json +17 -6
- package/plugins/oh-my-codex/.codex-plugin/plugin.json +1 -1
- package/plugins/oh-my-codex/hooks/codex-native-hook.mjs +81 -17
- package/plugins/oh-my-codex/skills/ai-slop-cleaner/SKILL.md +60 -135
- package/plugins/oh-my-codex/skills/analyze/SKILL.md +35 -111
- package/plugins/oh-my-codex/skills/autopilot/SKILL.md +72 -163
- package/plugins/oh-my-codex/skills/cancel/SKILL.md +33 -392
- package/plugins/oh-my-codex/skills/code-review/SKILL.md +66 -256
- package/plugins/oh-my-codex/skills/configure-notifications/SKILL.md +30 -216
- package/plugins/oh-my-codex/skills/deep-interview/SKILL.md +11 -10
- package/plugins/oh-my-codex/skills/design/SKILL.md +32 -132
- package/plugins/oh-my-codex/skills/doctor/SKILL.md +56 -177
- package/plugins/oh-my-codex/skills/omx-setup/SKILL.md +35 -116
- package/plugins/oh-my-codex/skills/plan/SKILL.md +45 -228
- package/plugins/oh-my-codex/skills/ralplan/SKILL.md +20 -22
- package/plugins/oh-my-codex/skills/skill/SKILL.md +82 -807
- package/plugins/oh-my-codex/skills/team/SKILL.md +32 -520
- package/plugins/oh-my-codex/skills/ultragoal/SKILL.md +47 -150
- package/plugins/oh-my-codex/skills/ultraqa/SKILL.md +75 -252
- package/plugins/oh-my-codex/skills/visual-ralph/SKILL.md +33 -111
- package/plugins/oh-my-codex/skills/worker/SKILL.md +40 -113
- package/prompts/analyst.md +27 -107
- package/prompts/api-reviewer.md +17 -84
- package/prompts/architect.md +31 -70
- package/prompts/code-reviewer.md +18 -107
- package/prompts/code-simplifier.md +32 -110
- package/prompts/critic.md +32 -54
- package/prompts/dependency-expert.md +37 -107
- package/prompts/designer.md +40 -107
- package/prompts/executor.md +26 -75
- package/prompts/information-architect.md +51 -200
- package/prompts/performance-reviewer.md +17 -81
- package/prompts/planner.md +33 -76
- package/prompts/product-analyst.md +65 -280
- package/prompts/product-manager.md +48 -216
- package/prompts/qa-tester.md +33 -104
- package/prompts/quality-reviewer.md +17 -93
- package/prompts/quality-strategist.md +31 -255
- package/prompts/researcher.md +32 -89
- package/prompts/security-reviewer.md +12 -98
- package/prompts/test-engineer.md +29 -110
- package/prompts/ux-researcher.md +46 -300
- package/prompts/verifier.md +23 -51
- package/skills/ai-slop-cleaner/SKILL.md +60 -135
- package/skills/analyze/SKILL.md +35 -111
- package/skills/autopilot/SKILL.md +72 -163
- package/skills/autoresearch-goal/SKILL.md +6 -31
- package/skills/cancel/SKILL.md +33 -392
- package/skills/code-review/SKILL.md +66 -256
- package/skills/configure-notifications/SKILL.md +30 -216
- package/skills/deep-interview/SKILL.md +11 -10
- package/skills/design/SKILL.md +32 -132
- package/skills/doctor/SKILL.md +56 -177
- package/skills/omx-setup/SKILL.md +35 -116
- package/skills/pipeline/SKILL.md +6 -89
- package/skills/plan/SKILL.md +45 -228
- package/skills/ralph/SKILL.md +6 -290
- package/skills/ralplan/SKILL.md +20 -22
- package/skills/skill/SKILL.md +82 -807
- package/skills/team/SKILL.md +32 -520
- package/skills/ultragoal/SKILL.md +47 -150
- package/skills/ultraqa/SKILL.md +75 -252
- package/skills/ultrawork/SKILL.md +6 -182
- package/skills/visual-ralph/SKILL.md +33 -111
- package/skills/worker/SKILL.md +40 -113
- package/src/scripts/__tests__/codex-native-hook.test.ts +18888 -28799
- package/src/scripts/__tests__/docs-site-contract.test.ts +2 -2
- package/src/scripts/__tests__/generated-artifact-drift.test.ts +97 -0
- package/src/scripts/__tests__/issue-3293-callsite-parity.test.ts +197 -0
- package/src/scripts/__tests__/issue-3293-cancel-transaction.test.ts +189 -0
- package/src/scripts/__tests__/issue-3293-hook-owned-cancel.test.ts +186 -0
- package/src/scripts/__tests__/issue-3311-ultragoal-native-outside-tmux.test.ts +177 -0
- package/src/scripts/__tests__/issue-3358-ultragoal-cancel-lifecycle.test.ts +201 -0
- package/src/scripts/__tests__/issue-3369-autopilot-ralplan-state-machine.test.ts +43 -0
- package/src/scripts/__tests__/issue-3481-conductor-deadlock.test.ts +77 -0
- package/src/scripts/__tests__/issue-3486-pretooluse-lock-regression.test.ts +95 -0
- package/src/scripts/__tests__/issue-3536-external-team-state-root.test.ts +216 -0
- package/src/scripts/__tests__/notify-state-io.test.ts +29 -0
- package/src/scripts/__tests__/notify-tmux-injection.test.ts +26 -1
- package/src/scripts/__tests__/postinstall.test.ts +23 -1
- package/src/scripts/__tests__/prompt-inventory.test.ts +62 -1
- package/src/scripts/__tests__/reasoning-artifact-contract.test.ts +1 -2
- package/src/scripts/__tests__/role-intent-bootstrap-e2e-3181.test.ts +49 -59
- package/src/scripts/__tests__/role-intent-durable-recovery-3181.test.ts +61 -27
- package/src/scripts/__tests__/smoke-packed-install.test.ts +223 -23
- package/src/scripts/__tests__/verify-native-release-assets.test.ts +240 -0
- package/src/scripts/codex-native-hook.ts +3618 -1383
- package/src/scripts/codex-native-pre-post.ts +50 -24
- package/src/scripts/generate-native-release-manifest.ts +83 -79
- package/src/scripts/notify-fallback-watcher.ts +38 -38
- package/src/scripts/notify-hook/auto-nudge.ts +1 -0
- package/src/scripts/notify-hook/state-io.ts +11 -0
- package/src/scripts/notify-hook/team-dispatch.ts +8 -5
- package/src/scripts/notify-hook/team-leader-nudge.ts +32 -4
- package/src/scripts/notify-hook/team-tmux-guard.ts +3 -1
- package/src/scripts/notify-hook/team-worker-stop.ts +23 -4
- package/src/scripts/notify-hook/team-worker.ts +43 -5
- package/src/scripts/notify-hook/tmux-injection.ts +5 -1
- package/src/scripts/notify-hook.ts +76 -124
- package/src/scripts/postinstall-advisory.ts +67 -0
- package/src/scripts/postinstall.ts +1 -1
- package/src/scripts/prompt-inventory.ts +142 -3
- package/src/scripts/run-compiled-ci.ts +2 -0
- package/src/scripts/run-test-files.ts +1 -0
- package/src/scripts/smoke-packed-install.ts +440 -59
- package/src/scripts/sync-plugin-mirror.ts +17 -1
- package/src/scripts/sync-prompt-guidance-fragments.ts +59 -22
- package/src/scripts/tmux-hook-engine.ts +3 -3
- package/src/scripts/verify-capabilities-lock.ts +23 -0
- package/src/scripts/verify-native-release-assets.ts +39 -31
- package/templates/AGENTS.md +45 -9
- package/templates/catalog-manifest.json +6 -146
- package/dist/autopilot/__tests__/deep-interview-gate.test.d.ts +0 -2
- package/dist/autopilot/__tests__/deep-interview-gate.test.d.ts.map +0 -1
- package/dist/autopilot/__tests__/deep-interview-gate.test.js +0 -215
- package/dist/autopilot/__tests__/deep-interview-gate.test.js.map +0 -1
- package/dist/autopilot/__tests__/ralplan-gate.test.d.ts +0 -2
- package/dist/autopilot/__tests__/ralplan-gate.test.d.ts.map +0 -1
- package/dist/autopilot/__tests__/ralplan-gate.test.js +0 -1361
- package/dist/autopilot/__tests__/ralplan-gate.test.js.map +0 -1
- package/dist/autopilot/deep-interview-gate.d.ts +0 -18
- package/dist/autopilot/deep-interview-gate.d.ts.map +0 -1
- package/dist/autopilot/deep-interview-gate.js +0 -396
- package/dist/autopilot/deep-interview-gate.js.map +0 -1
- package/dist/autopilot/ralplan-gate.d.ts +0 -18
- package/dist/autopilot/ralplan-gate.d.ts.map +0 -1
- package/dist/autopilot/ralplan-gate.js +0 -148
- package/dist/autopilot/ralplan-gate.js.map +0 -1
- package/dist/hooks/__tests__/prometheus-strict-contract.test.d.ts +0 -2
- package/dist/hooks/__tests__/prometheus-strict-contract.test.d.ts.map +0 -1
- package/dist/hooks/__tests__/prometheus-strict-contract.test.js +0 -320
- package/dist/hooks/__tests__/prometheus-strict-contract.test.js.map +0 -1
- package/dist/pipeline/__tests__/orchestrator.test.d.ts +0 -2
- package/dist/pipeline/__tests__/orchestrator.test.d.ts.map +0 -1
- package/dist/pipeline/__tests__/orchestrator.test.js +0 -770
- package/dist/pipeline/__tests__/orchestrator.test.js.map +0 -1
- package/dist/pipeline/__tests__/stages.test.d.ts +0 -2
- package/dist/pipeline/__tests__/stages.test.d.ts.map +0 -1
- package/dist/pipeline/__tests__/stages.test.js +0 -1778
- package/dist/pipeline/__tests__/stages.test.js.map +0 -1
- package/dist/pipeline/index.d.ts +0 -25
- package/dist/pipeline/index.d.ts.map +0 -1
- package/dist/pipeline/index.js +0 -17
- package/dist/pipeline/index.js.map +0 -1
- package/dist/pipeline/orchestrator.d.ts +0 -52
- package/dist/pipeline/orchestrator.d.ts.map +0 -1
- package/dist/pipeline/orchestrator.js +0 -399
- package/dist/pipeline/orchestrator.js.map +0 -1
- package/dist/pipeline/review-verdict.d.ts +0 -3
- package/dist/pipeline/review-verdict.d.ts.map +0 -1
- package/dist/pipeline/review-verdict.js +0 -14
- package/dist/pipeline/review-verdict.js.map +0 -1
- package/dist/pipeline/stages/code-review.d.ts +0 -35
- package/dist/pipeline/stages/code-review.d.ts.map +0 -1
- package/dist/pipeline/stages/code-review.js +0 -55
- package/dist/pipeline/stages/code-review.js.map +0 -1
- package/dist/pipeline/stages/deep-interview.d.ts +0 -15
- package/dist/pipeline/stages/deep-interview.d.ts.map +0 -1
- package/dist/pipeline/stages/deep-interview.js +0 -32
- package/dist/pipeline/stages/deep-interview.js.map +0 -1
- package/dist/pipeline/stages/ralph-verify.d.ts +0 -53
- package/dist/pipeline/stages/ralph-verify.d.ts.map +0 -1
- package/dist/pipeline/stages/ralph-verify.js +0 -89
- package/dist/pipeline/stages/ralph-verify.js.map +0 -1
- package/dist/pipeline/stages/ralplan.d.ts +0 -27
- package/dist/pipeline/stages/ralplan.d.ts.map +0 -1
- package/dist/pipeline/stages/ralplan.js +0 -152
- package/dist/pipeline/stages/ralplan.js.map +0 -1
- package/dist/pipeline/stages/team-exec.d.ts +0 -52
- package/dist/pipeline/stages/team-exec.d.ts.map +0 -1
- package/dist/pipeline/stages/team-exec.js +0 -266
- package/dist/pipeline/stages/team-exec.js.map +0 -1
- package/dist/pipeline/stages/ultragoal.d.ts +0 -23
- package/dist/pipeline/stages/ultragoal.d.ts.map +0 -1
- package/dist/pipeline/stages/ultragoal.js +0 -53
- package/dist/pipeline/stages/ultragoal.js.map +0 -1
- package/dist/pipeline/stages/ultraqa.d.ts +0 -33
- package/dist/pipeline/stages/ultraqa.d.ts.map +0 -1
- package/dist/pipeline/stages/ultraqa.js +0 -49
- package/dist/pipeline/stages/ultraqa.js.map +0 -1
- package/dist/pipeline/types.d.ts +0 -124
- package/dist/pipeline/types.d.ts.map +0 -1
- package/dist/pipeline/types.js +0 -8
- package/dist/pipeline/types.js.map +0 -1
- package/dist/ralplan/__tests__/consensus-gate.test.d.ts +0 -2
- package/dist/ralplan/__tests__/consensus-gate.test.d.ts.map +0 -1
- package/dist/ralplan/__tests__/consensus-gate.test.js +0 -1455
- package/dist/ralplan/__tests__/consensus-gate.test.js.map +0 -1
- package/dist/ralplan/consensus-gate.d.ts +0 -62
- package/dist/ralplan/consensus-gate.d.ts.map +0 -1
- package/dist/ralplan/consensus-gate.js +0 -760
- package/dist/ralplan/consensus-gate.js.map +0 -1
- package/dist/scripts/notify-hook/ralph-session-resume.d.ts +0 -25
- package/dist/scripts/notify-hook/ralph-session-resume.d.ts.map +0 -1
- package/dist/scripts/notify-hook/ralph-session-resume.js +0 -377
- package/dist/scripts/notify-hook/ralph-session-resume.js.map +0 -1
- package/dist/state/__tests__/planning-gate.test.d.ts +0 -2
- package/dist/state/__tests__/planning-gate.test.d.ts.map +0 -1
- package/dist/state/__tests__/planning-gate.test.js +0 -629
- package/dist/state/__tests__/planning-gate.test.js.map +0 -1
- package/plugins/oh-my-codex/skills/autoresearch-goal/SKILL.md +0 -39
- package/plugins/oh-my-codex/skills/pipeline/SKILL.md +0 -97
- package/plugins/oh-my-codex/skills/prometheus-strict/README.md +0 -35
- package/plugins/oh-my-codex/skills/prometheus-strict/SKILL.md +0 -219
- package/plugins/oh-my-codex/skills/ralph/SKILL.md +0 -298
- package/plugins/oh-my-codex/skills/ultrawork/SKILL.md +0 -190
- package/plugins/oh-my-codex/skills/ultrawork/references/agent-tiers.md +0 -62
- package/prompts/prometheus-strict-metis.md +0 -274
- package/prompts/prometheus-strict-momus.md +0 -82
- package/prompts/prometheus-strict-oracle.md +0 -107
- package/prompts/scholastic.md +0 -11
- package/prompts/sisyphus-lite.md +0 -111
- package/skills/ask-claude/SKILL.md +0 -12
- package/skills/ask-gemini/SKILL.md +0 -12
- package/skills/build-fix/SKILL.md +0 -10
- package/skills/deepsearch/SKILL.md +0 -10
- package/skills/ecomode/SKILL.md +0 -114
- package/skills/ecomode/references/agent-tiers.md +0 -61
- package/skills/frontend-ui-ux/SKILL.md +0 -16
- package/skills/help/SKILL.md +0 -10
- package/skills/note/SKILL.md +0 -10
- package/skills/prometheus-strict/README.md +0 -35
- package/skills/prometheus-strict/SKILL.md +0 -219
- package/skills/ralph-init/SKILL.md +0 -10
- package/skills/review/SKILL.md +0 -10
- package/skills/security-review/SKILL.md +0 -10
- package/skills/swarm/SKILL.md +0 -12
- package/skills/tdd/SKILL.md +0 -104
- package/skills/trace/SKILL.md +0 -10
- package/skills/visual-verdict/SKILL.md +0 -10
- package/skills/web-clone/SKILL.md +0 -357
- package/src/scripts/notify-hook/ralph-session-resume.ts +0 -466
package/skills/skill/SKILL.md
CHANGED
|
@@ -4,833 +4,108 @@ description: Manage local skills - list, add, remove, search, edit, setup wizard
|
|
|
4
4
|
argument-hint: "<command> [args]"
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
-
# Skill Management
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
7
|
+
# Skill Management
|
|
8
|
+
|
|
9
|
+
Manage local `SKILL.md` files with `/skill` commands. Shared execution, delegation,
|
|
10
|
+
state, hook, team, cancellation, verification, and escalation invariants live in
|
|
11
|
+
`templates/AGENTS.md`; follow that contract instead of repeating it here.
|
|
12
|
+
|
|
13
|
+
<Purpose>
|
|
14
|
+
Create, inspect, validate, update, and organize user- or project-scoped skills.
|
|
15
|
+
Keep each skill specific, actionable, evidence-based, and useful to this codebase.
|
|
16
|
+
</Purpose>
|
|
17
|
+
|
|
18
|
+
<Use_When>
|
|
19
|
+
- The user asks to list, add, edit, remove, search, inspect, sync, set up, scan, or validate skills.
|
|
20
|
+
- A durable, codebase-specific solution or workflow should be captured as a skill.
|
|
21
|
+
</Use_When>
|
|
22
|
+
|
|
23
|
+
<Do_Not_Use_When>
|
|
24
|
+
- Use `/learner` to extract a skill from a conversation and `/note` for a short note.
|
|
25
|
+
- Do not use this prompt to change runtime code, catalogs, hooks, or installation logic.
|
|
26
|
+
</Do_Not_Use_When>
|
|
27
|
+
|
|
28
|
+
## Scopes and commands
|
|
29
|
+
|
|
30
|
+
Canonical roots are `${CODEX_HOME:-$HOME/.codex}/skills/` (user) and `.codex/skills/`
|
|
31
|
+
(project). A skill lives at `<root>/<name>/SKILL.md`.
|
|
32
|
+
|
|
33
|
+
| Command | Contract |
|
|
34
|
+
|---|---|
|
|
35
|
+
| `/skill list` | Scan both roots, parse frontmatter, and show name, description, triggers, scope, and quality/usage (`N/A` when unavailable). |
|
|
36
|
+
| `/skill add [name]` | Run the authoring wizard, validate the name, choose scope, create `SKILL.md`, and report its path. |
|
|
37
|
+
| `/skill edit <name>` | Find one scope, show metadata, then update description, triggers, argument hint, body, or rename and report the change. |
|
|
38
|
+
| `/skill remove <name>` | Find the skill, show scope and metadata, confirm explicitly, then remove its directory. |
|
|
39
|
+
| `/skill search <query>` | Case-insensitively search name, description, triggers, and body; rank name/trigger matches first and show context. |
|
|
40
|
+
| `/skill info <name>` | Show parsed metadata, scope, path, and full body; suggest `/skill search` when absent. |
|
|
41
|
+
| `/skill sync` | Compare user/project skills, show user-only/project-only/common entries, and confirm every copy or overwrite. |
|
|
42
|
+
| `/skill setup` | Ensure both roots exist, scan them, then offer add, list, pattern scan, import, or done. |
|
|
43
|
+
| `/skill scan` | Run setup's scan/inventory without its interactive menu. |
|
|
44
|
+
| `/skill validate` | Validate every skill in both roots and report each path's pass/fail result; never rewrite files. |
|
|
45
|
+
|
|
46
|
+
With an argument, use direct command mode; without one, use the guided setup menu.
|
|
47
|
+
|
|
48
|
+
## Authoring contract
|
|
49
|
+
|
|
50
|
+
Ask for any missing values:
|
|
51
|
+
1. `name`: lowercase letters/digits separated by single hyphens (`[a-z0-9]+(?:-[a-z0-9]+)*`).
|
|
52
|
+
2. `description`: a concise, non-empty one-line purpose.
|
|
53
|
+
3. `triggers`: comma-separated recognition terms.
|
|
54
|
+
4. `argument-hint`: optional invocation arguments.
|
|
55
|
+
5. `scope`: `user` or `project`.
|
|
56
|
+
|
|
57
|
+
Write this frontmatter at the start of every skill; optional metadata may add `id`,
|
|
58
|
+
`source`, and `quality` without replacing required fields:
|
|
57
59
|
|
|
58
60
|
```yaml
|
|
59
61
|
---
|
|
60
62
|
name: <name>
|
|
61
|
-
description: <
|
|
62
|
-
triggers:
|
|
63
|
-
- <trigger1>
|
|
64
|
-
- <trigger2>
|
|
63
|
+
description: <one-line purpose>
|
|
64
|
+
triggers: [<trigger1>, <trigger2>]
|
|
65
65
|
argument-hint: "<args>"
|
|
66
|
+
# optional: id, source, quality
|
|
66
67
|
---
|
|
67
|
-
|
|
68
|
-
# <Name> Skill
|
|
69
|
-
|
|
70
|
-
## Purpose
|
|
71
|
-
|
|
72
|
-
[Describe what this skill does]
|
|
73
|
-
|
|
74
|
-
## When to Activate
|
|
75
|
-
|
|
76
|
-
[Describe triggers and conditions]
|
|
77
|
-
|
|
78
|
-
## Workflow
|
|
79
|
-
|
|
80
|
-
1. [Step 1]
|
|
81
|
-
2. [Step 2]
|
|
82
|
-
3. [Step 3]
|
|
83
|
-
|
|
84
|
-
## Examples
|
|
85
|
-
|
|
86
|
-
```
|
|
87
|
-
/oh-my-codex:<name> example-arg
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
## Notes
|
|
91
|
-
|
|
92
|
-
[Additional context, edge cases, gotchas]
|
|
93
|
-
```
|
|
94
|
-
|
|
95
|
-
7. **Report success** with file path
|
|
96
|
-
8. **Suggest:** "Edit `/skill edit <name>` to customize content"
|
|
97
|
-
|
|
98
|
-
**Example:**
|
|
99
|
-
```
|
|
100
|
-
User: /skill add custom-logger
|
|
101
|
-
Assistant: Creating new skill 'custom-logger'...
|
|
102
|
-
|
|
103
|
-
Description: Enhanced logging with structured output
|
|
104
|
-
Triggers (comma-separated): log, logger, logging
|
|
105
|
-
Argument hint (optional): <level> [message]
|
|
106
|
-
Scope (user/project): user
|
|
107
|
-
|
|
108
|
-
✓ Created skill at ~/.codex/skills/custom-logger/SKILL.md
|
|
109
|
-
→ Edit with: /skill edit custom-logger
|
|
110
|
-
```
|
|
111
|
-
|
|
112
|
-
---
|
|
113
|
-
|
|
114
|
-
### /skill remove <name>
|
|
115
|
-
|
|
116
|
-
Remove a skill by name.
|
|
117
|
-
|
|
118
|
-
**Behavior:**
|
|
119
|
-
1. **Search for skill** in both scopes:
|
|
120
|
-
- `~/.codex/skills/<name>/SKILL.md`
|
|
121
|
-
- `.codex/skills/<name>/SKILL.md`
|
|
122
|
-
2. **If found:**
|
|
123
|
-
- Display skill info (name, description, scope)
|
|
124
|
-
- **Ask for confirmation:** "Delete '<name>' skill from <scope>? (yes/no)"
|
|
125
|
-
3. **If confirmed:**
|
|
126
|
-
- Delete entire skill directory (e.g., `~/.codex/skills/<name>/`)
|
|
127
|
-
- Report: "✓ Removed skill '<name>' from <scope>"
|
|
128
|
-
4. **If not found:**
|
|
129
|
-
- Report: "✗ Skill '<name>' not found in user or project scope"
|
|
130
|
-
|
|
131
|
-
**Safety:** Never delete without explicit user confirmation.
|
|
132
|
-
|
|
133
|
-
**Example:**
|
|
134
|
-
```
|
|
135
|
-
User: /skill remove old-logger
|
|
136
|
-
Assistant: Found skill 'old-logger' in user scope:
|
|
137
|
-
Description: Legacy logging utility
|
|
138
|
-
Scope: user (~/.codex/skills/)
|
|
139
|
-
|
|
140
|
-
Delete 'old-logger' skill? (yes/no)
|
|
141
|
-
|
|
142
|
-
User: yes
|
|
143
|
-
Assistant: ✓ Removed skill 'old-logger' from user scope
|
|
144
|
-
```
|
|
145
|
-
|
|
146
|
-
---
|
|
147
|
-
|
|
148
|
-
### /skill edit <name>
|
|
149
|
-
|
|
150
|
-
Edit an existing skill interactively.
|
|
151
|
-
|
|
152
|
-
**Behavior:**
|
|
153
|
-
1. **Find skill** by name (search both scopes)
|
|
154
|
-
2. **Read current content** via Read tool
|
|
155
|
-
3. **Display current values:**
|
|
156
|
-
```
|
|
157
|
-
Current skill 'custom-logger':
|
|
158
|
-
- Description: Enhanced logging with structured output
|
|
159
|
-
- Triggers: log, logger, logging
|
|
160
|
-
- Argument hint: <level> [message]
|
|
161
|
-
- Scope: user
|
|
162
|
-
```
|
|
163
|
-
4. **Ask what to change:**
|
|
164
|
-
- `description` - Update description
|
|
165
|
-
- `triggers` - Update trigger keywords
|
|
166
|
-
- `argument-hint` - Update argument hint
|
|
167
|
-
- `content` - Edit full markdown content
|
|
168
|
-
- `rename` - Rename skill (move file)
|
|
169
|
-
- `cancel` - Exit without changes
|
|
170
|
-
5. **For selected field:**
|
|
171
|
-
- Show current value
|
|
172
|
-
- Ask for new value
|
|
173
|
-
- Update YAML frontmatter or content
|
|
174
|
-
- Write back to file
|
|
175
|
-
6. **Report success** with summary of changes
|
|
176
|
-
|
|
177
|
-
**Example:**
|
|
178
|
-
```
|
|
179
|
-
User: /skill edit custom-logger
|
|
180
|
-
Assistant: Current skill 'custom-logger':
|
|
181
|
-
- Description: Enhanced logging with structured output
|
|
182
|
-
- Triggers: log, logger, logging
|
|
183
|
-
- Argument hint: <level> [message]
|
|
184
|
-
|
|
185
|
-
What would you like to edit? (description/triggers/argument-hint/content/rename/cancel)
|
|
186
|
-
|
|
187
|
-
User: triggers
|
|
188
|
-
Assistant: Current triggers: log, logger, logging
|
|
189
|
-
New triggers (comma-separated): log, logger, logging, trace
|
|
190
|
-
|
|
191
|
-
✓ Updated triggers for 'custom-logger'
|
|
192
|
-
```
|
|
193
|
-
|
|
194
|
-
---
|
|
195
|
-
|
|
196
|
-
### /skill search <query>
|
|
197
|
-
|
|
198
|
-
Search skills by content, triggers, name, or description.
|
|
199
|
-
|
|
200
|
-
**Behavior:**
|
|
201
|
-
1. **Scan all skills** in both scopes
|
|
202
|
-
2. **Match query** (case-insensitive) against:
|
|
203
|
-
- Skill name
|
|
204
|
-
- Description
|
|
205
|
-
- Triggers
|
|
206
|
-
- Full markdown content
|
|
207
|
-
3. **Display matches** with context:
|
|
208
|
-
|
|
209
|
-
```
|
|
210
|
-
Found 3 skills matching "typescript error":
|
|
211
|
-
|
|
212
|
-
1. typescript-fixer (user)
|
|
213
|
-
Description: Fix common TypeScript errors
|
|
214
|
-
Match: "typescript error handling patterns"
|
|
215
|
-
|
|
216
|
-
2. error-handler (user)
|
|
217
|
-
Description: Generic error handling utilities
|
|
218
|
-
Match: "Supports TypeScript and JavaScript errors"
|
|
219
|
-
|
|
220
|
-
3. lint-fix (project)
|
|
221
|
-
Description: Auto-fix linting errors
|
|
222
|
-
Match: "TypeScript ESLint error resolution"
|
|
223
|
-
```
|
|
224
|
-
|
|
225
|
-
**Ranking:** Prioritize matches in name/triggers over content matches
|
|
226
|
-
|
|
227
|
-
**Example:**
|
|
228
|
-
```
|
|
229
|
-
User: /skill search api endpoint
|
|
230
|
-
Assistant: Found 2 skills matching "api endpoint":
|
|
231
|
-
|
|
232
|
-
1. api-builder (user)
|
|
233
|
-
Description: Generate REST API endpoints
|
|
234
|
-
Triggers: api, endpoint, rest
|
|
235
|
-
|
|
236
|
-
2. backend-scaffold (project)
|
|
237
|
-
Description: Scaffold backend services
|
|
238
|
-
Match: "Creates API endpoint boilerplate"
|
|
239
|
-
```
|
|
240
|
-
|
|
241
|
-
---
|
|
242
|
-
|
|
243
|
-
### /skill info <name>
|
|
244
|
-
|
|
245
|
-
Show detailed information about a skill.
|
|
246
|
-
|
|
247
|
-
**Behavior:**
|
|
248
|
-
1. **Find skill** by name (search both scopes)
|
|
249
|
-
2. **Parse YAML frontmatter** and content
|
|
250
|
-
3. **Display complete details:**
|
|
251
|
-
|
|
252
|
-
```
|
|
253
|
-
Skill: custom-logger
|
|
254
|
-
Scope: user (~/.codex/skills/custom-logger/)
|
|
255
|
-
Description: Enhanced logging with structured output
|
|
256
|
-
Triggers: log, logger, logging
|
|
257
|
-
Argument Hint: <level> [message]
|
|
258
|
-
Quality: 95% (if available)
|
|
259
|
-
Usage Count: 42 times (if available)
|
|
260
|
-
File Path: /home/user/.codex/skills/custom-logger/SKILL.md
|
|
261
|
-
|
|
262
|
-
--- FULL CONTENT ---
|
|
263
|
-
[entire markdown content]
|
|
264
|
-
```
|
|
265
|
-
|
|
266
|
-
**If not found:** Report error with suggestion to use `/skill search`
|
|
267
|
-
|
|
268
|
-
**Example:**
|
|
269
|
-
```
|
|
270
|
-
User: /skill info custom-logger
|
|
271
|
-
Assistant: Skill: custom-logger
|
|
272
|
-
Scope: user
|
|
273
|
-
Description: Enhanced logging with structured output
|
|
274
|
-
Triggers: log, logger, logging
|
|
275
|
-
File: ~/.codex/skills/custom-logger/SKILL.md
|
|
276
|
-
|
|
277
|
-
--- CONTENT ---
|
|
278
|
-
# Custom Logger Skill
|
|
279
|
-
|
|
280
|
-
## Purpose
|
|
281
|
-
Enhanced logging with structured JSON output...
|
|
282
|
-
[rest of content]
|
|
283
|
-
```
|
|
284
|
-
|
|
285
|
-
---
|
|
286
|
-
|
|
287
|
-
### /skill sync
|
|
288
|
-
|
|
289
|
-
Sync skills between user and project scopes.
|
|
290
|
-
|
|
291
|
-
**Behavior:**
|
|
292
|
-
1. **Scan both scopes:**
|
|
293
|
-
- User skills: `~/.codex/skills/`
|
|
294
|
-
- Project skills: `.codex/skills/`
|
|
295
|
-
2. **Compare and categorize:**
|
|
296
|
-
- User-only skills (not in project)
|
|
297
|
-
- Project-only skills (not in user)
|
|
298
|
-
- Common skills (in both)
|
|
299
|
-
3. **Display sync opportunities:**
|
|
300
|
-
|
|
301
|
-
```
|
|
302
|
-
SYNC REPORT:
|
|
303
|
-
|
|
304
|
-
User-only skills (5):
|
|
305
|
-
- error-handler
|
|
306
|
-
- api-builder
|
|
307
|
-
- custom-logger
|
|
308
|
-
- test-generator
|
|
309
|
-
- deploy-helper
|
|
310
|
-
|
|
311
|
-
Project-only skills (2):
|
|
312
|
-
- test-runner
|
|
313
|
-
- backend-scaffold
|
|
314
|
-
|
|
315
|
-
Common skills (3):
|
|
316
|
-
- design
|
|
317
|
-
- frontend-ui-ux (deprecated; use design or visual-ralph)
|
|
318
|
-
- git-master
|
|
319
|
-
- planner
|
|
320
|
-
|
|
321
|
-
Options:
|
|
322
|
-
[1] Copy user skill to project
|
|
323
|
-
[2] Copy project skill to user
|
|
324
|
-
[3] View differences
|
|
325
|
-
[4] Cancel
|
|
326
|
-
```
|
|
327
|
-
|
|
328
|
-
4. **Handle user choice:**
|
|
329
|
-
- Option 1: Select skill(s) to copy to project
|
|
330
|
-
- Option 2: Select skill(s) to copy to user
|
|
331
|
-
- Option 3: Show side-by-side diff for common skills
|
|
332
|
-
- Option 4: Exit
|
|
333
|
-
|
|
334
|
-
**Safety:** Never overwrite without confirmation
|
|
335
|
-
|
|
336
|
-
**Example:**
|
|
337
|
-
```
|
|
338
|
-
User: /skill sync
|
|
339
|
-
Assistant: Found 5 user-only skills and 2 project-only skills.
|
|
340
|
-
|
|
341
|
-
Copy 'error-handler' from user to project? (yes/no/skip)
|
|
342
|
-
User: yes
|
|
343
|
-
Assistant: ✓ Copied 'error-handler' to .codex/skills/
|
|
344
|
-
|
|
345
|
-
Copy 'api-builder' from user to project? (yes/no/skip)
|
|
346
|
-
User: skip
|
|
347
|
-
...
|
|
348
|
-
```
|
|
349
|
-
|
|
350
|
-
---
|
|
351
|
-
|
|
352
|
-
### /skill setup
|
|
353
|
-
|
|
354
|
-
Interactive wizard for setting up and managing local skills (formerly local-skills-setup).
|
|
355
|
-
|
|
356
|
-
**Behavior:**
|
|
357
|
-
|
|
358
|
-
#### Step 1: Directory Check and Setup
|
|
359
|
-
|
|
360
|
-
First, check if skill directories exist and create them if needed:
|
|
361
|
-
|
|
362
|
-
```bash
|
|
363
|
-
# Check and create user-level skills directory
|
|
364
|
-
USER_SKILLS_DIR="$HOME/.codex/skills"
|
|
365
|
-
if [ -d "$USER_SKILLS_DIR" ]; then
|
|
366
|
-
echo "User skills directory exists: $USER_SKILLS_DIR"
|
|
367
|
-
else
|
|
368
|
-
mkdir -p "$USER_SKILLS_DIR"
|
|
369
|
-
echo "Created user skills directory: $USER_SKILLS_DIR"
|
|
370
|
-
fi
|
|
371
|
-
|
|
372
|
-
# Check and create project-level skills directory
|
|
373
|
-
PROJECT_SKILLS_DIR=".codex/skills"
|
|
374
|
-
if [ -d "$PROJECT_SKILLS_DIR" ]; then
|
|
375
|
-
echo "Project skills directory exists: $PROJECT_SKILLS_DIR"
|
|
376
|
-
else
|
|
377
|
-
mkdir -p "$PROJECT_SKILLS_DIR"
|
|
378
|
-
echo "Created project skills directory: $PROJECT_SKILLS_DIR"
|
|
379
|
-
fi
|
|
380
|
-
```
|
|
381
|
-
|
|
382
|
-
#### Step 2: Skill Scan and Inventory
|
|
383
|
-
|
|
384
|
-
Scan both directories and show a comprehensive inventory:
|
|
385
|
-
|
|
386
|
-
```bash
|
|
387
|
-
# Scan user-level skills
|
|
388
|
-
echo "=== USER-LEVEL SKILLS (~/.codex/skills/) ==="
|
|
389
|
-
if [ -d "$HOME/.codex/skills" ]; then
|
|
390
|
-
USER_COUNT=$(find "$HOME/.codex/skills" -name "*.md" 2>/dev/null | wc -l)
|
|
391
|
-
echo "Total skills: $USER_COUNT"
|
|
392
|
-
|
|
393
|
-
if [ $USER_COUNT -gt 0 ]; then
|
|
394
|
-
echo ""
|
|
395
|
-
echo "Skills found:"
|
|
396
|
-
find "$HOME/.codex/skills" -name "*.md" -type f -exec sh -c '
|
|
397
|
-
FILE="$1"
|
|
398
|
-
NAME=$(grep -m1 "^name:" "$FILE" 2>/dev/null | sed "s/name: //")
|
|
399
|
-
DESC=$(grep -m1 "^description:" "$FILE" 2>/dev/null | sed "s/description: //")
|
|
400
|
-
MODIFIED=$(stat -c "%y" "$FILE" 2>/dev/null || stat -f "%Sm" "$FILE" 2>/dev/null)
|
|
401
|
-
echo " - $NAME"
|
|
402
|
-
[ -n "$DESC" ] && echo " Description: $DESC"
|
|
403
|
-
echo " Modified: $MODIFIED"
|
|
404
|
-
echo ""
|
|
405
|
-
' sh {} \;
|
|
406
|
-
fi
|
|
407
|
-
else
|
|
408
|
-
echo "Directory not found"
|
|
409
|
-
fi
|
|
410
|
-
|
|
411
|
-
echo ""
|
|
412
|
-
echo "=== PROJECT-LEVEL SKILLS (.codex/skills/) ==="
|
|
413
|
-
if [ -d ".codex/skills" ]; then
|
|
414
|
-
PROJECT_COUNT=$(find ".codex/skills" -name "*.md" 2>/dev/null | wc -l)
|
|
415
|
-
echo "Total skills: $PROJECT_COUNT"
|
|
416
|
-
|
|
417
|
-
if [ $PROJECT_COUNT -gt 0 ]; then
|
|
418
|
-
echo ""
|
|
419
|
-
echo "Skills found:"
|
|
420
|
-
find ".codex/skills" -name "*.md" -type f -exec sh -c '
|
|
421
|
-
FILE="$1"
|
|
422
|
-
NAME=$(grep -m1 "^name:" "$FILE" 2>/dev/null | sed "s/name: //")
|
|
423
|
-
DESC=$(grep -m1 "^description:" "$FILE" 2>/dev/null | sed "s/description: //")
|
|
424
|
-
MODIFIED=$(stat -c "%y" "$FILE" 2>/dev/null || stat -f "%Sm" "$FILE" 2>/dev/null)
|
|
425
|
-
echo " - $NAME"
|
|
426
|
-
[ -n "$DESC" ] && echo " Description: $DESC"
|
|
427
|
-
echo " Modified: $MODIFIED"
|
|
428
|
-
echo ""
|
|
429
|
-
' sh {} \;
|
|
430
|
-
fi
|
|
431
|
-
else
|
|
432
|
-
echo "Directory not found"
|
|
433
|
-
fi
|
|
434
|
-
|
|
435
|
-
# Summary
|
|
436
|
-
TOTAL=$((USER_COUNT + PROJECT_COUNT))
|
|
437
|
-
echo "=== SUMMARY ==="
|
|
438
|
-
echo "Total skills across all directories: $TOTAL"
|
|
439
68
|
```
|
|
440
69
|
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
After scanning, use the AskUserQuestion tool to offer these options:
|
|
444
|
-
|
|
445
|
-
**Question:** "What would you like to do with your local skills?"
|
|
446
|
-
|
|
447
|
-
**Options:**
|
|
448
|
-
1. **Add new skill** - Start the skill creation wizard (invoke `/skill add`)
|
|
449
|
-
2. **List all skills with details** - Show comprehensive skill inventory (invoke `/skill list`)
|
|
450
|
-
3. **Scan conversation for patterns** - Analyze current conversation for skill-worthy patterns
|
|
451
|
-
4. **Import skill** - Import a skill from URL or paste content
|
|
452
|
-
5. **Done** - Exit the wizard
|
|
453
|
-
|
|
454
|
-
**Option 3: Scan Conversation for Patterns**
|
|
455
|
-
|
|
456
|
-
Analyze the current conversation context to identify potential skill-worthy patterns. Look for:
|
|
457
|
-
- Recent debugging sessions with non-obvious solutions
|
|
458
|
-
- Tricky bugs that required investigation
|
|
459
|
-
- Codebase-specific workarounds discovered
|
|
460
|
-
- Error patterns that took time to resolve
|
|
461
|
-
|
|
462
|
-
Report findings and ask if user wants to extract any as skills (invoke `/learner` if yes).
|
|
463
|
-
|
|
464
|
-
**Option 4: Import Skill**
|
|
465
|
-
|
|
466
|
-
Ask user to provide either:
|
|
467
|
-
- **URL**: Download skill from a URL (e.g., GitHub gist)
|
|
468
|
-
- **Paste content**: Paste skill markdown content directly
|
|
469
|
-
|
|
470
|
-
Then ask for scope:
|
|
471
|
-
- **User-level** (~/.codex/skills/) - Available across all projects
|
|
472
|
-
- **Project-level** (.codex/skills/) - Only for this project
|
|
473
|
-
|
|
474
|
-
Validate the skill format and save to the chosen location.
|
|
475
|
-
|
|
476
|
-
---
|
|
477
|
-
|
|
478
|
-
### /skill scan
|
|
479
|
-
|
|
480
|
-
Quick command to scan both skill directories (subset of `/skill setup`).
|
|
481
|
-
|
|
482
|
-
**Behavior:**
|
|
483
|
-
Run the scan from Step 2 of `/skill setup` without the interactive wizard.
|
|
484
|
-
|
|
485
|
-
---
|
|
486
|
-
|
|
487
|
-
## Skill Templates
|
|
488
|
-
|
|
489
|
-
When creating skills via `/skill add` or `/skill setup`, offer quick templates for common skill types:
|
|
490
|
-
|
|
491
|
-
### Error Solution Template
|
|
492
|
-
|
|
493
|
-
```markdown
|
|
494
|
-
---
|
|
495
|
-
id: error-[unique-id]
|
|
496
|
-
name: [Error Name]
|
|
497
|
-
description: Solution for [specific error in specific context]
|
|
498
|
-
source: conversation
|
|
499
|
-
triggers: ["error message fragment", "file path", "symptom"]
|
|
500
|
-
quality: high
|
|
501
|
-
---
|
|
502
|
-
|
|
503
|
-
# [Error Name]
|
|
504
|
-
|
|
505
|
-
## The Insight
|
|
506
|
-
What is the underlying cause of this error? What principle did you discover?
|
|
507
|
-
|
|
508
|
-
## Why This Matters
|
|
509
|
-
What goes wrong if you don't know this? What symptom led here?
|
|
510
|
-
|
|
511
|
-
## Recognition Pattern
|
|
512
|
-
How do you know when this applies? What are the signs?
|
|
513
|
-
- Error message: "[exact error]"
|
|
514
|
-
- File: [specific file path]
|
|
515
|
-
- Context: [when does this occur]
|
|
516
|
-
|
|
517
|
-
## The Approach
|
|
518
|
-
Step-by-step solution:
|
|
519
|
-
1. [Specific action with file/line reference]
|
|
520
|
-
2. [Specific action with file/line reference]
|
|
521
|
-
3. [Verification step]
|
|
522
|
-
|
|
523
|
-
## Example
|
|
524
|
-
\`\`\`typescript
|
|
525
|
-
// Before (broken)
|
|
526
|
-
[problematic code]
|
|
527
|
-
|
|
528
|
-
// After (fixed)
|
|
529
|
-
[corrected code]
|
|
530
|
-
\`\`\`
|
|
531
|
-
```
|
|
532
|
-
|
|
533
|
-
### Workflow Skill Template
|
|
534
|
-
|
|
535
|
-
```markdown
|
|
536
|
-
---
|
|
537
|
-
id: workflow-[unique-id]
|
|
538
|
-
name: [Workflow Name]
|
|
539
|
-
description: Process for [specific task in this codebase]
|
|
540
|
-
source: conversation
|
|
541
|
-
triggers: ["task description", "file pattern", "goal keyword"]
|
|
542
|
-
quality: high
|
|
543
|
-
---
|
|
544
|
-
|
|
545
|
-
# [Workflow Name]
|
|
546
|
-
|
|
547
|
-
## The Insight
|
|
548
|
-
What makes this workflow different from the obvious approach?
|
|
549
|
-
|
|
550
|
-
## Why This Matters
|
|
551
|
-
What fails if you don't follow this process?
|
|
552
|
-
|
|
553
|
-
## Recognition Pattern
|
|
554
|
-
When should you use this workflow?
|
|
555
|
-
- Task type: [specific task]
|
|
556
|
-
- Files involved: [specific patterns]
|
|
557
|
-
- Indicators: [how to recognize]
|
|
558
|
-
|
|
559
|
-
## The Approach
|
|
560
|
-
1. [Step with specific commands/files]
|
|
561
|
-
2. [Step with specific commands/files]
|
|
562
|
-
3. [Verification]
|
|
563
|
-
|
|
564
|
-
## Gotchas
|
|
565
|
-
- [Common mistake and how to avoid it]
|
|
566
|
-
- [Edge case and how to handle it]
|
|
567
|
-
```
|
|
568
|
-
|
|
569
|
-
### Code Pattern Template
|
|
70
|
+
Use an actionable body. The minimum recommended shape is:
|
|
570
71
|
|
|
571
72
|
```markdown
|
|
572
|
-
|
|
573
|
-
id: pattern-[unique-id]
|
|
574
|
-
name: [Pattern Name]
|
|
575
|
-
description: Pattern for [specific use case in this codebase]
|
|
576
|
-
source: conversation
|
|
577
|
-
triggers: ["code pattern", "file type", "problem domain"]
|
|
578
|
-
quality: high
|
|
579
|
-
---
|
|
580
|
-
|
|
581
|
-
# [Pattern Name]
|
|
582
|
-
|
|
583
|
-
## The Insight
|
|
584
|
-
What's the key principle behind this pattern?
|
|
585
|
-
|
|
586
|
-
## Why This Matters
|
|
587
|
-
What problems does this pattern solve in THIS codebase?
|
|
588
|
-
|
|
589
|
-
## Recognition Pattern
|
|
590
|
-
When do you apply this pattern?
|
|
591
|
-
- File types: [specific files]
|
|
592
|
-
- Problem: [specific problem]
|
|
593
|
-
- Context: [codebase-specific context]
|
|
594
|
-
|
|
595
|
-
## The Approach
|
|
596
|
-
Decision-making heuristic, not just code:
|
|
597
|
-
1. [Principle-based step]
|
|
598
|
-
2. [Principle-based step]
|
|
599
|
-
|
|
600
|
-
## Example
|
|
601
|
-
\`\`\`typescript
|
|
602
|
-
[Illustrative example showing the principle]
|
|
603
|
-
\`\`\`
|
|
73
|
+
# <Skill title>
|
|
604
74
|
|
|
605
|
-
##
|
|
606
|
-
What
|
|
607
|
-
\`\`\`typescript
|
|
608
|
-
[Common mistake to avoid]
|
|
609
|
-
\`\`\`
|
|
610
|
-
```
|
|
611
|
-
|
|
612
|
-
### Integration Skill Template
|
|
613
|
-
|
|
614
|
-
```markdown
|
|
615
|
-
---
|
|
616
|
-
id: integration-[unique-id]
|
|
617
|
-
name: [Integration Name]
|
|
618
|
-
description: How [system A] integrates with [system B] in this codebase
|
|
619
|
-
source: conversation
|
|
620
|
-
triggers: ["system name", "integration point", "config file"]
|
|
621
|
-
quality: high
|
|
622
|
-
---
|
|
623
|
-
|
|
624
|
-
# [Integration Name]
|
|
625
|
-
|
|
626
|
-
## The Insight
|
|
627
|
-
What's non-obvious about how these systems connect?
|
|
628
|
-
|
|
629
|
-
## Why This Matters
|
|
630
|
-
What breaks if you don't understand this integration?
|
|
75
|
+
## Purpose
|
|
76
|
+
What durable, codebase-specific outcome does this skill provide?
|
|
631
77
|
|
|
632
|
-
##
|
|
633
|
-
|
|
634
|
-
- Files: [specific integration files]
|
|
635
|
-
- Config: [specific config locations]
|
|
636
|
-
- Symptoms: [what indicates integration issues]
|
|
78
|
+
## When to Activate
|
|
79
|
+
Recognition signals, scope, and explicit non-goals.
|
|
637
80
|
|
|
638
|
-
##
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
3. [Verification step]
|
|
81
|
+
## Workflow
|
|
82
|
+
1. Inspect the named files or inputs.
|
|
83
|
+
2. Apply the precise approach and record important assumptions.
|
|
84
|
+
3. Verify observable behavior and report evidence.
|
|
643
85
|
|
|
644
|
-
## Gotchas
|
|
645
|
-
|
|
646
|
-
- [Integration-specific pitfall #2]
|
|
86
|
+
## Examples / Gotchas
|
|
87
|
+
Concrete invocation, edge cases, and failure recovery.
|
|
647
88
|
```
|
|
648
89
|
|
|
649
|
-
|
|
90
|
+
Prefer hard-won, non-obvious knowledge over generic programming advice. Include
|
|
91
|
+
exact paths, commands, error text, and expected evidence when they materially help.
|
|
650
92
|
|
|
651
|
-
##
|
|
93
|
+
## Validation and errors
|
|
652
94
|
|
|
653
|
-
|
|
654
|
-
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
- Invalid skill names (spaces, special chars)
|
|
95
|
+
Before reporting success, check that the file exists, starts with `---` frontmatter,
|
|
96
|
+
has non-empty `name` and `description`, uses a valid name, and has a non-empty body.
|
|
97
|
+
Reject malformed or unterminated YAML, multiline required scalar values, duplicate
|
|
98
|
+
names in one scope, missing directories/files, permission failures, and invalid
|
|
99
|
+
arguments. Report errors consistently:
|
|
659
100
|
|
|
660
|
-
|
|
661
|
-
```
|
|
101
|
+
```text
|
|
662
102
|
✗ Error: <clear message>
|
|
663
|
-
→ Suggestion: <
|
|
103
|
+
→ Suggestion: <specific next step>
|
|
664
104
|
```
|
|
665
105
|
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
## Usage Examples
|
|
669
|
-
|
|
670
|
-
```bash
|
|
671
|
-
# List all skills
|
|
672
|
-
/skill list
|
|
673
|
-
|
|
674
|
-
# Create a new skill
|
|
675
|
-
/skill add my-custom-skill
|
|
676
|
-
|
|
677
|
-
# Remove a skill
|
|
678
|
-
/skill remove old-skill
|
|
679
|
-
|
|
680
|
-
# Edit existing skill
|
|
681
|
-
/skill edit error-handler
|
|
682
|
-
|
|
683
|
-
# Search for skills
|
|
684
|
-
/skill search typescript error
|
|
685
|
-
|
|
686
|
-
# Get detailed info
|
|
687
|
-
/skill info my-custom-skill
|
|
688
|
-
|
|
689
|
-
# Sync between scopes
|
|
690
|
-
/skill sync
|
|
691
|
-
|
|
692
|
-
# Run setup wizard
|
|
693
|
-
/skill setup
|
|
694
|
-
|
|
695
|
-
# Quick scan
|
|
696
|
-
/skill scan
|
|
697
|
-
```
|
|
698
|
-
|
|
699
|
-
## Usage Modes
|
|
700
|
-
|
|
701
|
-
### Direct Command Mode
|
|
702
|
-
|
|
703
|
-
When invoked with an argument, skip the interactive wizard:
|
|
704
|
-
|
|
705
|
-
- `/skill list` - Show detailed skill inventory
|
|
706
|
-
- `/skill add` - Start skill creation (invoke learner)
|
|
707
|
-
- `/skill scan` - Scan both skill directories
|
|
708
|
-
|
|
709
|
-
### Interactive Mode
|
|
710
|
-
|
|
711
|
-
When invoked without arguments, run the full guided wizard.
|
|
712
|
-
|
|
713
|
-
---
|
|
714
|
-
|
|
715
|
-
## Benefits of Local Skills
|
|
716
|
-
|
|
717
|
-
**Automatic Application**: Codex detects triggers and applies skills automatically - no need to remember or search for solutions.
|
|
718
|
-
|
|
719
|
-
**Version Control**: Project-level skills (.codex/skills/) are committed with your code, so the whole team benefits.
|
|
720
|
-
|
|
721
|
-
**Evolving Knowledge**: Skills improve over time as you discover better approaches and refine triggers.
|
|
722
|
-
|
|
723
|
-
**Reduced Token Usage**: Instead of re-solving the same problems, Codex applies known patterns efficiently.
|
|
724
|
-
|
|
725
|
-
**Codebase Memory**: Preserves institutional knowledge that would otherwise be lost in conversation history.
|
|
726
|
-
|
|
727
|
-
---
|
|
728
|
-
|
|
729
|
-
## Skill Quality Guidelines
|
|
730
|
-
|
|
731
|
-
Good skills are:
|
|
732
|
-
|
|
733
|
-
1. **Non-Googleable** - Can't easily find via search
|
|
734
|
-
- BAD: "How to read files in TypeScript"
|
|
735
|
-
- GOOD: "This codebase uses custom path resolution requiring fileURLToPath"
|
|
736
|
-
|
|
737
|
-
2. **Context-Specific** - References actual files/errors from THIS codebase
|
|
738
|
-
- BAD: "Use try/catch for error handling"
|
|
739
|
-
- GOOD: "The aiohttp proxy in server.py:42 crashes on ClientDisconnectedError"
|
|
740
|
-
|
|
741
|
-
3. **Actionable with Precision** - Tells exactly WHAT to do and WHERE
|
|
742
|
-
- BAD: "Handle edge cases"
|
|
743
|
-
- GOOD: "When seeing 'Cannot find module' in dist/, check tsconfig.json moduleResolution"
|
|
744
|
-
|
|
745
|
-
4. **Hard-Won** - Required significant debugging effort
|
|
746
|
-
- BAD: Generic programming patterns
|
|
747
|
-
- GOOD: "Race condition in worker.ts - Promise.all at line 89 needs await"
|
|
748
|
-
|
|
749
|
-
---
|
|
750
|
-
|
|
751
|
-
## Related Skills
|
|
752
|
-
|
|
753
|
-
- `/learner` - Extract a skill from current conversation
|
|
754
|
-
- `/note` - Save quick notes (less formal than skills)
|
|
755
|
-
|
|
756
|
-
---
|
|
757
|
-
|
|
758
|
-
## Example Session
|
|
759
|
-
|
|
760
|
-
```
|
|
761
|
-
> /skill list
|
|
762
|
-
|
|
763
|
-
Checking skill directories...
|
|
764
|
-
✓ User skills directory exists: ~/.codex/skills/
|
|
765
|
-
✓ Project skills directory exists: .codex/skills/
|
|
766
|
-
|
|
767
|
-
Scanning for skills...
|
|
768
|
-
|
|
769
|
-
=== USER-LEVEL SKILLS ===
|
|
770
|
-
Total skills: 3
|
|
771
|
-
- async-network-error-handling
|
|
772
|
-
Description: Pattern for handling independent I/O failures in async network code
|
|
773
|
-
Modified: 2026-01-20 14:32:15
|
|
774
|
-
|
|
775
|
-
- esm-path-resolution
|
|
776
|
-
Description: Custom path resolution in ESM requiring fileURLToPath
|
|
777
|
-
Modified: 2026-01-19 09:15:42
|
|
778
|
-
|
|
779
|
-
=== PROJECT-LEVEL SKILLS ===
|
|
780
|
-
Total skills: 5
|
|
781
|
-
- session-timeout-fix
|
|
782
|
-
Description: Fix for sessionId undefined after restart in session.ts
|
|
783
|
-
Modified: 2026-01-22 16:45:23
|
|
784
|
-
|
|
785
|
-
- build-cache-invalidation
|
|
786
|
-
Description: When to clear TypeScript build cache to fix phantom errors
|
|
787
|
-
Modified: 2026-01-21 11:28:37
|
|
788
|
-
|
|
789
|
-
=== SUMMARY ===
|
|
790
|
-
Total skills: 8
|
|
791
|
-
|
|
792
|
-
What would you like to do?
|
|
793
|
-
1. Add new skill
|
|
794
|
-
2. List all skills with details
|
|
795
|
-
3. Scan conversation for patterns
|
|
796
|
-
4. Import skill
|
|
797
|
-
5. Done
|
|
798
|
-
```
|
|
799
|
-
|
|
800
|
-
---
|
|
801
|
-
|
|
802
|
-
## Tips for Users
|
|
803
|
-
|
|
804
|
-
- Run `/skill list` periodically to review your skill library
|
|
805
|
-
- After solving a tricky bug, immediately run learner to capture it
|
|
806
|
-
- Use project-level skills for codebase-specific knowledge
|
|
807
|
-
- Use user-level skills for general patterns that apply everywhere
|
|
808
|
-
- Review and refine triggers over time to improve matching accuracy
|
|
809
|
-
|
|
810
|
-
---
|
|
811
|
-
|
|
812
|
-
## Implementation Notes
|
|
813
|
-
|
|
814
|
-
1. **YAML Parsing:** Use frontmatter extraction for metadata
|
|
815
|
-
2. **File Operations:** Use Read/Write tools, never Edit for new files
|
|
816
|
-
3. **User Confirmation:** Always confirm destructive operations
|
|
817
|
-
4. **Clear Feedback:** Use checkmarks (✓), crosses (✗), arrows (→) for clarity
|
|
818
|
-
5. **Scope Resolution:** Always check both user and project scopes
|
|
819
|
-
6. **Validation:** Enforce naming conventions (lowercase, hyphens only)
|
|
820
|
-
|
|
821
|
-
---
|
|
822
|
-
|
|
823
|
-
## Related Skills
|
|
824
|
-
|
|
825
|
-
- `/learner` - Extract a skill from current conversation
|
|
826
|
-
- `/note` - Save quick notes (less formal than skills)
|
|
827
|
-
|
|
828
|
-
---
|
|
829
|
-
|
|
830
|
-
## Future Enhancements
|
|
106
|
+
## Exit contract
|
|
831
107
|
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
-
|
|
835
|
-
|
|
836
|
-
- `/skill template <type>` - Create from predefined templates
|
|
108
|
+
Every command ends with one concise result: `✓` plus the affected skill/path and
|
|
109
|
+
next action, or `✗` plus the error and suggestion. Preserve files on cancel or
|
|
110
|
+
validation-only runs. For add/edit/sync, report changed scope and metadata; for
|
|
111
|
+
list/search/info/scan/validate, report counts or matched paths and any failures.
|