@blxzer/pactile 0.5.0 → 0.6.0-beta.2
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 +612 -563
- package/LICENSE +235 -235
- package/README.md +108 -105
- package/README.zh-CN.md +105 -105
- package/bin/compat-warning.js +11 -11
- package/bin/cstl.js +6 -6
- package/bin/pactile.js +3 -3
- package/bin/smart-search.js +38 -38
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +79 -30
- package/dist/cli/index.js.map +1 -1
- package/dist/commands/codex.d.ts +3 -0
- package/dist/commands/codex.d.ts.map +1 -0
- package/dist/commands/codex.js +54 -0
- package/dist/commands/codex.js.map +1 -0
- package/dist/commands/context.d.ts +3 -0
- package/dist/commands/context.d.ts.map +1 -0
- package/dist/commands/context.js +272 -0
- package/dist/commands/context.js.map +1 -0
- package/dist/commands/init.d.ts +0 -20
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +285 -456
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/migrate.js +1 -1
- package/dist/commands/migrate.js.map +1 -1
- package/dist/commands/parallel.d.ts +2 -0
- package/dist/commands/parallel.d.ts.map +1 -0
- package/dist/commands/parallel.js +26 -0
- package/dist/commands/parallel.js.map +1 -0
- package/dist/commands/pi.d.ts +3 -0
- package/dist/commands/pi.d.ts.map +1 -0
- package/dist/commands/pi.js +94 -0
- package/dist/commands/pi.js.map +1 -0
- package/dist/commands/session.d.ts +2 -0
- package/dist/commands/session.d.ts.map +1 -0
- package/dist/commands/session.js +169 -0
- package/dist/commands/session.js.map +1 -0
- package/dist/commands/task.d.ts +3 -0
- package/dist/commands/task.d.ts.map +1 -0
- package/dist/commands/task.js +1026 -0
- package/dist/commands/task.js.map +1 -0
- package/dist/commands/update.d.ts +3 -1
- package/dist/commands/update.d.ts.map +1 -1
- package/dist/commands/update.js +130 -47
- package/dist/commands/update.js.map +1 -1
- package/dist/commands/workflow.d.ts.map +1 -1
- package/dist/commands/workflow.js +1 -2
- package/dist/commands/workflow.js.map +1 -1
- package/dist/configurators/index.d.ts +5 -51
- package/dist/configurators/index.d.ts.map +1 -1
- package/dist/configurators/index.js +9 -140
- package/dist/configurators/index.js.map +1 -1
- package/dist/configurators/shared.d.ts +7 -66
- package/dist/configurators/shared.d.ts.map +1 -1
- package/dist/configurators/shared.js +17 -262
- package/dist/configurators/shared.js.map +1 -1
- package/dist/configurators/workflow.d.ts +5 -6
- package/dist/configurators/workflow.d.ts.map +1 -1
- package/dist/configurators/workflow.js +11 -39
- package/dist/configurators/workflow.js.map +1 -1
- package/dist/constants/paths.d.ts +1 -5
- package/dist/constants/paths.d.ts.map +1 -1
- package/dist/constants/paths.js +1 -5
- package/dist/constants/paths.js.map +1 -1
- package/dist/core/compat/environment.d.ts +43 -0
- package/dist/core/compat/environment.d.ts.map +1 -0
- package/dist/core/compat/environment.js +91 -0
- package/dist/core/compat/environment.js.map +1 -0
- package/dist/core/compat/index.d.ts +2 -0
- package/dist/core/compat/index.d.ts.map +1 -0
- package/dist/core/compat/index.js +2 -0
- package/dist/core/compat/index.js.map +1 -0
- package/dist/core/index.d.ts +4 -0
- package/dist/core/index.d.ts.map +1 -0
- package/dist/core/index.js +6 -0
- package/dist/core/index.js.map +1 -0
- package/dist/core/pactile/capability.d.ts +65 -0
- package/dist/core/pactile/capability.d.ts.map +1 -0
- package/dist/core/pactile/capability.js +199 -0
- package/dist/core/pactile/capability.js.map +1 -0
- package/dist/core/pactile/index.d.ts +15 -0
- package/dist/core/pactile/index.d.ts.map +1 -0
- package/dist/core/pactile/index.js +13 -0
- package/dist/core/pactile/index.js.map +1 -0
- package/dist/core/pactile/lifecycle.d.ts +106 -0
- package/dist/core/pactile/lifecycle.d.ts.map +1 -0
- package/dist/core/pactile/lifecycle.js +607 -0
- package/dist/core/pactile/lifecycle.js.map +1 -0
- package/dist/core/pactile/middleware/index.d.ts +3 -0
- package/dist/core/pactile/middleware/index.d.ts.map +1 -0
- package/dist/core/pactile/middleware/index.js +2 -0
- package/dist/core/pactile/middleware/index.js.map +1 -0
- package/dist/core/pactile/middleware/redaction.d.ts +4 -0
- package/dist/core/pactile/middleware/redaction.d.ts.map +1 -0
- package/dist/core/pactile/middleware/redaction.js +34 -0
- package/dist/core/pactile/middleware/redaction.js.map +1 -0
- package/dist/core/pactile/middleware/resolver.d.ts +62 -0
- package/dist/core/pactile/middleware/resolver.d.ts.map +1 -0
- package/dist/core/pactile/middleware/resolver.js +803 -0
- package/dist/core/pactile/middleware/resolver.js.map +1 -0
- package/dist/core/pactile/projection.d.ts +81 -0
- package/dist/core/pactile/projection.d.ts.map +1 -0
- package/dist/core/pactile/projection.js +399 -0
- package/dist/core/pactile/projection.js.map +1 -0
- package/dist/core/pactile/provider.d.ts +81 -0
- package/dist/core/pactile/provider.d.ts.map +1 -0
- package/dist/core/pactile/provider.js +313 -0
- package/dist/core/pactile/provider.js.map +1 -0
- package/dist/core/pactile/runtime.d.ts +56 -0
- package/dist/core/pactile/runtime.d.ts.map +1 -0
- package/dist/core/pactile/runtime.js +176 -0
- package/dist/core/pactile/runtime.js.map +1 -0
- package/dist/core/pactile/tile-compiler-types.d.ts +32 -0
- package/dist/core/pactile/tile-compiler-types.d.ts.map +1 -0
- package/dist/core/pactile/tile-compiler-types.js +2 -0
- package/dist/core/pactile/tile-compiler-types.js.map +1 -0
- package/dist/core/pactile/tile.d.ts +71 -0
- package/dist/core/pactile/tile.d.ts.map +1 -0
- package/dist/core/pactile/tile.js +228 -0
- package/dist/core/pactile/tile.js.map +1 -0
- package/dist/core/pactile/trace-runtime/index.d.ts +38 -0
- package/dist/core/pactile/trace-runtime/index.d.ts.map +1 -0
- package/dist/core/pactile/trace-runtime/index.js +292 -0
- package/dist/core/pactile/trace-runtime/index.js.map +1 -0
- package/dist/core/pactile/trace.d.ts +42 -0
- package/dist/core/pactile/trace.d.ts.map +1 -0
- package/dist/core/pactile/trace.js +221 -0
- package/dist/core/pactile/trace.js.map +1 -0
- package/dist/core/pactile/validation.d.ts +91 -0
- package/dist/core/pactile/validation.d.ts.map +1 -0
- package/dist/core/pactile/validation.js +301 -0
- package/dist/core/pactile/validation.js.map +1 -0
- package/dist/core/task/adapter-middleware.d.ts +122 -0
- package/dist/core/task/adapter-middleware.d.ts.map +1 -0
- package/dist/core/task/adapter-middleware.js +476 -0
- package/dist/core/task/adapter-middleware.js.map +1 -0
- package/dist/core/task/compat.d.ts +7 -0
- package/dist/core/task/compat.d.ts.map +1 -0
- package/dist/core/task/compat.js +2 -0
- package/dist/core/task/compat.js.map +1 -0
- package/dist/core/task/contract-migrate.d.ts +29 -0
- package/dist/core/task/contract-migrate.d.ts.map +1 -0
- package/dist/core/task/contract-migrate.js +207 -0
- package/dist/core/task/contract-migrate.js.map +1 -0
- package/dist/core/task/full-quality.d.ts +89 -0
- package/dist/core/task/full-quality.d.ts.map +1 -0
- package/dist/core/task/full-quality.js +379 -0
- package/dist/core/task/full-quality.js.map +1 -0
- package/dist/core/task/index.d.ts +32 -0
- package/dist/core/task/index.d.ts.map +1 -0
- package/dist/core/task/index.js +20 -0
- package/dist/core/task/index.js.map +1 -0
- package/dist/core/task/kernel-cli.d.ts +51 -0
- package/dist/core/task/kernel-cli.d.ts.map +1 -0
- package/dist/core/task/kernel-cli.js +301 -0
- package/dist/core/task/kernel-cli.js.map +1 -0
- package/dist/core/task/kernel-contract.d.ts +164 -0
- package/dist/core/task/kernel-contract.d.ts.map +1 -0
- package/dist/core/task/kernel-contract.js +475 -0
- package/dist/core/task/kernel-contract.js.map +1 -0
- package/dist/core/task/kernel-store.d.ts +130 -0
- package/dist/core/task/kernel-store.d.ts.map +1 -0
- package/dist/core/task/kernel-store.js +905 -0
- package/dist/core/task/kernel-store.js.map +1 -0
- package/dist/core/task/kernel-surface.d.ts +70 -0
- package/dist/core/task/kernel-surface.d.ts.map +1 -0
- package/dist/core/task/kernel-surface.js +121 -0
- package/dist/core/task/kernel-surface.js.map +1 -0
- package/dist/core/task/lite-context-pack.d.ts +71 -0
- package/dist/core/task/lite-context-pack.d.ts.map +1 -0
- package/dist/core/task/lite-context-pack.js +175 -0
- package/dist/core/task/lite-context-pack.js.map +1 -0
- package/dist/core/task/ondemand-topology.d.ts +108 -0
- package/dist/core/task/ondemand-topology.d.ts.map +1 -0
- package/dist/core/task/ondemand-topology.js +456 -0
- package/dist/core/task/ondemand-topology.js.map +1 -0
- package/dist/core/task/p36-artifact-migrate.d.ts +58 -0
- package/dist/core/task/p36-artifact-migrate.d.ts.map +1 -0
- package/dist/core/task/p36-artifact-migrate.js +293 -0
- package/dist/core/task/p36-artifact-migrate.js.map +1 -0
- package/dist/core/task/p36-wave-c.d.ts +39 -0
- package/dist/core/task/p36-wave-c.d.ts.map +1 -0
- package/dist/core/task/p36-wave-c.js +100 -0
- package/dist/core/task/p36-wave-c.js.map +1 -0
- package/dist/core/task/paths.d.ts +37 -0
- package/dist/core/task/paths.d.ts.map +1 -0
- package/dist/core/task/paths.js +49 -0
- package/dist/core/task/paths.js.map +1 -0
- package/dist/core/task/phase.d.ts +27 -0
- package/dist/core/task/phase.d.ts.map +1 -0
- package/dist/core/task/phase.js +24 -0
- package/dist/core/task/phase.js.map +1 -0
- package/dist/core/task/records.d.ts +48 -0
- package/dist/core/task/records.d.ts.map +1 -0
- package/dist/core/task/records.js +100 -0
- package/dist/core/task/records.js.map +1 -0
- package/dist/core/task/schema.d.ts +77 -0
- package/dist/core/task/schema.d.ts.map +1 -0
- package/dist/core/task/schema.js +220 -0
- package/dist/core/task/schema.js.map +1 -0
- package/dist/core/testing/index.d.ts +2 -0
- package/dist/core/testing/index.d.ts.map +1 -0
- package/dist/core/testing/index.js +4 -0
- package/dist/core/testing/index.js.map +1 -0
- package/dist/migrations/manifests/0.1.0.json +9 -9
- package/dist/migrations/manifests/0.1.1.json +9 -9
- package/dist/migrations/manifests/0.1.2.json +9 -9
- package/dist/migrations/manifests/0.1.3.json +9 -9
- package/dist/migrations/manifests/0.1.4.json +9 -9
- package/dist/migrations/manifests/0.2.1.json +9 -9
- package/dist/migrations/manifests/0.2.10.json +374 -374
- package/dist/migrations/manifests/0.2.2.json +8 -8
- package/dist/migrations/manifests/0.2.3.json +9 -9
- package/dist/migrations/manifests/0.2.4.json +8 -8
- package/dist/migrations/manifests/0.2.5.json +8 -8
- package/dist/migrations/manifests/0.2.6.json +8 -8
- package/dist/migrations/manifests/0.2.7.json +8 -8
- package/dist/migrations/manifests/0.2.8.json +9 -9
- package/dist/migrations/manifests/0.2.9.json +9 -9
- package/dist/migrations/manifests/0.3.0.json +89 -89
- package/dist/migrations/manifests/0.3.1.json +32 -32
- package/dist/migrations/manifests/0.3.2.json +16 -16
- package/dist/migrations/manifests/0.3.3.json +9 -9
- package/dist/migrations/manifests/0.3.4.json +9 -9
- package/dist/migrations/manifests/0.3.5.json +9 -9
- package/dist/migrations/manifests/0.3.6.json +9 -9
- package/dist/migrations/manifests/0.4.0.json +9 -9
- package/dist/migrations/manifests/0.4.1.json +9 -9
- package/dist/migrations/manifests/0.4.2.json +9 -9
- package/dist/migrations/manifests/0.4.3.json +9 -9
- package/dist/migrations/manifests/0.5.0-beta.0.json +9 -9
- package/dist/migrations/manifests/0.5.0-beta.1.json +9 -9
- package/dist/migrations/manifests/0.5.0-beta.2.json +8 -8
- package/dist/migrations/manifests/0.5.0-beta.3.json +8 -8
- package/dist/migrations/manifests/0.5.0-beta.4.json +9 -9
- package/dist/migrations/manifests/0.5.0-beta.5.json +9 -9
- package/dist/migrations/manifests/0.5.0.json +9 -0
- package/dist/migrations/manifests/0.6.0-beta.1.json +35 -0
- package/dist/migrations/manifests/0.6.0-beta.2.json +9 -0
- package/dist/migrations/manifests/0.6.0.json +9 -0
- package/dist/pactile/adapters/codex/index.js +1 -1
- package/dist/pactile/adapters/codex/index.js.map +1 -1
- package/dist/pactile/adapters/index.d.ts +0 -1
- package/dist/pactile/adapters/index.d.ts.map +1 -1
- package/dist/pactile/adapters/index.js +0 -1
- package/dist/pactile/adapters/index.js.map +1 -1
- package/dist/pactile/adoption/bindings.d.ts +1 -1
- package/dist/pactile/adoption/bindings.d.ts.map +1 -1
- package/dist/pactile/adoption/bindings.js +1 -1
- package/dist/pactile/adoption/bindings.js.map +1 -1
- package/dist/pactile/adoption/inventory.d.ts +1 -1
- package/dist/pactile/adoption/inventory.d.ts.map +1 -1
- package/dist/pactile/adoption/inventory.js +1 -1
- package/dist/pactile/adoption/inventory.js.map +1 -1
- package/dist/pactile/adoption/safety.js +1 -1
- package/dist/pactile/adoption/safety.js.map +1 -1
- package/dist/pactile/adoption/workflow.d.ts +1 -1
- package/dist/pactile/adoption/workflow.d.ts.map +1 -1
- package/dist/pactile/adoption/workflow.js +1 -1
- package/dist/pactile/adoption/workflow.js.map +1 -1
- package/dist/pactile/codex/bridge.d.ts +71 -0
- package/dist/pactile/codex/bridge.d.ts.map +1 -0
- package/dist/pactile/codex/bridge.js +271 -0
- package/dist/pactile/codex/bridge.js.map +1 -0
- package/dist/pactile/compat/init-context.js +1 -1
- package/dist/pactile/compat/init-context.js.map +1 -1
- package/dist/pactile/compat/node-entry-migration.d.ts +3 -0
- package/dist/pactile/compat/node-entry-migration.d.ts.map +1 -0
- package/dist/pactile/compat/node-entry-migration.js +25 -0
- package/dist/pactile/compat/node-entry-migration.js.map +1 -0
- package/dist/pactile/exit/receipt.js +1 -1
- package/dist/pactile/exit/receipt.js.map +1 -1
- package/dist/pactile/exit/service.d.ts +1 -1
- package/dist/pactile/exit/service.d.ts.map +1 -1
- package/dist/pactile/exit/service.js +1 -3
- package/dist/pactile/exit/service.js.map +1 -1
- package/dist/pactile/lifecycle/command-runner.d.ts +1 -1
- package/dist/pactile/lifecycle/command-runner.d.ts.map +1 -1
- package/dist/pactile/lifecycle/command-runner.js +1 -3
- package/dist/pactile/lifecycle/command-runner.js.map +1 -1
- package/dist/pactile/lifecycle/default-adapters.d.ts.map +1 -1
- package/dist/pactile/lifecycle/default-adapters.js +8 -32
- package/dist/pactile/lifecycle/default-adapters.js.map +1 -1
- package/dist/pactile/lifecycle/orchestrator.d.ts +1 -1
- package/dist/pactile/lifecycle/orchestrator.d.ts.map +1 -1
- package/dist/pactile/lifecycle/orchestrator.js +1 -1
- package/dist/pactile/lifecycle/orchestrator.js.map +1 -1
- package/dist/pactile/lifecycle/project-files.d.ts.map +1 -1
- package/dist/pactile/lifecycle/project-files.js +4 -1
- package/dist/pactile/lifecycle/project-files.js.map +1 -1
- package/dist/pactile/middleware/manifest-loader.d.ts +1 -1
- package/dist/pactile/middleware/manifest-loader.d.ts.map +1 -1
- package/dist/pactile/middleware/manifest-loader.js +1 -1
- package/dist/pactile/middleware/manifest-loader.js.map +1 -1
- package/dist/pactile/migration/transaction.d.ts +1 -1
- package/dist/pactile/migration/transaction.d.ts.map +1 -1
- package/dist/pactile/migration/transaction.js +1 -1
- package/dist/pactile/migration/transaction.js.map +1 -1
- package/dist/pactile/parallel/batch.d.ts +41 -0
- package/dist/pactile/parallel/batch.d.ts.map +1 -0
- package/dist/pactile/parallel/batch.js +190 -0
- package/dist/pactile/parallel/batch.js.map +1 -0
- package/dist/pactile/parallel/policy.d.ts +18 -0
- package/dist/pactile/parallel/policy.d.ts.map +1 -0
- package/dist/pactile/parallel/policy.js +174 -0
- package/dist/pactile/parallel/policy.js.map +1 -0
- package/dist/pactile/pi/bridge.d.ts +51 -0
- package/dist/pactile/pi/bridge.d.ts.map +1 -0
- package/dist/pactile/pi/bridge.js +353 -0
- package/dist/pactile/pi/bridge.js.map +1 -0
- package/dist/pactile/pi/rpc.d.ts +41 -0
- package/dist/pactile/pi/rpc.d.ts.map +1 -0
- package/dist/pactile/pi/rpc.js +219 -0
- package/dist/pactile/pi/rpc.js.map +1 -0
- package/dist/pactile/projection/planner.d.ts +1 -1
- package/dist/pactile/projection/planner.d.ts.map +1 -1
- package/dist/pactile/projection/planner.js +1 -1
- package/dist/pactile/projection/planner.js.map +1 -1
- package/dist/pactile/projection/shared/index.js +1 -1
- package/dist/pactile/projection/shared/index.js.map +1 -1
- package/dist/pactile/projection/store.js +1 -1
- package/dist/pactile/projection/store.js.map +1 -1
- package/dist/pactile/providers/probes.d.ts +2 -2
- package/dist/pactile/providers/probes.d.ts.map +1 -1
- package/dist/pactile/providers/probes.js +0 -6
- package/dist/pactile/providers/probes.js.map +1 -1
- package/dist/pactile/registry.d.ts +1 -8
- package/dist/pactile/registry.d.ts.map +1 -1
- package/dist/pactile/registry.js +8 -25
- package/dist/pactile/registry.js.map +1 -1
- package/dist/pactile/retrieval/envelope.d.ts +19 -0
- package/dist/pactile/retrieval/envelope.d.ts.map +1 -0
- package/dist/pactile/retrieval/envelope.js +115 -0
- package/dist/pactile/retrieval/envelope.js.map +1 -0
- package/dist/pactile/retrieval/evidence.js +1 -1
- package/dist/pactile/retrieval/evidence.js.map +1 -1
- package/dist/pactile/retrieval/pack.d.ts +9 -0
- package/dist/pactile/retrieval/pack.d.ts.map +1 -0
- package/dist/pactile/retrieval/pack.js +300 -0
- package/dist/pactile/retrieval/pack.js.map +1 -0
- package/dist/pactile/retrieval/planner.d.ts +1 -1
- package/dist/pactile/retrieval/planner.d.ts.map +1 -1
- package/dist/pactile/retrieval/planner.js +1 -1
- package/dist/pactile/retrieval/planner.js.map +1 -1
- package/dist/pactile/retrieval/types.d.ts +1 -1
- package/dist/pactile/retrieval/types.d.ts.map +1 -1
- package/dist/pactile/runtime/json-api.d.ts +1 -1
- package/dist/pactile/runtime/json-api.js +1 -1
- package/dist/pactile/runtime/paths.js +1 -1
- package/dist/pactile/runtime/paths.js.map +1 -1
- package/dist/pactile/runtime/stores.d.ts +1 -1
- package/dist/pactile/runtime/stores.d.ts.map +1 -1
- package/dist/pactile/runtime/stores.js +1 -1
- package/dist/pactile/runtime/stores.js.map +1 -1
- package/dist/pactile/runtime/unicode-nfc-data.d.ts +1 -1
- package/dist/pactile/runtime/unicode-nfc-data.js +1 -1
- package/dist/pactile/task/config.d.ts +9 -0
- package/dist/pactile/task/config.d.ts.map +1 -0
- package/dist/pactile/task/config.js +103 -0
- package/dist/pactile/task/config.js.map +1 -0
- package/dist/pactile/task/context.d.ts +19 -0
- package/dist/pactile/task/context.d.ts.map +1 -0
- package/dist/pactile/task/context.js +117 -0
- package/dist/pactile/task/context.js.map +1 -0
- package/dist/pactile/task/guards.d.ts +21 -0
- package/dist/pactile/task/guards.d.ts.map +1 -0
- package/dist/pactile/task/guards.js +232 -0
- package/dist/pactile/task/guards.js.map +1 -0
- package/dist/pactile/task/scaffold.d.ts +6 -0
- package/dist/pactile/task/scaffold.d.ts.map +1 -0
- package/dist/pactile/task/scaffold.js +57 -0
- package/dist/pactile/task/scaffold.js.map +1 -0
- package/dist/pactile/task/session-memory.d.ts +2 -0
- package/dist/pactile/task/session-memory.d.ts.map +1 -0
- package/dist/pactile/task/session-memory.js +123 -0
- package/dist/pactile/task/session-memory.js.map +1 -0
- package/dist/pactile/task/session-pack.d.ts +3 -0
- package/dist/pactile/task/session-pack.d.ts.map +1 -0
- package/dist/pactile/task/session-pack.js +139 -0
- package/dist/pactile/task/session-pack.js.map +1 -0
- package/dist/pactile/task/session.d.ts +13 -0
- package/dist/pactile/task/session.d.ts.map +1 -0
- package/dist/pactile/task/session.js +105 -0
- package/dist/pactile/task/session.js.map +1 -0
- package/dist/pactile/task/strategy.d.ts +24 -0
- package/dist/pactile/task/strategy.d.ts.map +1 -0
- package/dist/pactile/task/strategy.js +136 -0
- package/dist/pactile/task/strategy.js.map +1 -0
- package/dist/pactile/task/task-map.d.ts +35 -0
- package/dist/pactile/task/task-map.d.ts.map +1 -0
- package/dist/pactile/task/task-map.js +217 -0
- package/dist/pactile/task/task-map.js.map +1 -0
- package/dist/pactile/task/workflow-phase.d.ts +3 -0
- package/dist/pactile/task/workflow-phase.d.ts.map +1 -0
- package/dist/pactile/task/workflow-phase.js +56 -0
- package/dist/pactile/task/workflow-phase.js.map +1 -0
- package/dist/pactile/tiles/catalog.d.ts +1 -1
- package/dist/pactile/tiles/catalog.d.ts.map +1 -1
- package/dist/pactile/tiles/catalog.js +1 -1
- package/dist/pactile/tiles/catalog.js.map +1 -1
- package/dist/pactile/tiles/compiler.d.ts +1 -1
- package/dist/pactile/tiles/compiler.d.ts.map +1 -1
- package/dist/pactile/tiles/compiler.js +1 -1
- package/dist/pactile/tiles/compiler.js.map +1 -1
- package/dist/pactile/tiles/content/ondemand/index.d.ts +2 -2
- package/dist/pactile/tiles/content/ondemand/index.d.ts.map +1 -1
- package/dist/pactile/tiles/content/ondemand/index.js +2 -16
- package/dist/pactile/tiles/content/ondemand/index.js.map +1 -1
- package/dist/pactile/tiles/loader.d.ts +1 -1
- package/dist/pactile/tiles/loader.d.ts.map +1 -1
- package/dist/pactile/tiles/loader.js +1 -1
- package/dist/pactile/tiles/loader.js.map +1 -1
- package/dist/templates/common/bundled-skills/pactile-check/SKILL.md +161 -161
- package/dist/templates/common/bundled-skills/pactile-check/references/fowler-12-smells.md +28 -28
- package/dist/templates/common/bundled-skills/pactile-handoff/SKILL.md +117 -117
- package/dist/templates/common/bundled-skills/pactile-meta/SKILL.md +75 -75
- package/dist/templates/common/bundled-skills/pactile-meta/references/customize-local/add-project-local-conventions.md +83 -83
- package/dist/templates/common/bundled-skills/pactile-meta/references/customize-local/change-agents.md +5 -47
- package/dist/templates/common/bundled-skills/pactile-meta/references/customize-local/change-context-loading.md +79 -84
- package/dist/templates/common/bundled-skills/pactile-meta/references/customize-local/change-hooks.md +5 -57
- package/dist/templates/common/bundled-skills/pactile-meta/references/customize-local/change-skills-or-commands.md +7 -77
- package/dist/templates/common/bundled-skills/pactile-meta/references/customize-local/change-spec-structure.md +83 -83
- package/dist/templates/common/bundled-skills/pactile-meta/references/customize-local/change-task-lifecycle.md +82 -88
- package/dist/templates/common/bundled-skills/pactile-meta/references/customize-local/change-workflow.md +65 -65
- package/dist/templates/common/bundled-skills/pactile-meta/references/customize-local/overview.md +12 -55
- package/dist/templates/common/bundled-skills/pactile-meta/references/local-architecture/context-injection.md +68 -68
- package/dist/templates/common/bundled-skills/pactile-meta/references/local-architecture/generated-files.md +7 -83
- package/dist/templates/common/bundled-skills/pactile-meta/references/local-architecture/overview.md +7 -51
- package/dist/templates/common/bundled-skills/pactile-meta/references/local-architecture/spec-system.md +102 -102
- package/dist/templates/common/bundled-skills/pactile-meta/references/local-architecture/task-system.md +138 -133
- package/dist/templates/common/bundled-skills/pactile-meta/references/local-architecture/workflow.md +75 -75
- package/dist/templates/common/bundled-skills/pactile-meta/references/local-architecture/workspace-memory.md +71 -71
- package/dist/templates/common/bundled-skills/pactile-meta/references/platform-files/agents.md +7 -69
- package/dist/templates/common/bundled-skills/pactile-meta/references/platform-files/hooks-and-settings.md +7 -59
- package/dist/templates/common/bundled-skills/pactile-meta/references/platform-files/overview.md +5 -45
- package/dist/templates/common/bundled-skills/pactile-meta/references/platform-files/platform-map.md +9 -45
- package/dist/templates/common/bundled-skills/pactile-meta/references/platform-files/skills-and-commands.md +7 -108
- package/dist/templates/common/bundled-skills/pactile-micro-grill/SKILL.md +68 -68
- package/dist/templates/common/bundled-skills/pactile-skill-creator/SKILL.md +47 -47
- package/dist/templates/common/bundled-skills/pactile-skill-creator/references/authoring-rules.md +170 -170
- package/dist/templates/common/bundled-skills/pactile-skill-creator/references/general-authoring.md +189 -189
- package/dist/templates/common/bundled-skills/pactile-skill-creator/references/pactile-skill-locations.md +11 -52
- package/dist/templates/common/bundled-skills/pactile-skill-creator/references/review-checklist.md +52 -52
- package/dist/templates/common/bundled-skills/pactile-spec-bootstrap/SKILL.md +41 -41
- package/dist/templates/common/bundled-skills/pactile-spec-bootstrap/references/mcp-setup.md +18 -90
- package/dist/templates/common/bundled-skills/pactile-spec-bootstrap/references/repository-analysis.md +41 -59
- package/dist/templates/common/bundled-skills/pactile-spec-bootstrap/references/spec-task-planning.md +61 -61
- package/dist/templates/common/bundled-skills/pactile-spec-bootstrap/references/spec-writing.md +70 -70
- package/dist/templates/common/bundled-skills/smart-search-cli/SKILL.md +393 -393
- package/dist/templates/common/bundled-skills/smart-search-cli/agents/openai.yaml +3 -3
- package/dist/templates/common/bundled-skills/smart-search-cli/examples/batch-search.md +98 -98
- package/dist/templates/common/bundled-skills/smart-search-cli/examples/evidence-gathering.md +89 -89
- package/dist/templates/common/bundled-skills/smart-search-cli/references/cli-contract.md +323 -323
- package/dist/templates/common/commands/continue.md +60 -62
- package/dist/templates/common/commands/finish-work.md +84 -82
- package/dist/templates/common/commands/start.md +66 -66
- package/dist/templates/common/index.d.ts +0 -20
- package/dist/templates/common/index.d.ts.map +1 -1
- package/dist/templates/common/index.js +0 -16
- package/dist/templates/common/index.js.map +1 -1
- package/dist/templates/common/skills/before-dev.md +35 -35
- package/dist/templates/common/skills/brainstorm.md +204 -204
- package/dist/templates/common/skills/break-loop.md +125 -125
- package/dist/templates/common/skills/update-spec.md +363 -363
- package/dist/templates/extract.d.ts +1 -8
- package/dist/templates/extract.d.ts.map +1 -1
- package/dist/templates/extract.js +0 -31
- package/dist/templates/extract.js.map +1 -1
- package/dist/templates/markdown/agents.md +14 -14
- package/dist/templates/markdown/framework/artifact-locale-guide.md.txt +93 -93
- package/dist/templates/markdown/framework/codex-worker-dispatch.md.txt +9 -0
- package/dist/templates/markdown/framework/dogfood-only-surfaces.md.txt +7 -28
- package/dist/templates/markdown/framework/execution-strategy.md.txt +14 -45
- package/dist/templates/markdown/framework/index.md.txt +20 -31
- package/dist/templates/markdown/framework/injection-budget-guide.md.txt +7 -111
- package/dist/templates/markdown/framework/middleware-protocol.md.txt +139 -238
- package/dist/templates/markdown/framework/parallel-first-execution.md.txt +116 -116
- package/dist/templates/markdown/framework/prd-grill-frontier.md.txt +105 -105
- package/dist/templates/markdown/framework/release-boundary.md.txt +30 -30
- package/dist/templates/markdown/framework/retrieval-daily-guide.md.txt +9 -199
- package/dist/templates/markdown/framework/upgrade.md.txt +15 -15
- package/dist/templates/markdown/framework/verification-strength-guide.md.txt +185 -185
- package/dist/templates/markdown/gitignore.txt +15 -15
- package/dist/templates/markdown/index.d.ts +1 -5
- package/dist/templates/markdown/index.d.ts.map +1 -1
- package/dist/templates/markdown/index.js +3 -23
- package/dist/templates/markdown/index.js.map +1 -1
- package/dist/templates/markdown/spec/backend/database-guidelines.md.txt +51 -51
- package/dist/templates/markdown/spec/backend/directory-structure.md.txt +54 -54
- package/dist/templates/markdown/spec/backend/error-handling.md.txt +51 -51
- package/dist/templates/markdown/spec/backend/index.md.txt +38 -38
- package/dist/templates/markdown/spec/backend/logging-guidelines.md.txt +51 -51
- package/dist/templates/markdown/spec/backend/quality-guidelines.md.txt +51 -51
- package/dist/templates/markdown/spec/frontend/component-guidelines.md.txt +59 -59
- package/dist/templates/markdown/spec/frontend/directory-structure.md.txt +54 -54
- package/dist/templates/markdown/spec/frontend/hook-guidelines.md.txt +51 -51
- package/dist/templates/markdown/spec/frontend/index.md.txt +39 -39
- package/dist/templates/markdown/spec/frontend/quality-guidelines.md.txt +51 -51
- package/dist/templates/markdown/spec/frontend/state-management.md.txt +51 -51
- package/dist/templates/markdown/spec/frontend/type-safety.md.txt +51 -51
- package/dist/templates/markdown/spec/guides/code-reuse-thinking-guide.md.txt +174 -174
- package/dist/templates/markdown/spec/guides/cross-layer-thinking-guide.md.txt +162 -162
- package/dist/templates/markdown/spec/guides/cross-platform-thinking-guide.md.txt +17 -634
- package/dist/templates/markdown/spec/guides/debug-loop-guide.md.txt +227 -227
- package/dist/templates/markdown/spec/guides/durable-learning-decision-guide.md.txt +75 -75
- package/dist/templates/markdown/spec/guides/e2e-walkthrough-guide.md.txt +88 -93
- package/dist/templates/markdown/spec/guides/index.md.txt +131 -131
- package/dist/templates/markdown/spec/guides/prototype-guide.md.txt +137 -139
- package/dist/templates/markdown/spec/guides/test-discipline-guide.md.txt +179 -179
- package/dist/templates/markdown/workspace-index.md +122 -125
- package/dist/templates/markdown/worktree.yaml.txt +58 -58
- package/dist/templates/pactile/CONTEXT.md +101 -113
- package/dist/templates/pactile/config/execution-strategy-rules.json +30 -31
- package/dist/templates/pactile/config.yaml +111 -130
- package/dist/templates/pactile/docs/adr/README.md +21 -21
- package/dist/templates/pactile/gitignore.txt +35 -35
- package/dist/templates/pactile/index.d.ts +3 -127
- package/dist/templates/pactile/index.d.ts.map +1 -1
- package/dist/templates/pactile/index.js +13 -298
- package/dist/templates/pactile/index.js.map +1 -1
- package/dist/templates/pactile/modules/approval-personal/contract.md +43 -43
- package/dist/templates/pactile/modules/close-basic/contract.md +37 -37
- package/dist/templates/pactile/modules/context-progressive/contract.md +44 -44
- package/dist/templates/pactile/modules/debug-recovery/contract.md +44 -44
- package/dist/templates/pactile/modules/define-basic/contract.md +39 -39
- package/dist/templates/pactile/modules/define-extended/contract.md +45 -45
- package/dist/templates/pactile/modules/execute-agent/contract.md +38 -38
- package/dist/templates/pactile/modules/independent-check/contract.md +35 -35
- package/dist/templates/pactile/modules/index.json +127 -133
- package/dist/templates/pactile/modules/intake-basic/contract.md +34 -34
- package/dist/templates/pactile/modules/observability-local/contract.md +31 -31
- package/dist/templates/pactile/modules/parent-child/contract.md +45 -45
- package/dist/templates/pactile/modules/personal-memory/contract.md +55 -55
- package/dist/templates/pactile/modules/retention-storage/contract.md +43 -43
- package/dist/templates/pactile/modules/retrieval-extended/contract.md +78 -77
- package/dist/templates/pactile/modules/session-transfer/contract.md +41 -41
- package/dist/templates/pactile/modules/spec-learning/contract.md +50 -50
- package/dist/templates/pactile/modules/vcs-integration/contract.md +46 -46
- package/dist/templates/pactile/modules/verify-basic/contract.md +38 -38
- package/dist/templates/pactile/modules/worker-orchestration/contract.md +47 -47
- package/dist/templates/pactile/scripts/retrieval_probe_matrix_template.json +43 -43
- package/dist/templates/pactile/tasks/locale/en/default-prd.md +27 -27
- package/dist/templates/pactile/tasks/locale/zh/default-prd.md +27 -27
- package/dist/templates/pactile/tasks/templates/release-execution/design.md +60 -60
- package/dist/templates/pactile/tasks/templates/release-execution/handoff-template.md +28 -28
- package/dist/templates/pactile/tasks/templates/release-execution/implement.md +28 -28
- package/dist/templates/pactile/tasks/templates/release-execution/prd.md +30 -30
- package/dist/templates/pactile/tasks/templates/release-readiness/design.md +49 -49
- package/dist/templates/pactile/tasks/templates/release-readiness/handoff-template.md +38 -38
- package/dist/templates/pactile/tasks/templates/release-readiness/implement.md +28 -28
- package/dist/templates/pactile/tasks/templates/release-readiness/prd.md +30 -30
- package/dist/templates/pactile/workflow.md +65 -64
- package/dist/types/ai-tools.d.ts +12 -13
- package/dist/types/ai-tools.d.ts.map +1 -1
- package/dist/types/ai-tools.js +15 -14
- package/dist/types/ai-tools.js.map +1 -1
- package/dist/utils/codebase-retrieval-router.d.ts +1 -1
- package/dist/utils/codebase-retrieval-router.d.ts.map +1 -1
- package/dist/utils/cwd-guard.js +1 -1
- package/dist/utils/cwd-guard.js.map +1 -1
- package/dist/utils/developer.d.ts +5 -0
- package/dist/utils/developer.d.ts.map +1 -0
- package/dist/utils/developer.js +38 -0
- package/dist/utils/developer.js.map +1 -0
- package/dist/utils/git-root.d.ts +3 -0
- package/dist/utils/git-root.d.ts.map +1 -0
- package/dist/utils/git-root.js +24 -0
- package/dist/utils/git-root.js.map +1 -0
- package/dist/utils/local-date.d.ts +3 -0
- package/dist/utils/local-date.d.ts.map +1 -0
- package/dist/utils/local-date.js +8 -0
- package/dist/utils/local-date.js.map +1 -0
- package/dist/utils/manifest-prune.d.ts +5 -4
- package/dist/utils/manifest-prune.d.ts.map +1 -1
- package/dist/utils/manifest-prune.js +11 -21
- package/dist/utils/manifest-prune.js.map +1 -1
- package/dist/utils/p36-upgrade.d.ts +1 -1
- package/dist/utils/p36-upgrade.d.ts.map +1 -1
- package/dist/utils/p36-upgrade.js +1 -1
- package/dist/utils/p36-upgrade.js.map +1 -1
- package/dist/utils/post-update-smoke.d.ts +1 -4
- package/dist/utils/post-update-smoke.d.ts.map +1 -1
- package/dist/utils/post-update-smoke.js +13 -25
- package/dist/utils/post-update-smoke.js.map +1 -1
- package/dist/utils/project-capabilities.d.ts +2 -17
- package/dist/utils/project-capabilities.d.ts.map +1 -1
- package/dist/utils/project-capabilities.js +14 -119
- package/dist/utils/project-capabilities.js.map +1 -1
- package/dist/utils/readiness.d.ts +14 -0
- package/dist/utils/readiness.d.ts.map +1 -1
- package/dist/utils/readiness.js +61 -30
- package/dist/utils/readiness.js.map +1 -1
- package/dist/utils/retrieval-execution-telemetry.d.ts +1 -1
- package/dist/utils/retrieval-execution-telemetry.d.ts.map +1 -1
- package/dist/utils/retrieval-result-ranking.d.ts +1 -1
- package/dist/utils/retrieval-result-ranking.d.ts.map +1 -1
- package/dist/utils/retrieval-tool-classification.d.ts +1 -1
- package/dist/utils/retrieval-tool-classification.d.ts.map +1 -1
- package/dist/utils/task-json.d.ts +3 -3
- package/dist/utils/task-json.d.ts.map +1 -1
- package/dist/utils/task-json.js +3 -3
- package/dist/utils/task-json.js.map +1 -1
- package/dist/utils/template-hash.d.ts +4 -0
- package/dist/utils/template-hash.d.ts.map +1 -1
- package/dist/utils/template-hash.js +1 -1
- package/dist/utils/template-hash.js.map +1 -1
- package/dist/utils/update-rollout-report.d.ts +9 -0
- package/dist/utils/update-rollout-report.d.ts.map +1 -1
- package/dist/utils/update-rollout-report.js +14 -1
- package/dist/utils/update-rollout-report.js.map +1 -1
- package/package.json +22 -11
- package/scripts/postinstall.js +6 -6
- package/dist/commands/channel/adapters/claude.d.ts +0 -29
- package/dist/commands/channel/adapters/claude.d.ts.map +0 -1
- package/dist/commands/channel/adapters/claude.js +0 -203
- package/dist/commands/channel/adapters/claude.js.map +0 -1
- package/dist/commands/channel/adapters/codex.d.ts +0 -85
- package/dist/commands/channel/adapters/codex.d.ts.map +0 -1
- package/dist/commands/channel/adapters/codex.js +0 -505
- package/dist/commands/channel/adapters/codex.js.map +0 -1
- package/dist/commands/channel/adapters/index.d.ts +0 -84
- package/dist/commands/channel/adapters/index.d.ts.map +0 -1
- package/dist/commands/channel/adapters/index.js +0 -115
- package/dist/commands/channel/adapters/index.js.map +0 -1
- package/dist/commands/channel/adapters/types.d.ts +0 -33
- package/dist/commands/channel/adapters/types.d.ts.map +0 -1
- package/dist/commands/channel/adapters/types.js +0 -2
- package/dist/commands/channel/adapters/types.js.map +0 -1
- package/dist/commands/channel/agent-loader.d.ts +0 -32
- package/dist/commands/channel/agent-loader.d.ts.map +0 -1
- package/dist/commands/channel/agent-loader.js +0 -154
- package/dist/commands/channel/agent-loader.js.map +0 -1
- package/dist/commands/channel/context-loader.d.ts +0 -26
- package/dist/commands/channel/context-loader.d.ts.map +0 -1
- package/dist/commands/channel/context-loader.js +0 -290
- package/dist/commands/channel/context-loader.js.map +0 -1
- package/dist/commands/channel/context.d.ts +0 -16
- package/dist/commands/channel/context.d.ts.map +0 -1
- package/dist/commands/channel/context.js +0 -83
- package/dist/commands/channel/context.js.map +0 -1
- package/dist/commands/channel/create.d.ts +0 -27
- package/dist/commands/channel/create.d.ts.map +0 -1
- package/dist/commands/channel/create.js +0 -39
- package/dist/commands/channel/create.js.map +0 -1
- package/dist/commands/channel/dev-parse-trace.d.ts +0 -14
- package/dist/commands/channel/dev-parse-trace.d.ts.map +0 -1
- package/dist/commands/channel/dev-parse-trace.js +0 -70
- package/dist/commands/channel/dev-parse-trace.js.map +0 -1
- package/dist/commands/channel/guard.d.ts +0 -150
- package/dist/commands/channel/guard.d.ts.map +0 -1
- package/dist/commands/channel/guard.js +0 -475
- package/dist/commands/channel/guard.js.map +0 -1
- package/dist/commands/channel/index.d.ts +0 -3
- package/dist/commands/channel/index.d.ts.map +0 -1
- package/dist/commands/channel/index.js +0 -531
- package/dist/commands/channel/index.js.map +0 -1
- package/dist/commands/channel/interrupt.d.ts +0 -10
- package/dist/commands/channel/interrupt.d.ts.map +0 -1
- package/dist/commands/channel/interrupt.js +0 -22
- package/dist/commands/channel/interrupt.js.map +0 -1
- package/dist/commands/channel/kill.d.ts +0 -7
- package/dist/commands/channel/kill.d.ts.map +0 -1
- package/dist/commands/channel/kill.js +0 -121
- package/dist/commands/channel/kill.js.map +0 -1
- package/dist/commands/channel/list.d.ts +0 -17
- package/dist/commands/channel/list.d.ts.map +0 -1
- package/dist/commands/channel/list.js +0 -233
- package/dist/commands/channel/list.js.map +0 -1
- package/dist/commands/channel/messages.d.ts +0 -15
- package/dist/commands/channel/messages.d.ts.map +0 -1
- package/dist/commands/channel/messages.js +0 -245
- package/dist/commands/channel/messages.js.map +0 -1
- package/dist/commands/channel/rm.d.ts +0 -27
- package/dist/commands/channel/rm.d.ts.map +0 -1
- package/dist/commands/channel/rm.js +0 -216
- package/dist/commands/channel/rm.js.map +0 -1
- package/dist/commands/channel/run.d.ts +0 -30
- package/dist/commands/channel/run.d.ts.map +0 -1
- package/dist/commands/channel/run.js +0 -130
- package/dist/commands/channel/run.js.map +0 -1
- package/dist/commands/channel/send.d.ts +0 -11
- package/dist/commands/channel/send.d.ts.map +0 -1
- package/dist/commands/channel/send.js +0 -24
- package/dist/commands/channel/send.js.map +0 -1
- package/dist/commands/channel/spawn.d.ts +0 -40
- package/dist/commands/channel/spawn.d.ts.map +0 -1
- package/dist/commands/channel/spawn.js +0 -242
- package/dist/commands/channel/spawn.js.map +0 -1
- package/dist/commands/channel/store/events.d.ts +0 -39
- package/dist/commands/channel/store/events.d.ts.map +0 -1
- package/dist/commands/channel/store/events.js +0 -87
- package/dist/commands/channel/store/events.js.map +0 -1
- package/dist/commands/channel/store/filter.d.ts +0 -3
- package/dist/commands/channel/store/filter.d.ts.map +0 -1
- package/dist/commands/channel/store/filter.js +0 -2
- package/dist/commands/channel/store/filter.js.map +0 -1
- package/dist/commands/channel/store/lock.d.ts +0 -23
- package/dist/commands/channel/store/lock.d.ts.map +0 -1
- package/dist/commands/channel/store/lock.js +0 -99
- package/dist/commands/channel/store/lock.js.map +0 -1
- package/dist/commands/channel/store/paths.d.ts +0 -63
- package/dist/commands/channel/store/paths.d.ts.map +0 -1
- package/dist/commands/channel/store/paths.js +0 -247
- package/dist/commands/channel/store/paths.js.map +0 -1
- package/dist/commands/channel/store/schema.d.ts +0 -27
- package/dist/commands/channel/store/schema.d.ts.map +0 -1
- package/dist/commands/channel/store/schema.js +0 -34
- package/dist/commands/channel/store/schema.js.map +0 -1
- package/dist/commands/channel/store/thread-state.d.ts +0 -5
- package/dist/commands/channel/store/thread-state.d.ts.map +0 -1
- package/dist/commands/channel/store/thread-state.js +0 -16
- package/dist/commands/channel/store/thread-state.js.map +0 -1
- package/dist/commands/channel/store/watch.d.ts +0 -19
- package/dist/commands/channel/store/watch.d.ts.map +0 -1
- package/dist/commands/channel/store/watch.js +0 -146
- package/dist/commands/channel/store/watch.js.map +0 -1
- package/dist/commands/channel/supervisor/idle.d.ts +0 -46
- package/dist/commands/channel/supervisor/idle.d.ts.map +0 -1
- package/dist/commands/channel/supervisor/idle.js +0 -72
- package/dist/commands/channel/supervisor/idle.js.map +0 -1
- package/dist/commands/channel/supervisor/inbox.d.ts +0 -30
- package/dist/commands/channel/supervisor/inbox.d.ts.map +0 -1
- package/dist/commands/channel/supervisor/inbox.js +0 -160
- package/dist/commands/channel/supervisor/inbox.js.map +0 -1
- package/dist/commands/channel/supervisor/shutdown.d.ts +0 -68
- package/dist/commands/channel/supervisor/shutdown.d.ts.map +0 -1
- package/dist/commands/channel/supervisor/shutdown.js +0 -146
- package/dist/commands/channel/supervisor/shutdown.js.map +0 -1
- package/dist/commands/channel/supervisor/stdout.d.ts +0 -51
- package/dist/commands/channel/supervisor/stdout.d.ts.map +0 -1
- package/dist/commands/channel/supervisor/stdout.js +0 -121
- package/dist/commands/channel/supervisor/stdout.js.map +0 -1
- package/dist/commands/channel/supervisor/turns.d.ts +0 -31
- package/dist/commands/channel/supervisor/turns.d.ts.map +0 -1
- package/dist/commands/channel/supervisor/turns.js +0 -45
- package/dist/commands/channel/supervisor/turns.js.map +0 -1
- package/dist/commands/channel/supervisor/warning.d.ts +0 -48
- package/dist/commands/channel/supervisor/warning.d.ts.map +0 -1
- package/dist/commands/channel/supervisor/warning.js +0 -77
- package/dist/commands/channel/supervisor/warning.js.map +0 -1
- package/dist/commands/channel/supervisor.d.ts +0 -59
- package/dist/commands/channel/supervisor.d.ts.map +0 -1
- package/dist/commands/channel/supervisor.js +0 -345
- package/dist/commands/channel/supervisor.js.map +0 -1
- package/dist/commands/channel/text-body.d.ts +0 -13
- package/dist/commands/channel/text-body.d.ts.map +0 -1
- package/dist/commands/channel/text-body.js +0 -47
- package/dist/commands/channel/text-body.js.map +0 -1
- package/dist/commands/channel/threads.d.ts +0 -39
- package/dist/commands/channel/threads.d.ts.map +0 -1
- package/dist/commands/channel/threads.js +0 -106
- package/dist/commands/channel/threads.js.map +0 -1
- package/dist/commands/channel/title.d.ts +0 -12
- package/dist/commands/channel/title.d.ts.map +0 -1
- package/dist/commands/channel/title.js +0 -24
- package/dist/commands/channel/title.js.map +0 -1
- package/dist/commands/channel/wait.d.ts +0 -17
- package/dist/commands/channel/wait.d.ts.map +0 -1
- package/dist/commands/channel/wait.js +0 -75
- package/dist/commands/channel/wait.js.map +0 -1
- package/dist/commands/validate-rules.d.ts +0 -6
- package/dist/commands/validate-rules.d.ts.map +0 -1
- package/dist/commands/validate-rules.js +0 -33
- package/dist/commands/validate-rules.js.map +0 -1
- package/dist/configurators/cursor.d.ts +0 -21
- package/dist/configurators/cursor.d.ts.map +0 -1
- package/dist/configurators/cursor.js +0 -51
- package/dist/configurators/cursor.js.map +0 -1
- package/dist/pactile/adapters/cursor/index.d.ts +0 -60
- package/dist/pactile/adapters/cursor/index.d.ts.map +0 -1
- package/dist/pactile/adapters/cursor/index.js +0 -186
- package/dist/pactile/adapters/cursor/index.js.map +0 -1
- package/dist/templates/common/optional-skills/chrome-cdp/SKILL.md +0 -179
- package/dist/templates/common/optional-skills/chrome-cdp/examples/fetch-hook-api-capture.md +0 -149
- package/dist/templates/common/optional-skills/chrome-cdp/scripts/cdp.mjs +0 -904
- package/dist/templates/cursor/agents/pactile-check.md +0 -58
- package/dist/templates/cursor/agents/pactile-implement.md +0 -56
- package/dist/templates/cursor/agents/pactile-research.md +0 -51
- package/dist/templates/cursor/commands/handoff.md +0 -101
- package/dist/templates/cursor/fixtures/expected-rules.d.ts +0 -14
- package/dist/templates/cursor/fixtures/expected-rules.d.ts.map +0 -1
- package/dist/templates/cursor/fixtures/expected-rules.js +0 -20
- package/dist/templates/cursor/fixtures/expected-rules.js.map +0 -1
- package/dist/templates/cursor/hooks.json +0 -52
- package/dist/templates/cursor/index.d.ts +0 -19
- package/dist/templates/cursor/index.d.ts.map +0 -1
- package/dist/templates/cursor/index.js +0 -19
- package/dist/templates/cursor/index.js.map +0 -1
- package/dist/templates/cursor/rules/pactile-bootstrap.mdc +0 -18
- package/dist/templates/cursor/worktrees.json +0 -11
- package/dist/templates/markdown/framework/cursor-context-injection-guide.md.txt +0 -85
- package/dist/templates/markdown/framework/cursor-native-modes-guide.md.txt +0 -239
- package/dist/templates/markdown/framework/cursor-semantic-compliance.md.txt +0 -41
- package/dist/templates/markdown/framework/cursor-subagent-policy.md.txt +0 -90
- package/dist/templates/markdown/framework/internal-skills-cursor-reachability.md.txt +0 -45
- package/dist/templates/markdown/prompts/run-semantic-slice-12.md.txt +0 -25
- package/dist/templates/pactile/modules/candidate-pool/contract.md +0 -37
- package/dist/templates/pactile/pool/README.md +0 -149
- package/dist/templates/pactile/pool/items/.gitkeep +0 -0
- package/dist/templates/pactile/pool/plan.md +0 -50
- package/dist/templates/pactile/scripts/__init__.py +0 -5
- package/dist/templates/pactile/scripts/add_session.py +0 -547
- package/dist/templates/pactile/scripts/build_context_pack.py +0 -17
- package/dist/templates/pactile/scripts/build_retrieval_pack.py +0 -376
- package/dist/templates/pactile/scripts/codegraph_session_smoke.py +0 -76
- package/dist/templates/pactile/scripts/common/__init__.py +0 -103
- package/dist/templates/pactile/scripts/common/active_task.py +0 -576
- package/dist/templates/pactile/scripts/common/adapter_middleware.py +0 -1373
- package/dist/templates/pactile/scripts/common/artifact_locale.py +0 -303
- package/dist/templates/pactile/scripts/common/artifact_search.py +0 -587
- package/dist/templates/pactile/scripts/common/cli_adapter.py +0 -135
- package/dist/templates/pactile/scripts/common/cli_environment.py +0 -155
- package/dist/templates/pactile/scripts/common/codebase_retrieval_router.py +0 -1339
- package/dist/templates/pactile/scripts/common/config.py +0 -497
- package/dist/templates/pactile/scripts/common/context_pack.py +0 -371
- package/dist/templates/pactile/scripts/common/cursor_retrieval_env.py +0 -31
- package/dist/templates/pactile/scripts/common/developer.py +0 -190
- package/dist/templates/pactile/scripts/common/execution_strategy.py +0 -268
- package/dist/templates/pactile/scripts/common/full_quality.py +0 -237
- package/dist/templates/pactile/scripts/common/git.py +0 -37
- package/dist/templates/pactile/scripts/common/git_context.py +0 -198
- package/dist/templates/pactile/scripts/common/injection_budget.py +0 -317
- package/dist/templates/pactile/scripts/common/io.py +0 -37
- package/dist/templates/pactile/scripts/common/kernel_command.py +0 -369
- package/dist/templates/pactile/scripts/common/lite_context.py +0 -280
- package/dist/templates/pactile/scripts/common/log.py +0 -45
- package/dist/templates/pactile/scripts/common/ondemand_topology.py +0 -419
- package/dist/templates/pactile/scripts/common/packages_context.py +0 -239
- package/dist/templates/pactile/scripts/common/pactile_config.py +0 -131
- package/dist/templates/pactile/scripts/common/parallel_declaration.py +0 -369
- package/dist/templates/pactile/scripts/common/parent_orchestration.py +0 -1198
- package/dist/templates/pactile/scripts/common/paths.py +0 -756
- package/dist/templates/pactile/scripts/common/pool_refs.py +0 -119
- package/dist/templates/pactile/scripts/common/pool_slice.py +0 -269
- package/dist/templates/pactile/scripts/common/pool_store.py +0 -766
- package/dist/templates/pactile/scripts/common/project_file_stats.py +0 -91
- package/dist/templates/pactile/scripts/common/retrieval_adapter_metadata.py +0 -943
- package/dist/templates/pactile/scripts/common/retrieval_agent_instructions.py +0 -123
- package/dist/templates/pactile/scripts/common/retrieval_evidence.py +0 -915
- package/dist/templates/pactile/scripts/common/retrieval_pack.py +0 -422
- package/dist/templates/pactile/scripts/common/retrieval_pack_context.py +0 -122
- package/dist/templates/pactile/scripts/common/retrieval_plan_gate.py +0 -61
- package/dist/templates/pactile/scripts/common/retrieval_result_ranking.py +0 -104
- package/dist/templates/pactile/scripts/common/retrieval_tool_classification.py +0 -166
- package/dist/templates/pactile/scripts/common/safe_commit.py +0 -285
- package/dist/templates/pactile/scripts/common/semantic_plan_gate.py +0 -53
- package/dist/templates/pactile/scripts/common/session_context.py +0 -1213
- package/dist/templates/pactile/scripts/common/session_memory.py +0 -386
- package/dist/templates/pactile/scripts/common/session_pack.py +0 -886
- package/dist/templates/pactile/scripts/common/smart_search_evidence.py +0 -514
- package/dist/templates/pactile/scripts/common/smart_search_resolve.py +0 -150
- package/dist/templates/pactile/scripts/common/subagent_dispatch.py +0 -592
- package/dist/templates/pactile/scripts/common/task_context.py +0 -241
- package/dist/templates/pactile/scripts/common/task_dashboard.py +0 -286
- package/dist/templates/pactile/scripts/common/task_dependencies.py +0 -648
- package/dist/templates/pactile/scripts/common/task_gates.py +0 -2478
- package/dist/templates/pactile/scripts/common/task_map.py +0 -703
- package/dist/templates/pactile/scripts/common/task_queue.py +0 -188
- package/dist/templates/pactile/scripts/common/task_store.py +0 -2252
- package/dist/templates/pactile/scripts/common/task_utils.py +0 -274
- package/dist/templates/pactile/scripts/common/tasks.py +0 -231
- package/dist/templates/pactile/scripts/common/test_adapter_middleware.py +0 -199
- package/dist/templates/pactile/scripts/common/test_depends_mode_block.py +0 -509
- package/dist/templates/pactile/scripts/common/test_full_quality.py +0 -197
- package/dist/templates/pactile/scripts/common/test_kernel_command.py +0 -336
- package/dist/templates/pactile/scripts/common/test_lite_path.py +0 -190
- package/dist/templates/pactile/scripts/common/test_observable_defaults.py +0 -141
- package/dist/templates/pactile/scripts/common/test_ondemand_topology.py +0 -237
- package/dist/templates/pactile/scripts/common/test_parallel_declaration.py +0 -264
- package/dist/templates/pactile/scripts/common/test_pool_slice.py +0 -198
- package/dist/templates/pactile/scripts/common/test_pool_store.py +0 -452
- package/dist/templates/pactile/scripts/common/test_retrieval_arbitration.py +0 -331
- package/dist/templates/pactile/scripts/common/test_task_dashboard.py +0 -155
- package/dist/templates/pactile/scripts/common/test_task_dependencies.py +0 -329
- package/dist/templates/pactile/scripts/common/test_task_store_kernel_patch.py +0 -163
- package/dist/templates/pactile/scripts/common/types.py +0 -110
- package/dist/templates/pactile/scripts/common/workflow_phase.py +0 -194
- package/dist/templates/pactile/scripts/compile_session_pack.py +0 -15
- package/dist/templates/pactile/scripts/cursor_retrieval_probe.py +0 -64
- package/dist/templates/pactile/scripts/cursor_retrieval_probe_prompt.md +0 -33
- package/dist/templates/pactile/scripts/generate_dispatch_prompt.py +0 -182
- package/dist/templates/pactile/scripts/get_context.py +0 -19
- package/dist/templates/pactile/scripts/get_developer.py +0 -26
- package/dist/templates/pactile/scripts/hooks/linear_sync.py +0 -243
- package/dist/templates/pactile/scripts/init_developer.py +0 -51
- package/dist/templates/pactile/scripts/injection_budget_probe.py +0 -69
- package/dist/templates/pactile/scripts/pool.py +0 -237
- package/dist/templates/pactile/scripts/rank_retrieval_candidates.py +0 -98
- package/dist/templates/pactile/scripts/route_codebase_retrieval.py +0 -72
- package/dist/templates/pactile/scripts/run_smart_search.py +0 -12
- package/dist/templates/pactile/scripts/score_evidence.py +0 -131
- package/dist/templates/pactile/scripts/search_artifacts.py +0 -13
- package/dist/templates/pactile/scripts/search_memory.py +0 -12
- package/dist/templates/pactile/scripts/spec_health_outcomes.py +0 -160
- package/dist/templates/pactile/scripts/task.py +0 -1118
- package/dist/templates/pactile/scripts/verify_evidence_probe.py +0 -138
- package/dist/templates/shared-hooks/event-bridge.py +0 -121
- package/dist/templates/shared-hooks/index.d.ts +0 -50
- package/dist/templates/shared-hooks/index.d.ts.map +0 -1
- package/dist/templates/shared-hooks/index.js +0 -96
- package/dist/templates/shared-hooks/index.js.map +0 -1
- package/dist/templates/shared-hooks/inject-retrieval-plan.py +0 -217
- package/dist/templates/shared-hooks/inject-shell-session-context.py +0 -183
- package/dist/templates/shared-hooks/inject-subagent-context.py +0 -267
- package/dist/templates/shared-hooks/inject-workflow-state.py +0 -106
- package/dist/templates/shared-hooks/rename-session-for-task.py +0 -231
- package/dist/templates/shared-hooks/research-end-retrieval-pack.py +0 -345
- package/dist/templates/shared-hooks/session-start.py +0 -355
- package/dist/templates/shared-hooks/spec-write-audit.py +0 -173
- package/dist/utils/mirror-check.d.ts +0 -22
- package/dist/utils/mirror-check.d.ts.map +0 -1
- package/dist/utils/mirror-check.js +0 -90
- package/dist/utils/mirror-check.js.map +0 -1
- package/dist/utils/validate-rules.d.ts +0 -21
- package/dist/utils/validate-rules.d.ts.map +0 -1
- package/dist/utils/validate-rules.js +0 -88
- package/dist/utils/validate-rules.js.map +0 -1
|
@@ -1,239 +0,0 @@
|
|
|
1
|
-
# Cursor native modes — bind when native, degrade in one sentence
|
|
2
|
-
|
|
3
|
-
> **Purpose**: This file is the **Cursor Adapter**. Kernel, Baseline module contracts, and host-agnostic CLI name **slots and capabilities** only. Cursor-specific nouns, probes, and UI drive live **here**. Prefer native; when a surface fails, say **one sentence** (what happened, where it landed) and keep going. Do **not** reimplement modes. Do **not** publish a “this version doesn’t support …” catalog.
|
|
4
|
-
>
|
|
5
|
-
> **Human lifecycle** (Kernel projection): Open → Define → Approve → Execute → Verify → Integrate? → Close. PACTILE shows up at those three gates and in `prd.md` / `verify.md`. Everywhere else the user should feel they are using Cursor.
|
|
6
|
-
>
|
|
7
|
-
> **Not a Pactile Task**: official `/goal` / `CreateGoal`. Do **not** restore `pactile-goal`.
|
|
8
|
-
|
|
9
|
-
---
|
|
10
|
-
|
|
11
|
-
## Core vs Adapter (zero host coupling)
|
|
12
|
-
|
|
13
|
-
| Layer | Owns | Must not |
|
|
14
|
-
| --- | --- | --- |
|
|
15
|
-
| **Core** (Kernel / Baseline contracts / host-agnostic CLI) | Slots: Define, Execute, Evidence, typed worker, isolation, `exact` / `semantic` / `structural` / `external` | `SwitchMode`, `CreateGoal`, Multitask, Canvas, Bugbot, Cursor browser, `.cursor/` as SSOT, Build-probe events |
|
|
16
|
-
| **This Adapter** | Evaluate each named Cursor surface; bind or write the one-sentence degrade; visible parallel | Fake a native surface; write those names into Kernel extras / Event Bridge / module contracts |
|
|
17
|
-
|
|
18
|
-
Host bindings (typed Task names, Multitask, Plan, Goal) belong **only** in this guide. Do not write them back into `worker-orchestration` or Kernel schema.
|
|
19
|
-
|
|
20
|
-
This guide is **on-demand**. It is not the always-on Bootstrap (`.cursor/rules/pactile-bootstrap.mdc`).
|
|
21
|
-
|
|
22
|
-
---
|
|
23
|
-
|
|
24
|
-
## Experience (Q11–Q14) — function first, invisible unless needed
|
|
25
|
-
|
|
26
|
-
- **Q11.** The user is using Cursor. PACTILE is visible at Open / Execute / Finalize and on `prd.md` / `verify.md`. One **next native action** is allowed. Do **not** ask the user to type `python` or run CLI — the Agent is the hand.
|
|
27
|
-
- **Q12.** Host surface failed → **one sentence**: what happened, and where work already landed. No catalog. No blaming the host.
|
|
28
|
-
- **Q13 / Q16.** If a **visible** host parallel surface can open (Multitask / Build in Parallel), open it. There is **no** stable API to open that UI. Ask the user to open it and hand each worker pack. If they do not, `Task()` plus one Q12 sentence. **Do not block.** Same-session silent `Task()` is a degrade and must say so.
|
|
29
|
-
- **Q14.** If function is unaffected, do not announce the framework. Must show: the three gates, a Q12 degrade, and (when a task is selected) one next action. **No** opening “loaded” probe. No task → answer directly.
|
|
30
|
-
|
|
31
|
-
---
|
|
32
|
-
|
|
33
|
-
## Q5 slot map (named surfaces → Adapt / Enhance / Supplement)
|
|
34
|
-
|
|
35
|
-
| PACTILE slot or need | Cursor native | Adapt | Enhance | Supplement |
|
|
36
|
-
| --- | --- | --- | --- | --- |
|
|
37
|
-
| Task identity / lifecycle / gates / evidence | none | — | — | Kernel (minimum set) |
|
|
38
|
-
| Pool / Profile / principles | none | — | — | `.pactile/pool` and related |
|
|
39
|
-
| Define / AC | Plan | Full **must** try the host design surface once | Draft is not definition until it lands in `{TASK}/prd.md` | Fail → Agent writes artifacts + Q12 |
|
|
40
|
-
| Approve | chat confirm | Do not invent a confirm UI | — | `start-execution --approved` |
|
|
41
|
-
| Execute | Agent | Default; leave design surface for Agent | Stay inside the contract; isolatable units fan out | — |
|
|
42
|
-
| Parallel / isolation | Multitask / `Task` / worktree | Visible surface first (Q13) | Worker pack; `serial_reason`; Parent `integrate-child` | No surface → inline + Q12 |
|
|
43
|
-
| Verify | Debug | Use when runtime evidence is needed | Evidence → `verify.md` | — |
|
|
44
|
-
| Extra review | Bugbot / Security Review | Call when callable | Appendix signal only | Contract Check (P06) is not replaced |
|
|
45
|
-
| Verify visible Web UI | Browser | Use when a visible UI changed | Evidence → `verify.md` | Kernel does not name a browser |
|
|
46
|
-
| In-window durable objective | `/goal` | Q4=A | `UpdateGoal`; ≠ Close Task | Do not restore `pactile-goal` |
|
|
47
|
-
| Analysis / inventory deliverable | Canvas | Use for that class of deliverable | Does not replace task-artifact SSOT | No Kernel canvas slot |
|
|
48
|
-
| Recurring / loop | Automations / Loop | **Unbound** | — | No new lifecycle slot |
|
|
49
|
-
| Read-only Q&A | Ask | If the user is already on Ask, stay read-only | Agent **cannot** `SwitchMode` → Ask | No-task read-only |
|
|
50
|
-
| Continue | chat history (weak) | Do not rebuild chat | — | `/pactile-continue` |
|
|
51
|
-
| Handoff | no stable equivalent | — | — | `/pactile-handoff` |
|
|
52
|
-
| Codebase retrieval | native semantic / search | Four intents prefer native | Do not bind tool names in Bootstrap | Intent router; Optional codegraph |
|
|
53
|
-
| External knowledge | platform Web | Downgrade only | — | smart-search |
|
|
54
|
-
| Hook / session pack | hooks | Event Bridge | Compile Session Pack | Kernel extras (events, not Build) |
|
|
55
|
-
| User entry | `/`, official Skills | Three-piece escape hatch | Internal skills reachable, not in the `/` menu | — |
|
|
56
|
-
| Check worker | typed Check worker | Dispatch when the enum exists | Dual-axis; honest self-review | No independent worker → main-session second pass |
|
|
57
|
-
| Statusline / Share / SDK / other | product surfaces | **Unbound** | Do not grow Kernel | Write “no slot” |
|
|
58
|
-
|
|
59
|
-
Unnamed native surfaces default to **unbound**. Binding sentences stay in this guide.
|
|
60
|
-
|
|
61
|
-
---
|
|
62
|
-
|
|
63
|
-
## Human phases ↔ Cursor modes
|
|
64
|
-
|
|
65
|
-
| Human phase | Cursor binding | One-sentence fallback (Q12) |
|
|
66
|
-
| --- | --- | --- |
|
|
67
|
-
| **Open** | Stay in Agent (or Ask if the user is already there and the ask is read-only) | “No task yet — answered in chat.” No product writes |
|
|
68
|
-
| **Define** | **Plan** — Full: `SwitchMode(plan)` immediately (Q15) | “Plan switch failed; definition is in `{TASK}/prd.md`.” |
|
|
69
|
-
| **Approve** | Agent — request the Execute gate; `--check` is not approval | Same artifacts; do not start Execute |
|
|
70
|
-
| **Execute** | **Agent** — `SwitchMode(agent)` when returning from Plan. Isolatable units: ask the user to open Multitask and hand worker packs; else `Task()` + Q12 (do not block) | Diff under the approved contract |
|
|
71
|
-
| **Verify** | **Debug** when runtime evidence is needed; else Agent | Proof always lands in `verify.md` |
|
|
72
|
-
| **Integrate?** | Serial Parent `integrate-child` (`merge_limit: 1`) | One-at-a-time merge; `parent_id` alone is not Parent |
|
|
73
|
-
| **Close** | Agent + `UpdateGoal` complete or cancel (Q22) | `verify.md` coverage + `/pactile-finish-work`. Goal failure does not block Close |
|
|
74
|
-
|
|
75
|
-
`Integrate?` is visible only when topology needs it (parent-child, or the task is already in Integrate). Lite single tasks skip it.
|
|
76
|
-
|
|
77
|
-
---
|
|
78
|
-
|
|
79
|
-
## Prefer / Adapt table (mode × lifecycle × artifacts)
|
|
80
|
-
|
|
81
|
-
| Cursor mode | Prefer when | Task-driven Prefer | One-sentence pactile fallback | Durable artifacts |
|
|
82
|
-
| --- | --- | --- | --- | --- |
|
|
83
|
-
| **Ask** | Explain / lookup; **no** durable change | Prefer Ask UI / side chat when the user is already there. **Agent cannot `SwitchMode` → Ask** | In-session no-task read-only (no `task.py create` without consent) | None |
|
|
84
|
-
| **Plan** | Scope / design / tradeoffs before code | Full Define: **`SwitchMode(plan)` immediately**. After review, `SwitchMode(agent)` or A′. **Save to workspace**, then map into `{TASK}/prd.md` | “Plan switch failed; wrote `{TASK}/prd.md`.” | Definition surfaces |
|
|
85
|
-
| **Agent** | Approved build / verify / close | Default for **Execute** (and Approve / Close). `SwitchMode(agent)` when returning from Plan | — | Diff, `verify.md`, gates |
|
|
86
|
-
| **Debug** | Repro / runtime / regressions | Prefer real Cursor Debug when reachable. Adapter does **not** own Debug UI docs | Evidence → `verify.md` | Notes / logs in `verify.md` |
|
|
87
|
-
| **Multitask** | Independent write-sets after Execute is approved | Ask the user to open Multitask / Build in Parallel and hand worker packs. No API → `Task()` + Q12. **Not** a Pactile scheduler | Explicit `.pactile/tasks/<dir>` + Parent `integrate-child`; serial needs `serial_reason` | Child `verify` / `handoff`; Parent `task-map` |
|
|
88
|
-
| **Canvas** | Analysis / inventory deliverable | Use for that class only. If unused, one sentence “not an analysis canvas deliverable” | Task artifacts remain SSOT | None in Kernel |
|
|
89
|
-
| **Browser** | Visible Web UI changed | Capture evidence into `verify.md` | “UI changed; browser capture skipped — see `verify.md`.” | `verify.md` |
|
|
90
|
-
| **Bugbot / Security Review** | Extra review wanted | Call when callable; appendix only | Contract Check still required | Appendix in `verify.md` |
|
|
91
|
-
|
|
92
|
-
---
|
|
93
|
-
|
|
94
|
-
## Mode-specific contracts
|
|
95
|
-
|
|
96
|
-
### Ask ↔ no-task read-only
|
|
97
|
-
|
|
98
|
-
- Official Ask does not edit files.
|
|
99
|
-
- **Agent tools cannot `SwitchMode` into Ask.** If the user is not already on Ask, stay in Agent and keep the turn read-only.
|
|
100
|
-
- Pure Q&A is no-task; no task creation without consent. Answer directly (Q14).
|
|
101
|
-
- Side chats during Agent runs are still not Pactile artifacts.
|
|
102
|
-
|
|
103
|
-
### Plan ↔ Define (Q15, Q23, Q24)
|
|
104
|
-
|
|
105
|
-
- **Full Define:** `SwitchMode(plan)` immediately. Lite may stay in Agent.
|
|
106
|
-
- Default plan save = **home directory** — **Save to workspace**, then the Agent maps into `{TASK}/prd.md` (and `design.md` / `implement.md` as the contract requires).
|
|
107
|
-
- **Unlanded Plan must not map to Execute** (Q23).
|
|
108
|
-
- Does **not** skip `start-execution --check` / Execute approval.
|
|
109
|
-
- No product-code edits until Execute is approved (Q24). A human “start / Build” while still in Define is **A′**, not a skip.
|
|
110
|
-
- If Plan switch or save fails: Q12 one sentence and author the same files in Agent.
|
|
111
|
-
|
|
112
|
-
### Agent ↔ Execute
|
|
113
|
-
|
|
114
|
-
- Default binding for **Execute**.
|
|
115
|
-
- Stay inside the approved Definition / AC (and Full execution/verification contract).
|
|
116
|
-
- Contract change → Return-to-Define, then the Execute gate again.
|
|
117
|
-
- **Q19:** the main window collects worker **summaries**, conflicts, and gates — not full worker transcripts.
|
|
118
|
-
|
|
119
|
-
### Debug ↔ evidence in `verify.md`
|
|
120
|
-
|
|
121
|
-
- Prefer Cursor Debug instrumentation when reachable.
|
|
122
|
-
- Always land proof in **`verify.md`**. Adapter does not ship Debug UI instructions.
|
|
123
|
-
- Contract change → Return-to-Define. Implementation defect → back to Execute.
|
|
124
|
-
|
|
125
|
-
### Visible parallel ↔ worker packs (Q13, Q16)
|
|
126
|
-
|
|
127
|
-
There is **no** stable API to open Multitask / Build in Parallel.
|
|
128
|
-
|
|
129
|
-
1. Ask the user to open the visible parallel surface and give each worker an explicit pack: `.pactile/tasks/<dir>` + contract slice. Never rely on `selected_task`.
|
|
130
|
-
2. If they do not: `Task()` (typed `pactile-implement` / `pactile-check` / `pactile-research` when the enum exists) plus one Q12 sentence. **Do not block.**
|
|
131
|
-
3. Silent same-session `Task()` without that sentence is a failed degrade.
|
|
132
|
-
4. Pactile remains source of truth for status, gates, integration. This is **not** a Pactile-built parallel product.
|
|
133
|
-
5. **Default parallel** when planning has ≥2 isolatable write-sets (Parent children with empty `depends_on`, or Full Task fan-out). Lite / single-file work is not forced into parallel agents.
|
|
134
|
-
6. **Serial needs a written reason** (`serial_reason`): shared write-set / HITL or reviewer gate / `depends_on` unmet / user asked serial / conflict surface cannot isolate. HITL, `start-execution --approved`, reviewer gates, and `integrate-child` stay serial (`merge_limit: 1`).
|
|
135
|
-
7. Parent alone `integrate-child`. Parallel-first declaration fields live in `.pactile/framework/parallel-first-execution.md` (core contract, host-agnostic).
|
|
136
|
-
|
|
137
|
-
### Task API honest degrade (`generalPurpose`)
|
|
138
|
-
|
|
139
|
-
This Cursor Task API may have **no** `pactile-implement` / `pactile-check` enum.
|
|
140
|
-
|
|
141
|
-
- Dispatch workers as **`generalPurpose`**.
|
|
142
|
-
- Do **not** label the run `true-independent`.
|
|
143
|
-
- Do **not** nest further implement / check / research Task types from a child worker.
|
|
144
|
-
- Parent retains `review-child` / `integrate-child`.
|
|
145
|
-
|
|
146
|
-
Typed worker names above are **Adapter bindings**. Core contracts speak of typed implement / check / research workers, not these host strings.
|
|
147
|
-
|
|
148
|
-
### Canvas / Bugbot / Browser / Automations
|
|
149
|
-
|
|
150
|
-
- **Canvas (Q8):** analysis or inventory deliverables only. Not a second SSOT. No Kernel canvas slot.
|
|
151
|
-
- **Bugbot / Security Review (Q7):** optional Verify appendix. Never a substitute for contract Check.
|
|
152
|
-
- **Browser (Q10):** when a visible Web UI changed, capture evidence into `verify.md`. Kernel records Evidence, not a browser name.
|
|
153
|
-
- **Automations / Loop (Q9):** unbound. Do not add a recurring lifecycle slot.
|
|
154
|
-
|
|
155
|
-
---
|
|
156
|
-
|
|
157
|
-
## Official `/goal` is not a Pactile Task (Q4, Q17, Q21, Q22, Q25)
|
|
158
|
-
|
|
159
|
-
- Cursor **`/goal`** / **CreateGoal** is a durable **in-window** objective on the Cursor product.
|
|
160
|
-
- It is **not** a Pactile task type, not Parent/Child, not `selected_task`, and does **not** skip Execute.
|
|
161
|
-
- Do **not** restore `pactile-goal`. Continue / Finish-work / Handoff remain the `/pactile-*` escape hatches.
|
|
162
|
-
- **Q17 / Q21:** when definition is already frozen, CreateGoal may drive **this window**. Slot clear → use it; inferring → ask. Goal text = one-line intent aligned with `prd.md` (Q25). Do not paste the PRD. Do not mirror Goal at Open.
|
|
163
|
-
- **Q22:** on Close / Finalize, `UpdateGoal` complete or cancel plus one sentence. Goal failure **does not block** Close.
|
|
164
|
-
- Definition change → `UpdateGoal`. Goal still does not replace gates or parallel.
|
|
165
|
-
|
|
166
|
-
User-visible `/` escape hatches on agent-capable Cursor: **`/pactile-continue`**, **`/pactile-finish-work`**, **`/pactile-handoff`**. Internal skills (brainstorm, check, skill-creator, …) are **not** slash commands. `start` is filtered out on agent-capable Cursor.
|
|
167
|
-
|
|
168
|
-
---
|
|
169
|
-
|
|
170
|
-
## Build probe — Adapter dogfood, not Kernel (Q18, Q20, Q24)
|
|
171
|
-
|
|
172
|
-
Probe the host design-surface **“start doing”** (Plan Build) **only in this Adapter**.
|
|
173
|
-
|
|
174
|
-
- **Today (Native):** no Build tool. Hooks have no such event. BYOK `ExecutePlanAction` stays out of core.
|
|
175
|
-
- **Current path = A′:** after `{TASK}/prd.md` is on disk and `start-execution --check` passes, Execute consent is `start-execution --approved` (or the equivalent human “start / Build” while still in Define — still A′, still the gate).
|
|
176
|
-
- **Beta dogfood:** if a later Cursor build exposes a callable Build action, probe it. Landed contract + `--check` PASS → record Execute consent. Unstable / missing → A′ + Q12. Both paths are legal in the 0.5.x beta; the official default is decided before 0.5.0.
|
|
177
|
-
- **Forbidden:** Build-probe fields in Kernel extras, Event Bridge default subscriptions, or module contracts. Core stores **approval**, not a host Build event.
|
|
178
|
-
|
|
179
|
-
---
|
|
180
|
-
|
|
181
|
-
## Callability (Agent tool table)
|
|
182
|
-
|
|
183
|
-
| Surface | Plan | Agent | Ask | Debug | Parallel children |
|
|
184
|
-
| --- | --- | --- | --- | --- | --- |
|
|
185
|
-
| Agent `SwitchMode` | Yes → `plan` | Yes → `agent` | **No** | **No** | — |
|
|
186
|
-
| Agent `Task` / Multitask UI | — | workers | — | — | Prefer **visible** surface; no API → ask user, else `Task()` + Q12 |
|
|
187
|
-
| User / CLI modes | Plan UI / `/plan` | default | Ask UI / `/ask` | Debug UI | `/multitask`, Build in Parallel |
|
|
188
|
-
| Plan Build (today) | **No tool** → A′ | — | — | — | — |
|
|
189
|
-
|
|
190
|
-
If a cell is not callable here: Q12 one sentence, then the artifact path. Do not narrate an unsupported-mode catalog to the user.
|
|
191
|
-
|
|
192
|
-
---
|
|
193
|
-
|
|
194
|
-
## What pactile must not claim
|
|
195
|
-
|
|
196
|
-
- Plans auto-save into `.pactile/tasks/`.
|
|
197
|
-
- Multitask inherits `selected_task` or exposes a stable programmatic mode API.
|
|
198
|
-
- Parallel agents cannot conflict without Pactile/worktree discipline.
|
|
199
|
-
- `SwitchMode` can open Ask or Debug.
|
|
200
|
-
- Shipping a parallel fake Plan/Ask/Debug product, or documenting gaps as product blame.
|
|
201
|
-
- Replacing Cursor Multitask with a Pactile scheduler, queue, or new parallel CLI.
|
|
202
|
-
- That a `generalPurpose` stand-in is `true-independent`.
|
|
203
|
-
- That `/goal` / CreateGoal is a Pactile Task.
|
|
204
|
-
- That an unlanded Plan, or a human “Build” before Execute approval, already is Execute.
|
|
205
|
-
- That Bugbot / Security Review / Canvas replaced contract Check or task artifacts.
|
|
206
|
-
- That a Build probe lives in Kernel extras or Event Bridge.
|
|
207
|
-
|
|
208
|
-
---
|
|
209
|
-
|
|
210
|
-
## Dogfood / probes
|
|
211
|
-
|
|
212
|
-
| Mode | Minimum probe | Pass when |
|
|
213
|
-
| --- | --- | --- |
|
|
214
|
-
| **Plan** | Schema or live `SwitchMode(plan)` note in verify | Full Define tried once; Q12 + `{TASK}/prd.md` if unused |
|
|
215
|
-
| **Ask / Debug** | Callability above | Artifact fallback; no unsupported-mode section |
|
|
216
|
-
| **Multitask** | Ask user to open visible surface, or `Task()` + Q12 | Explicit child paths; default parallel; serial has `serial_reason`; Parent integrates |
|
|
217
|
-
| **Agent** | Session implements under contract | Artifacts on disk |
|
|
218
|
-
| **Task enum** | Missing `pactile-implement` / `pactile-check` | `generalPurpose` degrade; never `true-independent` |
|
|
219
|
-
| **Plan Build** | No Native tool this cycle | A′ path documented; **not** in Kernel extras / Event Bridge |
|
|
220
|
-
| **Goal** | CreateGoal when definition is frozen | One-line intent; `UpdateGoal` on Close; failure does not block |
|
|
221
|
-
|
|
222
|
-
---
|
|
223
|
-
|
|
224
|
-
## Rollback
|
|
225
|
-
|
|
226
|
-
Docs + rules only:
|
|
227
|
-
|
|
228
|
-
1. Delete `.pactile/framework/cursor-native-modes-guide.md` if reverting this Adapter map. Parallel-first **declaration** fields stay in `.pactile/framework/parallel-first-execution.md` (owned by the parallel-runtime slice).
|
|
229
|
-
2. Drop related `guides/index.md` / `workflow.md` rows, or `pactile update` from pre-rewrite templates.
|
|
230
|
-
3. **pactile**: revert this Child’s tip or delete mirrored template paths.
|
|
231
|
-
4. Do **not** thicken `.cursor/rules/pactile-bootstrap.mdc` to replace this guide.
|
|
232
|
-
|
|
233
|
-
---
|
|
234
|
-
|
|
235
|
-
## Related
|
|
236
|
-
|
|
237
|
-
- `.pactile/framework/cursor-subagent-policy.md`
|
|
238
|
-
- `.pactile/framework/parallel-first-execution.md` (host-agnostic declaration; this guide binds the Cursor surface)
|
|
239
|
-
- `.cursor/rules/pactile-bootstrap.mdc` (thin always-on pointer only)
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
# Cursor semantic compliance (REC-06)
|
|
2
|
-
|
|
3
|
-
## Plan vs exec
|
|
4
|
-
|
|
5
|
-
| Layer | What counts |
|
|
6
|
-
| --- | --- |
|
|
7
|
-
| **Plan** | Router route `platform-semantic` (`platformNative: true`) or injected plan step「内置代码库语义搜索」 |
|
|
8
|
-
| **Exec (Cursor)** | Tool log matches **platform semantic** patterns only — see `retrieval_tool_classification` |
|
|
9
|
-
| **Not semantic exec on Cursor** | `fast_context_search`, pure Grep/Read/codegraph |
|
|
10
|
-
|
|
11
|
-
## Classifying tool names from session logs
|
|
12
|
-
|
|
13
|
-
Use the same patterns as telemetry:
|
|
14
|
-
|
|
15
|
-
```powershell
|
|
16
|
-
python -c "from common.retrieval_tool_classification import classify_tool_calls; print(classify_tool_calls(['Grep','codebase_search'], platform='cursor'))"
|
|
17
|
-
```
|
|
18
|
-
|
|
19
|
-
(Run from `.pactile/scripts` with `PYTHONPATH` set to that directory.)
|
|
20
|
-
|
|
21
|
-
On **cursor**, `semantic_executed` = `platform_semantic_executed`. Track `fast_context_count` and `cursor_fast_context_misuse` separately.
|
|
22
|
-
|
|
23
|
-
## Per-query checklist
|
|
24
|
-
|
|
25
|
-
When `platform-semantic` is in the route list, verify in the session tool log:
|
|
26
|
-
|
|
27
|
-
- `plan_block_in_prompt` — visible `## 代码库检索计划` (or equivalent) before code search
|
|
28
|
-
- `tools_called` — verbatim tool names from Cursor
|
|
29
|
-
- `platform_semantic_executed` / `fast_context_count` — from `classify_tool_calls(..., platform=cursor, cursor_env=...)`
|
|
30
|
-
|
|
31
|
-
Plan-level presence does not imply execution-level use.
|
|
32
|
-
|
|
33
|
-
## Agent instructions
|
|
34
|
-
|
|
35
|
-
When `platform-semantic` is in the route list, `render_agent_instructions` appends **语义合规(Cursor)** requiring one built-in semantic search before Top-1 and logging the host tool name.
|
|
36
|
-
|
|
37
|
-
## Native live proof (OC-15, 2026-07-02)
|
|
38
|
-
|
|
39
|
-
Controlled main-session run (`07-02-child-oc15-semantic-proof`): 3/3 conceptual queries with router `platform-semantic` executed host tool **`SemanticSearch`** → `platform_semantic_executed=true` (`cursor_env=native`). See `research/native-semantic-execution-proof.md`.
|
|
40
|
-
|
|
41
|
-
**Caveat:** Proves observability + compliant-agent behavior; does not guarantee all sessions follow the plan (historical evals show Grep-only gaps when agents skip semantic).
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
# Cursor Subagent Policy
|
|
2
|
-
|
|
3
|
-
> Current policy for dispatching Pactile research, implementation, and check
|
|
4
|
-
> work through Cursor's supported native agent surfaces.
|
|
5
|
-
|
|
6
|
-
## Invariants
|
|
7
|
-
|
|
8
|
-
- Pactile never hardcodes vendor model identifiers in committed defaults.
|
|
9
|
-
- The operator chooses the main-session model; a child inherits it unless the
|
|
10
|
-
native host surface provides an explicit supported override.
|
|
11
|
-
- A child receives the smallest sufficient context pack and a concrete task.
|
|
12
|
-
- The Parent owns decomposition, integration, and final acceptance.
|
|
13
|
-
- A child does not recursively dispatch another Pactile child.
|
|
14
|
-
- Model choice is not evidence. Source reads, diffs, tests, and receipts are.
|
|
15
|
-
|
|
16
|
-
## Dispatch roles
|
|
17
|
-
|
|
18
|
-
| Role | Purpose | Workspace access | Expected output |
|
|
19
|
-
| --- | --- | --- | --- |
|
|
20
|
-
| `pactile-research` | Answer a bounded repository question | Read-only | Findings in the assigned research path |
|
|
21
|
-
| `pactile-implement` | Implement one frozen write set | Writable | Scoped changes plus focused verification |
|
|
22
|
-
| `pactile-check` | Independently verify requirements and safety | Read-only by default | Verdict, evidence, and actionable findings |
|
|
23
|
-
|
|
24
|
-
Use Cursor's built-in exploration surface for quick orientation that does not
|
|
25
|
-
need a durable artifact. Use a Pactile research child when the result must be
|
|
26
|
-
persisted, cited by a task, or kept separate from implementation context.
|
|
27
|
-
|
|
28
|
-
## When to dispatch
|
|
29
|
-
|
|
30
|
-
Dispatch only when the work is independently bounded and parallelism or
|
|
31
|
-
context isolation materially helps. Keep work inline when it is a single small
|
|
32
|
-
change, when every step touches the same write set, or when coordination would
|
|
33
|
-
cost more than execution.
|
|
34
|
-
|
|
35
|
-
Before dispatching:
|
|
36
|
-
|
|
37
|
-
1. Freeze the child objective and write set in the Parent task map.
|
|
38
|
-
2. Include `Selected task: <path>` as the first line of the child prompt.
|
|
39
|
-
3. State whether the child is read-only or writable.
|
|
40
|
-
4. State the required validation and stop conditions.
|
|
41
|
-
5. Confirm dependency readiness and worktree ownership.
|
|
42
|
-
|
|
43
|
-
## Model policy
|
|
44
|
-
|
|
45
|
-
`model_policy: cursor-configured`
|
|
46
|
-
|
|
47
|
-
Use only controls exposed by the current native Cursor surface. If no child
|
|
48
|
-
override is available, inherit the Parent model and record that fact. Never
|
|
49
|
-
edit generated agent files temporarily to smuggle a model identifier into a
|
|
50
|
-
dispatch, and never mutate user settings as part of task execution.
|
|
51
|
-
|
|
52
|
-
## Isolation and integration
|
|
53
|
-
|
|
54
|
-
- Parallel writable children require disjoint worktrees or explicitly disjoint
|
|
55
|
-
write sets.
|
|
56
|
-
- A shared worktree implies serial writable execution.
|
|
57
|
-
- Research and check children may run concurrently when they are truly
|
|
58
|
-
read-only and do not compete for mutable generated state.
|
|
59
|
-
- The Parent reviews each child diff before integration and re-runs the union
|
|
60
|
-
verification after all accepted changes are present.
|
|
61
|
-
- Do not mark a check `true-independent` when it was performed by the same
|
|
62
|
-
writable execution context or by a generic child standing in for a missing
|
|
63
|
-
checker role.
|
|
64
|
-
|
|
65
|
-
## Failure handling
|
|
66
|
-
|
|
67
|
-
- Missing native child support: continue inline or open a separate user-owned
|
|
68
|
-
Agent chat only when the task contract permits it.
|
|
69
|
-
- Busy or interrupted child: preserve its partial evidence, reclaim the lane,
|
|
70
|
-
and retry only the unfinished unit.
|
|
71
|
-
- Write-set overlap: stop the conflicting child, reconcile ownership in the
|
|
72
|
-
Parent task map, then resume serially.
|
|
73
|
-
- Unavailable model override: inherit the Parent model; do not block safe work.
|
|
74
|
-
- Unverifiable result: treat it as orientation and reproduce the proof in the
|
|
75
|
-
Parent context.
|
|
76
|
-
|
|
77
|
-
## Closeout
|
|
78
|
-
|
|
79
|
-
The Parent records:
|
|
80
|
-
|
|
81
|
-
- which role ran and whether it had write access;
|
|
82
|
-
- the exact task/worktree and write-set boundary;
|
|
83
|
-
- accepted or rejected findings;
|
|
84
|
-
- focused validation from the child;
|
|
85
|
-
- union validation after integration;
|
|
86
|
-
- any degraded host capability or unresolved blocker.
|
|
87
|
-
|
|
88
|
-
Historical client-specific routing experiments are intentionally absent from
|
|
89
|
-
generated runtime guidance. They belong in versioned history, not in a fresh
|
|
90
|
-
Pactile installation.
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
# Internal Skills Cursor Reachability Matrix
|
|
2
|
-
|
|
3
|
-
> **Purpose**: Every internal skill referenced by framework or task artifacts must have a documented **load channel** on a pure Cursor project. Root `AGENTS.md` is now a compact pointer block, not an invocation map. Internal workflow skills are **not** shipped to `.cursor/skills/` and have **no** default slash command — by design (commands-only). This matrix is the honest index: how each internal name is actually reachable on-demand, so an agent never claims a skill is loaded without a file read, and users never assume internal skills are slash commands.
|
|
4
|
-
|
|
5
|
-
## Commands-only baseline
|
|
6
|
-
|
|
7
|
-
- Default Cursor install writes only: `.cursor/commands/` (user slash commands), `.cursor/rules/*.mdc`, `.cursor/agents/*.md`, `.cursor/hooks`, and `.pactile/` (workflow, framework docs, scripts, spec/guides seeds).
|
|
8
|
-
- Bundled skill **bodies** live in the npm package templates (`dist/templates/common/skills/`, `dist/templates/common/bundled-skills/`). They are **not** copied into a consumer project by `pactile init` on Cursor.
|
|
9
|
-
- "Not in the project" ≠ "missing from the framework": the CLI/script/agent/guide surface below is the reachable carrier.
|
|
10
|
-
|
|
11
|
-
## Matrix
|
|
12
|
-
|
|
13
|
-
| Skill name | Package SSOT | Cursor load channel | Slash? |
|
|
14
|
-
| --- | --- | --- | --- |
|
|
15
|
-
| `pactile-brainstorm` (PRD Grill) | `common/skills/brainstorm.md` | **Read `./prd-grill-frontier.md`** (on-demand summary; full body in npm package) | no |
|
|
16
|
-
| `pactile-micro-grill` | `bundled-skills/pactile-micro-grill/SKILL.md` | Before a Task, Intake comes from `.pactile/modules/intake-basic/contract.md`; after Open, **read `./prd-grill-frontier.md` §Micro-grill unresolved**. Full body remains in the npm package. | no |
|
|
17
|
-
| `pactile-before-dev` | `common/skills/before-dev.md` | Read task artifacts → `get_context.py --mode packages` → spec indexes; full body in npm package | no |
|
|
18
|
-
| `pactile-break-loop` | `common/skills/break-loop.md` | Activated `debug-recovery` module routes Debug → evidence → `pactile-break-loop`; full body in npm package; output pattern in `.pactile/spec/guides/debug-loop-guide.md` | no |
|
|
19
|
-
| `pactile-update-spec` | `common/skills/update-spec.md` | `close-basic` emits the learning disposition; activated `spec-learning` owns `update-spec`. Full body remains in the npm package. | no |
|
|
20
|
-
| `pactile-check` | `bundled-skills/pactile-check/SKILL.md` | **Agent form `.cursor/agents/pactile-check.md`** (Task tool, dual-axis) — prefer Agent when `execution_mode: worker` | no |
|
|
21
|
-
| `pactile-meta` | `bundled-skills/pactile-meta/SKILL.md` | Maintainer skill; body in npm package; no Cursor project file (not routed in consumer workflows) | no |
|
|
22
|
-
| `pactile-spec-bootstrap` | `bundled-skills/pactile-spec-bootstrap/SKILL.md` | One-shot scaffolding skill; body in npm package; not routed in steady-state consumer workflow | no |
|
|
23
|
-
| `pactile-skill-creator` | `bundled-skills/pactile-skill-creator/SKILL.md` | **Authoring-time (mandatory for new / structural skill edits):** Read `pactile/packages/cli/src/templates/common/bundled-skills/pactile-skill-creator/SKILL.md` then `…/references/review-checklist.md`. Harness dogfood copy: `.claude/skills/pactile-skill-creator/SKILL.md` and `.claude/skills/pactile-skill-creator/references/review-checklist.md`. Installed npm: `dist/templates/common/bundled-skills/pactile-skill-creator/`. Not a slash command. Skip typo/link-only. Does **not** apply to Cursor product skills (`~/.cursor/skills-cursor/`). | no |
|
|
24
|
-
| `smart-search-cli` | `bundled-skills/smart-search-cli/SKILL.md` | **`python ./.pactile/scripts/run_smart_search.py "<question>" --intent deep-research --json`** (shipped script); Cursor web tools are downgrade-only fallback | no |
|
|
25
|
-
| `pactile-handoff` | `bundled-skills/pactile-handoff/SKILL.md` | **Slash `/pactile-handoff`** (writes session handoff to OS temp dir) | **yes** |
|
|
26
|
-
| `pactile-continue` / `pactile-finish-work` / `pactile-start` | `common/commands/*.md` | **Slash `/pactile-continue`, `/pactile-finish-work`** (`pactile-start` filtered on agent-capable platforms) | **yes** |
|
|
27
|
-
| `pactile-research` / `pactile-implement` / `pactile-check` (agents) | `packages/cli/src/templates/cursor/agents/*.md` | **`.cursor/agents/*.md`** — Agent (Task tool), dispatched via `generate_dispatch_prompt.py` (CLI Layer 2) | no |
|
|
28
|
-
|
|
29
|
-
## Reading this matrix
|
|
30
|
-
|
|
31
|
-
- **Reachable on-demand** (green path): brainstorm → frontier guide; micro-grill → `intake-basic` before Task or the frontier guide after Open; check → agent; smart-search → script; **skill authoring → Read `pactile-skill-creator/SKILL.md` + `review-checklist.md`** (paths in the matrix row).
|
|
32
|
-
- **Body in npm package only**: the skill is real and shipped, but a pure Cursor project has no project-relative copy. Activated modules or task/interface artifacts route its **behavior**; the full body is discoverable under the installed package (`npm root -g` → `dist/templates/…`). Do not claim these are loaded without reading the actual body when the behavior matters.
|
|
33
|
-
- **Maintainer-only** (`pactile-meta`, `pactile-spec-bootstrap`): documented here for framework completeness; not part of the consumer execution path. No extra consumer load path beyond the package body.
|
|
34
|
-
- **Authoring-time mandatory** (`pactile-skill-creator`): not a consumer runtime path and not a slash command, but **must** be Read before creating or structurally changing Pactile / blaze-skills / harness skills. Cursor product skills are out of scope.
|
|
35
|
-
|
|
36
|
-
## Honesty rule
|
|
37
|
-
|
|
38
|
-
If a framework or task artifact names a skill, it must be reachable here. If a row ever becomes unreachable, add a project-relative carrier (guide/script/agent) or remove the stale reference. Root `AGENTS.md` remains a pointer block and need not enumerate internal skills. Never claim "skill loaded" without a file read.
|
|
39
|
-
|
|
40
|
-
## Related
|
|
41
|
-
|
|
42
|
-
- [prd-grill-frontier.md](./prd-grill-frontier.md) — P11: brainstorm/grill on-demand path.
|
|
43
|
-
- [dogfood-only-surfaces.md](./dogfood-only-surfaces.md) — what ships only in the maintainer harness (goal_*.py, `.claude/skills`, local overlays).
|
|
44
|
-
- Root `AGENTS.md` PACTILE block — compact pointers only; it is not an invocation map or skill inventory.
|
|
45
|
-
- `./cursor-context-injection-guide.md` — which channels actually reach the Cursor model.
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
# Cursor semantic slice — 12-query eval (maintainer)
|
|
2
|
-
|
|
3
|
-
> **Note:** `batch_plan_envelope.py` and `aggregate_retrieval_telemetry.py` were removed from user-shipped templates. Use `route_codebase_retrieval.py` per query and record JSONL manually, or restore those scripts from Pactile git history for batch eval runs.
|
|
4
|
-
|
|
5
|
-
## Plan phase
|
|
6
|
-
|
|
7
|
-
For each query in `queries-semantic-slice.jsonl`:
|
|
8
|
-
|
|
9
|
-
```powershell
|
|
10
|
-
python .pactile/scripts/route_codebase_retrieval.py "<question>" --json
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
Record `semantic_in_plan` / route list from the envelope.
|
|
14
|
-
|
|
15
|
-
## Exec phase
|
|
16
|
-
|
|
17
|
-
Run each query in a live Cursor session. Append one JSON object per line to `runs/cursor-semantic-slice-<YYYYMMDD>/telemetry.jsonl` with:
|
|
18
|
-
|
|
19
|
-
- `query_id`, `platform`: `"cursor"`
|
|
20
|
-
- `tools_called`, `plan_block_in_prompt`, `semantic_in_plan`
|
|
21
|
-
- Classify with `common/retrieval_tool_classification.py` (see `.pactile/framework/cursor-semantic-compliance.md`)
|
|
22
|
-
|
|
23
|
-
## Report
|
|
24
|
-
|
|
25
|
-
Summarize `semantic_plan_rate` and `semantic_exec_rate` from the JSONL (manual or your own aggregation script).
|
|
@@ -1,37 +0,0 @@
|
|
|
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`)。
|
|
@@ -1,149 +0,0 @@
|
|
|
1
|
-
# Review Pool(审核池)
|
|
2
|
-
|
|
3
|
-
> Purpose: one place for product ideas, directions, and review gaps — enter the pool for triage, leave via a development plan.
|
|
4
|
-
> The pool holds candidates; the plan holds commitments.
|
|
5
|
-
|
|
6
|
-
## Directory layout
|
|
7
|
-
|
|
8
|
-
```
|
|
9
|
-
.pactile/pool/
|
|
10
|
-
├── README.md ← this file (mechanism)
|
|
11
|
-
├── plan.md ← development plan (references item ids only)
|
|
12
|
-
├── items/ ← one small markdown file per adjudicable item
|
|
13
|
-
├── knowledge-base/ ← optional: rejected rationale by concept (lazy)
|
|
14
|
-
└── archive/ ← optional: terminal home for rejected items (lazy)
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
## State machine
|
|
18
|
-
|
|
19
|
-
```
|
|
20
|
-
inbox ──► review ──► accepted (enter development plan)
|
|
21
|
-
│
|
|
22
|
-
├──► rejected (move to archive + knowledge-base; reason required)
|
|
23
|
-
└──► rework (missing info / not shippable → rewrite with user → back to inbox)
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
- `accepted`: Agent proposes; user confirms before the status flips. **Does not mean the work is done.** Completion is `delivery` (see below).
|
|
27
|
-
- `rejected`: terminal; item moves under `archive/`; rationale goes to `knowledge-base/` (one file per concept; Prior requests for dedupe).
|
|
28
|
-
- `rework`: transit state, not terminal; after rewrite, return to `inbox`.
|
|
29
|
-
- **Exception**: “already implemented / duplicate” items do **not** enter knowledge-base (that would poison dedupe). Point at the existing implementation and close.
|
|
30
|
-
|
|
31
|
-
## Item fields (adjudicable four-pack + type + links)
|
|
32
|
-
|
|
33
|
-
Each file under `items/` needs frontmatter:
|
|
34
|
-
|
|
35
|
-
```yaml
|
|
36
|
-
---
|
|
37
|
-
id: P01 # item id (plan.md references this only)
|
|
38
|
-
title: Short title
|
|
39
|
-
status: accepted # inbox | review | accepted | rejected | rework
|
|
40
|
-
type: mechanism # research | prototype | grilling | task (decision-type tag)
|
|
41
|
-
locale: zh
|
|
42
|
-
created: 2026-08-08
|
|
43
|
-
approved: 2026-08-08 # only when accepted
|
|
44
|
-
priority: P1 # optional; accepted only. P0 | P1 | P2. Missing → treat as P2
|
|
45
|
-
delivery: standing # accepted only. open | in-slice | landed | standing | deferred
|
|
46
|
-
linked_tasks: # optional: task directory names (slice index, not completion)
|
|
47
|
-
- 08-08-example-task
|
|
48
|
-
---
|
|
49
|
-
```
|
|
50
|
-
|
|
51
|
-
Body must include four sections: **Intent (one line) / Motivation / Coarse acceptance / Non-goals**. Notes that fail the four-pack stay notes; they are not “ready for review”.
|
|
52
|
-
|
|
53
|
-
## Delivery (orthogonal to status)
|
|
54
|
-
|
|
55
|
-
`status` is adjudication. `delivery` is remaining obligation. Do not collapse them.
|
|
56
|
-
|
|
57
|
-
| delivery | Meaning | Attention board |
|
|
58
|
-
| --- | --- | --- |
|
|
59
|
-
| `open` | Accepted; work not started or remaining obligation exists | Yes |
|
|
60
|
-
| `in-slice` | Linked tasks currently executing | Yes |
|
|
61
|
-
| `landed` | Finite deliverable discharged | Closed, not a queue |
|
|
62
|
-
| `standing` | Live rule / discipline; never a todo | Standing list, not a queue |
|
|
63
|
-
| `deferred` | Accepted but explicitly not doing now | Closed, not a queue |
|
|
64
|
-
|
|
65
|
-
- Required on `accepted`. `inbox` / `review` / `rejected` omit it.
|
|
66
|
-
- `pool.py status` prints the groups. `plan.md` Mainline only cites `open` / `in-slice`.
|
|
67
|
-
- `depends_on: ["pool:Pxx"]` uses `delivery`, not linked-task Close: standing / landed / deferred → SATISFIED; open / in-slice → NOT_SATISFIED; missing `.pactile/pool/` (no Capture) → ignored (does not block Close); missing item → UNRESOLVED.
|
|
68
|
-
|
|
69
|
-
## Links and validation (pool CLI)
|
|
70
|
-
|
|
71
|
-
Item ↔ task links use the CLI as the authoritative write path (both sides in one call):
|
|
72
|
-
|
|
73
|
-
- Item side: frontmatter `linked_tasks` (task directory name) — **slice index for humans**, not completion
|
|
74
|
-
- Task side: `task.json` → `meta.pool_items` (pool item id, e.g. `"P01"`)
|
|
75
|
-
- Many-to-many; de-duplicated, order-preserving
|
|
76
|
-
- Hand-editing one side is caught by `validate` (`link-missing-task-side` / `link-missing-item-side`)
|
|
77
|
-
|
|
78
|
-
| Command | Role | Exit |
|
|
79
|
-
| --- | --- | --- |
|
|
80
|
-
| `python3 ./.pactile/scripts/pool.py validate` | Four-pack / required keys / status / delivery / unique id / dangling links / bidirectional consistency | error-level → 1 |
|
|
81
|
-
| `python3 ./.pactile/scripts/pool.py plan-check` | plan.md referenced ids exist (ghost id → error) | same |
|
|
82
|
-
| `python3 ./.pactile/scripts/pool.py link <item-id> <task-ref>` | Bidirectional link (idempotent) | missing → 1 |
|
|
83
|
-
| `python3 ./.pactile/scripts/pool.py unlink <item-id> <task-ref>` | Bidirectional unlink | item missing → 1 |
|
|
84
|
-
| `python3 ./.pactile/scripts/pool.py show <item-id>` | Print item + delivery + linked task status summary | missing → 1 |
|
|
85
|
-
| `python3 ./.pactile/scripts/pool.py status` | Print delivery groups (queue / standing / closed) | 0 |
|
|
86
|
-
|
|
87
|
-
- WARN-only issues exit 0 (same discoverability stance as depends_on Plan A).
|
|
88
|
-
- `depends_on: ["pool:Pxx"]` satisfaction is `delivery` via `pool_refs` (not `pool_store`). See Delivery above.
|
|
89
|
-
|
|
90
|
-
All commands accept `--root <path>` when the Pactile root is not the current working directory.
|
|
91
|
-
|
|
92
|
-
## Process rules
|
|
93
|
-
|
|
94
|
-
1. New idea / gap → write an `items/` entry with status `inbox`.
|
|
95
|
-
2. Review: Agent proposes a decision; user adjudicates → `accepted` / `rejected` / `rework`.
|
|
96
|
-
3. `accepted` → add to `plan.md` (plan cites item ids only; do not rewrite a second narrative). **Does not split into tasks and does not create task directories.**
|
|
97
|
-
4. When the user says to **start implementing** an accepted item → write or update `## 切片` on that item (see below), then Open (`task.py create` + `pool.py link`). Not before Open.
|
|
98
|
-
|
|
99
|
-
## Starting implementation (split)
|
|
100
|
-
|
|
101
|
-
`accepted` freezes the requirement only. Do not treat it as a Task.
|
|
102
|
-
|
|
103
|
-
When the user asks to start implementing an accepted item:
|
|
104
|
-
|
|
105
|
-
1. Propose a slice list **on the item body** under the heading **`## 切片`**. Each row: short name, `touches`, Lite / Full / Parent, parallel vs `serial_reason`.
|
|
106
|
-
2. After Open, create directories and `pool.py link`. Empty task dirs before Open are forbidden.
|
|
107
|
-
3. One slice = one closable write-set + cohesive AC. Prefer several Fulls that can Close on their own. Use Parent only when one integration authority is required.
|
|
108
|
-
4. Default: isolatable Fulls run in parallel. Colliding `touches` → resplit or write `serial_reason`. No numeric size cap; if it cannot Close / cannot be proven / `touches` span unrelated modules, resplit. Intake must propose that split if the user opens a giant task; the user may insist with range risk / `serial_reason`.
|
|
109
|
-
5. Progress stays `delivery` + `linked_tasks` + `pool.py status`. Unsplit `open`; work running `in-slice`; remaining obligation done `landed`. One slice Close does **not** land the whole item. Remainder may be `deferred`.
|
|
110
|
-
6. Default one pool item per task. Extra links need per-item duties in that task’s PRD (`## 池义务` / `## Pool obligations`). Closing the task only advances the declared duties.
|
|
111
|
-
7. More slices may be added while the item is `open` / `in-slice`. Do not reopen a Closed task to stuff new scope. New slices still need Open.
|
|
112
|
-
8. This split rule applies to **new Open after the rule landed**. Already-open tasks are not force-resplit.
|
|
113
|
-
|
|
114
|
-
`pool.py validate` **does not fail** when `## 切片` is missing. The heading is an Open-proposal convention, not a new schema.
|
|
115
|
-
|
|
116
|
-
In-session tiny work still skips the pool (clear request → Intake → Open Task).
|
|
117
|
-
|
|
118
|
-
## Choosing the next item (attention, not a serial lock)
|
|
119
|
-
|
|
120
|
-
Priority is **attention + start preference**, not a queue lock. Isolatable write-sets still run in parallel (see `.pactile/workflow.md` Parallel-first). Agent proposes; user chooses. Agent must not auto-start, and must not refuse an independent item because a higher band is unfinished.
|
|
121
|
-
|
|
122
|
-
1. Run `python3 ./.pactile/scripts/pool.py status`. Rank **only** `open` and `in-slice`.
|
|
123
|
-
2. Within the queue, group by attention band: `priority: P0` → `P1` → unlabeled/`P2`.
|
|
124
|
-
3. `standing` / `landed` / `deferred` / inbox hold / `rejected` do not rank. `rework` drops until re-accepted.
|
|
125
|
-
4. Show the band order **and** the parallel groups → **ask the user**.
|
|
126
|
-
|
|
127
|
-
`inbox` hold items are not ranked. Do not invent a scheduler CLI. Serial exceptions are the same set as Parallel-first (`serial_reason`).
|
|
128
|
-
|
|
129
|
-
When this repo is PACTILE itself: the workflow package and optional BYOK are **independent ships**. See `.pactile/framework/release-boundary.md`. BYOK readiness is not a workflow-package gate.
|
|
130
|
-
|
|
131
|
-
## Fog hygiene
|
|
132
|
-
|
|
133
|
-
- Once an item or mechanism lands, **move it out** of “Not yet specified” into closed/mainline and keep the task id. Do not leave shipped work in fog.
|
|
134
|
-
- Fog holds only truly open, uncommitted directions; if fog is empty, delete the whole section.
|
|
135
|
-
|
|
136
|
-
## Boundary with the Task Ladder
|
|
137
|
-
|
|
138
|
-
- **In-session requests** (clear, directly actionable) → Lite / Full / Parent task creation — **not** the pool.
|
|
139
|
-
- **Ideas / directions / gaps / unformed thoughts** → pool.
|
|
140
|
-
- Pool = candidates; Task = commitment. Only `accepted` items should become tasks.
|
|
141
|
-
|
|
142
|
-
## Language
|
|
143
|
-
|
|
144
|
-
Items and plans are human-reviewed artifacts and follow `artifact_locale`. Frontmatter keys and status values stay English (infrastructure).
|
|
145
|
-
|
|
146
|
-
## Maintenance
|
|
147
|
-
|
|
148
|
-
- Record adjudication notes on the item (decision log) so rationale is not lost.
|
|
149
|
-
- After terminology-related items land, consider adding consistency checks at archive / check time when the project cares about glossary drift.
|
|
File without changes
|