@blxzer/pactile 0.5.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/CHANGELOG.md +602 -0
- package/LICENSE +235 -0
- package/README.md +115 -0
- package/README.zh-CN.md +115 -0
- package/bin/compat-warning.js +11 -0
- package/bin/cstl.js +6 -0
- package/bin/pactile.js +3 -0
- package/bin/smart-search.js +38 -0
- package/dist/cli/index.d.ts +3 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +362 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/commands/capability-smoke.d.ts +24 -0
- package/dist/commands/capability-smoke.d.ts.map +1 -0
- package/dist/commands/capability-smoke.js +83 -0
- package/dist/commands/capability-smoke.js.map +1 -0
- package/dist/commands/channel/adapters/claude.d.ts +29 -0
- package/dist/commands/channel/adapters/claude.d.ts.map +1 -0
- package/dist/commands/channel/adapters/claude.js +203 -0
- package/dist/commands/channel/adapters/claude.js.map +1 -0
- package/dist/commands/channel/adapters/codex.d.ts +85 -0
- package/dist/commands/channel/adapters/codex.d.ts.map +1 -0
- package/dist/commands/channel/adapters/codex.js +505 -0
- package/dist/commands/channel/adapters/codex.js.map +1 -0
- package/dist/commands/channel/adapters/index.d.ts +84 -0
- package/dist/commands/channel/adapters/index.d.ts.map +1 -0
- package/dist/commands/channel/adapters/index.js +115 -0
- package/dist/commands/channel/adapters/index.js.map +1 -0
- package/dist/commands/channel/adapters/types.d.ts +33 -0
- package/dist/commands/channel/adapters/types.d.ts.map +1 -0
- package/dist/commands/channel/adapters/types.js +2 -0
- package/dist/commands/channel/adapters/types.js.map +1 -0
- package/dist/commands/channel/agent-loader.d.ts +32 -0
- package/dist/commands/channel/agent-loader.d.ts.map +1 -0
- package/dist/commands/channel/agent-loader.js +154 -0
- package/dist/commands/channel/agent-loader.js.map +1 -0
- package/dist/commands/channel/context-loader.d.ts +26 -0
- package/dist/commands/channel/context-loader.d.ts.map +1 -0
- package/dist/commands/channel/context-loader.js +290 -0
- package/dist/commands/channel/context-loader.js.map +1 -0
- package/dist/commands/channel/context.d.ts +16 -0
- package/dist/commands/channel/context.d.ts.map +1 -0
- package/dist/commands/channel/context.js +83 -0
- package/dist/commands/channel/context.js.map +1 -0
- package/dist/commands/channel/create.d.ts +27 -0
- package/dist/commands/channel/create.d.ts.map +1 -0
- package/dist/commands/channel/create.js +39 -0
- package/dist/commands/channel/create.js.map +1 -0
- package/dist/commands/channel/dev-parse-trace.d.ts +14 -0
- package/dist/commands/channel/dev-parse-trace.d.ts.map +1 -0
- package/dist/commands/channel/dev-parse-trace.js +70 -0
- package/dist/commands/channel/dev-parse-trace.js.map +1 -0
- package/dist/commands/channel/guard.d.ts +150 -0
- package/dist/commands/channel/guard.d.ts.map +1 -0
- package/dist/commands/channel/guard.js +475 -0
- package/dist/commands/channel/guard.js.map +1 -0
- package/dist/commands/channel/index.d.ts +3 -0
- package/dist/commands/channel/index.d.ts.map +1 -0
- package/dist/commands/channel/index.js +531 -0
- package/dist/commands/channel/index.js.map +1 -0
- package/dist/commands/channel/interrupt.d.ts +10 -0
- package/dist/commands/channel/interrupt.d.ts.map +1 -0
- package/dist/commands/channel/interrupt.js +22 -0
- package/dist/commands/channel/interrupt.js.map +1 -0
- package/dist/commands/channel/kill.d.ts +7 -0
- package/dist/commands/channel/kill.d.ts.map +1 -0
- package/dist/commands/channel/kill.js +121 -0
- package/dist/commands/channel/kill.js.map +1 -0
- package/dist/commands/channel/list.d.ts +17 -0
- package/dist/commands/channel/list.d.ts.map +1 -0
- package/dist/commands/channel/list.js +233 -0
- package/dist/commands/channel/list.js.map +1 -0
- package/dist/commands/channel/messages.d.ts +15 -0
- package/dist/commands/channel/messages.d.ts.map +1 -0
- package/dist/commands/channel/messages.js +245 -0
- package/dist/commands/channel/messages.js.map +1 -0
- package/dist/commands/channel/rm.d.ts +27 -0
- package/dist/commands/channel/rm.d.ts.map +1 -0
- package/dist/commands/channel/rm.js +216 -0
- package/dist/commands/channel/rm.js.map +1 -0
- package/dist/commands/channel/run.d.ts +30 -0
- package/dist/commands/channel/run.d.ts.map +1 -0
- package/dist/commands/channel/run.js +130 -0
- package/dist/commands/channel/run.js.map +1 -0
- package/dist/commands/channel/send.d.ts +11 -0
- package/dist/commands/channel/send.d.ts.map +1 -0
- package/dist/commands/channel/send.js +24 -0
- package/dist/commands/channel/send.js.map +1 -0
- package/dist/commands/channel/spawn.d.ts +40 -0
- package/dist/commands/channel/spawn.d.ts.map +1 -0
- package/dist/commands/channel/spawn.js +242 -0
- package/dist/commands/channel/spawn.js.map +1 -0
- package/dist/commands/channel/store/events.d.ts +39 -0
- package/dist/commands/channel/store/events.d.ts.map +1 -0
- package/dist/commands/channel/store/events.js +87 -0
- package/dist/commands/channel/store/events.js.map +1 -0
- package/dist/commands/channel/store/filter.d.ts +3 -0
- package/dist/commands/channel/store/filter.d.ts.map +1 -0
- package/dist/commands/channel/store/filter.js +2 -0
- package/dist/commands/channel/store/filter.js.map +1 -0
- package/dist/commands/channel/store/lock.d.ts +23 -0
- package/dist/commands/channel/store/lock.d.ts.map +1 -0
- package/dist/commands/channel/store/lock.js +99 -0
- package/dist/commands/channel/store/lock.js.map +1 -0
- package/dist/commands/channel/store/paths.d.ts +63 -0
- package/dist/commands/channel/store/paths.d.ts.map +1 -0
- package/dist/commands/channel/store/paths.js +247 -0
- package/dist/commands/channel/store/paths.js.map +1 -0
- package/dist/commands/channel/store/schema.d.ts +27 -0
- package/dist/commands/channel/store/schema.d.ts.map +1 -0
- package/dist/commands/channel/store/schema.js +34 -0
- package/dist/commands/channel/store/schema.js.map +1 -0
- package/dist/commands/channel/store/thread-state.d.ts +5 -0
- package/dist/commands/channel/store/thread-state.d.ts.map +1 -0
- package/dist/commands/channel/store/thread-state.js +16 -0
- package/dist/commands/channel/store/thread-state.js.map +1 -0
- package/dist/commands/channel/store/watch.d.ts +19 -0
- package/dist/commands/channel/store/watch.d.ts.map +1 -0
- package/dist/commands/channel/store/watch.js +146 -0
- package/dist/commands/channel/store/watch.js.map +1 -0
- package/dist/commands/channel/supervisor/idle.d.ts +46 -0
- package/dist/commands/channel/supervisor/idle.d.ts.map +1 -0
- package/dist/commands/channel/supervisor/idle.js +72 -0
- package/dist/commands/channel/supervisor/idle.js.map +1 -0
- package/dist/commands/channel/supervisor/inbox.d.ts +30 -0
- package/dist/commands/channel/supervisor/inbox.d.ts.map +1 -0
- package/dist/commands/channel/supervisor/inbox.js +160 -0
- package/dist/commands/channel/supervisor/inbox.js.map +1 -0
- package/dist/commands/channel/supervisor/shutdown.d.ts +68 -0
- package/dist/commands/channel/supervisor/shutdown.d.ts.map +1 -0
- package/dist/commands/channel/supervisor/shutdown.js +146 -0
- package/dist/commands/channel/supervisor/shutdown.js.map +1 -0
- package/dist/commands/channel/supervisor/stdout.d.ts +51 -0
- package/dist/commands/channel/supervisor/stdout.d.ts.map +1 -0
- package/dist/commands/channel/supervisor/stdout.js +121 -0
- package/dist/commands/channel/supervisor/stdout.js.map +1 -0
- package/dist/commands/channel/supervisor/turns.d.ts +31 -0
- package/dist/commands/channel/supervisor/turns.d.ts.map +1 -0
- package/dist/commands/channel/supervisor/turns.js +45 -0
- package/dist/commands/channel/supervisor/turns.js.map +1 -0
- package/dist/commands/channel/supervisor/warning.d.ts +48 -0
- package/dist/commands/channel/supervisor/warning.d.ts.map +1 -0
- package/dist/commands/channel/supervisor/warning.js +77 -0
- package/dist/commands/channel/supervisor/warning.js.map +1 -0
- package/dist/commands/channel/supervisor.d.ts +59 -0
- package/dist/commands/channel/supervisor.d.ts.map +1 -0
- package/dist/commands/channel/supervisor.js +345 -0
- package/dist/commands/channel/supervisor.js.map +1 -0
- package/dist/commands/channel/text-body.d.ts +13 -0
- package/dist/commands/channel/text-body.d.ts.map +1 -0
- package/dist/commands/channel/text-body.js +47 -0
- package/dist/commands/channel/text-body.js.map +1 -0
- package/dist/commands/channel/threads.d.ts +39 -0
- package/dist/commands/channel/threads.d.ts.map +1 -0
- package/dist/commands/channel/threads.js +106 -0
- package/dist/commands/channel/threads.js.map +1 -0
- package/dist/commands/channel/title.d.ts +12 -0
- package/dist/commands/channel/title.d.ts.map +1 -0
- package/dist/commands/channel/title.js +24 -0
- package/dist/commands/channel/title.js.map +1 -0
- package/dist/commands/channel/wait.d.ts +17 -0
- package/dist/commands/channel/wait.d.ts.map +1 -0
- package/dist/commands/channel/wait.js +75 -0
- package/dist/commands/channel/wait.js.map +1 -0
- package/dist/commands/detach.d.ts +7 -0
- package/dist/commands/detach.d.ts.map +1 -0
- package/dist/commands/detach.js +31 -0
- package/dist/commands/detach.js.map +1 -0
- package/dist/commands/init.d.ts +51 -0
- package/dist/commands/init.d.ts.map +1 -0
- package/dist/commands/init.js +1660 -0
- package/dist/commands/init.js.map +1 -0
- package/dist/commands/migrate.d.ts +10 -0
- package/dist/commands/migrate.d.ts.map +1 -0
- package/dist/commands/migrate.js +38 -0
- package/dist/commands/migrate.js.map +1 -0
- package/dist/commands/purge.d.ts +9 -0
- package/dist/commands/purge.d.ts.map +1 -0
- package/dist/commands/purge.js +29 -0
- package/dist/commands/purge.js.map +1 -0
- package/dist/commands/rollback.d.ts +7 -0
- package/dist/commands/rollback.d.ts.map +1 -0
- package/dist/commands/rollback.js +27 -0
- package/dist/commands/rollback.js.map +1 -0
- package/dist/commands/rollout.d.ts +34 -0
- package/dist/commands/rollout.d.ts.map +1 -0
- package/dist/commands/rollout.js +102 -0
- package/dist/commands/rollout.js.map +1 -0
- package/dist/commands/uninstall.d.ts +23 -0
- package/dist/commands/uninstall.d.ts.map +1 -0
- package/dist/commands/uninstall.js +68 -0
- package/dist/commands/uninstall.js.map +1 -0
- package/dist/commands/update.d.ts +139 -0
- package/dist/commands/update.d.ts.map +1 -0
- package/dist/commands/update.js +2459 -0
- package/dist/commands/update.js.map +1 -0
- package/dist/commands/upgrade.d.ts +28 -0
- package/dist/commands/upgrade.d.ts.map +1 -0
- package/dist/commands/upgrade.js +84 -0
- package/dist/commands/upgrade.js.map +1 -0
- package/dist/commands/validate-rules.d.ts +6 -0
- package/dist/commands/validate-rules.d.ts.map +1 -0
- package/dist/commands/validate-rules.js +33 -0
- package/dist/commands/validate-rules.js.map +1 -0
- package/dist/commands/workflow.d.ts +35 -0
- package/dist/commands/workflow.d.ts.map +1 -0
- package/dist/commands/workflow.js +220 -0
- package/dist/commands/workflow.js.map +1 -0
- package/dist/configurators/cursor.d.ts +21 -0
- package/dist/configurators/cursor.d.ts.map +1 -0
- package/dist/configurators/cursor.js +51 -0
- package/dist/configurators/cursor.js.map +1 -0
- package/dist/configurators/index.d.ts +68 -0
- package/dist/configurators/index.d.ts.map +1 -0
- package/dist/configurators/index.js +170 -0
- package/dist/configurators/index.js.map +1 -0
- package/dist/configurators/shared.d.ts +200 -0
- package/dist/configurators/shared.d.ts.map +1 -0
- package/dist/configurators/shared.js +602 -0
- package/dist/configurators/shared.js.map +1 -0
- package/dist/configurators/workflow.d.ts +45 -0
- package/dist/configurators/workflow.d.ts.map +1 -0
- package/dist/configurators/workflow.js +256 -0
- package/dist/configurators/workflow.js.map +1 -0
- package/dist/constants/paths.d.ts +93 -0
- package/dist/constants/paths.d.ts.map +1 -0
- package/dist/constants/paths.js +106 -0
- package/dist/constants/paths.js.map +1 -0
- package/dist/constants/version.d.ts +9 -0
- package/dist/constants/version.d.ts.map +1 -0
- package/dist/constants/version.js +15 -0
- package/dist/constants/version.js.map +1 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -0
- package/dist/migrations/index.d.ts +62 -0
- package/dist/migrations/index.d.ts.map +1 -0
- package/dist/migrations/index.js +187 -0
- package/dist/migrations/index.js.map +1 -0
- package/dist/migrations/manifests/0.1.0.json +9 -0
- package/dist/migrations/manifests/0.1.1.json +9 -0
- package/dist/migrations/manifests/0.1.2.json +9 -0
- package/dist/migrations/manifests/0.1.3.json +9 -0
- package/dist/migrations/manifests/0.1.4.json +9 -0
- package/dist/migrations/manifests/0.2.1.json +9 -0
- package/dist/migrations/manifests/0.2.10.json +374 -0
- package/dist/migrations/manifests/0.2.2.json +9 -0
- package/dist/migrations/manifests/0.2.3.json +9 -0
- package/dist/migrations/manifests/0.2.4.json +9 -0
- package/dist/migrations/manifests/0.2.5.json +9 -0
- package/dist/migrations/manifests/0.2.6.json +9 -0
- package/dist/migrations/manifests/0.2.7.json +9 -0
- package/dist/migrations/manifests/0.2.8.json +9 -0
- package/dist/migrations/manifests/0.2.9.json +9 -0
- package/dist/migrations/manifests/0.3.0.json +89 -0
- package/dist/migrations/manifests/0.3.1.json +32 -0
- package/dist/migrations/manifests/0.3.2.json +16 -0
- package/dist/migrations/manifests/0.3.3.json +9 -0
- package/dist/migrations/manifests/0.3.4.json +9 -0
- package/dist/migrations/manifests/0.3.5.json +9 -0
- package/dist/migrations/manifests/0.3.6.json +9 -0
- package/dist/migrations/manifests/0.4.0.json +9 -0
- package/dist/migrations/manifests/0.4.1.json +9 -0
- package/dist/migrations/manifests/0.4.2.json +9 -0
- package/dist/migrations/manifests/0.4.3.json +9 -0
- package/dist/migrations/manifests/0.5.0-beta.0.json +9 -0
- package/dist/migrations/manifests/0.5.0-beta.1.json +9 -0
- package/dist/migrations/manifests/0.5.0-beta.2.json +9 -0
- package/dist/migrations/manifests/0.5.0-beta.3.json +9 -0
- package/dist/migrations/manifests/0.5.0-beta.4.json +9 -0
- package/dist/migrations/manifests/0.5.0-beta.5.json +9 -0
- package/dist/pactile/adapters/codex/index.d.ts +75 -0
- package/dist/pactile/adapters/codex/index.d.ts.map +1 -0
- package/dist/pactile/adapters/codex/index.js +269 -0
- package/dist/pactile/adapters/codex/index.js.map +1 -0
- package/dist/pactile/adapters/cursor/index.d.ts +60 -0
- package/dist/pactile/adapters/cursor/index.d.ts.map +1 -0
- package/dist/pactile/adapters/cursor/index.js +186 -0
- package/dist/pactile/adapters/cursor/index.js.map +1 -0
- package/dist/pactile/adapters/index.d.ts +4 -0
- package/dist/pactile/adapters/index.d.ts.map +1 -0
- package/dist/pactile/adapters/index.js +4 -0
- package/dist/pactile/adapters/index.js.map +1 -0
- package/dist/pactile/adoption/bindings.d.ts +20 -0
- package/dist/pactile/adoption/bindings.d.ts.map +1 -0
- package/dist/pactile/adoption/bindings.js +99 -0
- package/dist/pactile/adoption/bindings.js.map +1 -0
- package/dist/pactile/adoption/discovery.d.ts +8 -0
- package/dist/pactile/adoption/discovery.d.ts.map +1 -0
- package/dist/pactile/adoption/discovery.js +159 -0
- package/dist/pactile/adoption/discovery.js.map +1 -0
- package/dist/pactile/adoption/inventory.d.ts +28 -0
- package/dist/pactile/adoption/inventory.d.ts.map +1 -0
- package/dist/pactile/adoption/inventory.js +261 -0
- package/dist/pactile/adoption/inventory.js.map +1 -0
- package/dist/pactile/adoption/safety.d.ts +19 -0
- package/dist/pactile/adoption/safety.d.ts.map +1 -0
- package/dist/pactile/adoption/safety.js +88 -0
- package/dist/pactile/adoption/safety.js.map +1 -0
- package/dist/pactile/adoption/workflow.d.ts +31 -0
- package/dist/pactile/adoption/workflow.d.ts.map +1 -0
- package/dist/pactile/adoption/workflow.js +259 -0
- package/dist/pactile/adoption/workflow.js.map +1 -0
- package/dist/pactile/compat/cli-options.d.ts +9 -0
- package/dist/pactile/compat/cli-options.d.ts.map +1 -0
- package/dist/pactile/compat/cli-options.js +9 -0
- package/dist/pactile/compat/cli-options.js.map +1 -0
- package/dist/pactile/compat/init-context.d.ts +16 -0
- package/dist/pactile/compat/init-context.d.ts.map +1 -0
- package/dist/pactile/compat/init-context.js +87 -0
- package/dist/pactile/compat/init-context.js.map +1 -0
- package/dist/pactile/compat/legacy-migrations.d.ts +8 -0
- package/dist/pactile/compat/legacy-migrations.d.ts.map +1 -0
- package/dist/pactile/compat/legacy-migrations.js +17 -0
- package/dist/pactile/compat/legacy-migrations.js.map +1 -0
- package/dist/pactile/compat/retired-alternate-client.d.ts +42 -0
- package/dist/pactile/compat/retired-alternate-client.d.ts.map +1 -0
- package/dist/pactile/compat/retired-alternate-client.js +153 -0
- package/dist/pactile/compat/retired-alternate-client.js.map +1 -0
- package/dist/pactile/compat/update-residue.d.ts +4 -0
- package/dist/pactile/compat/update-residue.d.ts.map +1 -0
- package/dist/pactile/compat/update-residue.js +55 -0
- package/dist/pactile/compat/update-residue.js.map +1 -0
- package/dist/pactile/exit/index.d.ts +3 -0
- package/dist/pactile/exit/index.d.ts.map +1 -0
- package/dist/pactile/exit/index.js +3 -0
- package/dist/pactile/exit/index.js.map +1 -0
- package/dist/pactile/exit/receipt.d.ts +23 -0
- package/dist/pactile/exit/receipt.d.ts.map +1 -0
- package/dist/pactile/exit/receipt.js +64 -0
- package/dist/pactile/exit/receipt.js.map +1 -0
- package/dist/pactile/exit/service.d.ts +107 -0
- package/dist/pactile/exit/service.d.ts.map +1 -0
- package/dist/pactile/exit/service.js +774 -0
- package/dist/pactile/exit/service.js.map +1 -0
- package/dist/pactile/index.d.ts +26 -0
- package/dist/pactile/index.d.ts.map +1 -0
- package/dist/pactile/index.js +22 -0
- package/dist/pactile/index.js.map +1 -0
- package/dist/pactile/lifecycle/command-runner.d.ts +26 -0
- package/dist/pactile/lifecycle/command-runner.d.ts.map +1 -0
- package/dist/pactile/lifecycle/command-runner.js +129 -0
- package/dist/pactile/lifecycle/command-runner.js.map +1 -0
- package/dist/pactile/lifecycle/default-adapters.d.ts +5 -0
- package/dist/pactile/lifecycle/default-adapters.d.ts.map +1 -0
- package/dist/pactile/lifecycle/default-adapters.js +136 -0
- package/dist/pactile/lifecycle/default-adapters.js.map +1 -0
- package/dist/pactile/lifecycle/index.d.ts +6 -0
- package/dist/pactile/lifecycle/index.d.ts.map +1 -0
- package/dist/pactile/lifecycle/index.js +6 -0
- package/dist/pactile/lifecycle/index.js.map +1 -0
- package/dist/pactile/lifecycle/legacy-import.d.ts +16 -0
- package/dist/pactile/lifecycle/legacy-import.d.ts.map +1 -0
- package/dist/pactile/lifecycle/legacy-import.js +228 -0
- package/dist/pactile/lifecycle/legacy-import.js.map +1 -0
- package/dist/pactile/lifecycle/orchestrator.d.ts +109 -0
- package/dist/pactile/lifecycle/orchestrator.d.ts.map +1 -0
- package/dist/pactile/lifecycle/orchestrator.js +1030 -0
- package/dist/pactile/lifecycle/orchestrator.js.map +1 -0
- package/dist/pactile/lifecycle/project-files.d.ts +28 -0
- package/dist/pactile/lifecycle/project-files.d.ts.map +1 -0
- package/dist/pactile/lifecycle/project-files.js +297 -0
- package/dist/pactile/lifecycle/project-files.js.map +1 -0
- package/dist/pactile/middleware/index.d.ts +3 -0
- package/dist/pactile/middleware/index.d.ts.map +1 -0
- package/dist/pactile/middleware/index.js +2 -0
- package/dist/pactile/middleware/index.js.map +1 -0
- package/dist/pactile/middleware/manifest-loader.d.ts +22 -0
- package/dist/pactile/middleware/manifest-loader.d.ts.map +1 -0
- package/dist/pactile/middleware/manifest-loader.js +228 -0
- package/dist/pactile/middleware/manifest-loader.js.map +1 -0
- package/dist/pactile/migration/index.d.ts +2 -0
- package/dist/pactile/migration/index.d.ts.map +1 -0
- package/dist/pactile/migration/index.js +2 -0
- package/dist/pactile/migration/index.js.map +1 -0
- package/dist/pactile/migration/transaction.d.ts +54 -0
- package/dist/pactile/migration/transaction.d.ts.map +1 -0
- package/dist/pactile/migration/transaction.js +445 -0
- package/dist/pactile/migration/transaction.js.map +1 -0
- package/dist/pactile/projection/managed-block.d.ts +32 -0
- package/dist/pactile/projection/managed-block.d.ts.map +1 -0
- package/dist/pactile/projection/managed-block.js +78 -0
- package/dist/pactile/projection/managed-block.js.map +1 -0
- package/dist/pactile/projection/planner.d.ts +65 -0
- package/dist/pactile/projection/planner.d.ts.map +1 -0
- package/dist/pactile/projection/planner.js +349 -0
- package/dist/pactile/projection/planner.js.map +1 -0
- package/dist/pactile/projection/shared/index.d.ts +38 -0
- package/dist/pactile/projection/shared/index.d.ts.map +1 -0
- package/dist/pactile/projection/shared/index.js +186 -0
- package/dist/pactile/projection/shared/index.js.map +1 -0
- package/dist/pactile/projection/store.d.ts +72 -0
- package/dist/pactile/projection/store.d.ts.map +1 -0
- package/dist/pactile/projection/store.js +669 -0
- package/dist/pactile/projection/store.js.map +1 -0
- package/dist/pactile/projection/structured-merge.d.ts +11 -0
- package/dist/pactile/projection/structured-merge.d.ts.map +1 -0
- package/dist/pactile/projection/structured-merge.js +347 -0
- package/dist/pactile/projection/structured-merge.js.map +1 -0
- package/dist/pactile/providers/index.d.ts +3 -0
- package/dist/pactile/providers/index.d.ts.map +1 -0
- package/dist/pactile/providers/index.js +3 -0
- package/dist/pactile/providers/index.js.map +1 -0
- package/dist/pactile/providers/probes.d.ts +55 -0
- package/dist/pactile/providers/probes.d.ts.map +1 -0
- package/dist/pactile/providers/probes.js +164 -0
- package/dist/pactile/providers/probes.js.map +1 -0
- package/dist/pactile/registry.d.ts +64 -0
- package/dist/pactile/registry.d.ts.map +1 -0
- package/dist/pactile/registry.js +196 -0
- package/dist/pactile/registry.js.map +1 -0
- package/dist/pactile/retrieval/boundary.d.ts +18 -0
- package/dist/pactile/retrieval/boundary.d.ts.map +1 -0
- package/dist/pactile/retrieval/boundary.js +113 -0
- package/dist/pactile/retrieval/boundary.js.map +1 -0
- package/dist/pactile/retrieval/evidence.d.ts +9 -0
- package/dist/pactile/retrieval/evidence.d.ts.map +1 -0
- package/dist/pactile/retrieval/evidence.js +327 -0
- package/dist/pactile/retrieval/evidence.js.map +1 -0
- package/dist/pactile/retrieval/index.d.ts +4 -0
- package/dist/pactile/retrieval/index.d.ts.map +1 -0
- package/dist/pactile/retrieval/index.js +4 -0
- package/dist/pactile/retrieval/index.js.map +1 -0
- package/dist/pactile/retrieval/planner.d.ts +23 -0
- package/dist/pactile/retrieval/planner.d.ts.map +1 -0
- package/dist/pactile/retrieval/planner.js +702 -0
- package/dist/pactile/retrieval/planner.js.map +1 -0
- package/dist/pactile/retrieval/types.d.ts +108 -0
- package/dist/pactile/retrieval/types.d.ts.map +1 -0
- package/dist/pactile/retrieval/types.js +36 -0
- package/dist/pactile/retrieval/types.js.map +1 -0
- package/dist/pactile/runtime/case-fold.d.ts +2 -0
- package/dist/pactile/runtime/case-fold.d.ts.map +1 -0
- package/dist/pactile/runtime/case-fold.js +31 -0
- package/dist/pactile/runtime/case-fold.js.map +1 -0
- package/dist/pactile/runtime/index.d.ts +8 -0
- package/dist/pactile/runtime/index.d.ts.map +1 -0
- package/dist/pactile/runtime/index.js +5 -0
- package/dist/pactile/runtime/index.js.map +1 -0
- package/dist/pactile/runtime/json-api.d.ts +15 -0
- package/dist/pactile/runtime/json-api.d.ts.map +1 -0
- package/dist/pactile/runtime/json-api.js +68 -0
- package/dist/pactile/runtime/json-api.js.map +1 -0
- package/dist/pactile/runtime/paths.d.ts +59 -0
- package/dist/pactile/runtime/paths.d.ts.map +1 -0
- package/dist/pactile/runtime/paths.js +201 -0
- package/dist/pactile/runtime/paths.js.map +1 -0
- package/dist/pactile/runtime/stores.d.ts +54 -0
- package/dist/pactile/runtime/stores.d.ts.map +1 -0
- package/dist/pactile/runtime/stores.js +375 -0
- package/dist/pactile/runtime/stores.js.map +1 -0
- package/dist/pactile/runtime/unicode-nfc-data.d.ts +12 -0
- package/dist/pactile/runtime/unicode-nfc-data.d.ts.map +1 -0
- package/dist/pactile/runtime/unicode-nfc-data.js +8 -0
- package/dist/pactile/runtime/unicode-nfc-data.js.map +1 -0
- package/dist/pactile/runtime/unicode-nfc.d.ts +3 -0
- package/dist/pactile/runtime/unicode-nfc.d.ts.map +1 -0
- package/dist/pactile/runtime/unicode-nfc.js +77 -0
- package/dist/pactile/runtime/unicode-nfc.js.map +1 -0
- package/dist/pactile/tiles/catalog.d.ts +35 -0
- package/dist/pactile/tiles/catalog.d.ts.map +1 -0
- package/dist/pactile/tiles/catalog.js +235 -0
- package/dist/pactile/tiles/catalog.js.map +1 -0
- package/dist/pactile/tiles/compiler.d.ts +54 -0
- package/dist/pactile/tiles/compiler.d.ts.map +1 -0
- package/dist/pactile/tiles/compiler.js +270 -0
- package/dist/pactile/tiles/compiler.js.map +1 -0
- package/dist/pactile/tiles/content/baseline/index.d.ts +5 -0
- package/dist/pactile/tiles/content/baseline/index.d.ts.map +1 -0
- package/dist/pactile/tiles/content/baseline/index.js +115 -0
- package/dist/pactile/tiles/content/baseline/index.js.map +1 -0
- package/dist/pactile/tiles/content/index.d.ts +4 -0
- package/dist/pactile/tiles/content/index.d.ts.map +1 -0
- package/dist/pactile/tiles/content/index.js +4 -0
- package/dist/pactile/tiles/content/index.js.map +1 -0
- package/dist/pactile/tiles/content/ondemand/index.d.ts +5 -0
- package/dist/pactile/tiles/content/ondemand/index.d.ts.map +1 -0
- package/dist/pactile/tiles/content/ondemand/index.js +184 -0
- package/dist/pactile/tiles/content/ondemand/index.js.map +1 -0
- package/dist/pactile/tiles/content/source.d.ts +29 -0
- package/dist/pactile/tiles/content/source.d.ts.map +1 -0
- package/dist/pactile/tiles/content/source.js +86 -0
- package/dist/pactile/tiles/content/source.js.map +1 -0
- package/dist/pactile/tiles/loader.d.ts +31 -0
- package/dist/pactile/tiles/loader.d.ts.map +1 -0
- package/dist/pactile/tiles/loader.js +139 -0
- package/dist/pactile/tiles/loader.js.map +1 -0
- package/dist/pactile/tiles/safe-yaml.d.ts +11 -0
- package/dist/pactile/tiles/safe-yaml.d.ts.map +1 -0
- package/dist/pactile/tiles/safe-yaml.js +212 -0
- package/dist/pactile/tiles/safe-yaml.js.map +1 -0
- package/dist/templates/common/bundled-skills/pactile-check/SKILL.md +161 -0
- package/dist/templates/common/bundled-skills/pactile-check/references/fowler-12-smells.md +28 -0
- package/dist/templates/common/bundled-skills/pactile-handoff/SKILL.md +117 -0
- package/dist/templates/common/bundled-skills/pactile-meta/SKILL.md +75 -0
- package/dist/templates/common/bundled-skills/pactile-meta/references/customize-local/add-project-local-conventions.md +83 -0
- package/dist/templates/common/bundled-skills/pactile-meta/references/customize-local/change-agents.md +47 -0
- package/dist/templates/common/bundled-skills/pactile-meta/references/customize-local/change-context-loading.md +84 -0
- package/dist/templates/common/bundled-skills/pactile-meta/references/customize-local/change-hooks.md +57 -0
- package/dist/templates/common/bundled-skills/pactile-meta/references/customize-local/change-skills-or-commands.md +77 -0
- package/dist/templates/common/bundled-skills/pactile-meta/references/customize-local/change-spec-structure.md +83 -0
- package/dist/templates/common/bundled-skills/pactile-meta/references/customize-local/change-task-lifecycle.md +88 -0
- package/dist/templates/common/bundled-skills/pactile-meta/references/customize-local/change-workflow.md +65 -0
- package/dist/templates/common/bundled-skills/pactile-meta/references/customize-local/overview.md +55 -0
- package/dist/templates/common/bundled-skills/pactile-meta/references/local-architecture/context-injection.md +68 -0
- package/dist/templates/common/bundled-skills/pactile-meta/references/local-architecture/generated-files.md +83 -0
- package/dist/templates/common/bundled-skills/pactile-meta/references/local-architecture/overview.md +51 -0
- package/dist/templates/common/bundled-skills/pactile-meta/references/local-architecture/spec-system.md +102 -0
- package/dist/templates/common/bundled-skills/pactile-meta/references/local-architecture/task-system.md +133 -0
- package/dist/templates/common/bundled-skills/pactile-meta/references/local-architecture/workflow.md +75 -0
- package/dist/templates/common/bundled-skills/pactile-meta/references/local-architecture/workspace-memory.md +71 -0
- package/dist/templates/common/bundled-skills/pactile-meta/references/platform-files/agents.md +69 -0
- package/dist/templates/common/bundled-skills/pactile-meta/references/platform-files/hooks-and-settings.md +59 -0
- package/dist/templates/common/bundled-skills/pactile-meta/references/platform-files/overview.md +45 -0
- package/dist/templates/common/bundled-skills/pactile-meta/references/platform-files/platform-map.md +45 -0
- package/dist/templates/common/bundled-skills/pactile-meta/references/platform-files/skills-and-commands.md +108 -0
- package/dist/templates/common/bundled-skills/pactile-micro-grill/SKILL.md +68 -0
- package/dist/templates/common/bundled-skills/pactile-skill-creator/SKILL.md +47 -0
- package/dist/templates/common/bundled-skills/pactile-skill-creator/references/authoring-rules.md +171 -0
- package/dist/templates/common/bundled-skills/pactile-skill-creator/references/general-authoring.md +189 -0
- package/dist/templates/common/bundled-skills/pactile-skill-creator/references/pactile-skill-locations.md +52 -0
- package/dist/templates/common/bundled-skills/pactile-skill-creator/references/review-checklist.md +52 -0
- package/dist/templates/common/bundled-skills/pactile-spec-bootstrap/SKILL.md +41 -0
- package/dist/templates/common/bundled-skills/pactile-spec-bootstrap/references/mcp-setup.md +90 -0
- package/dist/templates/common/bundled-skills/pactile-spec-bootstrap/references/repository-analysis.md +59 -0
- package/dist/templates/common/bundled-skills/pactile-spec-bootstrap/references/spec-task-planning.md +61 -0
- package/dist/templates/common/bundled-skills/pactile-spec-bootstrap/references/spec-writing.md +70 -0
- package/dist/templates/common/bundled-skills/smart-search-cli/SKILL.md +393 -0
- package/dist/templates/common/bundled-skills/smart-search-cli/agents/openai.yaml +3 -0
- package/dist/templates/common/bundled-skills/smart-search-cli/examples/batch-search.md +98 -0
- package/dist/templates/common/bundled-skills/smart-search-cli/examples/evidence-gathering.md +89 -0
- package/dist/templates/common/bundled-skills/smart-search-cli/references/cli-contract.md +323 -0
- package/dist/templates/common/commands/continue.md +62 -0
- package/dist/templates/common/commands/finish-work.md +82 -0
- package/dist/templates/common/commands/start.md +66 -0
- package/dist/templates/common/index.d.ts +68 -0
- package/dist/templates/common/index.d.ts.map +1 -0
- package/dist/templates/common/index.js +123 -0
- package/dist/templates/common/index.js.map +1 -0
- package/dist/templates/common/optional-skills/chrome-cdp/SKILL.md +179 -0
- package/dist/templates/common/optional-skills/chrome-cdp/examples/fetch-hook-api-capture.md +149 -0
- package/dist/templates/common/optional-skills/chrome-cdp/scripts/cdp.mjs +904 -0
- package/dist/templates/common/skills/before-dev.md +35 -0
- package/dist/templates/common/skills/brainstorm.md +204 -0
- package/dist/templates/common/skills/break-loop.md +125 -0
- package/dist/templates/common/skills/update-spec.md +364 -0
- package/dist/templates/cursor/agents/pactile-check.md +58 -0
- package/dist/templates/cursor/agents/pactile-implement.md +56 -0
- package/dist/templates/cursor/agents/pactile-research.md +51 -0
- package/dist/templates/cursor/commands/handoff.md +101 -0
- package/dist/templates/cursor/fixtures/expected-rules.d.ts +14 -0
- package/dist/templates/cursor/fixtures/expected-rules.d.ts.map +1 -0
- package/dist/templates/cursor/fixtures/expected-rules.js +20 -0
- package/dist/templates/cursor/fixtures/expected-rules.js.map +1 -0
- package/dist/templates/cursor/hooks.json +52 -0
- package/dist/templates/cursor/index.d.ts +19 -0
- package/dist/templates/cursor/index.d.ts.map +1 -0
- package/dist/templates/cursor/index.js +19 -0
- package/dist/templates/cursor/index.js.map +1 -0
- package/dist/templates/cursor/rules/pactile-bootstrap.mdc +18 -0
- package/dist/templates/cursor/worktrees.json +11 -0
- package/dist/templates/extract.d.ts +38 -0
- package/dist/templates/extract.d.ts.map +1 -0
- package/dist/templates/extract.js +120 -0
- package/dist/templates/extract.js.map +1 -0
- package/dist/templates/markdown/agents.md +14 -0
- package/dist/templates/markdown/framework/artifact-locale-guide.md.txt +93 -0
- package/dist/templates/markdown/framework/cursor-context-injection-guide.md.txt +85 -0
- package/dist/templates/markdown/framework/cursor-native-modes-guide.md.txt +239 -0
- package/dist/templates/markdown/framework/cursor-semantic-compliance.md.txt +41 -0
- package/dist/templates/markdown/framework/cursor-subagent-policy.md.txt +90 -0
- package/dist/templates/markdown/framework/dogfood-only-surfaces.md.txt +28 -0
- package/dist/templates/markdown/framework/execution-strategy.md.txt +45 -0
- package/dist/templates/markdown/framework/index.md.txt +31 -0
- package/dist/templates/markdown/framework/injection-budget-guide.md.txt +111 -0
- package/dist/templates/markdown/framework/internal-skills-cursor-reachability.md.txt +45 -0
- package/dist/templates/markdown/framework/middleware-protocol.md.txt +238 -0
- package/dist/templates/markdown/framework/parallel-first-execution.md.txt +116 -0
- package/dist/templates/markdown/framework/prd-grill-frontier.md.txt +105 -0
- package/dist/templates/markdown/framework/release-boundary.md.txt +30 -0
- package/dist/templates/markdown/framework/retrieval-daily-guide.md.txt +199 -0
- package/dist/templates/markdown/framework/upgrade.md.txt +15 -0
- package/dist/templates/markdown/framework/verification-strength-guide.md.txt +185 -0
- package/dist/templates/markdown/gitignore.txt +15 -0
- package/dist/templates/markdown/index.d.ts +59 -0
- package/dist/templates/markdown/index.d.ts.map +1 -0
- package/dist/templates/markdown/index.js +144 -0
- package/dist/templates/markdown/index.js.map +1 -0
- package/dist/templates/markdown/prompts/run-semantic-slice-12.md.txt +25 -0
- package/dist/templates/markdown/spec/backend/database-guidelines.md.txt +51 -0
- package/dist/templates/markdown/spec/backend/directory-structure.md.txt +54 -0
- package/dist/templates/markdown/spec/backend/error-handling.md.txt +51 -0
- package/dist/templates/markdown/spec/backend/index.md.txt +38 -0
- package/dist/templates/markdown/spec/backend/logging-guidelines.md.txt +51 -0
- package/dist/templates/markdown/spec/backend/quality-guidelines.md.txt +51 -0
- package/dist/templates/markdown/spec/frontend/component-guidelines.md.txt +59 -0
- package/dist/templates/markdown/spec/frontend/directory-structure.md.txt +54 -0
- package/dist/templates/markdown/spec/frontend/hook-guidelines.md.txt +51 -0
- package/dist/templates/markdown/spec/frontend/index.md.txt +39 -0
- package/dist/templates/markdown/spec/frontend/quality-guidelines.md.txt +51 -0
- package/dist/templates/markdown/spec/frontend/state-management.md.txt +51 -0
- package/dist/templates/markdown/spec/frontend/type-safety.md.txt +51 -0
- package/dist/templates/markdown/spec/guides/code-reuse-thinking-guide.md.txt +174 -0
- package/dist/templates/markdown/spec/guides/cross-layer-thinking-guide.md.txt +162 -0
- package/dist/templates/markdown/spec/guides/cross-platform-thinking-guide.md.txt +634 -0
- package/dist/templates/markdown/spec/guides/debug-loop-guide.md.txt +227 -0
- package/dist/templates/markdown/spec/guides/durable-learning-decision-guide.md.txt +76 -0
- package/dist/templates/markdown/spec/guides/e2e-walkthrough-guide.md.txt +93 -0
- package/dist/templates/markdown/spec/guides/index.md.txt +131 -0
- package/dist/templates/markdown/spec/guides/prototype-guide.md.txt +139 -0
- package/dist/templates/markdown/spec/guides/test-discipline-guide.md.txt +179 -0
- package/dist/templates/markdown/workspace-index.md +125 -0
- package/dist/templates/markdown/worktree.yaml.txt +58 -0
- package/dist/templates/pactile/CONTEXT.md +113 -0
- package/dist/templates/pactile/config/execution-strategy-rules.json +31 -0
- package/dist/templates/pactile/config.yaml +130 -0
- package/dist/templates/pactile/docs/adr/README.md +21 -0
- package/dist/templates/pactile/gitignore.txt +35 -0
- package/dist/templates/pactile/index.d.ts +134 -0
- package/dist/templates/pactile/index.d.ts.map +1 -0
- package/dist/templates/pactile/index.js +316 -0
- package/dist/templates/pactile/index.js.map +1 -0
- package/dist/templates/pactile/modules/approval-personal/contract.md +43 -0
- package/dist/templates/pactile/modules/candidate-pool/contract.md +37 -0
- package/dist/templates/pactile/modules/catalog.d.ts +32 -0
- package/dist/templates/pactile/modules/catalog.d.ts.map +1 -0
- package/dist/templates/pactile/modules/catalog.js +46 -0
- package/dist/templates/pactile/modules/catalog.js.map +1 -0
- package/dist/templates/pactile/modules/close-basic/contract.md +38 -0
- package/dist/templates/pactile/modules/context-progressive/contract.md +44 -0
- package/dist/templates/pactile/modules/debug-recovery/contract.md +44 -0
- package/dist/templates/pactile/modules/define-basic/contract.md +39 -0
- package/dist/templates/pactile/modules/define-extended/contract.md +45 -0
- package/dist/templates/pactile/modules/execute-agent/contract.md +38 -0
- package/dist/templates/pactile/modules/independent-check/contract.md +35 -0
- package/dist/templates/pactile/modules/index.json +133 -0
- package/dist/templates/pactile/modules/intake-basic/contract.md +34 -0
- package/dist/templates/pactile/modules/observability-local/contract.md +31 -0
- package/dist/templates/pactile/modules/parent-child/contract.md +45 -0
- package/dist/templates/pactile/modules/personal-memory/contract.md +56 -0
- package/dist/templates/pactile/modules/retention-storage/contract.md +43 -0
- package/dist/templates/pactile/modules/retrieval-extended/contract.md +77 -0
- package/dist/templates/pactile/modules/session-transfer/contract.md +41 -0
- package/dist/templates/pactile/modules/spec-learning/contract.md +50 -0
- package/dist/templates/pactile/modules/vcs-integration/contract.md +46 -0
- package/dist/templates/pactile/modules/verify-basic/contract.md +38 -0
- package/dist/templates/pactile/modules/worker-orchestration/contract.md +47 -0
- package/dist/templates/pactile/pool/README.md +149 -0
- package/dist/templates/pactile/pool/items/.gitkeep +0 -0
- package/dist/templates/pactile/pool/plan.md +50 -0
- package/dist/templates/pactile/scripts/__init__.py +5 -0
- package/dist/templates/pactile/scripts/add_session.py +547 -0
- package/dist/templates/pactile/scripts/build_context_pack.py +17 -0
- package/dist/templates/pactile/scripts/build_retrieval_pack.py +376 -0
- package/dist/templates/pactile/scripts/codegraph_session_smoke.py +76 -0
- package/dist/templates/pactile/scripts/common/__init__.py +103 -0
- package/dist/templates/pactile/scripts/common/active_task.py +576 -0
- package/dist/templates/pactile/scripts/common/adapter_middleware.py +1373 -0
- package/dist/templates/pactile/scripts/common/artifact_locale.py +303 -0
- package/dist/templates/pactile/scripts/common/artifact_search.py +587 -0
- package/dist/templates/pactile/scripts/common/cli_adapter.py +135 -0
- package/dist/templates/pactile/scripts/common/cli_environment.py +155 -0
- package/dist/templates/pactile/scripts/common/codebase_retrieval_router.py +1339 -0
- package/dist/templates/pactile/scripts/common/config.py +497 -0
- package/dist/templates/pactile/scripts/common/context_pack.py +371 -0
- package/dist/templates/pactile/scripts/common/cursor_retrieval_env.py +31 -0
- package/dist/templates/pactile/scripts/common/developer.py +190 -0
- package/dist/templates/pactile/scripts/common/execution_strategy.py +268 -0
- package/dist/templates/pactile/scripts/common/full_quality.py +237 -0
- package/dist/templates/pactile/scripts/common/git.py +37 -0
- package/dist/templates/pactile/scripts/common/git_context.py +198 -0
- package/dist/templates/pactile/scripts/common/injection_budget.py +317 -0
- package/dist/templates/pactile/scripts/common/io.py +37 -0
- package/dist/templates/pactile/scripts/common/kernel_command.py +369 -0
- package/dist/templates/pactile/scripts/common/lite_context.py +280 -0
- package/dist/templates/pactile/scripts/common/log.py +45 -0
- package/dist/templates/pactile/scripts/common/ondemand_topology.py +419 -0
- package/dist/templates/pactile/scripts/common/packages_context.py +239 -0
- package/dist/templates/pactile/scripts/common/pactile_config.py +131 -0
- package/dist/templates/pactile/scripts/common/parallel_declaration.py +369 -0
- package/dist/templates/pactile/scripts/common/parent_orchestration.py +1198 -0
- package/dist/templates/pactile/scripts/common/paths.py +756 -0
- package/dist/templates/pactile/scripts/common/pool_refs.py +119 -0
- package/dist/templates/pactile/scripts/common/pool_slice.py +269 -0
- package/dist/templates/pactile/scripts/common/pool_store.py +766 -0
- package/dist/templates/pactile/scripts/common/project_file_stats.py +91 -0
- package/dist/templates/pactile/scripts/common/retrieval_adapter_metadata.py +943 -0
- package/dist/templates/pactile/scripts/common/retrieval_agent_instructions.py +123 -0
- package/dist/templates/pactile/scripts/common/retrieval_evidence.py +915 -0
- package/dist/templates/pactile/scripts/common/retrieval_pack.py +422 -0
- package/dist/templates/pactile/scripts/common/retrieval_pack_context.py +122 -0
- package/dist/templates/pactile/scripts/common/retrieval_plan_gate.py +61 -0
- package/dist/templates/pactile/scripts/common/retrieval_result_ranking.py +104 -0
- package/dist/templates/pactile/scripts/common/retrieval_tool_classification.py +166 -0
- package/dist/templates/pactile/scripts/common/safe_commit.py +285 -0
- package/dist/templates/pactile/scripts/common/semantic_plan_gate.py +53 -0
- package/dist/templates/pactile/scripts/common/session_context.py +1213 -0
- package/dist/templates/pactile/scripts/common/session_memory.py +386 -0
- package/dist/templates/pactile/scripts/common/session_pack.py +886 -0
- package/dist/templates/pactile/scripts/common/smart_search_evidence.py +514 -0
- package/dist/templates/pactile/scripts/common/smart_search_resolve.py +150 -0
- package/dist/templates/pactile/scripts/common/subagent_dispatch.py +592 -0
- package/dist/templates/pactile/scripts/common/task_context.py +241 -0
- package/dist/templates/pactile/scripts/common/task_dashboard.py +286 -0
- package/dist/templates/pactile/scripts/common/task_dependencies.py +648 -0
- package/dist/templates/pactile/scripts/common/task_gates.py +2478 -0
- package/dist/templates/pactile/scripts/common/task_map.py +703 -0
- package/dist/templates/pactile/scripts/common/task_queue.py +188 -0
- package/dist/templates/pactile/scripts/common/task_store.py +2252 -0
- package/dist/templates/pactile/scripts/common/task_utils.py +274 -0
- package/dist/templates/pactile/scripts/common/tasks.py +231 -0
- package/dist/templates/pactile/scripts/common/test_adapter_middleware.py +199 -0
- package/dist/templates/pactile/scripts/common/test_depends_mode_block.py +509 -0
- package/dist/templates/pactile/scripts/common/test_full_quality.py +197 -0
- package/dist/templates/pactile/scripts/common/test_kernel_command.py +336 -0
- package/dist/templates/pactile/scripts/common/test_lite_path.py +190 -0
- package/dist/templates/pactile/scripts/common/test_observable_defaults.py +141 -0
- package/dist/templates/pactile/scripts/common/test_ondemand_topology.py +237 -0
- package/dist/templates/pactile/scripts/common/test_parallel_declaration.py +264 -0
- package/dist/templates/pactile/scripts/common/test_pool_slice.py +198 -0
- package/dist/templates/pactile/scripts/common/test_pool_store.py +452 -0
- package/dist/templates/pactile/scripts/common/test_retrieval_arbitration.py +331 -0
- package/dist/templates/pactile/scripts/common/test_task_dashboard.py +155 -0
- package/dist/templates/pactile/scripts/common/test_task_dependencies.py +329 -0
- package/dist/templates/pactile/scripts/common/test_task_store_kernel_patch.py +163 -0
- package/dist/templates/pactile/scripts/common/types.py +110 -0
- package/dist/templates/pactile/scripts/common/workflow_phase.py +194 -0
- package/dist/templates/pactile/scripts/compile_session_pack.py +15 -0
- package/dist/templates/pactile/scripts/cursor_retrieval_probe.py +64 -0
- package/dist/templates/pactile/scripts/cursor_retrieval_probe_prompt.md +33 -0
- package/dist/templates/pactile/scripts/generate_dispatch_prompt.py +182 -0
- package/dist/templates/pactile/scripts/get_context.py +19 -0
- package/dist/templates/pactile/scripts/get_developer.py +26 -0
- package/dist/templates/pactile/scripts/hooks/linear_sync.py +243 -0
- package/dist/templates/pactile/scripts/init_developer.py +51 -0
- package/dist/templates/pactile/scripts/injection_budget_probe.py +69 -0
- package/dist/templates/pactile/scripts/pool.py +237 -0
- package/dist/templates/pactile/scripts/rank_retrieval_candidates.py +98 -0
- package/dist/templates/pactile/scripts/retrieval_probe_matrix_template.json +43 -0
- package/dist/templates/pactile/scripts/route_codebase_retrieval.py +72 -0
- package/dist/templates/pactile/scripts/run_smart_search.py +12 -0
- package/dist/templates/pactile/scripts/score_evidence.py +131 -0
- package/dist/templates/pactile/scripts/search_artifacts.py +13 -0
- package/dist/templates/pactile/scripts/search_memory.py +12 -0
- package/dist/templates/pactile/scripts/spec_health_outcomes.py +160 -0
- package/dist/templates/pactile/scripts/task.py +1118 -0
- package/dist/templates/pactile/scripts/verify_evidence_probe.py +138 -0
- package/dist/templates/pactile/tasks/.gitkeep +0 -0
- package/dist/templates/pactile/tasks/locale/en/default-prd.md +27 -0
- package/dist/templates/pactile/tasks/locale/zh/default-prd.md +27 -0
- package/dist/templates/pactile/tasks/templates/release-execution/design.md +61 -0
- package/dist/templates/pactile/tasks/templates/release-execution/handoff-template.md +29 -0
- package/dist/templates/pactile/tasks/templates/release-execution/implement.md +29 -0
- package/dist/templates/pactile/tasks/templates/release-execution/prd.md +31 -0
- package/dist/templates/pactile/tasks/templates/release-readiness/design.md +50 -0
- package/dist/templates/pactile/tasks/templates/release-readiness/handoff-template.md +39 -0
- package/dist/templates/pactile/tasks/templates/release-readiness/implement.md +29 -0
- package/dist/templates/pactile/tasks/templates/release-readiness/prd.md +31 -0
- package/dist/templates/pactile/workflow.md +64 -0
- package/dist/templates/shared-hooks/event-bridge.py +121 -0
- package/dist/templates/shared-hooks/index.d.ts +50 -0
- package/dist/templates/shared-hooks/index.d.ts.map +1 -0
- package/dist/templates/shared-hooks/index.js +96 -0
- package/dist/templates/shared-hooks/index.js.map +1 -0
- package/dist/templates/shared-hooks/inject-retrieval-plan.py +217 -0
- package/dist/templates/shared-hooks/inject-shell-session-context.py +183 -0
- package/dist/templates/shared-hooks/inject-subagent-context.py +267 -0
- package/dist/templates/shared-hooks/inject-workflow-state.py +106 -0
- package/dist/templates/shared-hooks/rename-session-for-task.py +231 -0
- package/dist/templates/shared-hooks/research-end-retrieval-pack.py +345 -0
- package/dist/templates/shared-hooks/session-start.py +355 -0
- package/dist/templates/shared-hooks/spec-write-audit.py +173 -0
- package/dist/templates/template-utils.d.ts +28 -0
- package/dist/templates/template-utils.d.ts.map +1 -0
- package/dist/templates/template-utils.js +83 -0
- package/dist/templates/template-utils.js.map +1 -0
- package/dist/types/ai-tools.d.ts +102 -0
- package/dist/types/ai-tools.d.ts.map +1 -0
- package/dist/types/ai-tools.js +60 -0
- package/dist/types/ai-tools.js.map +1 -0
- package/dist/types/migration.d.ts +125 -0
- package/dist/types/migration.d.ts.map +1 -0
- package/dist/types/migration.js +8 -0
- package/dist/types/migration.js.map +1 -0
- package/dist/utils/agents-md.d.ts +27 -0
- package/dist/utils/agents-md.d.ts.map +1 -0
- package/dist/utils/agents-md.js +70 -0
- package/dist/utils/agents-md.js.map +1 -0
- package/dist/utils/codebase-retrieval-router.d.ts +31 -0
- package/dist/utils/codebase-retrieval-router.d.ts.map +1 -0
- package/dist/utils/codebase-retrieval-router.js +88 -0
- package/dist/utils/codebase-retrieval-router.js.map +1 -0
- package/dist/utils/compare-versions.d.ts +12 -0
- package/dist/utils/compare-versions.d.ts.map +1 -0
- package/dist/utils/compare-versions.js +86 -0
- package/dist/utils/compare-versions.js.map +1 -0
- package/dist/utils/cursor-retrieval-env.d.ts +17 -0
- package/dist/utils/cursor-retrieval-env.d.ts.map +1 -0
- package/dist/utils/cursor-retrieval-env.js +19 -0
- package/dist/utils/cursor-retrieval-env.js.map +1 -0
- package/dist/utils/cwd-guard.d.ts +38 -0
- package/dist/utils/cwd-guard.d.ts.map +1 -0
- package/dist/utils/cwd-guard.js +63 -0
- package/dist/utils/cwd-guard.js.map +1 -0
- package/dist/utils/file-writer.d.ts +36 -0
- package/dist/utils/file-writer.d.ts.map +1 -0
- package/dist/utils/file-writer.js +203 -0
- package/dist/utils/file-writer.js.map +1 -0
- package/dist/utils/manifest-prune.d.ts +59 -0
- package/dist/utils/manifest-prune.d.ts.map +1 -0
- package/dist/utils/manifest-prune.js +176 -0
- package/dist/utils/manifest-prune.js.map +1 -0
- package/dist/utils/mirror-check.d.ts +22 -0
- package/dist/utils/mirror-check.d.ts.map +1 -0
- package/dist/utils/mirror-check.js +90 -0
- package/dist/utils/mirror-check.js.map +1 -0
- package/dist/utils/normalize-text.d.ts +7 -0
- package/dist/utils/normalize-text.d.ts.map +1 -0
- package/dist/utils/normalize-text.js +16 -0
- package/dist/utils/normalize-text.js.map +1 -0
- package/dist/utils/p36-upgrade.d.ts +62 -0
- package/dist/utils/p36-upgrade.d.ts.map +1 -0
- package/dist/utils/p36-upgrade.js +165 -0
- package/dist/utils/p36-upgrade.js.map +1 -0
- package/dist/utils/posix.d.ts +13 -0
- package/dist/utils/posix.d.ts.map +1 -0
- package/dist/utils/posix.js +15 -0
- package/dist/utils/posix.js.map +1 -0
- package/dist/utils/post-update-smoke.d.ts +7 -0
- package/dist/utils/post-update-smoke.d.ts.map +1 -0
- package/dist/utils/post-update-smoke.js +40 -0
- package/dist/utils/post-update-smoke.js.map +1 -0
- package/dist/utils/project-capabilities.d.ts +82 -0
- package/dist/utils/project-capabilities.d.ts.map +1 -0
- package/dist/utils/project-capabilities.js +691 -0
- package/dist/utils/project-capabilities.js.map +1 -0
- package/dist/utils/project-detector.d.ts +46 -0
- package/dist/utils/project-detector.d.ts.map +1 -0
- package/dist/utils/project-detector.js +666 -0
- package/dist/utils/project-detector.js.map +1 -0
- package/dist/utils/proxy.d.ts +25 -0
- package/dist/utils/proxy.d.ts.map +1 -0
- package/dist/utils/proxy.js +60 -0
- package/dist/utils/proxy.js.map +1 -0
- package/dist/utils/readiness.d.ts +40 -0
- package/dist/utils/readiness.d.ts.map +1 -0
- package/dist/utils/readiness.js +491 -0
- package/dist/utils/readiness.js.map +1 -0
- package/dist/utils/retrieval-agent-instructions.d.ts +10 -0
- package/dist/utils/retrieval-agent-instructions.d.ts.map +1 -0
- package/dist/utils/retrieval-agent-instructions.js +97 -0
- package/dist/utils/retrieval-agent-instructions.js.map +1 -0
- package/dist/utils/retrieval-execution-telemetry.d.ts +53 -0
- package/dist/utils/retrieval-execution-telemetry.d.ts.map +1 -0
- package/dist/utils/retrieval-execution-telemetry.js +116 -0
- package/dist/utils/retrieval-execution-telemetry.js.map +1 -0
- package/dist/utils/retrieval-result-ranking.d.ts +34 -0
- package/dist/utils/retrieval-result-ranking.d.ts.map +1 -0
- package/dist/utils/retrieval-result-ranking.js +71 -0
- package/dist/utils/retrieval-result-ranking.js.map +1 -0
- package/dist/utils/retrieval-tool-classification.d.ts +18 -0
- package/dist/utils/retrieval-tool-classification.d.ts.map +1 -0
- package/dist/utils/retrieval-tool-classification.js +118 -0
- package/dist/utils/retrieval-tool-classification.js.map +1 -0
- package/dist/utils/semantic-plan-gate.d.ts +8 -0
- package/dist/utils/semantic-plan-gate.d.ts.map +1 -0
- package/dist/utils/semantic-plan-gate.js +24 -0
- package/dist/utils/semantic-plan-gate.js.map +1 -0
- package/dist/utils/task-json.d.ts +13 -0
- package/dist/utils/task-json.d.ts.map +1 -0
- package/dist/utils/task-json.js +12 -0
- package/dist/utils/task-json.js.map +1 -0
- package/dist/utils/template-fetcher.d.ts +150 -0
- package/dist/utils/template-fetcher.d.ts.map +1 -0
- package/dist/utils/template-fetcher.js +907 -0
- package/dist/utils/template-fetcher.js.map +1 -0
- package/dist/utils/template-hash.d.ts +123 -0
- package/dist/utils/template-hash.d.ts.map +1 -0
- package/dist/utils/template-hash.js +375 -0
- package/dist/utils/template-hash.js.map +1 -0
- package/dist/utils/uninstall-scrubbers.d.ts +30 -0
- package/dist/utils/uninstall-scrubbers.d.ts.map +1 -0
- package/dist/utils/uninstall-scrubbers.js +196 -0
- package/dist/utils/uninstall-scrubbers.js.map +1 -0
- package/dist/utils/update-rollout-report.d.ts +171 -0
- package/dist/utils/update-rollout-report.d.ts.map +1 -0
- package/dist/utils/update-rollout-report.js +126 -0
- package/dist/utils/update-rollout-report.js.map +1 -0
- package/dist/utils/validate-rules.d.ts +21 -0
- package/dist/utils/validate-rules.d.ts.map +1 -0
- package/dist/utils/validate-rules.js +88 -0
- package/dist/utils/validate-rules.js.map +1 -0
- package/dist/utils/workflow-dir.d.ts +15 -0
- package/dist/utils/workflow-dir.d.ts.map +1 -0
- package/dist/utils/workflow-dir.js +33 -0
- package/dist/utils/workflow-dir.js.map +1 -0
- package/dist/utils/workflow-resolver.d.ts +86 -0
- package/dist/utils/workflow-resolver.d.ts.map +1 -0
- package/dist/utils/workflow-resolver.js +265 -0
- package/dist/utils/workflow-resolver.js.map +1 -0
- package/package.json +117 -0
- package/scripts/postinstall.js +6 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/templates/pactile/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;GAgBG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,MAAM,UAAU,GAAG,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAClD,MAAM,SAAS,GAAG,OAAO,CAAC,UAAU,CAAC,CAAC;AAEtC,SAAS,YAAY,CAAC,YAAoB;IACxC,OAAO,YAAY,CAAC,IAAI,CAAC,SAAS,EAAE,YAAY,CAAC,EAAE,OAAO,CAAC,CAAC;AAC9D,CAAC;AAED,gCAAgC;AAChC,MAAM,CAAC,MAAM,WAAW,GAAG,YAAY,CAAC,qBAAqB,CAAC,CAAC;AAE/D,0BAA0B;AAC1B,MAAM,CAAC,MAAM,UAAU,GAAG,YAAY,CAAC,4BAA4B,CAAC,CAAC;AACrE,MAAM,CAAC,MAAM,WAAW,GAAG,YAAY,CAAC,yBAAyB,CAAC,CAAC;AACnE,MAAM,CAAC,MAAM,eAAe,GAAG,YAAY,CAAC,6BAA6B,CAAC,CAAC;AAC3E,MAAM,CAAC,MAAM,gBAAgB,GAAG,YAAY,CAAC,+BAA+B,CAAC,CAAC;AAC9E,MAAM,CAAC,MAAM,eAAe,GAAG,YAAY,CAAC,8BAA8B,CAAC,CAAC;AAC5E,MAAM,CAAC,MAAM,eAAe,GAAG,YAAY,CAAC,8BAA8B,CAA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O,CAAC,GAAG,CAAC,yBAAyB,EAAE,wBAAwB,CAAC,CAAC;IACjE,OAAO,CAAC,GAAG,CAAC,6BAA6B,EAAE,4BAA4B,CAAC,CAAC;IACzE,OAAO,CAAC,GAAG,CAAC,4BAA4B,EAAE,2BAA2B,CAAC,CAAC;IACvE,OAAO,CAAC,GAAG,CAAC,8BAA8B,EAAE,6BAA6B,CAAC,CAAC;IAC3E,OAAO,CAAC,GAAG,CAAC,mBAAmB,EAAE,mBAAmB,CAAC,CAAC;IACtD,OAAO,CAAC,GAAG,CAAC,2BAA2B,EAAE,0BAA0B,CAAC,CAAC;IACrE,OAAO,CAAC,GAAG,CAAC,yBAAyB,EAAE,wBAAwB,CAAC,CAAC;IACjE,OAAO,CAAC,GAAG,CAAC,0BAA0B,EAAE,yBAAyB,CAAC,CAAC;IACnE,OAAO,OAAO,CAAC;AACjB,CAAC;AAED,iFAAiF;AACjF,MAAM,UAAU,qBAAqB;IACnC,OAAO,IAAI,GAAG,CAAC,CAAC,GAAG,aAAa,EAAE,EAAE,GAAG,oBAAoB,EAAE,CAAC,CAAC,CAAC;AAClE,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,kBAAkB;IAChC,MAAM,SAAS,GAAG,IAAI,GAAG,EAAkB,CAAC;IAC5C,SAAS,CAAC,GAAG,CAAC,WAAW,EAAE,kBAAkB,CAAC,CAAC;IAC/C,SAAS,CAAC,GAAG,CAAC,SAAS,EAAE,gBAAgB,CAAC,CAAC;IAC3C,SAAS,CAAC,GAAG,CAAC,gBAAgB,EAAE,wBAAwB,CAAC,CAAC;IAC1D,OAAO,SAAS,CAAC;AACnB,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# `approval-personal`
|
|
2
|
+
|
|
3
|
+
P29 表名:`approval-personal`(不得改名)。层:baseline。
|
|
4
|
+
|
|
5
|
+
## 职责
|
|
6
|
+
|
|
7
|
+
Human Attention 的三道人门,不是 Kernel 状态机本身。Kernel 校验「能不能转」;本块决定「人有没有点头」。
|
|
8
|
+
|
|
9
|
+
1. **Open**:同意建立 Task 并批准 Rigor×Topology。不授权改代码、不授权 Execute。
|
|
10
|
+
2. **Execute**:Define 完成后,同意进入实现。`--check` 只是 CLI 预检(指纹/槽位/契约在不在),**不得**写成「已评审通过」。
|
|
11
|
+
3. **Finalize**:需要人类权威时合并询问——Git commit、远程推送、最终业务验收等。可与 Close 收尾并成一次,不拆成逐步确认。
|
|
12
|
+
|
|
13
|
+
## 触发/披露
|
|
14
|
+
|
|
15
|
+
不到门不进 Prompt、不进用户视野。Define 进行中不反复问「是否同意」。无硬 Risk 的 Lite:Open 之后可在用户**预先启用** Auto-Approve 时不再问 Execute;仍必须写审计,不是跳过 Approve 里程碑。Full / Parent / 硬 Risk:默认 Open + Execute;Finalize 在有人类权威动作时出现。异常才打断:范围或契约变、Policy 豁免、Secret、不可逆或远程副作用、平台底线不满足、真实 blocker、新高风险权限。
|
|
16
|
+
|
|
17
|
+
Agent 看见:
|
|
18
|
+
|
|
19
|
+
1. 未过 Open:不得 `task.py create`(Intake 只出 Proposal)。
|
|
20
|
+
2. 未过 Execute:不得把 Phase 推进到 Execute、不得 `--approved`、不得开始改产品代码。
|
|
21
|
+
3. 预检 PASS 只可用来**请求** Execute 门,不可宣称已批准。
|
|
22
|
+
4. 日常「ok / 开始 / 确认」若不是在回答明确的门,不得当成 Execute 授权。
|
|
23
|
+
5. Return-to-Define 之后,旧 Execute 批准失效,必须再过门。
|
|
24
|
+
|
|
25
|
+
用户看见:很少的关键问句。Lite 常常只有一次 Open。Full 通常 Open + Execute。有 commit/远程时再并一次 Finalize。不是每个 Phase 点一次。
|
|
26
|
+
|
|
27
|
+
渐进:过门后从常驻包拿掉本块教战,只留「本任务已过哪些门」。
|
|
28
|
+
|
|
29
|
+
## 停止条件
|
|
30
|
+
|
|
31
|
+
- 三门各自授权什么、不授权什么(见职责)。
|
|
32
|
+
- `--check` ≠ 人批;人批必须可审计(谁、何时、哪一扇门)。
|
|
33
|
+
- Auto-Approve 边界:仅预启用 + 无硬 Risk + Policy 允许;仍留痕迹。
|
|
34
|
+
- 升级打断清单与上列异常一致;同一 frontier 可批量问,避免一题一轮。
|
|
35
|
+
- 不得把预检 PASS 写成已批准;不得把日常确认当成 Execute 授权。
|
|
36
|
+
|
|
37
|
+
## 关掉必须消失
|
|
38
|
+
|
|
39
|
+
没有人点头路径。不得静默 create / `--approved` / 把 commit 当已 Finalize。Kernel 仍可拒绝非法转换,但不能冒充人已批。
|
|
40
|
+
|
|
41
|
+
## 不得带走
|
|
42
|
+
|
|
43
|
+
契约正文与 AC(`define-basic`);指纹算法与合法边(Kernel);是否真的 git commit(`vcs-integration`);物理归档(`retention-storage`)。
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# `candidate-pool`
|
|
2
|
+
|
|
3
|
+
P29 表名:`candidate-pool`(不得改名)。层:on-demand。
|
|
4
|
+
|
|
5
|
+
## 职责
|
|
6
|
+
|
|
7
|
+
需求池。把尚未承诺实现的想法写成 Candidate,不是 Task。Intake 可以发出「进池意图」;本块负责物化条目与队列语义。仅状态为 `accepted` 的条目可以变成 `task.py create` 的输入。`accepted` 只是裁决,不是做完;剩余义务看 `delivery`(open / in-slice / landed / standing / deferred)。standing 不是下一张工单。清晰且可直接做的请求不进池,走 Intake → Open Task。
|
|
8
|
+
|
|
9
|
+
## 触发/披露
|
|
10
|
+
|
|
11
|
+
未触发时目录都可以不存在。用户明确说「记一下 / 进池」,或 Intake 判定未成形时才激活并进 Prompt。日常 Open→Close、Execute、Verify **不见** `pool.py` 教战。首次 Capture 才创建 `.pactile/pool/`,安装时不建空骨架。
|
|
12
|
+
|
|
13
|
+
未触发 = 当没装。
|
|
14
|
+
|
|
15
|
+
Agent 看见:
|
|
16
|
+
|
|
17
|
+
1. 进池要有可审摘要;意图式同意(用户说记录即批准进池),否则先展示摘要再问一次。
|
|
18
|
+
2. 不得把池项当已开 Task、不得未 Open 就写 `prd.md` 或建任务目录。`accepted` 只冻需求,**不自动** `task.py create`。
|
|
19
|
+
3. 用户说开始实现某条已 accepted 条目时:先在该条目写 `## 切片`,再走 Intake Open Proposal;Open 之后才 `pool.py link`。
|
|
20
|
+
4. 选下一件:只在 open / in-slice 里排;standing 不排队。单一切片 Close ≠ 整条 `landed`(剩余可 `deferred`)。
|
|
21
|
+
5. 本块不决定 Rigor×Topology;开 Task 时仍走 Intake Proposal + Open 门。
|
|
22
|
+
|
|
23
|
+
用户看见:一个候选队列,不是看板。默认不出现池配置。
|
|
24
|
+
|
|
25
|
+
## 停止条件
|
|
26
|
+
|
|
27
|
+
- 触发:用户要进池 | Intake 出口为进池意图。
|
|
28
|
+
- 输出:Candidate 记录;首次才物化目录。`task_created: false`。
|
|
29
|
+
- 停止:把池当 Task;安装时预建空池;未激活仍把 pool README 灌进 SessionStart。
|
|
30
|
+
|
|
31
|
+
## 关掉必须消失
|
|
32
|
+
|
|
33
|
+
不能 Capture、不能物化池、Prompt 无池教战。直接做事仍走 intake → Open Task。
|
|
34
|
+
|
|
35
|
+
## 不得带走
|
|
36
|
+
|
|
37
|
+
Open Approval 与 Task 目录(`approval-personal` / Kernel);Define 正文(`define-basic`)。
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* P29 module short-contract catalog.
|
|
3
|
+
*
|
|
4
|
+
* Lists Baseline vs On-demand modules from `index.json` next to this file.
|
|
5
|
+
* The human overview document is not an input. Does not invent a fifth
|
|
6
|
+
* retrieval intent.
|
|
7
|
+
*/
|
|
8
|
+
export declare const BASELINE_RETRIEVAL_INTENTS: readonly ["exact", "semantic", "structural", "external"];
|
|
9
|
+
export type BaselineRetrievalIntent = (typeof BASELINE_RETRIEVAL_INTENTS)[number];
|
|
10
|
+
export type ModuleLayer = "baseline" | "on-demand";
|
|
11
|
+
export interface ModuleCatalogEntry {
|
|
12
|
+
id: string;
|
|
13
|
+
layer: ModuleLayer;
|
|
14
|
+
contract: string;
|
|
15
|
+
}
|
|
16
|
+
export interface ModuleCatalog {
|
|
17
|
+
schema_version: number;
|
|
18
|
+
source: string;
|
|
19
|
+
baseline_intents: string[];
|
|
20
|
+
layers: {
|
|
21
|
+
baseline: string[];
|
|
22
|
+
"on-demand": string[];
|
|
23
|
+
};
|
|
24
|
+
modules: ModuleCatalogEntry[];
|
|
25
|
+
}
|
|
26
|
+
export declare function getModulesRoot(): string;
|
|
27
|
+
export declare function getModuleCatalogPath(root?: string): string;
|
|
28
|
+
export declare function loadModuleCatalog(root?: string): ModuleCatalog;
|
|
29
|
+
/** List P29 module ids from the catalog file. */
|
|
30
|
+
export declare function listModuleCatalog(root?: string): readonly ModuleCatalogEntry[];
|
|
31
|
+
export declare function readModuleContract(id: string, root?: string): string;
|
|
32
|
+
//# sourceMappingURL=catalog.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.d.ts","sourceRoot":"","sources":["../../../../src/templates/pactile/modules/catalog.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAQH,eAAO,MAAM,0BAA0B,0DAK7B,CAAC;AAEX,MAAM,MAAM,uBAAuB,GACjC,CAAC,OAAO,0BAA0B,CAAC,CAAC,MAAM,CAAC,CAAC;AAE9C,MAAM,MAAM,WAAW,GAAG,UAAU,GAAG,WAAW,CAAC;AAEnD,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,WAAW,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,aAAa;IAC5B,cAAc,EAAE,MAAM,CAAC;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,gBAAgB,EAAE,MAAM,EAAE,CAAC;IAC3B,MAAM,EAAE;QACN,QAAQ,EAAE,MAAM,EAAE,CAAC;QACnB,WAAW,EAAE,MAAM,EAAE,CAAC;KACvB,CAAC;IACF,OAAO,EAAE,kBAAkB,EAAE,CAAC;CAC/B;AAED,wBAAgB,cAAc,IAAI,MAAM,CAEvC;AAED,wBAAgB,oBAAoB,CAAC,IAAI,SAAc,GAAG,MAAM,CAE/D;AAED,wBAAgB,iBAAiB,CAAC,IAAI,SAAc,GAAG,aAAa,CAUnE;AAED,iDAAiD;AACjD,wBAAgB,iBAAiB,CAC/B,IAAI,SAAc,GACjB,SAAS,kBAAkB,EAAE,CAE/B;AAED,wBAAgB,kBAAkB,CAAC,EAAE,EAAE,MAAM,EAAE,IAAI,SAAc,GAAG,MAAM,CAMzE"}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* P29 module short-contract catalog.
|
|
3
|
+
*
|
|
4
|
+
* Lists Baseline vs On-demand modules from `index.json` next to this file.
|
|
5
|
+
* The human overview document is not an input. Does not invent a fifth
|
|
6
|
+
* retrieval intent.
|
|
7
|
+
*/
|
|
8
|
+
import { readFileSync } from "node:fs";
|
|
9
|
+
import { dirname, join } from "node:path";
|
|
10
|
+
import { fileURLToPath } from "node:url";
|
|
11
|
+
const modulesRoot = dirname(fileURLToPath(import.meta.url));
|
|
12
|
+
export const BASELINE_RETRIEVAL_INTENTS = [
|
|
13
|
+
"exact",
|
|
14
|
+
"semantic",
|
|
15
|
+
"structural",
|
|
16
|
+
"external",
|
|
17
|
+
];
|
|
18
|
+
export function getModulesRoot() {
|
|
19
|
+
return modulesRoot;
|
|
20
|
+
}
|
|
21
|
+
export function getModuleCatalogPath(root = modulesRoot) {
|
|
22
|
+
return join(root, "index.json");
|
|
23
|
+
}
|
|
24
|
+
export function loadModuleCatalog(root = modulesRoot) {
|
|
25
|
+
const raw = readFileSync(getModuleCatalogPath(root), "utf-8");
|
|
26
|
+
const parsed = JSON.parse(raw);
|
|
27
|
+
if (!parsed || typeof parsed !== "object") {
|
|
28
|
+
throw new Error("modules/index.json must be an object");
|
|
29
|
+
}
|
|
30
|
+
if (!Array.isArray(parsed.modules)) {
|
|
31
|
+
throw new Error("modules/index.json must list modules");
|
|
32
|
+
}
|
|
33
|
+
return parsed;
|
|
34
|
+
}
|
|
35
|
+
/** List P29 module ids from the catalog file. */
|
|
36
|
+
export function listModuleCatalog(root = modulesRoot) {
|
|
37
|
+
return loadModuleCatalog(root).modules;
|
|
38
|
+
}
|
|
39
|
+
export function readModuleContract(id, root = modulesRoot) {
|
|
40
|
+
const entry = listModuleCatalog(root).find((item) => item.id === id);
|
|
41
|
+
if (!entry) {
|
|
42
|
+
throw new Error(`Unknown module id: ${id}`);
|
|
43
|
+
}
|
|
44
|
+
return readFileSync(join(root, entry.contract), "utf-8");
|
|
45
|
+
}
|
|
46
|
+
//# sourceMappingURL=catalog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"catalog.js","sourceRoot":"","sources":["../../../../src/templates/pactile/modules/catalog.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACvC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAEzC,MAAM,WAAW,GAAG,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AAE5D,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,OAAO;IACP,UAAU;IACV,YAAY;IACZ,UAAU;CACF,CAAC;AAwBX,MAAM,UAAU,cAAc;IAC5B,OAAO,WAAW,CAAC;AACrB,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,IAAI,GAAG,WAAW;IACrD,OAAO,IAAI,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;AAClC,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAC,IAAI,GAAG,WAAW;IAClD,MAAM,GAAG,GAAG,YAAY,CAAC,oBAAoB,CAAC,IAAI,CAAC,EAAE,OAAO,CAAC,CAAC;IAC9D,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAkB,CAAC;IAChD,IAAI,CAAC,MAAM,IAAI,OAAO,MAAM,KAAK,QAAQ,EAAE,CAAC;QAC1C,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;IAC1D,CAAC;IACD,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,OAAO,CAAC,EAAE,CAAC;QACnC,MAAM,IAAI,KAAK,CAAC,sCAAsC,CAAC,CAAC;IAC1D,CAAC;IACD,OAAO,MAAM,CAAC;AAChB,CAAC;AAED,iDAAiD;AACjD,MAAM,UAAU,iBAAiB,CAC/B,IAAI,GAAG,WAAW;IAElB,OAAO,iBAAiB,CAAC,IAAI,CAAC,CAAC,OAAO,CAAC;AACzC,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,EAAU,EAAE,IAAI,GAAG,WAAW;IAC/D,MAAM,KAAK,GAAG,iBAAiB,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;IACrE,IAAI,CAAC,KAAK,EAAE,CAAC;QACX,MAAM,IAAI,KAAK,CAAC,sBAAsB,EAAE,EAAE,CAAC,CAAC;IAC9C,CAAC;IACD,OAAO,YAAY,CAAC,IAAI,CAAC,IAAI,EAAE,KAAK,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,CAAC;AAC3D,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# `close-basic`
|
|
2
|
+
|
|
3
|
+
P29 表名:`close-basic`(不得改名)。层:baseline。
|
|
4
|
+
|
|
5
|
+
## 职责
|
|
6
|
+
|
|
7
|
+
Close 槽。在 Evidence 已覆盖之后,写入业务 **Outcome**(completed / cancelled / failed)和收尾结论,并给出学习 disposition(是否需要叫醒 `spec-learning`,本块不亲自改长期 spec)。学习 disposition 除叫醒 `spec-learning` 外,还决定是否写 Notes 索引投影(`note-projection`,见 `personal-memory`):机器按 disposition 在 Close 边界把本次任务的可复用要点沉淀为 ≤N token 的索引投影(摘要 + 路径指针),供未来窗口第 4 层检索。缺投影槽只留痕、不阻塞 Close。Lite:缺 Git、缺 `task-map.md`、缺 `children[]` 都不得挡 Close。物理目录是否搬进 `archive/` 不改变 Outcome。需要 Integrate 的 Task 未完成集成不得 Close(那是 `parent-child` 的条件,本块遵守 Kernel 因果,不自己做集成)。
|
|
8
|
+
|
|
9
|
+
## 触发/披露
|
|
10
|
+
|
|
11
|
+
Phase=Close,或 Verify 已过且人走 Finalize 时加载。Open / Define / Execute 当天不讲归档、不灌 archive CLI。收尾结束后本块教战从常驻包拿掉,只留 Outcome。
|
|
12
|
+
|
|
13
|
+
Agent 看见:
|
|
14
|
+
|
|
15
|
+
1. Evidence 槽未完成 → 不得 Close。
|
|
16
|
+
2. 不得把 `git commit`、推送、物理 archive 当成 Close 本身。
|
|
17
|
+
3. cancelled / failed 必须带原因进审计(经 Kernel),不得假装 completed。
|
|
18
|
+
4. 学习决策只输出 disposition:`update-spec`(叫醒 `spec-learning`)/ `no-update` / `unsure`(叫醒 `personal-memory` 检索)/ `note-projection`(机器写 Notes 索引投影,见 `personal-memory`)。disposition 只决定叫醒谁、写什么槽,本块不亲自改长期 spec。Notes 投影槽缺位**只留痕、不阻塞**:即使没有写成投影,Close 照常成立(同 Lite 下 `session_auto_commit` 失败仍放行收工的语义)。
|
|
19
|
+
5. Finalize 门(commit/远程)仍归 `approval-personal`;本块在门过后写 Outcome。
|
|
20
|
+
|
|
21
|
+
用户看见:阶段名 Close。结果是完成、取消还是失败。Lite 不要求先有一次 Git 提交才允许收工。缺 Notes 投影不会让收工卡住;投影是机器在边界自动写的,用户不需要被追问「要不要写记忆」。
|
|
22
|
+
|
|
23
|
+
渐进:非 Close/Finalize 窗口不加载本块。
|
|
24
|
+
|
|
25
|
+
## 停止条件
|
|
26
|
+
|
|
27
|
+
- 输入:Verify 完成(AC 已覆盖);若 topology 要求 Integrate,则集成已完成或 Child 已 cancelled。
|
|
28
|
+
- 输出:Outcome + 收尾结论 + 学习 disposition。
|
|
29
|
+
- 停止:用物理 retention 冒充完成;无 Evidence 关单;Parent 未集成就 Close。
|
|
30
|
+
- Lite 缺 Git 不得挡 Close;缺 `task-map.md`、缺 `children[]` 也不得挡 Close;**缺 Notes 索引投影不得挡 Close**(只留痕、不阻塞)。
|
|
31
|
+
|
|
32
|
+
## 关掉必须消失
|
|
33
|
+
|
|
34
|
+
没有业务收尾,生命周期缺 Close 槽,预检应拒绝。不得靠「目录还在 archive 里」假装完成。
|
|
35
|
+
|
|
36
|
+
## 不得带走
|
|
37
|
+
|
|
38
|
+
`git commit` / PR(`vcs-integration`);物理压缩搬家(`retention-storage`);写回 `.pactile/spec`(`spec-learning`);AC 映射(`verify-basic`)。
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# `context-progressive`
|
|
2
|
+
|
|
3
|
+
P29 表名:`context-progressive`(不得改名)。层:baseline。
|
|
4
|
+
|
|
5
|
+
## 职责
|
|
6
|
+
|
|
7
|
+
唯一上下文编译器,也是渐进式披露的机械保证。输入只有:Kernel 的 Phase / Condition / Outcome、已激活模块列表、当前需要的产物角色。输出一份预算内的 Session 包(可去重、带来源与 freshness)。Baseline 只带四类检索意图(exact / semantic / structural / external),不绑 codegraph、fast-context 或任何 Agent 工具名。`workflow.md`、AGENTS 长文、`[workflow-state:*]` 整坨方法论**不是**合法输入。Adapter 只负责注入编译结果,不负责拼方法论。
|
|
8
|
+
|
|
9
|
+
## 触发/披露
|
|
10
|
+
|
|
11
|
+
五层,按序,不得跳层一次灌全:
|
|
12
|
+
|
|
13
|
+
1. 常驻最小:阶段、关键约束、下一动作(无任务时几乎只有这些 + 若发生 Intake 事件则加 intake 短契约)。
|
|
14
|
+
2. 已激活模块短契约(仅当前 Phase 需要的那些)。
|
|
15
|
+
3. 当前阶段产物片段(如 Define 的 PRD/AC,不是整个 task 目录)。
|
|
16
|
+
4. 有事实缺口才检索(薄路由;打分/pack 归 `retrieval-extended`)。
|
|
17
|
+
5. 失败或复杂卡住才深诊断(break-loop、完整指南)。
|
|
18
|
+
|
|
19
|
+
编译器自己几乎没有「教战」;它决定别人谁能进包。过了阶段,上一阶段模块正文从常驻包掉下去,需要时按产物角色再取片段。
|
|
20
|
+
|
|
21
|
+
Agent 看见:
|
|
22
|
+
|
|
23
|
+
1. 当前包里没有的模块 = 当作没装。不得自己去读 `workflow.md` 当 SSOT 补回来。
|
|
24
|
+
2. 无 `selected_task`:不装任务产物;不装 Parent/Worker/VCS 教战。
|
|
25
|
+
3. Worker / Resume 包与 Session 包语义分离:工人只带其任务路径与合同片段,不继承「整份梯子」。
|
|
26
|
+
4. SessionStart 若只能注入编译结果;禁止再切 `workflow.md` 的 Phase Index 当 overview。
|
|
27
|
+
|
|
28
|
+
用户看见:默认简单。高级模块用到才出现。不靠一次打开就看到全部 PACTILE。
|
|
29
|
+
|
|
30
|
+
## 停止条件
|
|
31
|
+
|
|
32
|
+
- 输入集合:Kernel 的 Phase / Condition / Outcome、已激活模块列表、当前需要的产物角色。非法输入:上帝文档、未激活模块正文。
|
|
33
|
+
- 五层顺序与预算/去重/provenance/freshness 义务(数值实现后置)。
|
|
34
|
+
- 有任务才装产物;Lite Single 拒绝把 Parent/VCS/Memory/Retention/retrieval-extended 塞进常驻包。
|
|
35
|
+
- 停止:把未激活模块「顺便」编进去;用 workflow 切片冒充第 1 层。
|
|
36
|
+
- 不新增第五个常驻检索意图。
|
|
37
|
+
|
|
38
|
+
## 关掉必须消失
|
|
39
|
+
|
|
40
|
+
没有 PACTILE 上下文包。Adapter 仍可起会话,但没有模块化披露。缺本槽则渐进式披露无法验收。
|
|
41
|
+
|
|
42
|
+
## 不得带走
|
|
43
|
+
|
|
44
|
+
各模块短契约正文的所有权;Event Bridge 总线(Adapter);检索打分与 stop 钩(`retrieval-extended`);journal 常驻注入(`personal-memory`)。
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
# `debug-recovery`
|
|
2
|
+
|
|
3
|
+
P29 表名:`debug-recovery`(不得改名)。层:on-demand。
|
|
4
|
+
|
|
5
|
+
## 职责
|
|
6
|
+
|
|
7
|
+
打转逃生,不是第一次修 bug,也不是独立 Check。同一症状在没有新证据的情况下被同一假设反复处理时:停手、分类、升级给人,必要时 Return-to-Define,修完或放弃后再做 break-loop(根因分类 + 防再发 disposition)。进行中的硬诊断纪律(先建 red-capable 环再假设)是本块可加载的深层指南,不是每回合短契约。不拥有 Cursor Debug 模式本身(Adapter 绑定)。
|
|
8
|
+
|
|
9
|
+
## 触发/披露
|
|
10
|
+
|
|
11
|
+
未触发当没装。第一次红测、一次能看懂的轻量缺陷,只走 `execute-agent` / `verify-basic`。触发(可审计):
|
|
12
|
+
|
|
13
|
+
1. 同一问题第二次仍用同一假设,且没有更紧的反馈环或新证据;或
|
|
14
|
+
2. Condition 已是 blocked,症状未变;或
|
|
15
|
+
3. 用户说卡住 / 不要再盲试;或
|
|
16
|
+
4. 硬 bug / 性能回归已经不是「一眼可证」。
|
|
17
|
+
|
|
18
|
+
进包后走 `context-progressive` 第 5 层(深诊断),不把 6 阶段全文灌进第 2 层。脱离打转窗口,本块正文从常驻包消失;只留「曾 blocked / 曾 Return-to-Define」摘要(若 Kernel 已记)。
|
|
19
|
+
|
|
20
|
+
Agent 看见:
|
|
21
|
+
|
|
22
|
+
1. 禁止静默同质重试。停手时必须分类:实现缺陷 / 契约或范围错 / 环境或权限不够 / 平台 capability 不满足 / 过程打转(无环乱猜)。
|
|
23
|
+
2. 实现缺陷 → 仍在 Execute 修,但必须先有(或声明跳过理由的)可复现环;不得先读代码再编原因。
|
|
24
|
+
3. 契约/范围/capability 假设错 → Return-to-Define,再走 Execute 门。这是本块**触发**合法转换,转换本身仍是 Kernel + `define-basic` / `approval-personal`。
|
|
25
|
+
4. 分类结果升级给用户(同一 frontier 可批量选项),不得一个人连试三次还不说。
|
|
26
|
+
5. Adapter 可把运行时复现绑到 Cursor Debug;证据仍落回任务产物。Debug UI 说明书不在本块。
|
|
27
|
+
6. 打转结束后(修好、降级或取消)才做 break-loop:为什么同一手法失败、防再发、是否叫醒 `spec-learning`。break-loop 不负责找到第一因,也不亲自改长期 spec。不是用户 slash。
|
|
28
|
+
|
|
29
|
+
用户看见:卡住时被问「这是代码、契约、环境还是该停」。日常一次失败的修复看不见本块。没有常驻 Debug 配置页。
|
|
30
|
+
|
|
31
|
+
## 停止条件
|
|
32
|
+
|
|
33
|
+
- 触发与非触发(第一次失败不是本块)。
|
|
34
|
+
- 停手 + 分类出口(上列五类)+ 人升级。
|
|
35
|
+
- 进行中 vs 修完后:诊断纪律 vs break-loop;二者不互相替代。
|
|
36
|
+
- 停止:把第一次红测当 break-loop;用本块代替 `verify-basic` 的 AC 映射;在 Execute 里改 PRD 充数;把 Cursor Debug 写成 PACTILE 自研调试器;把防再发直接写成 spec(那是 `spec-learning`)。
|
|
37
|
+
|
|
38
|
+
## 关掉必须消失
|
|
39
|
+
|
|
40
|
+
无失败分类、无停手纪律、无 break-loop 教战、无「先建红环」深层指南注入。第一次失败仍可修。因契约变更的 Return-to-Define 仍可由 Kernel + define/approval 处理。Adapter 仍可打开 Cursor Debug,只是没有 PACTILE 打转剧本。
|
|
41
|
+
|
|
42
|
+
## 不得带走
|
|
43
|
+
|
|
44
|
+
AC→Evidence(`verify-basic`);独立第二遍(`independent-check`);契约正文(`define-basic`);合法转换与 Condition 单写(Kernel);写长期 spec(`spec-learning`);Plan/Ask/Debug 是否存在(Adapter)。
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# `define-basic`
|
|
2
|
+
|
|
3
|
+
P29 表名:`define-basic`(不得改名)。层:baseline。
|
|
4
|
+
|
|
5
|
+
## 职责
|
|
6
|
+
|
|
7
|
+
Open 已成立之后、Execute 门之前。只负责**定义面**:Definition + 可测的 Acceptance Contract。Lite 到此为止(默认表面 `prd.md` + AC 清单)。Full 时按 Kernel 已解析的 `required_controls` 补齐 **Execution Contract** 与 **Verification Plan** 两个语义角色(默认可仍写在 `implement.md`),不因「要显得完整」机械生成空文档。本块**产**契约;`execute-agent` / `verify-basic` **消费**契约。契约变更必须 Return-to-Define,刷新后再走 Execute 门。
|
|
8
|
+
|
|
9
|
+
## 触发/披露
|
|
10
|
+
|
|
11
|
+
Phase=Define 时加载本块短契约 + 当前 Definition/AC(及 Full 时已有的执行/验证契约片段)。Grill、深研、`design.md` 仅当 `define-extended` 已激活才进入包。Execute 门过后,常驻包只留**已批准定义摘要**(加 AC 列表),不留 Grill 全文、不留未批准草稿。
|
|
12
|
+
|
|
13
|
+
Agent 看见:
|
|
14
|
+
|
|
15
|
+
1. 没有可测 AC,不得请求 Execute 门。
|
|
16
|
+
2. 不得在 Define 写实现代码、不得 `--approved`。
|
|
17
|
+
3. Full 缺已解析 controls 要求的语义角色,Define 未完成。
|
|
18
|
+
4. Design 不是本块的必产出;出现 Design 需求时触发 `define-extended`,不把 Grill 正文写进本块短契约。
|
|
19
|
+
5. Adapter 可以把本阶段绑到 Cursor Plan;那是 Adapter 绑定,不是本块拥有 Plan 模式说明书。
|
|
20
|
+
|
|
21
|
+
用户看见:阶段名 Define。Lite:一份需求 + 验收。Full:需求 + 验收 + 执行/验证契约(仍是人话文档,不是设计论文)。被问的是意图、范围、风险接受,不是仓库里已有的事实。
|
|
22
|
+
|
|
23
|
+
渐进:过了 Define,从常驻包拿掉本块教战,只留已批摘要。
|
|
24
|
+
|
|
25
|
+
## 停止条件
|
|
26
|
+
|
|
27
|
+
- 输入:Open 已过(Task 已建、Rigor×Topology 已批);`selected_task` 指向本任务。
|
|
28
|
+
- 输出(Lite):Definition + 可测 AC。缺 AC = Define 未完成。
|
|
29
|
+
- 输出(Full):在 Lite 之上,按 `required_controls` 补 Execution Contract 与 Verification Plan 角色;Design 角色不在本块。
|
|
30
|
+
- 不改产品代码、不 archive、不假装 Execute 已批、不把 `workflow.md` 当定义 SSOT。
|
|
31
|
+
- Return-to-Define:范围/AC/执行契约/验证策略/capability 假设变化时,停 Execute,刷新定义与门指纹后再请 Execute 批准。
|
|
32
|
+
|
|
33
|
+
## 关掉必须消失
|
|
34
|
+
|
|
35
|
+
不能写验收、不能宣称 Define 完成、不能把 AC 当 Evidence。Kernel 仍可停在 Open,但没有定义槽 provider。
|
|
36
|
+
|
|
37
|
+
## 不得带走
|
|
38
|
+
|
|
39
|
+
Task 前澄清(`intake-basic`);Grill / 深研 / 条件 Design / spec-bootstrap(`define-extended`);Execute 人批(`approval-personal`);jsonl/上下文预算(`context-progressive`);独立 Check(`independent-check`)。
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# `define-extended`
|
|
2
|
+
|
|
3
|
+
P29 表名:`define-extended`(不得改名)。层:on-demand。
|
|
4
|
+
|
|
5
|
+
## 职责
|
|
6
|
+
|
|
7
|
+
Define 阶段的加深,不是第二条生命周期。含:PRD Grill、多源研究协调、**条件** Design、按仓库事实第一次建立项目 Spec。Task **之前**只澄清到「有没有工作」——那是 `intake-basic`。本块只在 Open 之后、还在 Define 时出现。Design 角色仅当 Risk/Policy 或 `verification_profile: architecture` 要求时才成为必产出;不给每个 Full 空造 `design.md`。
|
|
8
|
+
|
|
9
|
+
## 触发/披露
|
|
10
|
+
|
|
11
|
+
未触发当没装。触发:Phase=Define 且(Rigor=Full 或硬 Risk 或用户明确要深挖/研究/设计)。Lite 成功路径可以全程不见 Grill、不见 Design。外部事实走 Middleware(smart-search);本块协调「要不要研、研完写哪」,不实现搜索引擎。
|
|
12
|
+
|
|
13
|
+
离开 Define 或未触发则从包中消失。
|
|
14
|
+
|
|
15
|
+
Agent 看见:
|
|
16
|
+
|
|
17
|
+
1. Grill 纪律:只问产品意图/偏好/风险;仓库事实自己取。
|
|
18
|
+
2. 不得把 Grill 做成每回合仪式,也不得恢复 `[Triage:]`。
|
|
19
|
+
3. 无 Design 要求时,不写空 `design.md` 来「凑 Full」。
|
|
20
|
+
4. spec-bootstrap 只在项目确实还没有、且需要编码规范时,依据仓库事实建;安装不预置空 spec 骨架。
|
|
21
|
+
5. Adapter 可把深 Define 绑到 Cursor Plan;Plan 说明书不在本块。
|
|
22
|
+
|
|
23
|
+
用户看见:需要深挖时才出现 Grill/设计讨论。Lite 写完 PRD+AC 就可以去请 Execute,不必经过本块。
|
|
24
|
+
|
|
25
|
+
## 停止条件
|
|
26
|
+
|
|
27
|
+
- 触发条件见上。
|
|
28
|
+
- 产出:Grill 结论写回 Definition;条件 Design;可选 research 产物;条件 spec 骨架。
|
|
29
|
+
- 停止:Task 前用本块代替 intake 澄清;Lite 强制 Design;把 smart-search 实现收进本块。
|
|
30
|
+
|
|
31
|
+
## 关掉必须消失
|
|
32
|
+
|
|
33
|
+
无 Grill 全文、无条件 Design、无深研协调、无 bootstrap spec。`define-basic` 的 PRD/AC 仍足够 Lite Close 路径。
|
|
34
|
+
|
|
35
|
+
## 不得带走
|
|
36
|
+
|
|
37
|
+
AC 最低面(`define-basic`);Execute 门(`approval-personal`);检索 pack(`retrieval-extended`)。
|
|
38
|
+
|
|
39
|
+
## Grill 备忘
|
|
40
|
+
|
|
41
|
+
Grill 机制备忘只写在本块内。不恢复独立 skill 名作 slash,没有两个 slash、没有两个 subagent。
|
|
42
|
+
|
|
43
|
+
- **`grill-me`**:来自 Pactile/Herbivore 的无状态面试 skill。输入是用户访谈,用来逼问 PRD。Claude 路径曾是强制 gate(没 grill 完不准 design/implement)。PACTILE **没有**把这个 skill 装进 Cursor 默认包,也 **不**复制那道阻塞 gate。Matt 同名 skill 被标为「已被 `pactile-micro-grill` 覆盖」(KB `01`)。引擎(frontier 轮次)经 P03 进了 brainstorm / micro-grill 的提问节奏,**不是**独立 `grill-me` 包装。
|
|
44
|
+
- **`grill-with-docs`**:工作区从未找到正式 skill。2026-06-16 锁定的是其**精神**:以 `prd.md` 为唯一文档面做检查 pass(目标、事实 vs 假设、可测 AC、非目标、依赖、平台…),仓库能查的不问用户。落地在 bundled `brainstorm` 的 Phase B,Cursor 可加载摘要是 `.pactile/framework/prd-grill-frontier.md`。
|
|
45
|
+
- **现在怎么存在**:Task 前澄清 = `intake-basic`(旧称 micro-grill 策略,不是 Task 类型)。Open 之后的 PRD Grill = `define-extended` 内的文档检查 pass + 仅 blocking 项再用 micro-grill 契约追问。提问节奏:PRD Grill 用 frontier(一轮 ≤3);单独 micro-grill 仍可一次一问(`prd-grill-frontier.md` 的 override 说明)。完成标准:清单满足或显式 N/A、无 blocking open questions、AC 可测——然后才是 Execute 门,不是「grill-me subagent 打勾」。
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# `execute-agent`
|
|
2
|
+
|
|
3
|
+
P29 表名:`execute-agent`(不得改名)。层:baseline。
|
|
4
|
+
|
|
5
|
+
## 职责
|
|
6
|
+
|
|
7
|
+
生命周期的 Execute 槽。把**平台无关的执行要求**交给 Adapter 去绑:是否允许委派、是否必须隔离、写入边界、必须停在已批合同内。个人默认绑定是**主 Agent、当前会话、inline**。不点名 Subagent、不点名 worktree、不点名某个模型。真正绑到 Cursor Agent / Task / worktree 是 Adapter + 按需模块的事。
|
|
8
|
+
|
|
9
|
+
## 触发/披露
|
|
10
|
+
|
|
11
|
+
仅 Phase=Execute,且实际 binding 为 inline(或 Worker 不可用而诚实降级为此)时加载本块短契约。Define / Open / 无任务时看不见「去改代码」。Execute 结束后教战从常驻包拿掉。
|
|
12
|
+
|
|
13
|
+
Agent 看见:
|
|
14
|
+
|
|
15
|
+
1. 已批 Definition / AC /(Full 时)执行与验证契约是边界;实现缺陷留在 Execute 修。
|
|
16
|
+
2. 范围、AC、执行契约、验证策略、capability/runtime、Parent 边界变化 → 停手,Return-to-Define,再走 Execute 门。不得边改 PRD 边假装仍在 Execute。
|
|
17
|
+
3. 不得因本块去 spawn `pactile-implement` / `pactile-check`;那只在 `worker-orchestration` 激活且合同要求 worker 时出现。
|
|
18
|
+
4. 不得因本块去 integrate-child 或建 Child。
|
|
19
|
+
5. Adapter 可将本阶段绑到 Cursor Agent;Plan/Debug 不是本块说明书。
|
|
20
|
+
|
|
21
|
+
用户看见:阶段名 Execute。Lite:主会话在已同意的范围内改东西。不默认看到并行工人、worktree、检查 Agent。
|
|
22
|
+
|
|
23
|
+
渐进:非 Execute 阶段不加载本块。
|
|
24
|
+
|
|
25
|
+
## 停止条件
|
|
26
|
+
|
|
27
|
+
- 输入:Execute 门已过;Definition 有效;Kernel Phase=Execute。
|
|
28
|
+
- 输出:合同内的工作结果(代码/配置/文档 diff)。Evidence 角色仍归 `verify-basic` 收。
|
|
29
|
+
- 停止:契约变更;未批准的写入;把 Verify/Close 提前做完并宣称完成。
|
|
30
|
+
- 降级:平台绑不上 Worker/隔离时,记 assurance,走 inline,不得假装隔离已发生。
|
|
31
|
+
|
|
32
|
+
## 关掉必须消失
|
|
33
|
+
|
|
34
|
+
没有「主 Agent 在合同内执行」这条默认路径。没有本槽则 Profile 预检应拒绝启动生命周期(Execute 是必需槽)。
|
|
35
|
+
|
|
36
|
+
## 不得带走
|
|
37
|
+
|
|
38
|
+
类型化 Agent 派工(`worker-orchestration`);Child 拓扑与集成(`parent-child`);AC 怎么写(`define-basic`);假绿判定(`verify-basic`);Git(`vcs-integration`)。
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# `independent-check`
|
|
2
|
+
|
|
3
|
+
P29 表名:`independent-check`(不得改名)。层:on-demand。
|
|
4
|
+
|
|
5
|
+
## 职责
|
|
6
|
+
|
|
7
|
+
只读的独立语义第二遍。在 `verify-basic` 的 Evidence 之上,对 Full / 硬 Risk / Policy 要求再做一次「不是同一双手」的检查。默认只出 findings/verdict,**不改代码**。实现缺陷回 Execute;任何代码修改使旧 verdict 失效,必须重跑。assurance 必须诚实:`self-review`(同一 Agent 结构化第二遍)vs `true-independent`(独立 Worker 或人)。Policy 要 true-independent 而平台没有独立 Worker → 阻塞,不得假绿。
|
|
8
|
+
|
|
9
|
+
## 触发/披露
|
|
10
|
+
|
|
11
|
+
Lite 当没装。Rigor=Full,或 Policy/硬 Risk 要求时激活。未激活则 Prompt 无 Check Agent 教战,也不得把 `verify-basic` 的自查写成 independent。非 Full/非触发不进包。
|
|
12
|
+
|
|
13
|
+
Agent 看见:
|
|
14
|
+
|
|
15
|
+
1. 只读。发现实现问题 → 回 Execute,再 Verify,再 Check。
|
|
16
|
+
2. 发现契约问题 → Return-to-Define,不是在 Check 里改 PRD 充数。
|
|
17
|
+
3. 无可靠独立 Worker 时标签必须是 `self-review`。
|
|
18
|
+
4. spawn `pactile-check` 仅当 `worker-orchestration` 同时激活且合同要求 worker;否则主会话做结构化第二遍并标 self-review。
|
|
19
|
+
5. Full / Parent:缺 `touches`、或 `touches` 明显跨无关模块且无 `serial_reason` / `oversized_accepted` → 不合格。Lite 缺 `touches` 不因此不合格。`meta.pool_items` 多于一条时,PRD 须有 `## 池义务`(或 `## Pool obligations`)并点名每一条,否则不合格。调用 `common.pool_slice.evaluate_pool_slice`。这不是 `task.py create` 或 `start-execution --check` 硬挡,也不是 `pool.py validate` 因缺 `## 切片` 失败。
|
|
20
|
+
|
|
21
|
+
用户看见:Full 收工前多一次「是否独立查过」的诚实标签。Lite 不出现本块。
|
|
22
|
+
|
|
23
|
+
## 停止条件
|
|
24
|
+
|
|
25
|
+
- 触发:Full 或 Policy。
|
|
26
|
+
- 输出:verdict + findings;assurance 字段。
|
|
27
|
+
- 停止:在 Check 中改代码还声称同一 verdict;Lite 强制本块;无 Worker 却写 true-independent。
|
|
28
|
+
|
|
29
|
+
## 关掉必须消失
|
|
30
|
+
|
|
31
|
+
不得声称 independent。Lite 与 `verify-basic` 不受影响。Full 若 Policy 要求 true-independent 则无法 Close(诚实阻塞)。
|
|
32
|
+
|
|
33
|
+
## 不得带走
|
|
34
|
+
|
|
35
|
+
AC→Evidence 最低面(`verify-basic`);派工通道本身(`worker-orchestration`);Execute 改代码(`execute-agent`)。
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schema_version": 1,
|
|
3
|
+
"source": "p29-module-table",
|
|
4
|
+
"baseline_intents": ["exact", "semantic", "structural", "external"],
|
|
5
|
+
"layers": {
|
|
6
|
+
"baseline": [
|
|
7
|
+
"intake-basic",
|
|
8
|
+
"define-basic",
|
|
9
|
+
"approval-personal",
|
|
10
|
+
"execute-agent",
|
|
11
|
+
"verify-basic",
|
|
12
|
+
"close-basic",
|
|
13
|
+
"context-progressive",
|
|
14
|
+
"observability-local"
|
|
15
|
+
],
|
|
16
|
+
"on-demand": [
|
|
17
|
+
"candidate-pool",
|
|
18
|
+
"define-extended",
|
|
19
|
+
"independent-check",
|
|
20
|
+
"worker-orchestration",
|
|
21
|
+
"parent-child",
|
|
22
|
+
"debug-recovery",
|
|
23
|
+
"session-transfer",
|
|
24
|
+
"spec-learning",
|
|
25
|
+
"vcs-integration",
|
|
26
|
+
"personal-memory",
|
|
27
|
+
"retention-storage",
|
|
28
|
+
"retrieval-extended"
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
"modules": [
|
|
32
|
+
{
|
|
33
|
+
"id": "intake-basic",
|
|
34
|
+
"layer": "baseline",
|
|
35
|
+
"contract": "intake-basic/contract.md"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"id": "define-basic",
|
|
39
|
+
"layer": "baseline",
|
|
40
|
+
"contract": "define-basic/contract.md"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"id": "approval-personal",
|
|
44
|
+
"layer": "baseline",
|
|
45
|
+
"contract": "approval-personal/contract.md"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"id": "execute-agent",
|
|
49
|
+
"layer": "baseline",
|
|
50
|
+
"contract": "execute-agent/contract.md"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"id": "verify-basic",
|
|
54
|
+
"layer": "baseline",
|
|
55
|
+
"contract": "verify-basic/contract.md"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"id": "close-basic",
|
|
59
|
+
"layer": "baseline",
|
|
60
|
+
"contract": "close-basic/contract.md"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"id": "context-progressive",
|
|
64
|
+
"layer": "baseline",
|
|
65
|
+
"contract": "context-progressive/contract.md"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"id": "observability-local",
|
|
69
|
+
"layer": "baseline",
|
|
70
|
+
"contract": "observability-local/contract.md"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"id": "candidate-pool",
|
|
74
|
+
"layer": "on-demand",
|
|
75
|
+
"contract": "candidate-pool/contract.md"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"id": "define-extended",
|
|
79
|
+
"layer": "on-demand",
|
|
80
|
+
"contract": "define-extended/contract.md"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"id": "independent-check",
|
|
84
|
+
"layer": "on-demand",
|
|
85
|
+
"contract": "independent-check/contract.md"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"id": "worker-orchestration",
|
|
89
|
+
"layer": "on-demand",
|
|
90
|
+
"contract": "worker-orchestration/contract.md"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"id": "parent-child",
|
|
94
|
+
"layer": "on-demand",
|
|
95
|
+
"contract": "parent-child/contract.md"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"id": "debug-recovery",
|
|
99
|
+
"layer": "on-demand",
|
|
100
|
+
"contract": "debug-recovery/contract.md"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"id": "session-transfer",
|
|
104
|
+
"layer": "on-demand",
|
|
105
|
+
"contract": "session-transfer/contract.md"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"id": "spec-learning",
|
|
109
|
+
"layer": "on-demand",
|
|
110
|
+
"contract": "spec-learning/contract.md"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"id": "vcs-integration",
|
|
114
|
+
"layer": "on-demand",
|
|
115
|
+
"contract": "vcs-integration/contract.md"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"id": "personal-memory",
|
|
119
|
+
"layer": "on-demand",
|
|
120
|
+
"contract": "personal-memory/contract.md"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"id": "retention-storage",
|
|
124
|
+
"layer": "on-demand",
|
|
125
|
+
"contract": "retention-storage/contract.md"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"id": "retrieval-extended",
|
|
129
|
+
"layer": "on-demand",
|
|
130
|
+
"contract": "retrieval-extended/contract.md"
|
|
131
|
+
}
|
|
132
|
+
]
|
|
133
|
+
}
|