@blxzer/pactile 0.6.0-beta.2 → 0.6.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +93 -84
- package/README.zh-CN.md +90 -81
- package/dist/bin/compat-warning.d.ts +2 -0
- package/dist/bin/compat-warning.d.ts.map +1 -0
- package/dist/bin/compat-warning.js +8 -0
- package/dist/bin/compat-warning.js.map +1 -0
- package/dist/bin/cstl.d.ts +3 -0
- package/dist/bin/cstl.d.ts.map +1 -0
- package/{bin → dist/bin}/cstl.js +2 -3
- package/dist/bin/cstl.js.map +1 -0
- package/dist/bin/pactile.d.ts +3 -0
- package/dist/bin/pactile.d.ts.map +1 -0
- package/dist/bin/pactile.js +4 -0
- package/dist/bin/pactile.js.map +1 -0
- package/dist/cli/index.d.ts.map +1 -1
- package/dist/cli/index.js +77 -17
- package/dist/cli/index.js.map +1 -1
- package/dist/commands/capability.d.ts +3 -0
- package/dist/commands/capability.d.ts.map +1 -0
- package/dist/commands/capability.js +129 -0
- package/dist/commands/capability.js.map +1 -0
- package/dist/commands/codex.d.ts.map +1 -1
- package/dist/commands/codex.js +54 -6
- package/dist/commands/codex.js.map +1 -1
- package/dist/commands/context.d.ts +2 -0
- package/dist/commands/context.d.ts.map +1 -1
- package/dist/commands/context.js +367 -41
- package/dist/commands/context.js.map +1 -1
- package/dist/commands/detach.d.ts.map +1 -1
- package/dist/commands/detach.js +5 -4
- package/dist/commands/detach.js.map +1 -1
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +615 -259
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/legacy-task.d.ts +3 -0
- package/dist/commands/legacy-task.d.ts.map +1 -0
- package/dist/commands/legacy-task.js +295 -0
- package/dist/commands/legacy-task.js.map +1 -0
- package/dist/commands/pi.d.ts +3 -2
- package/dist/commands/pi.d.ts.map +1 -1
- package/dist/commands/pi.js +333 -10
- package/dist/commands/pi.js.map +1 -1
- package/dist/commands/session.d.ts.map +1 -1
- package/dist/commands/session.js +148 -24
- package/dist/commands/session.js.map +1 -1
- package/dist/commands/task-schedule.d.ts +17 -0
- package/dist/commands/task-schedule.d.ts.map +1 -0
- package/dist/commands/task-schedule.js +395 -0
- package/dist/commands/task-schedule.js.map +1 -0
- package/dist/commands/task-verify-plan.d.ts +3 -0
- package/dist/commands/task-verify-plan.d.ts.map +1 -0
- package/dist/commands/task-verify-plan.js +503 -0
- package/dist/commands/task-verify-plan.js.map +1 -0
- package/dist/commands/task-worktree-close.d.ts +4 -0
- package/dist/commands/task-worktree-close.d.ts.map +1 -0
- package/dist/commands/task-worktree-close.js +81 -0
- package/dist/commands/task-worktree-close.js.map +1 -0
- package/dist/commands/task.d.ts +3 -0
- package/dist/commands/task.d.ts.map +1 -1
- package/dist/commands/task.js +1373 -184
- package/dist/commands/task.js.map +1 -1
- package/dist/commands/tile-selection.d.ts +3 -0
- package/dist/commands/tile-selection.d.ts.map +1 -0
- package/dist/commands/tile-selection.js +174 -0
- package/dist/commands/tile-selection.js.map +1 -0
- package/dist/commands/update.d.ts +1 -1
- package/dist/commands/update.d.ts.map +1 -1
- package/dist/commands/update.js +80 -55
- package/dist/commands/update.js.map +1 -1
- package/dist/commands/worktree.d.ts +4 -0
- package/dist/commands/worktree.d.ts.map +1 -0
- package/dist/commands/worktree.js +198 -0
- package/dist/commands/worktree.js.map +1 -0
- package/dist/configurators/shared.js +1 -1
- package/dist/configurators/shared.js.map +1 -1
- package/dist/core/compat/environment.d.ts +0 -1
- package/dist/core/compat/environment.d.ts.map +1 -1
- package/dist/core/compat/environment.js +1 -9
- package/dist/core/compat/environment.js.map +1 -1
- package/dist/core/pactile/bounded-capabilities.d.ts +127 -0
- package/dist/core/pactile/bounded-capabilities.d.ts.map +1 -0
- package/dist/core/pactile/bounded-capabilities.js +188 -0
- package/dist/core/pactile/bounded-capabilities.js.map +1 -0
- package/dist/core/pactile/index.d.ts +1 -0
- package/dist/core/pactile/index.d.ts.map +1 -1
- package/dist/core/pactile/index.js +1 -0
- package/dist/core/pactile/index.js.map +1 -1
- package/dist/core/task/index.d.ts +4 -2
- package/dist/core/task/index.d.ts.map +1 -1
- package/dist/core/task/index.js +2 -1
- package/dist/core/task/index.js.map +1 -1
- package/dist/core/task/kernel-cli.d.ts +14 -1
- package/dist/core/task/kernel-cli.d.ts.map +1 -1
- package/dist/core/task/kernel-cli.js +128 -0
- package/dist/core/task/kernel-cli.js.map +1 -1
- package/dist/core/task/kernel-contract.d.ts +6 -3
- package/dist/core/task/kernel-contract.d.ts.map +1 -1
- package/dist/core/task/kernel-contract.js +71 -23
- package/dist/core/task/kernel-contract.js.map +1 -1
- package/dist/core/task/kernel-store.d.ts +6 -0
- package/dist/core/task/kernel-store.d.ts.map +1 -1
- package/dist/core/task/kernel-store.js +54 -2
- package/dist/core/task/kernel-store.js.map +1 -1
- package/dist/core/task/legacy-task-migration-reader.d.ts +137 -0
- package/dist/core/task/legacy-task-migration-reader.d.ts.map +1 -0
- package/dist/core/task/legacy-task-migration-reader.js +512 -0
- package/dist/core/task/legacy-task-migration-reader.js.map +1 -0
- package/dist/core/task/legacy-task-migration.d.ts +105 -0
- package/dist/core/task/legacy-task-migration.d.ts.map +1 -0
- package/dist/core/task/legacy-task-migration.js +562 -0
- package/dist/core/task/legacy-task-migration.js.map +1 -0
- package/dist/core/task/legacy-task-overlay-durable-io.d.ts +18 -0
- package/dist/core/task/legacy-task-overlay-durable-io.d.ts.map +1 -0
- package/dist/core/task/legacy-task-overlay-durable-io.js +66 -0
- package/dist/core/task/legacy-task-overlay-durable-io.js.map +1 -0
- package/dist/core/task/legacy-task-reconciliation-reader.d.ts +26 -0
- package/dist/core/task/legacy-task-reconciliation-reader.d.ts.map +1 -0
- package/dist/core/task/legacy-task-reconciliation-reader.js +324 -0
- package/dist/core/task/legacy-task-reconciliation-reader.js.map +1 -0
- package/dist/core/task/legacy-task-v2-import.d.ts +67 -0
- package/dist/core/task/legacy-task-v2-import.d.ts.map +1 -0
- package/dist/core/task/legacy-task-v2-import.js +1046 -0
- package/dist/core/task/legacy-task-v2-import.js.map +1 -0
- package/dist/core/task/project-file-observer.d.ts +46 -0
- package/dist/core/task/project-file-observer.d.ts.map +1 -0
- package/dist/core/task/project-file-observer.js +618 -0
- package/dist/core/task/project-file-observer.js.map +1 -0
- package/dist/core/task/start-authority.d.ts +14 -0
- package/dist/core/task/start-authority.d.ts.map +1 -0
- package/dist/core/task/start-authority.js +146 -0
- package/dist/core/task/start-authority.js.map +1 -0
- package/dist/core/task/strategy.d.ts +24 -0
- package/dist/core/task/strategy.d.ts.map +1 -0
- package/dist/core/task/strategy.js +136 -0
- package/dist/core/task/strategy.js.map +1 -0
- package/dist/core/task/task-candidate-observer.d.ts +111 -0
- package/dist/core/task/task-candidate-observer.d.ts.map +1 -0
- package/dist/core/task/task-candidate-observer.js +762 -0
- package/dist/core/task/task-candidate-observer.js.map +1 -0
- package/dist/core/task/task-kernel-close.d.ts +5 -0
- package/dist/core/task/task-kernel-close.d.ts.map +1 -0
- package/dist/core/task/task-kernel-close.js +367 -0
- package/dist/core/task/task-kernel-close.js.map +1 -0
- package/dist/core/task/task-kernel-dependencies.d.ts +3 -0
- package/dist/core/task/task-kernel-dependencies.d.ts.map +1 -0
- package/dist/core/task/task-kernel-dependencies.js +24 -0
- package/dist/core/task/task-kernel-dependencies.js.map +1 -0
- package/dist/core/task/task-kernel-host.d.ts +5 -0
- package/dist/core/task/task-kernel-host.d.ts.map +1 -0
- package/dist/core/task/task-kernel-host.js +136 -0
- package/dist/core/task/task-kernel-host.js.map +1 -0
- package/dist/core/task/task-kernel-paths.d.ts +19 -0
- package/dist/core/task/task-kernel-paths.d.ts.map +1 -0
- package/dist/core/task/task-kernel-paths.js +237 -0
- package/dist/core/task/task-kernel-paths.js.map +1 -0
- package/dist/core/task/task-kernel-reviews.d.ts +3 -0
- package/dist/core/task/task-kernel-reviews.d.ts.map +1 -0
- package/dist/core/task/task-kernel-reviews.js +100 -0
- package/dist/core/task/task-kernel-reviews.js.map +1 -0
- package/dist/core/task/task-kernel-runs.d.ts +5 -0
- package/dist/core/task/task-kernel-runs.d.ts.map +1 -0
- package/dist/core/task/task-kernel-runs.js +196 -0
- package/dist/core/task/task-kernel-runs.js.map +1 -0
- package/dist/core/task/task-kernel-schema.d.ts +29 -0
- package/dist/core/task/task-kernel-schema.d.ts.map +1 -0
- package/dist/core/task/task-kernel-schema.js +1169 -0
- package/dist/core/task/task-kernel-schema.js.map +1 -0
- package/dist/core/task/task-kernel-store-v2.d.ts +33 -0
- package/dist/core/task/task-kernel-store-v2.d.ts.map +1 -0
- package/dist/core/task/task-kernel-store-v2.js +574 -0
- package/dist/core/task/task-kernel-store-v2.js.map +1 -0
- package/dist/core/task/task-kernel-types.d.ts +585 -0
- package/dist/core/task/task-kernel-types.d.ts.map +1 -0
- package/dist/core/task/task-kernel-types.js +31 -0
- package/dist/core/task/task-kernel-types.js.map +1 -0
- package/dist/core/task/task-kernel-workspaces.d.ts +10 -0
- package/dist/core/task/task-kernel-workspaces.d.ts.map +1 -0
- package/dist/core/task/task-kernel-workspaces.js +250 -0
- package/dist/core/task/task-kernel-workspaces.js.map +1 -0
- package/dist/core/task/task-kernel-write-set.d.ts +3 -0
- package/dist/core/task/task-kernel-write-set.d.ts.map +1 -0
- package/dist/core/task/task-kernel-write-set.js +12 -0
- package/dist/core/task/task-kernel-write-set.js.map +1 -0
- package/dist/core/task/task-kernel.d.ts +19 -0
- package/dist/core/task/task-kernel.d.ts.map +1 -0
- package/dist/core/task/task-kernel.js +17 -0
- package/dist/core/task/task-kernel.js.map +1 -0
- package/dist/core/task/task-pull-request-observer.d.ts +25 -0
- package/dist/core/task/task-pull-request-observer.d.ts.map +1 -0
- package/dist/core/task/task-pull-request-observer.js +187 -0
- package/dist/core/task/task-pull-request-observer.js.map +1 -0
- package/dist/core/task/task-review-evidence.d.ts +27 -0
- package/dist/core/task/task-review-evidence.d.ts.map +1 -0
- package/dist/core/task/task-review-evidence.js +383 -0
- package/dist/core/task/task-review-evidence.js.map +1 -0
- package/dist/migrations/index.d.ts +1 -1
- package/dist/migrations/index.d.ts.map +1 -1
- package/dist/migrations/index.js +5 -3
- package/dist/migrations/index.js.map +1 -1
- package/dist/migrations/manifests/0.6.0-beta.3.json +9 -0
- package/dist/migrations/manifests/0.6.0-beta.4.json +9 -0
- package/dist/pactile/artifacts/documents.d.ts +72 -0
- package/dist/pactile/artifacts/documents.d.ts.map +1 -0
- package/dist/pactile/artifacts/documents.js +406 -0
- package/dist/pactile/artifacts/documents.js.map +1 -0
- package/dist/pactile/artifacts/index.d.ts +6 -0
- package/dist/pactile/artifacts/index.d.ts.map +1 -0
- package/dist/pactile/artifacts/index.js +6 -0
- package/dist/pactile/artifacts/index.js.map +1 -0
- package/dist/pactile/artifacts/projection.d.ts +50 -0
- package/dist/pactile/artifacts/projection.d.ts.map +1 -0
- package/dist/pactile/artifacts/projection.js +139 -0
- package/dist/pactile/artifacts/projection.js.map +1 -0
- package/dist/pactile/artifacts/reader.d.ts +20 -0
- package/dist/pactile/artifacts/reader.d.ts.map +1 -0
- package/dist/pactile/artifacts/reader.js +559 -0
- package/dist/pactile/artifacts/reader.js.map +1 -0
- package/dist/pactile/artifacts/schema.d.ts +4 -0
- package/dist/pactile/artifacts/schema.d.ts.map +1 -0
- package/dist/pactile/artifacts/schema.js +217 -0
- package/dist/pactile/artifacts/schema.js.map +1 -0
- package/dist/pactile/artifacts/types.d.ts +66 -0
- package/dist/pactile/artifacts/types.d.ts.map +1 -0
- package/dist/pactile/artifacts/types.js +45 -0
- package/dist/pactile/artifacts/types.js.map +1 -0
- package/dist/pactile/capabilities/claim.d.ts +3 -0
- package/dist/pactile/capabilities/claim.d.ts.map +1 -0
- package/dist/pactile/capabilities/claim.js +97 -0
- package/dist/pactile/capabilities/claim.js.map +1 -0
- package/dist/pactile/capabilities/command.d.ts +6 -0
- package/dist/pactile/capabilities/command.d.ts.map +1 -0
- package/dist/pactile/capabilities/command.js +253 -0
- package/dist/pactile/capabilities/command.js.map +1 -0
- package/dist/pactile/capabilities/discover.d.ts +6 -0
- package/dist/pactile/capabilities/discover.d.ts.map +1 -0
- package/dist/pactile/capabilities/discover.js +48 -0
- package/dist/pactile/capabilities/discover.js.map +1 -0
- package/dist/pactile/capabilities/node.d.ts +15 -0
- package/dist/pactile/capabilities/node.d.ts.map +1 -0
- package/dist/pactile/capabilities/node.js +292 -0
- package/dist/pactile/capabilities/node.js.map +1 -0
- package/dist/pactile/capabilities/read.d.ts +6 -0
- package/dist/pactile/capabilities/read.d.ts.map +1 -0
- package/dist/pactile/capabilities/read.js +100 -0
- package/dist/pactile/capabilities/read.js.map +1 -0
- package/dist/pactile/capabilities/receipts.d.ts +17 -0
- package/dist/pactile/capabilities/receipts.d.ts.map +1 -0
- package/dist/pactile/capabilities/receipts.js +90 -0
- package/dist/pactile/capabilities/receipts.js.map +1 -0
- package/dist/pactile/capabilities/search.d.ts +6 -0
- package/dist/pactile/capabilities/search.d.ts.map +1 -0
- package/dist/pactile/capabilities/search.js +181 -0
- package/dist/pactile/capabilities/search.js.map +1 -0
- package/dist/pactile/capabilities/shared.d.ts +29 -0
- package/dist/pactile/capabilities/shared.d.ts.map +1 -0
- package/dist/pactile/capabilities/shared.js +134 -0
- package/dist/pactile/capabilities/shared.js.map +1 -0
- package/dist/pactile/capabilities/workspace.d.ts +19 -0
- package/dist/pactile/capabilities/workspace.d.ts.map +1 -0
- package/dist/pactile/capabilities/workspace.js +273 -0
- package/dist/pactile/capabilities/workspace.js.map +1 -0
- package/dist/pactile/codex/bridge.d.ts +105 -2
- package/dist/pactile/codex/bridge.d.ts.map +1 -1
- package/dist/pactile/codex/bridge.js +1266 -92
- package/dist/pactile/codex/bridge.js.map +1 -1
- package/dist/pactile/codex/dispatch-stop-proof.d.ts +43 -0
- package/dist/pactile/codex/dispatch-stop-proof.d.ts.map +1 -0
- package/dist/pactile/codex/dispatch-stop-proof.js +177 -0
- package/dist/pactile/codex/dispatch-stop-proof.js.map +1 -0
- package/dist/pactile/codex/host-stop.d.ts +47 -0
- package/dist/pactile/codex/host-stop.d.ts.map +1 -0
- package/dist/pactile/codex/host-stop.js +344 -0
- package/dist/pactile/codex/host-stop.js.map +1 -0
- package/dist/pactile/coordination/index.d.ts +4 -0
- package/dist/pactile/coordination/index.d.ts.map +1 -0
- package/dist/pactile/coordination/index.js +4 -0
- package/dist/pactile/coordination/index.js.map +1 -0
- package/dist/pactile/coordination/journal.d.ts +10 -0
- package/dist/pactile/coordination/journal.d.ts.map +1 -0
- package/dist/pactile/coordination/journal.js +255 -0
- package/dist/pactile/coordination/journal.js.map +1 -0
- package/dist/pactile/coordination/kernel-resume.d.ts +8 -0
- package/dist/pactile/coordination/kernel-resume.d.ts.map +1 -0
- package/dist/pactile/coordination/kernel-resume.js +87 -0
- package/dist/pactile/coordination/kernel-resume.js.map +1 -0
- package/dist/pactile/coordination/model.d.ts +553 -0
- package/dist/pactile/coordination/model.d.ts.map +1 -0
- package/dist/pactile/coordination/model.js +239 -0
- package/dist/pactile/coordination/model.js.map +1 -0
- package/dist/pactile/coordination/state.d.ts +46 -0
- package/dist/pactile/coordination/state.d.ts.map +1 -0
- package/dist/pactile/coordination/state.js +301 -0
- package/dist/pactile/coordination/state.js.map +1 -0
- package/dist/pactile/coordination/store.d.ts +94 -0
- package/dist/pactile/coordination/store.d.ts.map +1 -0
- package/dist/pactile/coordination/store.js +396 -0
- package/dist/pactile/coordination/store.js.map +1 -0
- package/dist/pactile/index.d.ts +7 -1
- package/dist/pactile/index.d.ts.map +1 -1
- package/dist/pactile/index.js +7 -1
- package/dist/pactile/index.js.map +1 -1
- package/dist/pactile/jev/contracts.d.ts +104 -0
- package/dist/pactile/jev/contracts.d.ts.map +1 -0
- package/dist/pactile/jev/contracts.js +53 -0
- package/dist/pactile/jev/contracts.js.map +1 -0
- package/dist/pactile/jev/decision.d.ts +58 -0
- package/dist/pactile/jev/decision.d.ts.map +1 -0
- package/dist/pactile/jev/decision.js +149 -0
- package/dist/pactile/jev/decision.js.map +1 -0
- package/dist/pactile/jev/http.d.ts +25 -0
- package/dist/pactile/jev/http.d.ts.map +1 -0
- package/dist/pactile/jev/http.js +234 -0
- package/dist/pactile/jev/http.js.map +1 -0
- package/dist/pactile/jev/index.d.ts +8 -0
- package/dist/pactile/jev/index.d.ts.map +1 -0
- package/dist/pactile/jev/index.js +4 -0
- package/dist/pactile/jev/index.js.map +1 -0
- package/dist/pactile/jev/outbound.d.ts +15 -0
- package/dist/pactile/jev/outbound.d.ts.map +1 -0
- package/dist/pactile/jev/outbound.js +264 -0
- package/dist/pactile/jev/outbound.js.map +1 -0
- package/dist/pactile/jev/project-policy.d.ts +10 -0
- package/dist/pactile/jev/project-policy.d.ts.map +1 -0
- package/dist/pactile/jev/project-policy.js +53 -0
- package/dist/pactile/jev/project-policy.js.map +1 -0
- package/dist/pactile/jev/response.d.ts +17 -0
- package/dist/pactile/jev/response.d.ts.map +1 -0
- package/dist/pactile/jev/response.js +280 -0
- package/dist/pactile/jev/response.js.map +1 -0
- package/dist/pactile/jev/scheduler-advice.d.ts +92 -0
- package/dist/pactile/jev/scheduler-advice.d.ts.map +1 -0
- package/dist/pactile/jev/scheduler-advice.js +323 -0
- package/dist/pactile/jev/scheduler-advice.js.map +1 -0
- package/dist/pactile/jev/transport.d.ts +6 -0
- package/dist/pactile/jev/transport.d.ts.map +1 -0
- package/dist/pactile/jev/transport.js +87 -0
- package/dist/pactile/jev/transport.js.map +1 -0
- package/dist/pactile/lifecycle/deferred-live.d.ts +17 -0
- package/dist/pactile/lifecycle/deferred-live.d.ts.map +1 -0
- package/dist/pactile/lifecycle/deferred-live.js +173 -0
- package/dist/pactile/lifecycle/deferred-live.js.map +1 -0
- package/dist/pactile/lifecycle/legacy-import.d.ts +1 -1
- package/dist/pactile/lifecycle/legacy-import.js +3 -3
- package/dist/pactile/lifecycle/legacy-import.js.map +1 -1
- package/dist/pactile/lifecycle/project-files.d.ts.map +1 -1
- package/dist/pactile/lifecycle/project-files.js +1 -0
- package/dist/pactile/lifecycle/project-files.js.map +1 -1
- package/dist/pactile/migration/legacy-task-batch-generation.d.ts +23 -0
- package/dist/pactile/migration/legacy-task-batch-generation.d.ts.map +1 -0
- package/dist/pactile/migration/legacy-task-batch-generation.js +102 -0
- package/dist/pactile/migration/legacy-task-batch-generation.js.map +1 -0
- package/dist/pactile/migration/legacy-task-batch-io.d.ts +9 -0
- package/dist/pactile/migration/legacy-task-batch-io.d.ts.map +1 -0
- package/dist/pactile/migration/legacy-task-batch-io.js +208 -0
- package/dist/pactile/migration/legacy-task-batch-io.js.map +1 -0
- package/dist/pactile/migration/legacy-task-batch-journal.d.ts +6 -0
- package/dist/pactile/migration/legacy-task-batch-journal.d.ts.map +1 -0
- package/dist/pactile/migration/legacy-task-batch-journal.js +121 -0
- package/dist/pactile/migration/legacy-task-batch-journal.js.map +1 -0
- package/dist/pactile/migration/legacy-task-batch-orchestrator.d.ts +18 -0
- package/dist/pactile/migration/legacy-task-batch-orchestrator.d.ts.map +1 -0
- package/dist/pactile/migration/legacy-task-batch-orchestrator.js +634 -0
- package/dist/pactile/migration/legacy-task-batch-orchestrator.js.map +1 -0
- package/dist/pactile/migration/legacy-task-batch-source.d.ts +8 -0
- package/dist/pactile/migration/legacy-task-batch-source.d.ts.map +1 -0
- package/dist/pactile/migration/legacy-task-batch-source.js +158 -0
- package/dist/pactile/migration/legacy-task-batch-source.js.map +1 -0
- package/dist/pactile/migration/legacy-task-batch-types.d.ts +127 -0
- package/dist/pactile/migration/legacy-task-batch-types.d.ts.map +1 -0
- package/dist/pactile/migration/legacy-task-batch-types.js +127 -0
- package/dist/pactile/migration/legacy-task-batch-types.js.map +1 -0
- package/dist/pactile/migration/legacy-task-batch.d.ts +3 -0
- package/dist/pactile/migration/legacy-task-batch.d.ts.map +1 -0
- package/dist/pactile/migration/legacy-task-batch.js +2 -0
- package/dist/pactile/migration/legacy-task-batch.js.map +1 -0
- package/dist/pactile/migration/legacy-task-held-source-reader.d.ts +27 -0
- package/dist/pactile/migration/legacy-task-held-source-reader.d.ts.map +1 -0
- package/dist/pactile/migration/legacy-task-held-source-reader.js +261 -0
- package/dist/pactile/migration/legacy-task-held-source-reader.js.map +1 -0
- package/dist/pactile/migration/legacy-task-reconciliation.d.ts +46 -0
- package/dist/pactile/migration/legacy-task-reconciliation.d.ts.map +1 -0
- package/dist/pactile/migration/legacy-task-reconciliation.js +589 -0
- package/dist/pactile/migration/legacy-task-reconciliation.js.map +1 -0
- package/dist/pactile/migration/legacy-task-update.d.ts +19 -0
- package/dist/pactile/migration/legacy-task-update.d.ts.map +1 -0
- package/dist/pactile/migration/legacy-task-update.js +164 -0
- package/dist/pactile/migration/legacy-task-update.js.map +1 -0
- package/dist/pactile/parallel/batch.d.ts +21 -2
- package/dist/pactile/parallel/batch.d.ts.map +1 -1
- package/dist/pactile/parallel/batch.js +271 -50
- package/dist/pactile/parallel/batch.js.map +1 -1
- package/dist/pactile/parallel/policy.d.ts +1 -1
- package/dist/pactile/parallel/policy.d.ts.map +1 -1
- package/dist/pactile/parallel/policy.js +130 -102
- package/dist/pactile/parallel/policy.js.map +1 -1
- package/dist/pactile/pi/bridge.d.ts +139 -2
- package/dist/pactile/pi/bridge.d.ts.map +1 -1
- package/dist/pactile/pi/bridge.js +1317 -106
- package/dist/pactile/pi/bridge.js.map +1 -1
- package/dist/pactile/pi/rpc.d.ts +23 -4
- package/dist/pactile/pi/rpc.d.ts.map +1 -1
- package/dist/pactile/pi/rpc.js +243 -42
- package/dist/pactile/pi/rpc.js.map +1 -1
- package/dist/pactile/pi/v2-dispatch.d.ts +113 -0
- package/dist/pactile/pi/v2-dispatch.d.ts.map +1 -0
- package/dist/pactile/pi/v2-dispatch.js +919 -0
- package/dist/pactile/pi/v2-dispatch.js.map +1 -0
- package/dist/pactile/projection/planner.js +1 -1
- package/dist/pactile/projection/planner.js.map +1 -1
- package/dist/pactile/registry.d.ts +63 -1
- package/dist/pactile/registry.d.ts.map +1 -1
- package/dist/pactile/registry.js +633 -4
- package/dist/pactile/registry.js.map +1 -1
- package/dist/pactile/retrieval/index.d.ts +1 -0
- package/dist/pactile/retrieval/index.d.ts.map +1 -1
- package/dist/pactile/retrieval/index.js +1 -0
- package/dist/pactile/retrieval/index.js.map +1 -1
- package/dist/pactile/retrieval/jev-planning.d.ts +28 -0
- package/dist/pactile/retrieval/jev-planning.d.ts.map +1 -0
- package/dist/pactile/retrieval/jev-planning.js +96 -0
- package/dist/pactile/retrieval/jev-planning.js.map +1 -0
- package/dist/pactile/review/contract.d.ts +232 -0
- package/dist/pactile/review/contract.d.ts.map +1 -0
- package/dist/pactile/review/contract.js +695 -0
- package/dist/pactile/review/contract.js.map +1 -0
- package/dist/pactile/review/escalation-artifacts.d.ts +41 -0
- package/dist/pactile/review/escalation-artifacts.d.ts.map +1 -0
- package/dist/pactile/review/escalation-artifacts.js +415 -0
- package/dist/pactile/review/escalation-artifacts.js.map +1 -0
- package/dist/pactile/review/escalation-contract.d.ts +115 -0
- package/dist/pactile/review/escalation-contract.d.ts.map +1 -0
- package/dist/pactile/review/escalation-contract.js +151 -0
- package/dist/pactile/review/escalation-contract.js.map +1 -0
- package/dist/pactile/review/escalation-finalize.d.ts +14 -0
- package/dist/pactile/review/escalation-finalize.d.ts.map +1 -0
- package/dist/pactile/review/escalation-finalize.js +319 -0
- package/dist/pactile/review/escalation-finalize.js.map +1 -0
- package/dist/pactile/review/escalation-reply.d.ts +10 -0
- package/dist/pactile/review/escalation-reply.d.ts.map +1 -0
- package/dist/pactile/review/escalation-reply.js +61 -0
- package/dist/pactile/review/escalation-reply.js.map +1 -0
- package/dist/pactile/review/escalation-transport.d.ts +32 -0
- package/dist/pactile/review/escalation-transport.d.ts.map +1 -0
- package/dist/pactile/review/escalation-transport.js +216 -0
- package/dist/pactile/review/escalation-transport.js.map +1 -0
- package/dist/pactile/review/escalation.d.ts +7 -0
- package/dist/pactile/review/escalation.d.ts.map +1 -0
- package/dist/pactile/review/escalation.js +6 -0
- package/dist/pactile/review/escalation.js.map +1 -0
- package/dist/pactile/review/evidence.d.ts +25 -0
- package/dist/pactile/review/evidence.d.ts.map +1 -0
- package/dist/pactile/review/evidence.js +58 -0
- package/dist/pactile/review/evidence.js.map +1 -0
- package/dist/pactile/review/jev-escalation-advice.d.ts +77 -0
- package/dist/pactile/review/jev-escalation-advice.d.ts.map +1 -0
- package/dist/pactile/review/jev-escalation-advice.js +358 -0
- package/dist/pactile/review/jev-escalation-advice.js.map +1 -0
- package/dist/pactile/scheduler/index.d.ts +6 -0
- package/dist/pactile/scheduler/index.d.ts.map +1 -0
- package/dist/pactile/scheduler/index.js +5 -0
- package/dist/pactile/scheduler/index.js.map +1 -0
- package/dist/pactile/scheduler/project-lease-store.d.ts +35 -0
- package/dist/pactile/scheduler/project-lease-store.d.ts.map +1 -0
- package/dist/pactile/scheduler/project-lease-store.js +189 -0
- package/dist/pactile/scheduler/project-lease-store.js.map +1 -0
- package/dist/pactile/scheduler/scheduler.d.ts +91 -0
- package/dist/pactile/scheduler/scheduler.d.ts.map +1 -0
- package/dist/pactile/scheduler/scheduler.js +589 -0
- package/dist/pactile/scheduler/scheduler.js.map +1 -0
- package/dist/pactile/scheduler/task-kernel-admission.d.ts +173 -0
- package/dist/pactile/scheduler/task-kernel-admission.d.ts.map +1 -0
- package/dist/pactile/scheduler/task-kernel-admission.js +1560 -0
- package/dist/pactile/scheduler/task-kernel-admission.js.map +1 -0
- package/dist/pactile/scheduler/task-kernel-wave-dispatch.d.ts +184 -0
- package/dist/pactile/scheduler/task-kernel-wave-dispatch.d.ts.map +1 -0
- package/dist/pactile/scheduler/task-kernel-wave-dispatch.js +952 -0
- package/dist/pactile/scheduler/task-kernel-wave-dispatch.js.map +1 -0
- package/dist/pactile/scheduler/task-map-scheduler.d.ts +116 -0
- package/dist/pactile/scheduler/task-map-scheduler.d.ts.map +1 -0
- package/dist/pactile/scheduler/task-map-scheduler.js +1448 -0
- package/dist/pactile/scheduler/task-map-scheduler.js.map +1 -0
- package/dist/pactile/scheduler/task-run-dispatch-state.d.ts +7 -0
- package/dist/pactile/scheduler/task-run-dispatch-state.d.ts.map +1 -0
- package/dist/pactile/scheduler/task-run-dispatch-state.js +69 -0
- package/dist/pactile/scheduler/task-run-dispatch-state.js.map +1 -0
- package/dist/pactile/task/authorization.d.ts +3 -0
- package/dist/pactile/task/authorization.d.ts.map +1 -0
- package/dist/pactile/task/authorization.js +43 -0
- package/dist/pactile/task/authorization.js.map +1 -0
- package/dist/pactile/task/creation.d.ts +22 -0
- package/dist/pactile/task/creation.d.ts.map +1 -0
- package/dist/pactile/task/creation.js +95 -0
- package/dist/pactile/task/creation.js.map +1 -0
- package/dist/pactile/task/guards.d.ts +1 -4
- package/dist/pactile/task/guards.d.ts.map +1 -1
- package/dist/pactile/task/guards.js +5 -57
- package/dist/pactile/task/guards.js.map +1 -1
- package/dist/pactile/task/session-jev-receipt.d.ts +58 -0
- package/dist/pactile/task/session-jev-receipt.d.ts.map +1 -0
- package/dist/pactile/task/session-jev-receipt.js +375 -0
- package/dist/pactile/task/session-jev-receipt.js.map +1 -0
- package/dist/pactile/task/session-jev.d.ts +7 -0
- package/dist/pactile/task/session-jev.d.ts.map +1 -0
- package/dist/pactile/task/session-jev.js +217 -0
- package/dist/pactile/task/session-jev.js.map +1 -0
- package/dist/pactile/task/session-pack.d.ts.map +1 -1
- package/dist/pactile/task/session-pack.js +155 -16
- package/dist/pactile/task/session-pack.js.map +1 -1
- package/dist/pactile/task/session-retrieval-jev-receipt.d.ts +49 -0
- package/dist/pactile/task/session-retrieval-jev-receipt.d.ts.map +1 -0
- package/dist/pactile/task/session-retrieval-jev-receipt.js +97 -0
- package/dist/pactile/task/session-retrieval-jev-receipt.js.map +1 -0
- package/dist/pactile/task/session-retrieval-jev.d.ts +8 -0
- package/dist/pactile/task/session-retrieval-jev.d.ts.map +1 -0
- package/dist/pactile/task/session-retrieval-jev.js +352 -0
- package/dist/pactile/task/session-retrieval-jev.js.map +1 -0
- package/dist/pactile/task/strategy.d.ts +1 -23
- package/dist/pactile/task/strategy.d.ts.map +1 -1
- package/dist/pactile/task/strategy.js +2 -135
- package/dist/pactile/task/strategy.js.map +1 -1
- package/dist/pactile/tiles/jev-selection.d.ts +44 -0
- package/dist/pactile/tiles/jev-selection.d.ts.map +1 -0
- package/dist/pactile/tiles/jev-selection.js +210 -0
- package/dist/pactile/tiles/jev-selection.js.map +1 -0
- package/dist/pactile/tiles/safe-yaml.d.ts +5 -1
- package/dist/pactile/tiles/safe-yaml.d.ts.map +1 -1
- package/dist/pactile/tiles/safe-yaml.js +8 -8
- package/dist/pactile/tiles/safe-yaml.js.map +1 -1
- package/dist/pactile/tiles/selection-receipts.d.ts +71 -0
- package/dist/pactile/tiles/selection-receipts.d.ts.map +1 -0
- package/dist/pactile/tiles/selection-receipts.js +319 -0
- package/dist/pactile/tiles/selection-receipts.js.map +1 -0
- package/dist/pactile/tiles/selection.d.ts +185 -0
- package/dist/pactile/tiles/selection.d.ts.map +1 -0
- package/dist/pactile/tiles/selection.js +985 -0
- package/dist/pactile/tiles/selection.js.map +1 -0
- package/dist/pactile/verification/git-observer.d.ts +3 -0
- package/dist/pactile/verification/git-observer.d.ts.map +1 -0
- package/dist/pactile/verification/git-observer.js +3 -0
- package/dist/pactile/verification/git-observer.js.map +1 -0
- package/dist/pactile/verification/index.d.ts +11 -0
- package/dist/pactile/verification/index.d.ts.map +1 -0
- package/dist/pactile/verification/index.js +6 -0
- package/dist/pactile/verification/index.js.map +1 -0
- package/dist/pactile/verification/jev-advice.d.ts +78 -0
- package/dist/pactile/verification/jev-advice.d.ts.map +1 -0
- package/dist/pactile/verification/jev-advice.js +397 -0
- package/dist/pactile/verification/jev-advice.js.map +1 -0
- package/dist/pactile/verification/planner.d.ts +15 -0
- package/dist/pactile/verification/planner.d.ts.map +1 -0
- package/dist/pactile/verification/planner.js +412 -0
- package/dist/pactile/verification/planner.js.map +1 -0
- package/dist/pactile/verification/receipt.d.ts +101 -0
- package/dist/pactile/verification/receipt.d.ts.map +1 -0
- package/dist/pactile/verification/receipt.js +400 -0
- package/dist/pactile/verification/receipt.js.map +1 -0
- package/dist/pactile/verification/types.d.ts +72 -0
- package/dist/pactile/verification/types.d.ts.map +1 -0
- package/dist/pactile/verification/types.js +21 -0
- package/dist/pactile/verification/types.js.map +1 -0
- package/dist/pactile/worktree/git-probe.d.ts +32 -0
- package/dist/pactile/worktree/git-probe.d.ts.map +1 -0
- package/dist/pactile/worktree/git-probe.js +336 -0
- package/dist/pactile/worktree/git-probe.js.map +1 -0
- package/dist/pactile/worktree/git-removal.d.ts +3 -0
- package/dist/pactile/worktree/git-removal.d.ts.map +1 -0
- package/dist/pactile/worktree/git-removal.js +11 -0
- package/dist/pactile/worktree/git-removal.js.map +1 -0
- package/dist/pactile/worktree/index.d.ts +2 -0
- package/dist/pactile/worktree/index.d.ts.map +1 -0
- package/dist/pactile/worktree/index.js +2 -0
- package/dist/pactile/worktree/index.js.map +1 -0
- package/dist/pactile/worktree/integration-evidence.d.ts +80 -0
- package/dist/pactile/worktree/integration-evidence.d.ts.map +1 -0
- package/dist/pactile/worktree/integration-evidence.js +166 -0
- package/dist/pactile/worktree/integration-evidence.js.map +1 -0
- package/dist/pactile/worktree/manager-core.d.ts +50 -0
- package/dist/pactile/worktree/manager-core.d.ts.map +1 -0
- package/dist/pactile/worktree/manager-core.js +359 -0
- package/dist/pactile/worktree/manager-core.js.map +1 -0
- package/dist/pactile/worktree/manager-provenance.d.ts +32 -0
- package/dist/pactile/worktree/manager-provenance.d.ts.map +1 -0
- package/dist/pactile/worktree/manager-provenance.js +409 -0
- package/dist/pactile/worktree/manager-provenance.js.map +1 -0
- package/dist/pactile/worktree/manager-types.d.ts +84 -0
- package/dist/pactile/worktree/manager-types.d.ts.map +1 -0
- package/dist/pactile/worktree/manager-types.js +11 -0
- package/dist/pactile/worktree/manager-types.js.map +1 -0
- package/dist/pactile/worktree/manager.d.ts +10 -0
- package/dist/pactile/worktree/manager.d.ts.map +1 -0
- package/dist/pactile/worktree/manager.js +6 -0
- package/dist/pactile/worktree/manager.js.map +1 -0
- package/dist/pactile/worktree/run-workspace-cleanup.d.ts +10 -0
- package/dist/pactile/worktree/run-workspace-cleanup.d.ts.map +1 -0
- package/dist/pactile/worktree/run-workspace-cleanup.js +695 -0
- package/dist/pactile/worktree/run-workspace-cleanup.js.map +1 -0
- package/dist/pactile/worktree/run-workspace-lifecycle.d.ts +65 -0
- package/dist/pactile/worktree/run-workspace-lifecycle.d.ts.map +1 -0
- package/dist/pactile/worktree/run-workspace-lifecycle.js +276 -0
- package/dist/pactile/worktree/run-workspace-lifecycle.js.map +1 -0
- package/dist/templates/common/bundled-skills/pactile-meta/references/customize-local/change-hooks.md +1 -1
- package/dist/templates/common/bundled-skills/pactile-meta/references/local-architecture/generated-files.md +1 -1
- package/dist/templates/common/bundled-skills/pactile-meta/references/platform-files/hooks-and-settings.md +1 -1
- package/dist/templates/common/bundled-skills/pactile-meta/references/platform-files/overview.md +1 -1
- package/dist/templates/common/bundled-skills/pactile-meta/references/platform-files/platform-map.md +1 -1
- package/dist/templates/common/bundled-skills/smart-search-cli/SKILL.md +2 -0
- package/dist/templates/common/skills/brainstorm.md +19 -13
- package/dist/templates/markdown/agents.md +2 -2
- package/dist/templates/markdown/framework/execution-strategy.md.txt +1 -1
- package/dist/templates/markdown/framework/index.md.txt +1 -1
- package/dist/templates/markdown/framework/parallel-first-execution.md.txt +17 -105
- package/dist/templates/markdown/framework/prd-grill-frontier.md.txt +3 -3
- package/dist/templates/markdown/framework/release-boundary.md.txt +9 -10
- package/dist/templates/markdown/framework/retrieval-daily-guide.md.txt +1 -1
- package/dist/templates/pactile/CONTEXT.md +48 -36
- package/dist/templates/pactile/modules/approval-personal/contract.md +12 -24
- package/dist/templates/pactile/modules/close-basic/contract.md +15 -18
- package/dist/templates/pactile/modules/debug-recovery/contract.md +4 -4
- package/dist/templates/pactile/modules/define-basic/contract.md +15 -19
- package/dist/templates/pactile/modules/define-extended/contract.md +3 -3
- package/dist/templates/pactile/modules/execute-agent/contract.md +11 -19
- package/dist/templates/pactile/modules/intake-basic/contract.md +16 -13
- package/dist/templates/pactile/modules/verify-basic/contract.md +11 -20
- package/dist/templates/pactile/tasks/templates/release-execution/design.md +5 -5
- package/dist/templates/pactile/tasks/templates/release-readiness/design.md +6 -6
- package/dist/templates/pactile/tasks/templates/release-readiness/handoff-template.md +8 -2
- package/dist/templates/pactile/workflow.md +37 -41
- package/dist/templates/template-utils.d.ts +1 -2
- package/dist/templates/template-utils.d.ts.map +1 -1
- package/dist/templates/template-utils.js +2 -13
- package/dist/templates/template-utils.js.map +1 -1
- package/dist/types/ai-tools.d.ts +1 -1
- package/dist/types/ai-tools.js +1 -1
- package/dist/utils/manifest-prune.js +1 -1
- package/dist/utils/manifest-prune.js.map +1 -1
- package/dist/utils/p36-upgrade.d.ts +2 -2
- package/dist/utils/p36-upgrade.d.ts.map +1 -1
- package/dist/utils/p36-upgrade.js +2 -10
- package/dist/utils/p36-upgrade.js.map +1 -1
- package/dist/utils/post-update-smoke.js +1 -1
- package/dist/utils/post-update-smoke.js.map +1 -1
- package/dist/utils/readiness.d.ts +2 -2
- package/dist/utils/readiness.js +2 -2
- package/dist/utils/uninstall-scrubbers.js +1 -1
- package/dist/utils/workflow-dir.d.ts +1 -1
- package/dist/utils/workflow-dir.d.ts.map +1 -1
- package/dist/utils/workflow-dir.js +1 -1
- package/dist/utils/workflow-dir.js.map +1 -1
- package/package.json +42 -37
- package/CHANGELOG.md +0 -651
- package/bin/compat-warning.js +0 -11
- package/bin/pactile.js +0 -3
- package/bin/smart-search.js +0 -38
- package/dist/migrations/manifests/0.1.0.json +0 -9
- package/dist/migrations/manifests/0.1.1.json +0 -9
- package/dist/migrations/manifests/0.1.2.json +0 -9
- package/dist/migrations/manifests/0.1.3.json +0 -9
- package/dist/migrations/manifests/0.1.4.json +0 -9
- package/dist/migrations/manifests/0.2.1.json +0 -9
- package/dist/migrations/manifests/0.2.10.json +0 -374
- package/dist/migrations/manifests/0.2.2.json +0 -9
- package/dist/migrations/manifests/0.2.3.json +0 -9
- package/dist/migrations/manifests/0.2.4.json +0 -9
- package/dist/migrations/manifests/0.2.5.json +0 -9
- package/dist/migrations/manifests/0.2.6.json +0 -9
- package/dist/migrations/manifests/0.2.7.json +0 -9
- package/dist/migrations/manifests/0.2.8.json +0 -9
- package/dist/migrations/manifests/0.2.9.json +0 -9
- package/dist/migrations/manifests/0.3.0.json +0 -89
- package/dist/migrations/manifests/0.3.1.json +0 -32
- package/dist/migrations/manifests/0.3.2.json +0 -16
- package/dist/migrations/manifests/0.3.3.json +0 -9
- package/dist/migrations/manifests/0.3.4.json +0 -9
- package/dist/migrations/manifests/0.3.5.json +0 -9
- package/dist/migrations/manifests/0.3.6.json +0 -9
- package/dist/migrations/manifests/0.4.0.json +0 -9
- package/dist/migrations/manifests/0.4.1.json +0 -9
- package/dist/migrations/manifests/0.4.2.json +0 -9
- package/dist/migrations/manifests/0.4.3.json +0 -9
- package/dist/migrations/manifests/0.5.0-beta.0.json +0 -9
- package/dist/migrations/manifests/0.5.0-beta.1.json +0 -9
- package/dist/migrations/manifests/0.5.0-beta.2.json +0 -9
- package/dist/migrations/manifests/0.5.0-beta.3.json +0 -9
- package/dist/migrations/manifests/0.5.0-beta.4.json +0 -9
- package/dist/migrations/manifests/0.5.0-beta.5.json +0 -9
- package/dist/migrations/manifests/0.5.0.json +0 -9
- package/dist/pactile/compat/retired-alternate-client.d.ts +0 -42
- package/dist/pactile/compat/retired-alternate-client.d.ts.map +0 -1
- package/dist/pactile/compat/retired-alternate-client.js +0 -153
- package/dist/pactile/compat/retired-alternate-client.js.map +0 -1
- package/dist/pactile/compat/update-residue.d.ts +0 -4
- package/dist/pactile/compat/update-residue.d.ts.map +0 -1
- package/dist/pactile/compat/update-residue.js +0 -55
- package/dist/pactile/compat/update-residue.js.map +0 -1
- package/dist/utils/cursor-retrieval-env.d.ts +0 -17
- package/dist/utils/cursor-retrieval-env.d.ts.map +0 -1
- package/dist/utils/cursor-retrieval-env.js +0 -19
- package/dist/utils/cursor-retrieval-env.js.map +0 -1
- package/dist/utils/proxy.d.ts +0 -25
- package/dist/utils/proxy.d.ts.map +0 -1
- package/dist/utils/proxy.js +0 -60
- package/dist/utils/proxy.js.map +0 -1
- package/scripts/postinstall.js +0 -6
|
@@ -4,31 +4,34 @@ P29 表名:`intake-basic`(不得改名)。层:baseline。
|
|
|
4
4
|
|
|
5
5
|
## 职责
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
在尚未选择 Task 时处理新请求:直接回答、澄清是否存在工作,或提出一个可交付 Task 的建议。Proposal 不是 Task,也不授权执行。
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
新建 V2 Task 的建议应识别:
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
- 具体交付物(deliverable);
|
|
12
|
+
- 可观察、可验证的验收标准(AC);
|
|
13
|
+
- 交付层级:`local-result`、`pull-request`、`merged-result` 或 `documentation`;
|
|
14
|
+
- 已知硬依赖对应的 Task ID。
|
|
12
15
|
|
|
13
|
-
|
|
16
|
+
只有当每份交付物都能独立验证和 Close 时,才建议拆成多个 Task。只有前置 Task 必须成功 Close 后,后续 Task 才能开始时,才记录硬依赖。不要让用户选择 rigor 或 topology 预设。
|
|
14
17
|
|
|
15
|
-
|
|
18
|
+
## 触发/披露
|
|
16
19
|
|
|
17
|
-
|
|
20
|
+
无选中 Task、有冲突的新请求,或用户明确要求另开 Task 时触发。选中 Task 内的普通跟进不重跑 Intake。
|
|
18
21
|
|
|
19
|
-
|
|
22
|
+
Agent 看见入口判断和精简 Proposal。用户看见是否可直接回答、是否需要建 Task,以及 Proposal 的交付物、AC、交付层级、依赖和理由。
|
|
20
23
|
|
|
21
24
|
## 停止条件
|
|
22
25
|
|
|
23
|
-
-
|
|
24
|
-
-
|
|
25
|
-
-
|
|
26
|
-
-
|
|
26
|
+
- 输出为直接回答、关于是否有工作的澄清,或 V2 Task Proposal。
|
|
27
|
+
- 用户明确同意 Proposal 后才能创建 Task。
|
|
28
|
+
- Intake 不写实现代码,不把未经确认的关系写成硬依赖。
|
|
29
|
+
- 统一 reader 明确报告选中的是 V1 legacy Task 时,沿用该 Task 的兼容路径;不要在 Intake 中擅自转换或解释成 V2。
|
|
27
30
|
|
|
28
31
|
## 关掉必须消失
|
|
29
32
|
|
|
30
|
-
|
|
33
|
+
已解决请求或已交给选中 Task 后,不继续输出 Intake 教战;普通会话工作不应默认被包装成 Task。
|
|
31
34
|
|
|
32
35
|
## 不得带走
|
|
33
36
|
|
|
34
|
-
|
|
37
|
+
Task 定义和 AC(`define-basic`);人类授权(`approval-personal`);执行(`execute-agent`);证据和 Review(`verify-basic`);Close(`close-basic`)。
|
|
@@ -4,35 +4,26 @@ P29 表名:`verify-basic`(不得改名)。层:baseline。
|
|
|
4
4
|
|
|
5
5
|
## 职责
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
检查已完成的 V2 Run,并针对该 Run 的准确候选快照 ID 和 fingerprint 记录独立 Review。每条已记录 AC 都要映射到可定位证据。Run 结果或面向人的 `verify.md` 本身不能满足 Kernel Review 门。
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
Phase=Verify,或 Execute 刚结束正在收证据时加载。Intake / Define 不讲假绿、不灌 `verification-strength-guide`。Close 之后本块教战从常驻包拿掉,只留「证据是否已覆盖」。
|
|
12
|
-
|
|
13
|
-
Agent 看见:
|
|
9
|
+
每条 Review 都是绑定到一个候选的追加式判定。某候选的最新 Review 若为 `fail` 或 `needs-changes`,该候选不能 Close。之后可以重新检查同一候选并追加 Review;若实现已变化,必须新建 Run,并针对新候选重新 Review。Close 必须引用该候选的最新 Review。
|
|
14
10
|
|
|
15
|
-
|
|
16
|
-
2. 实现缺陷 → 回 Execute 修,再验。不得在 Verify 里扩范围或改 AC 来「验过」。
|
|
17
|
-
3. 契约/范围缺陷 → Return-to-Define,再走 Execute 门。
|
|
18
|
-
4. 不得把 `self-review` 写成 `true-independent`;独立 Check 未激活则本块只做 Baseline Evidence。
|
|
19
|
-
5. Adapter 可把卡住的运行时问题绑到 Cursor Debug;证据仍必须落回 Evidence 角色,Debug 不是本块。
|
|
20
|
-
|
|
21
|
-
用户看见:阶段名 Verify。能否收工、哪条 AC 还没证据。Lite 不出现「独立审查员」叙事。
|
|
11
|
+
## 触发/披露
|
|
22
12
|
|
|
23
|
-
|
|
13
|
+
Run 完成并产生候选快照后加载。按已记录的交付物和 AC 检查候选。Reviewer 必须与 Run 执行者和授权者都不同。为 Review 记录证据引用,并为每条 AC 记录证据。
|
|
24
14
|
|
|
25
15
|
## 停止条件
|
|
26
16
|
|
|
27
|
-
-
|
|
28
|
-
-
|
|
29
|
-
-
|
|
30
|
-
-
|
|
17
|
+
- 候选 ID 和 fingerprint 必须与选中的已完成 Run 完全一致。
|
|
18
|
+
- 缺少 AC 证据、有未解决 blocker,或最新 Review 未通过,均表示验证未完成。
|
|
19
|
+
- 同一候选的后续 Review 会取代更早判定;先前的 pass 不能绕过后续的 fail 或 needs-changes。
|
|
20
|
+
- 候选变化时,不得把旧候选的 Review 用作新结果证据。
|
|
21
|
+
- 不在验证中扩展交付物或改写 AC。契约有误时回到获授权的定义更新路径。
|
|
31
22
|
|
|
32
23
|
## 关掉必须消失
|
|
33
24
|
|
|
34
|
-
|
|
25
|
+
Review 和证据始终绑定其检查过的候选。不得依据未绑定的笔记或自我 Review 宣称可 Close。
|
|
35
26
|
|
|
36
27
|
## 不得带走
|
|
37
28
|
|
|
38
|
-
|
|
29
|
+
实现修改(`execute-agent`);定义修改(`define-basic`);交付层级证据和 Close(`close-basic`);由其他模块激活的可选专项检查。
|
|
@@ -20,7 +20,7 @@ Do not mark **ready to publish** here — that remains the readiness task outcom
|
|
|
20
20
|
|
|
21
21
|
Before any of the following, stop and obtain explicit user approval:
|
|
22
22
|
|
|
23
|
-
- `
|
|
23
|
+
- `pnpm release …` (bundles bump, commit, tag, push)
|
|
24
24
|
- `npm publish` / CI publish workflow dispatch
|
|
25
25
|
- `git tag` / `git push` (including `--tags`)
|
|
26
26
|
- GitHub **Create release** or promotion workflows
|
|
@@ -51,11 +51,11 @@ Typical human/CI sequence (do not automate without approval):
|
|
|
51
51
|
|
|
52
52
|
```bash
|
|
53
53
|
cd packages/cli
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
pnpm release:check
|
|
55
|
+
pnpm release:plan
|
|
56
56
|
# After approval:
|
|
57
57
|
pnpm --filter @blxzer/pactile release:beta # or patch/minor/major per policy
|
|
58
|
-
|
|
58
|
+
pnpm --filter @blxzer/pactile exec tsx scripts/release-preflight.ts verify-npm --package cli
|
|
59
59
|
```
|
|
60
60
|
|
|
61
|
-
`release
|
|
61
|
+
`pnpm release` performs commit, tag, and push — treat it as a single approved bundle or decompose manually per policy.
|
|
@@ -35,16 +35,16 @@ Include grep-friendly sections (archive checks may reference these families):
|
|
|
35
35
|
From the Pactile monorepo `packages/cli` (adjust paths for other products):
|
|
36
36
|
|
|
37
37
|
```bash
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
38
|
+
pnpm --filter @blxzer/pactile exec tsx scripts/check-manifest-continuity.ts
|
|
39
|
+
pnpm release:check
|
|
40
|
+
pnpm release:plan
|
|
41
|
+
pnpm --filter @blxzer/pactile exec tsx scripts/release-preflight.ts verify-packed-cli
|
|
42
42
|
pnpm --filter @blxzer/pactile exec npm pack --dry-run
|
|
43
43
|
```
|
|
44
44
|
|
|
45
|
-
Do **not** run `
|
|
45
|
+
Do **not** run `pnpm release`, `npm publish`, or `git push` in readiness.
|
|
46
46
|
|
|
47
47
|
## Safety
|
|
48
48
|
|
|
49
49
|
- Agents must not run publish/tag/push even if checks are green.
|
|
50
|
-
- Waiving a blocker requires explicit user words in chat or `handoff.md`, not agent assumption.
|
|
50
|
+
- Waiving a blocker requires explicit user words in chat or `handoff.md`, not agent assumption.
|
|
@@ -15,7 +15,13 @@
|
|
|
15
15
|
|
|
16
16
|
1. Resolve or waive each **blocking** row in Blockers below.
|
|
17
17
|
2. Create or select a **release-execution** task; obtain explicit publish approval.
|
|
18
|
-
3.
|
|
18
|
+
3. Run `pnpm --filter @blxzer/pactile run release:check`, then use
|
|
19
|
+
`pnpm --filter @blxzer/pactile run release:beta` or
|
|
20
|
+
`pnpm --filter @blxzer/pactile run release:promote` to prepare a local plan.
|
|
21
|
+
These commands do not tag or publish. After separate approval, create
|
|
22
|
+
`pactile-vX.Y.Z-beta.N` at the exact `develop` HEAD or `pactile-vX.Y.Z` at the
|
|
23
|
+
exact `main` HEAD and follow `docs/governance/releasing.md`; stable promotion
|
|
24
|
+
uses a separate approved Publish workflow dispatch.
|
|
19
25
|
|
|
20
26
|
## Not published
|
|
21
27
|
|
|
@@ -36,4 +42,4 @@ _Not applicable in a readiness task. Record publish evidence only in release-exe
|
|
|
36
42
|
## Integration notes
|
|
37
43
|
|
|
38
44
|
- Link execution task: `{path or pending}`
|
|
39
|
-
- Parent / dogfood notes: `{optional}`
|
|
45
|
+
- Parent / dogfood notes: `{optional}`
|
|
@@ -1,65 +1,61 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Task Workflow
|
|
2
2
|
|
|
3
|
-
>
|
|
3
|
+
> Human overview only, not runtime SSOT. The unified Task Kernel reader determines the stored schema. For a V2 Task, `kernel.json` is the source of lifecycle state, definition, Runs, candidate snapshots, Reviews, dependencies, and Close history.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
The installed guide index is `.pactile/framework/index.md`. Load only the guide
|
|
6
|
+
needed for the current decision; reading a guide does not change Kernel state.
|
|
6
7
|
|
|
7
|
-
|
|
8
|
+
## V2 Task contract
|
|
8
9
|
|
|
9
|
-
|
|
10
|
-
| --- | --- |
|
|
11
|
-
| `prd.md` | Definition and acceptance |
|
|
12
|
-
| `implement.md` | Execution / verification contract (when present) |
|
|
13
|
-
| `verify.md` | Evidence (when recorded) |
|
|
14
|
-
| `task.json` | Status and metadata (accounting) |
|
|
15
|
-
| `kernel.json` | Audit chain |
|
|
16
|
-
| `pactile task archive` | Close: `status=completed`, Kernel audit, notes projection |
|
|
10
|
+
A V2 Task is one reviewable deliverable. Its Kernel definition records:
|
|
17
11
|
|
|
18
|
-
|
|
12
|
+
- the deliverable;
|
|
13
|
+
- measurable acceptance criteria (ACs);
|
|
14
|
+
- one delivery level: `local-result`, `pull-request`, `merged-result`, or `documentation`;
|
|
15
|
+
- hard dependency Task IDs. Every dependency must close successfully before this Task may start or close.
|
|
19
16
|
|
|
20
|
-
|
|
21
|
-
- `pactile-finish-work` — closeout / archive path. Details: `.pactile/framework/index.md`.
|
|
22
|
-
- `pactile-handoff` — session handoff (reports a temp path). Details: `.pactile/framework/index.md`.
|
|
23
|
-
- `pactile-start` — only when the framework needs a refresh and no task is selected.
|
|
17
|
+
Create a Task only after the user agrees to its proposal. Kernel V2 begins at Define; do not project V1 `task.json` phases onto a V2 Task.
|
|
24
18
|
|
|
25
|
-
##
|
|
19
|
+
## Runs, scheduling, and Review
|
|
26
20
|
|
|
27
|
-
|
|
28
|
-
- **Close:** `pactile task archive <task>` — writes `completed`, Kernel audit, and notes projection.
|
|
21
|
+
A Task may have multiple Runs. Each attempt preserves its authorization, write-set snapshot, estimates and measurements, outcome, and (on completion) candidate snapshot. Retrying creates a new Run; it does not overwrite earlier evidence. The latest recorded Run must be completed and is the only one eligible for Review and Close.
|
|
29
22
|
|
|
30
|
-
|
|
23
|
+
Reviews are independent records bound to one Run and exact candidate ID/fingerprint. Close must use the latest Review for that candidate, and that verdict must pass with no blockers and evidence for every AC. If a new Run produces a new candidate, review that candidate separately.
|
|
31
24
|
|
|
32
|
-
|
|
25
|
+
Schedule work for completion-time benefit, subject to hard dependencies, authorization, and write conflicts. There is no fixed numeric concurrency cap. Overlapping write sets are sequential by default; explicit overlap needs recorded authorization and an integration plan. A scheduler suggestion cannot override Kernel gates or write-conflict admission.
|
|
33
26
|
|
|
34
|
-
-
|
|
35
|
-
- Full Quality / graded verify → `.pactile/framework/verification-strength-guide.md`
|
|
36
|
-
- Retrieval → `.pactile/framework/retrieval-daily-guide.md`
|
|
37
|
-
- Codex desktop task bridge → `.pactile/framework/codex-worker-dispatch.md` and `pactile codex prepare|receipt|status`
|
|
38
|
-
- Pi Agent dispatch → `pactile pi run <task> --role implement --prompt-file <file>` (requires recorded Execute approval)
|
|
39
|
-
- Parent bounded parallel batch → `pactile parallel run <parent> --manifest <file>` and `pactile parallel status <parent>`
|
|
27
|
+
For the detailed Task/Run scheduling, isolation, and optional host-dispatch rules, see [critical-path scheduling](./framework/parallel-first-execution.md). The filename is retained for compatibility with existing installations.
|
|
40
28
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
29
|
+
## V2 command surface
|
|
30
|
+
|
|
31
|
+
Use the current Task commands for the stored V2 Kernel: `pactile task create`, `add-dependency`, `run-start`, `run-resume`, `run-result`, `review`, and `close`. Run `pactile task --help` for current arguments. The V2 flow does not use the V1 `start-execution` or directory-archive command.
|
|
32
|
+
|
|
33
|
+
At Close, the delivery evidence level must equal the definition. `pull-request` and `merged-result` require an HTTPS reference; the other levels still require a nonempty evidence reference and summary. A mismatched level, unmet hard dependency, stale candidate, incomplete AC evidence, or a non-passing latest Review keeps the Task open.
|
|
34
|
+
|
|
35
|
+
## Compatibility boundary: explicit V1 legacy Tasks
|
|
36
|
+
|
|
37
|
+
The unified reader preserves existing legacy state and identifies it as V1; do not migrate it by merely editing this overview. Only when the reader identifies a V1 legacy Task should its V1-specific artifacts and commands be considered. For that legacy path, `pactile task start-execution <task> --approved` records the caller's approval declaration, and `pactile task archive <task>` performs the legacy close/archive operation. These commands and the `--approved` flag are not V2 instructions. A CLI flag does not authenticate the caller; human authorization must come from the actual authorized interaction and its evidence.
|
|
38
|
+
|
|
39
|
+
## Session status hints
|
|
40
|
+
|
|
41
|
+
The following blocks are compatibility hints for legacy V1 `task.json` status injection. They are not V2 Kernel phase instructions. V2 session guidance comes from the selected Task's compiled Session Pack and Kernel snapshot.
|
|
46
42
|
|
|
47
43
|
[workflow-state:no_task]
|
|
48
|
-
No task is selected.
|
|
49
|
-
This status is an accounting fact, not a step list.
|
|
44
|
+
No task is selected. This is a legacy status hint only; the V2 Session Pack determines whether a V2 Task is selected.
|
|
50
45
|
[/workflow-state:no_task]
|
|
51
46
|
|
|
52
47
|
[workflow-state:planning]
|
|
53
|
-
|
|
54
|
-
Constraints are `prd.md` and optional `design.md`/`implement.md`; Execute starts only after `pactile task start-execution --approved`.
|
|
48
|
+
Legacy V1 only: the task is in planning. Use its V1 artifacts and compatibility flow; do not apply this hint to a V2 Kernel Task.
|
|
55
49
|
[/workflow-state:planning]
|
|
56
50
|
|
|
57
51
|
[workflow-state:in_progress]
|
|
58
|
-
|
|
59
|
-
Implement against the approved artifacts; Close is `pactile task archive` (Kernel audit plus notes projection).
|
|
52
|
+
Legacy V1 only: the task is in progress. Its V1 artifacts remain the execution boundary; do not apply this hint to a V2 Kernel Task.
|
|
60
53
|
[/workflow-state:in_progress]
|
|
61
54
|
|
|
55
|
+
[workflow-state:review]
|
|
56
|
+
Legacy V1 only: verification is pending under that task's legacy contract. V2 Review must bind to the exact candidate recorded in its Kernel.
|
|
57
|
+
[/workflow-state:review]
|
|
58
|
+
|
|
62
59
|
[workflow-state:completed]
|
|
63
|
-
|
|
64
|
-
`pactile task archive` writes this status in the same call that moves the directory.
|
|
60
|
+
Legacy V1 only: the task is complete under its recorded legacy lifecycle. A directory move is not a V2 Close.
|
|
65
61
|
[/workflow-state:completed]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Shared utilities for platform template modules.
|
|
3
|
-
* Eliminates boilerplate across
|
|
3
|
+
* Eliminates boilerplate across the supported template modules.
|
|
4
4
|
*/
|
|
5
5
|
export interface AgentTemplate {
|
|
6
6
|
name: string;
|
|
@@ -16,7 +16,6 @@ export interface TemplateReader {
|
|
|
16
16
|
listMdAgents: (dir?: string) => AgentTemplate[];
|
|
17
17
|
listMdCommands: (dir?: string) => AgentTemplate[];
|
|
18
18
|
listJsonAgents: (dir?: string) => AgentTemplate[];
|
|
19
|
-
listMdcRules: (dir?: string) => AgentTemplate[];
|
|
20
19
|
getSettings: (filename?: string) => HookTemplate;
|
|
21
20
|
getConfig: (filename: string) => string;
|
|
22
21
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-utils.d.ts","sourceRoot":"","sources":["../../src/templates/template-utils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,YAAY;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,cAAc;IAC7B,YAAY,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,MAAM,CAAC;IAC/C,SAAS,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,EAAE,CAAC;IACrC,YAAY,EAAE,CAAC,GAAG,CAAC,EAAE,MAAM,KAAK,aAAa,EAAE,CAAC;IAChD,cAAc,EAAE,CAAC,GAAG,CAAC,EAAE,MAAM,KAAK,aAAa,EAAE,CAAC;IAClD,cAAc,EAAE,CAAC,GAAG,CAAC,EAAE,MAAM,KAAK,aAAa,EAAE,CAAC;IAClD,
|
|
1
|
+
{"version":3,"file":"template-utils.d.ts","sourceRoot":"","sources":["../../src/templates/template-utils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAMH,MAAM,WAAW,aAAa;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,YAAY;IAC3B,UAAU,EAAE,MAAM,CAAC;IACnB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,cAAc;IAC7B,YAAY,EAAE,CAAC,YAAY,EAAE,MAAM,KAAK,MAAM,CAAC;IAC/C,SAAS,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,EAAE,CAAC;IACrC,YAAY,EAAE,CAAC,GAAG,CAAC,EAAE,MAAM,KAAK,aAAa,EAAE,CAAC;IAChD,cAAc,EAAE,CAAC,GAAG,CAAC,EAAE,MAAM,KAAK,aAAa,EAAE,CAAC;IAClD,cAAc,EAAE,CAAC,GAAG,CAAC,EAAE,MAAM,KAAK,aAAa,EAAE,CAAC;IAClD,WAAW,EAAE,CAAC,QAAQ,CAAC,EAAE,MAAM,KAAK,YAAY,CAAC;IACjD,SAAS,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAC;CACzC;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,aAAa,EAAE,MAAM,GAAG,cAAc,CAkE1E"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Shared utilities for platform template modules.
|
|
3
|
-
* Eliminates boilerplate across
|
|
3
|
+
* Eliminates boilerplate across the supported template modules.
|
|
4
4
|
*/
|
|
5
5
|
import { readdirSync, readFileSync } from "node:fs";
|
|
6
6
|
import { dirname, join } from "node:path";
|
|
@@ -31,7 +31,7 @@ export function createTemplateReader(importMetaUrl) {
|
|
|
31
31
|
content: readTemplate(`${dir}/${f}`),
|
|
32
32
|
}));
|
|
33
33
|
}
|
|
34
|
-
/** Read all .md command files from a subdirectory
|
|
34
|
+
/** Read all .md command files from a subdirectory.
|
|
35
35
|
* Unlike listMdAgents, the name keeps no prefix transformation — callers
|
|
36
36
|
* decide the output filename (e.g. `pactile-${name}.md`). */
|
|
37
37
|
function listMdCommands(dir = "commands") {
|
|
@@ -51,16 +51,6 @@ export function createTemplateReader(importMetaUrl) {
|
|
|
51
51
|
content: readTemplate(`${dir}/${f}`),
|
|
52
52
|
}));
|
|
53
53
|
}
|
|
54
|
-
/** Read all .mdc rule files from a subdirectory (Cursor .cursor/rules) */
|
|
55
|
-
function listMdcRules(dir = "rules") {
|
|
56
|
-
return listFiles(dir)
|
|
57
|
-
.filter((f) => f.endsWith(".mdc"))
|
|
58
|
-
.map((f) => ({
|
|
59
|
-
// Keep the .mdc extension in the name — Cursor requires it.
|
|
60
|
-
name: f,
|
|
61
|
-
content: readTemplate(`${dir}/${f}`),
|
|
62
|
-
}));
|
|
63
|
-
}
|
|
64
54
|
/** Read settings.json and return as HookTemplate */
|
|
65
55
|
function getSettings(filename = "settings.json") {
|
|
66
56
|
return { targetPath: filename, content: readTemplate(filename) };
|
|
@@ -75,7 +65,6 @@ export function createTemplateReader(importMetaUrl) {
|
|
|
75
65
|
listMdAgents,
|
|
76
66
|
listMdCommands,
|
|
77
67
|
listJsonAgents,
|
|
78
|
-
listMdcRules,
|
|
79
68
|
getSettings,
|
|
80
69
|
getConfig,
|
|
81
70
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"template-utils.js","sourceRoot":"","sources":["../../src/templates/template-utils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"template-utils.js","sourceRoot":"","sources":["../../src/templates/template-utils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAsBzC;;;GAGG;AACH,MAAM,UAAU,oBAAoB,CAAC,aAAqB;IACxD,MAAM,SAAS,GAAG,OAAO,CAAC,aAAa,CAAC,aAAa,CAAC,CAAC,CAAC;IAExD,SAAS,YAAY,CAAC,YAAoB;QACxC,OAAO,YAAY,CAAC,IAAI,CAAC,SAAS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AC,QAAQ,CAAC,OAAO,CAAC,CAAC;aAClC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC;YACX,IAAI,EAAE,CAAC,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE,CAAC;YAC5B,OAAO,EAAE,YAAY,CAAC,GAAG,GAAG,IAAI,CAAC,EAAE,CAAC;SACrC,CAAC,CAAC,CAAC;IACR,CAAC;IAED,oDAAoD;IACpD,SAAS,WAAW,CAAC,QAAQ,GAAG,eAAe;QAC7C,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,OAAO,EAAE,YAAY,CAAC,QAAQ,CAAC,EAAE,CAAC;IACnE,CAAC;IAED,+CAA+C;IAC/C,SAAS,SAAS,CAAC,QAAgB;QACjC,OAAO,YAAY,CAAC,QAAQ,CAAC,CAAC;IAChC,CAAC;IAED,OAAO;QACL,YAAY;QACZ,SAAS;QACT,YAAY;QACZ,cAAc;QACd,cAAc;QACd,WAAW;QACX,SAAS;KACV,CAAC;AACJ,CAAC"}
|
package/dist/types/ai-tools.d.ts
CHANGED
|
@@ -82,7 +82,7 @@ export interface AIToolConfig {
|
|
|
82
82
|
* Registry of all supported AI tools and their configurations.
|
|
83
83
|
* This is the single source of truth for platform data.
|
|
84
84
|
*
|
|
85
|
-
* Codex is the only current host; legacy
|
|
85
|
+
* Codex is the only current host; legacy host state is handled by exit
|
|
86
86
|
* compatibility paths rather than this install registry.
|
|
87
87
|
*/
|
|
88
88
|
export declare const AI_TOOLS: Record<AITool, AIToolConfig>;
|
package/dist/types/ai-tools.js
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Registry of all supported AI tools and their configurations.
|
|
11
11
|
* This is the single source of truth for platform data.
|
|
12
12
|
*
|
|
13
|
-
* Codex is the only current host; legacy
|
|
13
|
+
* Codex is the only current host; legacy host state is handled by exit
|
|
14
14
|
* compatibility paths rather than this install registry.
|
|
15
15
|
*/
|
|
16
16
|
export const AI_TOOLS = {
|
|
@@ -39,7 +39,7 @@ import { LEGACY_CSTL_BLOCK_END, LEGACY_CSTL_BLOCK_START, PACTILE_BLOCK_END, PACT
|
|
|
39
39
|
export function isHostProjectionPath(rawPath) {
|
|
40
40
|
const key = toPosix(rawPath);
|
|
41
41
|
return key === FILE_NAMES.AGENTS ||
|
|
42
|
-
[".agents", ".
|
|
42
|
+
[".agents", ".codex"].some((root) => key === root || key.startsWith(`${root}/`));
|
|
43
43
|
}
|
|
44
44
|
/**
|
|
45
45
|
* Compute the union of what Pactile writes across:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"manifest-prune.js","sourceRoot":"","sources":["../../src/utils/manifest-prune.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EAAE,4BAA4B,EAAE,MAAM,8BAA8B,CAAC;AAC5E,OAAO,EAAE,UAAU,EAAE,2BAA2B,EAAE,MAAM,uBAAuB,CAAC;AAChF,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAChD,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,gBAAgB,CAAC;AAWxB,kFAAkF;AAClF,MAAM,UAAU,oBAAoB,CAAC,OAAe;IAClD,MAAM,GAAG,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;IAC7B,OAAO,GAAG,KAAK,UAAU,CAAC,MAAM;QAC9B,CAAC,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"manifest-prune.js","sourceRoot":"","sources":["../../src/utils/manifest-prune.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AAEH,OA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,CAAC,QAAQ,CAAC,IAAI,GAAG,KAAK,OAAO,CAAC,EAAE,CAAC;YACvE,IAAI,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;YAClB,SAAS;QACX,CAAC;QACD,IAAI,GAAG,KAAK,UAAU,CAAC,MAAM,EAAE,CAAC;YAC9B,IAAI,kBAAkB,CAAC,GAAG,EAAE,gBAAgB,CAAC,EAAE,CAAC;gBAC9C,IAAI,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;YACpB,CAAC;iBAAM,CAAC;gBACN,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;YACnB,CAAC;YACD,SAAS;QACX,CAAC;QACD,IAAI,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC;YACnB,IAAI,CAAC,GAAG,CAAC,GAAG,KAAK,CAAC;YAClB,SAAS;QACX,CAAC;QACD,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IACnB,CAAC;IAED,IAAI,OAAO,IAAI,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACjC,UAAU,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;IACxB,CAAC;IAED,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC;AAClC,CAAC"}
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import { type ArtifactMigratePlan, type WaveCPlan } from "../core/task/index.js";
|
|
10
10
|
import type { TemplateHashes } from "../types/migration.js";
|
|
11
|
-
|
|
12
|
-
export declare const
|
|
11
|
+
/** No retired host rules are touched by the current update path. */
|
|
12
|
+
export declare const RETIRED_ALWAYS_ON_RULES: readonly string[];
|
|
13
13
|
export type OfficialRetireAction = "retire" | "preserve";
|
|
14
14
|
export interface OfficialSurfaceItem {
|
|
15
15
|
path: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"p36-upgrade.d.ts","sourceRoot":"","sources":["../../src/utils/p36-upgrade.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E,MAAM,EAAE,CAAC;IAClB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;CAClB,GAAG,mBAAmB,CA8CtB;AAED,wBAAgB,mBAAmB,CACjC,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,mBAAmB,GACxB,MAAM,CAkBR;AAED,wBAAgB,cAAc,CAAC,OAAO,EAAE;IACtC,QAAQ,EAAE,mBAAmB,CAAC;IAC9B,SAAS,EAAE,mBAAmB,CAAC;IAC/B,cAAc,EAAE,OAAO,CAAC;IACxB,KAAK,EAAE,SAAS,CAAC;CAClB,GAAG,cAAc,CAoBjB;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,cAAc,GAAG,IAAI,CAkB7D;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,mBAAmB,GAAG,OAAO,CAMtE;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,cAAc,GAAG,OAAO,CAE9D;AAED,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,cAAc,GAAG;IAC1D,eAAe,EAAE,MAAM,CAAC;IACxB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,cAAc,EAAE,MAAM,CAAC;IACvB,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,cAAc,EAAE,OAAO,CAAC;IACxB,cAAc,EAAE,OAAO,CAAC;IACxB,gBAAgB,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,MAAM,CAAC;CACzB,CAiBA"}
|
|
@@ -12,16 +12,8 @@ import chalk from "chalk";
|
|
|
12
12
|
import { formatArtifactVernacular, formatWaveCVernacular, } from "../core/task/index.js";
|
|
13
13
|
import { computeHash, removeHash } from "./template-hash.js";
|
|
14
14
|
import { toPosix } from "./posix.js";
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
".cursor/rules/trellis-triage.mdc",
|
|
18
|
-
".cursor/rules/cstl-subagent-dispatch.mdc",
|
|
19
|
-
".cursor/rules/trellis-subagent-dispatch.mdc",
|
|
20
|
-
".cursor/rules/retrieval-routing.mdc",
|
|
21
|
-
".cursor/rules/cstl-retrieval-routing.mdc",
|
|
22
|
-
".cursor/rules/trellis-retrieval-routing.mdc",
|
|
23
|
-
];
|
|
24
|
-
export const KEEP_ALWAYS_ON_RULES = [".cursor/rules/pactile-bootstrap.mdc"];
|
|
15
|
+
/** No retired host rules are touched by the current update path. */
|
|
16
|
+
export const RETIRED_ALWAYS_ON_RULES = [];
|
|
25
17
|
export function planOfficialSurfaceA(options) {
|
|
26
18
|
const retire = [];
|
|
27
19
|
const preserve = [];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"p36-upgrade.js","sourceRoot":"","sources":["../../src/utils/p36-upgrade.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EACL,wBAAwB,EACxB,qBAAqB,GAGtB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAErC,
|
|
1
|
+
{"version":3,"file":"p36-upgrade.js","sourceRoot":"","sources":["../../src/utils/p36-upgrade.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EACL,wBAAwB,EACxB,qBAAqB,GAGtB,MAAM,uBAAuB,CAAC;AAE/B,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,EAAE,OA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AM;QAC3C,gBAAgB,EAAE,IAAI,CAAC,SAAS,CAAC,cAAc;QAC/C,gBAAgB,EAAE,IAAI,CAAC,cAAc,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC;QAC1E,QAAQ,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ;QACjC,cAAc,EAAE,IAAI,CAAC,cAAc;QACnC,cAAc,EAAE,IAAI,CAAC,KAAK,CAAC,SAAS;QACpC,gBAAgB,EAAE,IAAI,CAAC,KAAK,CAAC,gBAAgB;QAC7C,eAAe,EAAE,IAAI,CAAC,KAAK,CAAC,eAAe;KAC5C,CAAC;AACJ,CAAC;AAED,SAAS,cAAc,CAAC,QAAgB;IACtC,IAAI,CAAC;QACH,OAAO,qBAAqB,CAAC,IAAI,CAAC,EAAE,CAAC,YAAY,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAC;IACxE,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { execFileSync } from "node:child_process";
|
|
2
2
|
import { fileURLToPath } from "node:url";
|
|
3
|
-
const cliBin = fileURLToPath(new URL("
|
|
3
|
+
const cliBin = fileURLToPath(new URL("../bin/pactile.js", import.meta.url));
|
|
4
4
|
function runCheck(args, cwd) {
|
|
5
5
|
const command = `node pactile ${args.join(" ")}`;
|
|
6
6
|
try {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-update-smoke.js","sourceRoot":"","sources":["../../src/utils/post-update-smoke.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AAIzC,MAAM,MAAM,GAAG,aAAa,CAAC,IAAI,GAAG,CAAC,
|
|
1
|
+
{"version":3,"file":"post-update-smoke.js","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AQ,CAAC,EAAE,GAAG,CAAC;KAC3D,CAAC;AACJ,CAAC"}
|
|
@@ -37,12 +37,12 @@ export declare function checkProjectCapabilityReadiness(options: {
|
|
|
37
37
|
}): void;
|
|
38
38
|
/**
|
|
39
39
|
* Print update readiness. Failures are unverified warnings, not a hard stop.
|
|
40
|
-
* `--skip-readiness` remains a maintainer hatch, not the
|
|
40
|
+
* `--skip-readiness` remains a maintainer hatch, not the user default.
|
|
41
41
|
*/
|
|
42
42
|
export declare function reportUpdateReadiness(snapshot: UpdateReadinessSnapshot): void;
|
|
43
43
|
/**
|
|
44
44
|
* Print init readiness. Failures are unverified warnings, not a hard stop.
|
|
45
|
-
* `--skip-readiness` remains a maintainer hatch, not the
|
|
45
|
+
* `--skip-readiness` remains a maintainer hatch, not the user default.
|
|
46
46
|
*/
|
|
47
47
|
export declare function reportInitReadiness(snapshot: UpdateReadinessSnapshot): void;
|
|
48
48
|
/** Non-throwing readiness snapshot for structured update/rollout evidence. */
|
package/dist/utils/readiness.js
CHANGED
|
@@ -426,7 +426,7 @@ function printReadinessReport(snapshot, options) {
|
|
|
426
426
|
}
|
|
427
427
|
/**
|
|
428
428
|
* Print update readiness. Failures are unverified warnings, not a hard stop.
|
|
429
|
-
* `--skip-readiness` remains a maintainer hatch, not the
|
|
429
|
+
* `--skip-readiness` remains a maintainer hatch, not the user default.
|
|
430
430
|
*/
|
|
431
431
|
export function reportUpdateReadiness(snapshot) {
|
|
432
432
|
printReadinessReport(snapshot, {
|
|
@@ -436,7 +436,7 @@ export function reportUpdateReadiness(snapshot) {
|
|
|
436
436
|
}
|
|
437
437
|
/**
|
|
438
438
|
* Print init readiness. Failures are unverified warnings, not a hard stop.
|
|
439
|
-
* `--skip-readiness` remains a maintainer hatch, not the
|
|
439
|
+
* `--skip-readiness` remains a maintainer hatch, not the user default.
|
|
440
440
|
*/
|
|
441
441
|
export function reportInitReadiness(snapshot) {
|
|
442
442
|
printReadinessReport(snapshot, {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*
|
|
17
17
|
* Pactile-emitted hook commands have the shape
|
|
18
18
|
* `<python-cmd> [interpreter-flags] <manifest-path> [hook-args…]`
|
|
19
|
-
* e.g. `python .
|
|
19
|
+
* e.g. `python .legacy/hooks/event-bridge.py --event sessionStart`.
|
|
20
20
|
* The invoked script is the first non-flag token after the interpreter, not
|
|
21
21
|
* necessarily the last token. Matching only the last token left leftover
|
|
22
22
|
* `event-bridge.py` references after uninstall.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/** Legacy workflow root retained as a read-only migration input. */
|
|
2
2
|
export declare const LEGACY_WORKFLOW_DIR = ".trellis";
|
|
3
3
|
export declare const LEGACY_CSTL_WORKFLOW_DIR = ".cstl";
|
|
4
4
|
export declare const CANONICAL_WORKFLOW_DIR = ".pactile";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-dir.d.ts","sourceRoot":"","sources":["../../src/utils/workflow-dir.ts"],"names":[],"mappings":"AAIA,
|
|
1
|
+
{"version":3,"file":"workflow-dir.d.ts","sourceRoot":"","sources":["../../src/utils/workflow-dir.ts"],"names":[],"mappings":"AAIA,oEAAoE;AACpE,eAAO,MAAM,mBAAmB,aAAa,CAAC;AAC9C,eAAO,MAAM,wBAAwB,UAAU,CAAC;AAChD,eAAO,MAAM,sBAAsB,aAAa,CAAC;AAEjD;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAIjE;AAED,+EAA+E;AAC/E,wBAAgB,eAAe,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,CAG1D;AAED,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAE1D;AAED,yFAAyF;AACzF,wBAAgB,YAAY,CAC1B,GAAG,EAAE,MAAM,EACX,GAAG,QAAQ,EAAE,MAAM,EAAE,GACpB,MAAM,GAAG,IAAI,CAMf"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import path from "node:path";
|
|
2
2
|
import fs from "node:fs";
|
|
3
3
|
import { resolveLegacyWorkflowDirName } from "../pactile/runtime/paths.js";
|
|
4
|
-
/**
|
|
4
|
+
/** Legacy workflow root retained as a read-only migration input. */
|
|
5
5
|
export const LEGACY_WORKFLOW_DIR = ".trellis";
|
|
6
6
|
export const LEGACY_CSTL_WORKFLOW_DIR = ".cstl";
|
|
7
7
|
export const CANONICAL_WORKFLOW_DIR = ".pactile";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow-dir.js","sourceRoot":"","sources":["../../src/utils/workflow-dir.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,EAAE,4BAA4B,EAAE,MAAM,6BAA6B,CAAC;AAE3E,
|
|
1
|
+
{"version":3,"file":"workflow-dir.js","sourceRoot":"","sources":["../../src/utils/workflow-dir.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,EAAE,4BAA4B,EAAE,MAAM,6BAA6B,CAAC;AAE3E,oEAAoE;AACpE,MAAM,CAAC,MAAM,mBAAmB,GAAG,UAAU,CAAC;AAC9C,MAAM,CAAC,MAAM,wBAAwB,GAAG,OAAO,CAAC;AAChD,MAAM,CAAC,MAAM,sBAAsB,GAAG,UAAU,CAAC;AAEjD;;;GAGG;AACH,MAAM,UAAU,sBAAsB,CAAC,GAAW;IAChD,IAAI,EAAE,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,sBAAsB,CAAC,CAAC;QACvD,OAAO,sBAAsB,CAAC;IAChC,OAAO,4BAA4B,CAAC,GAAG,CAAC,CAAC;AAC3C,CAAC;AAED,+EAA+E;AAC/E,MAAM,UAAU,eAAe,CAAC,GAAW;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