@hassangameryt/freeflow 0.7.3 → 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/plugins/marketplace.json +2 -2
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +2 -2
- package/.codex-plugin/plugin.json +3 -3
- package/.cursor-plugin/plugin.json +1 -1
- package/NOTICE +14 -0
- package/README.md +101 -159
- package/capabilities/cognitive-routing/SKILL.md +47 -210
- package/capabilities/cognitive-routing/references/coordinator.md +163 -0
- package/capabilities/cognitive-routing/references/worker.md +38 -0
- package/capabilities/compaction/SKILL.md +49 -0
- package/capabilities/compaction/references/summary-format.md +250 -0
- package/capabilities/messaging/SKILL.md +49 -0
- package/capabilities/task-memory/SKILL.md +87 -0
- package/command-surface.json +8 -52
- package/gemini-extension.json +1 -1
- package/hooks/claude/hooks.json +13 -3
- package/hooks/codex/hooks.json +2 -1
- package/hooks/shared/runtime-context.mjs +73 -83
- package/licenses/Apache-2.0.txt +55 -0
- package/package.json +42 -12
- package/pi-extension/README.md +41 -0
- package/pi-extension/dist/ask-user/ask.js +108 -0
- package/pi-extension/dist/ask-user/form.js +250 -0
- package/pi-extension/dist/ask-user/questions.js +66 -0
- package/pi-extension/dist/ask-user/tool.js +124 -0
- package/pi-extension/dist/cognitive-routing/assembler.js +417 -0
- package/pi-extension/dist/cognitive-routing/bootstrap.js +90 -0
- package/pi-extension/dist/{cognitive-routing-v2 → cognitive-routing}/config.js +8 -6
- package/pi-extension/dist/cognitive-routing/economics.js +45 -0
- package/pi-extension/dist/cognitive-routing/event-schema.js +388 -0
- package/pi-extension/dist/{session-sources/events.js → cognitive-routing/event-store.js} +107 -41
- package/pi-extension/dist/cognitive-routing/gate.js +256 -0
- package/pi-extension/dist/cognitive-routing/handlers.js +901 -0
- package/pi-extension/dist/cognitive-routing/handoffs.js +350 -0
- package/pi-extension/dist/cognitive-routing/model-control.js +476 -0
- package/pi-extension/dist/cognitive-routing/projection.js +520 -0
- package/pi-extension/dist/cognitive-routing/provenance.js +83 -0
- package/pi-extension/dist/{cognitive-routing-v2 → cognitive-routing}/render.js +15 -15
- package/pi-extension/dist/cognitive-routing/runtime.js +398 -0
- package/pi-extension/dist/{cognitive-routing-v2 → cognitive-routing}/schemas.js +47 -11
- package/pi-extension/dist/cognitive-routing/session.js +223 -0
- package/pi-extension/dist/{session-sources → cognitive-routing}/sources.js +126 -87
- package/pi-extension/dist/{cognitive-routing-v2 → cognitive-routing}/state.js +55 -386
- package/pi-extension/dist/cognitive-routing/status.js +81 -0
- package/pi-extension/dist/cognitive-routing/tools.js +74 -0
- package/pi-extension/dist/{cognitive-routing-v2 → cognitive-routing}/types.js +14 -11
- package/pi-extension/dist/compaction/carry.js +205 -0
- package/pi-extension/dist/compaction/config.js +24 -0
- package/pi-extension/dist/compaction/controller.js +494 -0
- package/pi-extension/dist/compaction/harness.js +93 -0
- package/pi-extension/dist/compaction/results.js +159 -0
- package/pi-extension/dist/compaction/thresholds.js +35 -0
- package/pi-extension/dist/compaction/tool.js +57 -0
- package/pi-extension/dist/host/branch.js +13 -0
- package/pi-extension/dist/host/canonical.js +12 -0
- package/pi-extension/dist/host/catalog.js +62 -0
- package/pi-extension/dist/host/config-validation.js +233 -0
- package/pi-extension/dist/host/config.js +361 -0
- package/pi-extension/dist/host/inbound.js +142 -0
- package/pi-extension/dist/host/projection-tags.js +60 -0
- package/pi-extension/dist/host/prompts.js +93 -0
- package/pi-extension/dist/{session-sources → host}/read-only-session.js +117 -1
- package/pi-extension/dist/{runtime → host}/request-history.js +125 -39
- package/pi-extension/dist/host/rows.js +25 -0
- package/pi-extension/dist/host/runtime-state.js +204 -0
- package/pi-extension/dist/host/section-keeper.js +85 -0
- package/pi-extension/dist/host/settings/freeflow-command.js +2323 -0
- package/pi-extension/dist/{settings/settings-tui.js → host/settings/settings-view.js} +205 -73
- package/pi-extension/dist/host/staging.js +28 -0
- package/pi-extension/dist/host/status.js +115 -0
- package/pi-extension/dist/index.js +1004 -188
- package/pi-extension/dist/messaging/config.js +27 -0
- package/pi-extension/dist/messaging/messaging.js +398 -0
- package/pi-extension/dist/messaging/registry.js +57 -0
- package/pi-extension/dist/messaging/render.js +90 -0
- package/pi-extension/dist/messaging/tools.js +109 -0
- package/pi-extension/dist/messaging/transport.js +101 -0
- package/pi-extension/dist/provider-support/cache/anchor.js +21 -0
- package/pi-extension/dist/provider-support/cache/anthropic.js +102 -0
- package/pi-extension/dist/provider-support/cache/health.js +73 -0
- package/pi-extension/dist/provider-support/cache/index.js +58 -0
- package/pi-extension/dist/provider-support/cache/keepalive.js +222 -0
- package/pi-extension/dist/provider-support/cache/monitor.js +17 -0
- package/pi-extension/dist/provider-support/cache/openai-responses.js +48 -0
- package/pi-extension/dist/provider-support/effort.js +13 -0
- package/pi-extension/dist/provider-support/index.js +44 -3
- package/pi-extension/dist/provider-support/{astra → openai}/adapter.js +46 -29
- package/pi-extension/dist/provider-support/{astra → openai}/history.js +10 -8
- package/pi-extension/dist/provider-support/{astra → openai}/index.js +8 -4
- package/pi-extension/dist/provider-support/{astra → openai}/session-state.js +29 -38
- package/pi-extension/dist/provider-support/routes.js +17 -0
- package/pi-extension/dist/task-memory/config.js +49 -0
- package/pi-extension/dist/task-memory/registry.js +119 -0
- package/pi-extension/dist/task-memory/render.js +107 -0
- package/pi-extension/dist/task-memory/runtime.js +994 -0
- package/pi-extension/dist/task-memory/tool.js +233 -0
- package/pi-extension/dist/tool-execution/apply-patch/grammar.js +23 -0
- package/pi-extension/dist/tool-execution/apply-patch/match.js +38 -0
- package/pi-extension/dist/tool-execution/apply-patch/parser.js +177 -0
- package/pi-extension/dist/tool-execution/apply-patch/plan.js +201 -0
- package/pi-extension/dist/tool-execution/apply-patch/tool.js +84 -0
- package/pi-extension/dist/tool-execution/background.js +430 -0
- package/pi-extension/dist/tool-execution/bash-guard.js +23 -0
- package/pi-extension/dist/tool-execution/config.js +33 -0
- package/pi-extension/dist/tool-execution/edit-messages.js +120 -0
- package/pi-extension/dist/tool-execution/file-state.js +138 -0
- package/pi-extension/dist/tool-execution/file-tracking.js +163 -0
- package/pi-extension/dist/tool-execution/guidance-notices.js +124 -0
- package/pi-extension/dist/tool-execution/prompt.js +54 -0
- package/pi-extension/dist/tool-execution/skill-reads.js +143 -0
- package/pi-extension/dist/tool-execution/tools.js +16 -0
- package/pi-extension/freeflow/README.md +9 -0
- package/runtime/prompts/cognitive-routing.md +4 -4
- package/runtime/prompts/core.md +29 -72
- package/runtime/prompts/interaction-contract.md +18 -8
- package/runtime/prompts/tool-execution.md +25 -0
- package/runtime/prompts/working-method.md +25 -0
- package/skills/deliver-work/SKILL.md +76 -0
- package/skills/deliver-work/references/branch-closeout.md +134 -0
- package/skills/deliver-work/references/commit.md +83 -0
- package/skills/deliver-work/references/launch.md +94 -0
- package/skills/deliver-work/references/release.md +85 -0
- package/skills/deliver-work/scripts/commit-state.mjs +139 -0
- package/skills/deliver-work/scripts/delivery-state.mjs +107 -0
- package/skills/deliver-work/scripts/lib/git-state.mjs +178 -0
- package/skills/deliver-work/scripts/push-route.mjs +122 -0
- package/skills/deliver-work/scripts/release-preflight.mjs +177 -0
- package/skills/discuss-work/SKILL.md +148 -0
- package/skills/{discuss → discuss-work}/references/discussion-continuity.md +13 -50
- package/skills/discuss-work/references/learning-action.md +36 -0
- package/skills/discuss-work/scripts/choices.mjs +101 -0
- package/skills/discuss-work/scripts/lib/choices.mjs +159 -0
- package/skills/evaluate-behavior/SKILL.md +107 -0
- package/skills/evaluate-behavior/references/authoring.md +381 -0
- package/skills/evaluate-behavior/references/coding-tasks.md +145 -0
- package/skills/evaluate-behavior/references/conversations-pipelines-judges.md +177 -0
- package/skills/evaluate-behavior/references/design-and-measurement.md +273 -0
- package/skills/evaluate-behavior/references/running-and-evidence.md +245 -0
- package/skills/evaluate-behavior/scripts/claude-guard.mjs +76 -0
- package/skills/evaluate-behavior/scripts/guard-rules.mjs +309 -0
- package/skills/evaluate-behavior/scripts/lib/agreement.mjs +90 -0
- package/skills/evaluate-behavior/scripts/lib/arms.mjs +55 -0
- package/skills/evaluate-behavior/scripts/lib/budget.mjs +87 -0
- package/skills/evaluate-behavior/scripts/lib/build-source.mjs +287 -0
- package/skills/evaluate-behavior/scripts/lib/clear.mjs +74 -0
- package/skills/evaluate-behavior/scripts/lib/container.mjs +395 -0
- package/skills/evaluate-behavior/scripts/lib/decision.mjs +418 -0
- package/skills/evaluate-behavior/scripts/lib/definitions.mjs +1072 -0
- package/skills/evaluate-behavior/scripts/lib/freeflow.mjs +103 -0
- package/skills/evaluate-behavior/scripts/lib/grade-command.mjs +591 -0
- package/skills/evaluate-behavior/scripts/lib/grade-comparison.mjs +90 -0
- package/skills/{evaluate-skill → evaluate-behavior}/scripts/lib/grade-interaction.mjs +19 -18
- package/skills/{evaluate-skill → evaluate-behavior}/scripts/lib/grade-support.mjs +32 -5
- package/skills/{evaluate-skill → evaluate-behavior}/scripts/lib/grade-workspace.mjs +28 -12
- package/skills/evaluate-behavior/scripts/lib/grade.mjs +101 -0
- package/skills/evaluate-behavior/scripts/lib/hooks.mjs +98 -0
- package/skills/evaluate-behavior/scripts/lib/hosts/claude-code/confinement.mjs +196 -0
- package/skills/evaluate-behavior/scripts/lib/hosts/claude-code/constraints.mjs +111 -0
- package/skills/evaluate-behavior/scripts/lib/hosts/claude-code/index.mjs +48 -0
- package/skills/evaluate-behavior/scripts/lib/hosts/claude-code/isolation.mjs +74 -0
- package/skills/evaluate-behavior/scripts/lib/hosts/claude-code/launch.mjs +123 -0
- package/skills/evaluate-behavior/scripts/lib/hosts/claude-code/model-call.mjs +73 -0
- package/skills/evaluate-behavior/scripts/lib/hosts/claude-code/recorder.mjs +178 -0
- package/skills/evaluate-behavior/scripts/lib/hosts/claude-code/session.mjs +494 -0
- package/skills/evaluate-behavior/scripts/lib/hosts/claude-code/skills.mjs +81 -0
- package/skills/evaluate-behavior/scripts/lib/hosts/index.mjs +31 -0
- package/skills/evaluate-behavior/scripts/lib/hosts/names.mjs +3 -0
- package/skills/evaluate-behavior/scripts/lib/hosts/pi/confinement.mjs +173 -0
- package/skills/evaluate-behavior/scripts/lib/hosts/pi/host.mjs +148 -0
- package/skills/evaluate-behavior/scripts/lib/hosts/pi/index.mjs +70 -0
- package/skills/evaluate-behavior/scripts/lib/hosts/pi/isolation.mjs +81 -0
- package/skills/evaluate-behavior/scripts/lib/hosts/pi/model-call.mjs +79 -0
- package/skills/evaluate-behavior/scripts/lib/hosts/pi/process.mjs +241 -0
- package/skills/{evaluate-skill/scripts/lib → evaluate-behavior/scripts/lib/hosts/pi}/rpc.mjs +144 -26
- package/skills/evaluate-behavior/scripts/lib/identity.mjs +82 -0
- package/skills/evaluate-behavior/scripts/lib/judge.mjs +688 -0
- package/skills/evaluate-behavior/scripts/lib/metrics.mjs +332 -0
- package/skills/evaluate-behavior/scripts/lib/model-call.mjs +17 -0
- package/skills/evaluate-behavior/scripts/lib/participants.mjs +616 -0
- package/skills/{evaluate-skill → evaluate-behavior}/scripts/lib/process.mjs +22 -0
- package/skills/evaluate-behavior/scripts/lib/queue.mjs +54 -0
- package/skills/evaluate-behavior/scripts/lib/reference.mjs +343 -0
- package/skills/evaluate-behavior/scripts/lib/reuse.mjs +277 -0
- package/skills/evaluate-behavior/scripts/lib/review.mjs +933 -0
- package/skills/evaluate-behavior/scripts/lib/runner.mjs +732 -0
- package/skills/{evaluate-skill → evaluate-behavior}/scripts/lib/sandbox.mjs +121 -14
- package/skills/evaluate-behavior/scripts/lib/scan-shell.mjs +457 -0
- package/skills/evaluate-behavior/scripts/lib/scan.mjs +479 -0
- package/skills/evaluate-behavior/scripts/lib/seal.mjs +91 -0
- package/skills/evaluate-behavior/scripts/lib/shell.mjs +560 -0
- package/skills/evaluate-behavior/scripts/lib/source-override.mjs +64 -0
- package/skills/evaluate-behavior/scripts/lib/subject-file.mjs +88 -0
- package/skills/{evaluate-skill/scripts/lib/pi.mjs → evaluate-behavior/scripts/lib/subject.mjs} +239 -262
- package/skills/evaluate-behavior/scripts/lib/task-copy.mjs +124 -0
- package/skills/evaluate-behavior/scripts/lib/trials.mjs +524 -0
- package/skills/evaluate-behavior/scripts/lib/validity.mjs +68 -0
- package/skills/evaluate-behavior/scripts/lib/view-html.mjs +454 -0
- package/skills/{evaluate-skill → evaluate-behavior}/scripts/lib/view.mjs +218 -11
- package/skills/evaluate-behavior/scripts/pi-command-tool.mjs +159 -0
- package/skills/evaluate-behavior/scripts/pi-container-route.mjs +23 -0
- package/skills/evaluate-behavior/scripts/pi-guard.mjs +77 -0
- package/skills/evaluate-behavior/scripts/pi-login-refresh.mjs +31 -0
- package/skills/evaluate-behavior/scripts/skill-eval.mjs +586 -0
- package/skills/execute-work/SKILL.md +96 -72
- package/skills/execute-work/references/code-practices.md +27 -49
- package/skills/execute-work/references/design.md +271 -0
- package/skills/execute-work/references/diagnose.md +117 -0
- package/skills/execute-work/references/migration.md +108 -0
- package/skills/execute-work/references/simplify.md +65 -0
- package/skills/execute-work/scripts/self-review.mjs +422 -0
- package/skills/execute-work/scripts/touch-map.mjs +290 -0
- package/skills/review-work/SKILL.md +94 -64
- package/skills/review-work/references/adjudication.md +94 -0
- package/skills/review-work/references/artifact.md +198 -0
- package/skills/review-work/references/evals-and-judges.md +66 -0
- package/skills/review-work/references/work.md +177 -0
- package/skills/review-work/scripts/check-brief.mjs +128 -0
- package/skills/review-work/scripts/review-packet.mjs +233 -0
- package/skills/setup-freeflow/SKILL.md +69 -16
- package/skills/track-work/SKILL.md +135 -151
- package/skills/track-work/references/handoff.md +190 -0
- package/skills/track-work/references/projects.md +51 -0
- package/skills/track-work/references/working-record-format.md +201 -344
- package/skills/track-work/scripts/lib/document.mjs +79 -19
- package/skills/track-work/scripts/lib/format.mjs +18 -1
- package/skills/track-work/scripts/lib/recover.mjs +254 -0
- package/skills/track-work/scripts/lib/registry.mjs +656 -0
- package/skills/track-work/scripts/lib/search.mjs +40 -0
- package/skills/track-work/scripts/lib/store.mjs +53 -21
- package/skills/track-work/scripts/lib/transitions.mjs +79 -4
- package/skills/track-work/scripts/lib/views.mjs +50 -1
- package/skills/track-work/scripts/working-record.mjs +263 -22
- package/skills/verify-work/SKILL.md +64 -47
- package/skills/verify-work/references/feature-map.md +120 -0
- package/skills/verify-work/references/runtime-evidence.md +203 -0
- package/skills/verify-work/references/test-design.md +27 -6
- package/skills/verify-work/scripts/test-changes.mjs +246 -0
- package/skills/write-docs/SKILL.md +171 -0
- package/skills/write-docs/references/documentation-shapes.md +184 -0
- package/skills/write-docs/references/spec-and-plan-shapes.md +308 -0
- package/skills/write-docs/scripts/artifact-check.mjs +148 -0
- package/skills/write-docs/scripts/docs-check.mjs +229 -0
- package/skills/write-docs/scripts/plan-lint.mjs +123 -0
- package/skills/write-skill/SKILL.md +165 -165
- package/skills/write-skill/references/activation-and-wording.md +143 -0
- package/skills/write-skill/references/placement-and-dependencies.md +154 -0
- package/skills/write-skill/scripts/lib/compare.mjs +701 -0
- package/skills/write-skill/scripts/lib/similarity.mjs +56 -0
- package/skills/write-skill/scripts/lib/skill-author.mjs +197 -3
- package/skills/write-skill/scripts/skill-author.mjs +67 -8
- package/capabilities/context-virtualization/SKILL.md +0 -103
- package/capabilities/conversation-history/SKILL.md +0 -53
- package/hooks/tests/check-host-adapters.test.mjs +0 -82
- package/hooks/tests/check-runtime-context-hook.sh +0 -212
- package/pi-extension/dist/cognitive-routing-v2/projection.js +0 -330
- package/pi-extension/dist/cognitive-routing-v2/runtime.js +0 -2181
- package/pi-extension/dist/cognitive-routing-v2/tools.js +0 -60
- package/pi-extension/dist/context-virtualization/commands.js +0 -89
- package/pi-extension/dist/context-virtualization/projector.js +0 -42
- package/pi-extension/dist/context-virtualization/runtime.js +0 -378
- package/pi-extension/dist/context-virtualization/state.js +0 -57
- package/pi-extension/dist/context-virtualization/types.js +0 -10
- package/pi-extension/dist/conversation-history/passages.js +0 -66
- package/pi-extension/dist/conversation-history/ranking.js +0 -105
- package/pi-extension/dist/conversation-history/runtime.js +0 -226
- package/pi-extension/dist/conversation-history/search.js +0 -56
- package/pi-extension/dist/conversation-history/types.js +0 -1
- package/pi-extension/dist/freeflow-context/resolver.js +0 -120
- package/pi-extension/dist/freeflow-context/runtime.js +0 -80
- package/pi-extension/dist/freeflow-context/source-projector.js +0 -95
- package/pi-extension/dist/freeflow-context/tool.js +0 -314
- package/pi-extension/dist/freeflow-context/types.js +0 -12
- package/pi-extension/dist/freeflow-context/visibility.js +0 -28
- package/pi-extension/dist/integrations/mcp-config.js +0 -29
- package/pi-extension/dist/runtime/runtime-context.js +0 -754
- package/pi-extension/dist/runtime/runtime-identity.js +0 -5
- package/pi-extension/dist/session-sources/provenance.js +0 -32
- package/pi-extension/dist/settings/settings-ui.js +0 -1360
- package/pi-extension/dist/ui/text-component.js +0 -57
- package/pi-extension/src/cognitive-routing-v2/budget.ts +0 -42
- package/pi-extension/src/cognitive-routing-v2/config.ts +0 -173
- package/pi-extension/src/cognitive-routing-v2/projection.ts +0 -375
- package/pi-extension/src/cognitive-routing-v2/render.ts +0 -277
- package/pi-extension/src/cognitive-routing-v2/runtime.ts +0 -2241
- package/pi-extension/src/cognitive-routing-v2/schemas.ts +0 -180
- package/pi-extension/src/cognitive-routing-v2/state.ts +0 -839
- package/pi-extension/src/cognitive-routing-v2/tools.ts +0 -62
- package/pi-extension/src/cognitive-routing-v2/types.ts +0 -254
- package/pi-extension/src/context-virtualization/commands.ts +0 -111
- package/pi-extension/src/context-virtualization/projector.ts +0 -62
- package/pi-extension/src/context-virtualization/runtime.ts +0 -428
- package/pi-extension/src/context-virtualization/state.ts +0 -79
- package/pi-extension/src/context-virtualization/types.ts +0 -92
- package/pi-extension/src/conversation-history/passages.ts +0 -81
- package/pi-extension/src/conversation-history/ranking.ts +0 -155
- package/pi-extension/src/conversation-history/runtime.ts +0 -250
- package/pi-extension/src/conversation-history/search.ts +0 -79
- package/pi-extension/src/conversation-history/types.ts +0 -31
- package/pi-extension/src/freeflow-context/resolver.ts +0 -139
- package/pi-extension/src/freeflow-context/runtime.ts +0 -100
- package/pi-extension/src/freeflow-context/source-projector.ts +0 -106
- package/pi-extension/src/freeflow-context/tool.ts +0 -366
- package/pi-extension/src/freeflow-context/types.ts +0 -70
- package/pi-extension/src/freeflow-context/visibility.ts +0 -53
- package/pi-extension/src/index.ts +0 -390
- package/pi-extension/src/integrations/mcp-config.ts +0 -32
- package/pi-extension/src/provider-support/astra/adapter.ts +0 -108
- package/pi-extension/src/provider-support/astra/history.ts +0 -145
- package/pi-extension/src/provider-support/astra/index.ts +0 -12
- package/pi-extension/src/provider-support/astra/session-state.ts +0 -113
- package/pi-extension/src/provider-support/index.ts +0 -5
- package/pi-extension/src/runtime/request-history.ts +0 -243
- package/pi-extension/src/runtime/runtime-context.ts +0 -860
- package/pi-extension/src/runtime/runtime-identity.ts +0 -8
- package/pi-extension/src/session-sources/events.ts +0 -230
- package/pi-extension/src/session-sources/provenance.ts +0 -39
- package/pi-extension/src/session-sources/read-only-session.ts +0 -170
- package/pi-extension/src/session-sources/sources.ts +0 -334
- package/pi-extension/src/settings/settings-tui.ts +0 -501
- package/pi-extension/src/settings/settings-ui.ts +0 -1652
- package/pi-extension/src/ui/text-component.ts +0 -66
- package/pi-extension/tests/cache-reuse/history.test.js +0 -117
- package/pi-extension/tests/cache-reuse/native.test.js +0 -91
- package/pi-extension/tests/cache-reuse/settings.test.js +0 -211
- package/pi-extension/tests/cognitive-routing-v2/communication.test.js +0 -577
- package/pi-extension/tests/cognitive-routing-v2/compaction-input.test.js +0 -183
- package/pi-extension/tests/cognitive-routing-v2/delegation.test.js +0 -557
- package/pi-extension/tests/cognitive-routing-v2/native.test.js +0 -474
- package/pi-extension/tests/cognitive-routing-v2/performance.test.js +0 -87
- package/pi-extension/tests/cognitive-routing-v2/persistence.test.js +0 -300
- package/pi-extension/tests/cognitive-routing-v2/projection.test.js +0 -241
- package/pi-extension/tests/cognitive-routing-v2/recovery.test.js +0 -1034
- package/pi-extension/tests/cognitive-routing-v2/render.test.js +0 -244
- package/pi-extension/tests/cognitive-routing-v2/runtime.test.js +0 -423
- package/pi-extension/tests/cognitive-routing-v2/stabilization.test.js +0 -521
- package/pi-extension/tests/cognitive-routing-v2/state.test.js +0 -586
- package/pi-extension/tests/context-virtualization/extension.test.js +0 -775
- package/pi-extension/tests/context-virtualization/projector.test.js +0 -110
- package/pi-extension/tests/context-virtualization/runtime.test.js +0 -230
- package/pi-extension/tests/conversation-history/runtime.test.js +0 -98
- package/pi-extension/tests/conversation-history/search.test.js +0 -97
- package/pi-extension/tests/fixtures/pi-host.js +0 -4
- package/pi-extension/tests/fixtures/routing-native.js +0 -191
- package/pi-extension/tests/integration/mode-free-core.test.js +0 -220
- package/pi-extension/tests/integration/pi-extension.test.js +0 -1447
- package/pi-extension/tests/integration/prompt-architecture.test.js +0 -447
- package/pi-extension/tests/integration/unaffected-regressions.test.js +0 -478
- package/pi-extension/tests/provider-support/astra-boundaries.test.js +0 -75
- package/pi-extension/tests/provider-support/astra.test.js +0 -306
- package/pi-extension/tests/provider-support/cli.test.js +0 -92
- package/pi-extension/tests/provider-support/native.test.js +0 -183
- package/pi-extension/tests/settings/settings-tui.test.js +0 -243
- package/pi-extension/tsconfig.json +0 -16
- package/plugin.json +0 -33
- package/runtime/prompts/context-virtualization.md +0 -3
- package/runtime/prompts/conversation-history.md +0 -3
- package/skills/action-selection/SKILL.md +0 -100
- package/skills/action-selection/references/trajectory-stalls.md +0 -71
- package/skills/bypass/SKILL.md +0 -153
- package/skills/commit-work/SKILL.md +0 -145
- package/skills/commit-work/references/git-state-edges.md +0 -94
- package/skills/commit-work/references/simple-push.md +0 -92
- package/skills/commit-work/references/staging-decisions.md +0 -106
- package/skills/decision-gate/SKILL.md +0 -106
- package/skills/design-for-depth/SKILL.md +0 -117
- package/skills/design-for-depth/references/design-pressure-signals.md +0 -182
- package/skills/design-for-depth/references/implementation-decisions.md +0 -76
- package/skills/design-for-depth/references/interface-design-loop.md +0 -136
- package/skills/design-for-depth/references/module-and-dependency-design.md +0 -147
- package/skills/design-for-depth/references/software-design-philosophy.md +0 -202
- package/skills/design-for-depth/references/state-and-failure-boundaries.md +0 -136
- package/skills/diagnose-failure/SKILL.md +0 -125
- package/skills/diagnose-failure/references/diagnostic-loop-catalog.md +0 -48
- package/skills/diagnose-failure/references/flaky-and-performance-diagnosis.md +0 -51
- package/skills/discuss/SKILL.md +0 -116
- package/skills/evaluate-skill/SKILL.md +0 -219
- package/skills/evaluate-skill/references/evaluation-definition-schema.md +0 -385
- package/skills/evaluate-skill/references/evaluation-design.md +0 -112
- package/skills/evaluate-skill/references/execution-and-evidence.md +0 -90
- package/skills/evaluate-skill/references/review-and-revision.md +0 -92
- package/skills/evaluate-skill/scripts/lib/definitions.mjs +0 -407
- package/skills/evaluate-skill/scripts/lib/grade-comparison.mjs +0 -60
- package/skills/evaluate-skill/scripts/lib/grade.mjs +0 -64
- package/skills/evaluate-skill/scripts/lib/runner.mjs +0 -368
- package/skills/evaluate-skill/scripts/pi-guard.mjs +0 -164
- package/skills/evaluate-skill/scripts/skill-eval.mjs +0 -102
- package/skills/execute-work/references/execute-work-edges.md +0 -68
- package/skills/finish-branch/SKILL.md +0 -117
- package/skills/finish-branch/references/integration-options.md +0 -80
- package/skills/handoff/SKILL.md +0 -82
- package/skills/handoff/references/handoff-templates.md +0 -150
- package/skills/launch-work/SKILL.md +0 -116
- package/skills/launch-work/references/launch-readiness.md +0 -85
- package/skills/migration-work/SKILL.md +0 -115
- package/skills/migration-work/references/migration-lifecycle.md +0 -82
- package/skills/release-work/SKILL.md +0 -118
- package/skills/release-work/references/release-evidence.md +0 -78
- package/skills/review-artifact/SKILL.md +0 -142
- package/skills/review-artifact/references/adjudicate-artifact-review.md +0 -101
- package/skills/review-artifact/references/independent-artifact-reviewer-contract.md +0 -159
- package/skills/review-work/references/adjudicate-work-review.md +0 -97
- package/skills/review-work/references/independent-work-reviewer-contract.md +0 -139
- package/skills/review-work/references/security-risk-lens.md +0 -69
- package/skills/setup-freeflow/references/activation-contract.md +0 -109
- package/skills/setup-freeflow/references/host-setup.md +0 -67
- package/skills/simplify-code/SKILL.md +0 -85
- package/skills/simplify-code/references/simplification-patterns.md +0 -70
- package/skills/verify-work/references/browser-runtime-evidence.md +0 -55
- package/skills/verify-work/references/integration-evidence.md +0 -47
- package/skills/verify-work/references/performance-evidence.md +0 -57
- package/skills/workflow/SKILL.md +0 -127
- package/skills/workflow/references/domain-skill-composition.md +0 -43
- package/skills/write-plan/SKILL.md +0 -92
- package/skills/write-plan/references/plan-shapes.md +0 -156
- package/skills/write-skill/references/activation-boundaries.md +0 -104
- package/skills/write-skill/references/agent-first-instructions.md +0 -121
- package/skills/write-skill/references/progressive-disclosure.md +0 -127
- package/skills/write-skill/references/skill-dependency-graphs.md +0 -190
- package/skills/write-spec/SKILL.md +0 -92
- package/skills/write-spec/references/artifact-standards.md +0 -86
- package/skills/write-spec/references/decision-records.md +0 -78
- package/skills/write-spec/references/spec-shapes.md +0 -143
- /package/pi-extension/dist/{cognitive-routing-v2 → cognitive-routing}/budget.js +0 -0
- /package/skills/{evaluate-skill → evaluate-behavior}/scripts/lib/evidence.mjs +0 -0
- /package/skills/{evaluate-skill → evaluate-behavior}/scripts/pi-observer.mjs +0 -0
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
# Launch Readiness
|
|
2
|
-
|
|
3
|
-
Read this before selecting risk lenses, operational evidence, rollout stages, or recovery checks. Use only the lenses relevant to the production change; this is not a universal checklist.
|
|
4
|
-
|
|
5
|
-
## Identity And Ownership
|
|
6
|
-
|
|
7
|
-
- Exact artifact, commit, image, configuration, migration, and target environment are known.
|
|
8
|
-
- Deployment, rollout, rollback, incident, and communication owners are known where risk requires them.
|
|
9
|
-
- Production permissions and credentials are available through approved channels without entering prompts, logs, or source.
|
|
10
|
-
|
|
11
|
-
## Behavior And Compatibility
|
|
12
|
-
|
|
13
|
-
- Accepted requirements and critical user paths have fresh evidence.
|
|
14
|
-
- Public APIs, clients, schemas, feature states, and supported versions remain compatible or have an approved migration.
|
|
15
|
-
- Failure, retry, idempotency, duplicate, ordering, and recovery behavior are settled for consequential operations.
|
|
16
|
-
|
|
17
|
-
## Data And Migration
|
|
18
|
-
|
|
19
|
-
- Authoritative source and migration ordering are explicit.
|
|
20
|
-
- Backups, reconciliation, partial failure, restart, rollback, and forward-recovery behavior are proved to the required level.
|
|
21
|
-
- Privacy, retention, deletion, audit, and permission obligations remain satisfied.
|
|
22
|
-
|
|
23
|
-
## Security And Access
|
|
24
|
-
|
|
25
|
-
- Threat-relevant changes received the required specialist or policy review.
|
|
26
|
-
- Authentication, authorization, secret handling, untrusted input, dependency, network, and privilege boundaries are verified where affected.
|
|
27
|
-
- Telemetry and support tooling do not expose secrets or unnecessary personal data.
|
|
28
|
-
|
|
29
|
-
When Workflow selects a security-focused review, read the [security risk lens](../../review-work/references/security-risk-lens.md).
|
|
30
|
-
|
|
31
|
-
## Performance And Capacity
|
|
32
|
-
|
|
33
|
-
- Representative baseline and expected load are known where capacity can change.
|
|
34
|
-
- Critical latency, throughput, saturation, queue, storage, and dependency limits have evidence.
|
|
35
|
-
- Advance and abort criteria are relative to accepted SLOs, historical baseline, or owner-approved thresholds.
|
|
36
|
-
|
|
37
|
-
Read [performance evidence](../../verify-work/references/performance-evidence.md) for readiness and improvement claims. Read [Flaky and Performance Diagnosis](../../diagnose-failure/references/flaky-and-performance-diagnosis.md) only when a regression lacks a supported cause.
|
|
38
|
-
|
|
39
|
-
## Accessibility And User Experience
|
|
40
|
-
|
|
41
|
-
When user interfaces change, verify the affected critical paths using the repo's design/accessibility authority and available domain tooling. Consider keyboard, focus, semantics, assistive technology, responsive behavior, loading, empty, error, and degraded states only where relevant.
|
|
42
|
-
|
|
43
|
-
## Observability
|
|
44
|
-
|
|
45
|
-
Start from questions operators must answer:
|
|
46
|
-
|
|
47
|
-
- Is the new path being used?
|
|
48
|
-
- Is it succeeding and within accepted latency/capacity bounds?
|
|
49
|
-
- Why is a specific request, job, or migration failing?
|
|
50
|
-
- Are data, queues, retries, and dependencies healthy?
|
|
51
|
-
- Can one affected operation be correlated across components?
|
|
52
|
-
|
|
53
|
-
Choose structured logs for event detail, metrics for aggregate rate/error/duration or resource saturation, and traces for cross-component paths. Keep metric dimensions bounded. Do not log secrets, tokens, full sensitive payloads, or unrestricted personal identifiers.
|
|
54
|
-
|
|
55
|
-
Verify telemetry itself by inducing or observing a safe known event, finding the signal, checking fields/labels, and confirming alert/runbook routing where required.
|
|
56
|
-
|
|
57
|
-
## CI/CD And Environment
|
|
58
|
-
|
|
59
|
-
- The pipeline and target environment execute the checks required by this change.
|
|
60
|
-
- Generated artifacts are promoted consistently rather than rebuilt differently without approval.
|
|
61
|
-
- Environment drift, secrets, migrations, and deployment ordering are inspected.
|
|
62
|
-
- A failed or ambiguous pipeline step has a known retry/reconciliation contract.
|
|
63
|
-
|
|
64
|
-
Provider-specific workflow syntax belongs to the repo or platform skill.
|
|
65
|
-
|
|
66
|
-
## Rollout And Recovery
|
|
67
|
-
|
|
68
|
-
Define:
|
|
69
|
-
|
|
70
|
-
```text
|
|
71
|
-
Stage / cohort:
|
|
72
|
-
Action:
|
|
73
|
-
Expected signals:
|
|
74
|
-
Advance if:
|
|
75
|
-
Hold if:
|
|
76
|
-
Abort or recover if:
|
|
77
|
-
Verification:
|
|
78
|
-
Owner:
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
Rollback must account for code, data, schema, messages, clients, caches, and external side effects. Test or rehearse the recovery path to the level warranted by risk.
|
|
82
|
-
|
|
83
|
-
## Temporary Machinery
|
|
84
|
-
|
|
85
|
-
Flags, adapters, dual writes, elevated logging, launch dashboards, temporary permissions, and support procedures need an owner and cleanup checkpoint. Route compatibility removal through [Migration Work](../../migration-work/SKILL.md).
|
|
@@ -1,115 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: migration-work
|
|
3
|
-
description: Use when replacing an existing software or data path and moving its consumers, state, or traffic safely.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Migration Work
|
|
7
|
-
|
|
8
|
-
Move consumers, state, or traffic to an accepted replacement without losing compatibility, evidence, or recovery options.
|
|
9
|
-
|
|
10
|
-
A replacement existing does not prove that consumers moved. A migration unit may be complete while the old path remains under an accepted support contract. Removal is a separate claim with separate evidence and authority.
|
|
11
|
-
|
|
12
|
-
## Establish Authority And Scope
|
|
13
|
-
|
|
14
|
-
Loading this skill, discussing a migration, or approving a general implementation Plan does not authorize migration, deprecation, cutover, destructive cleanup, or removal. Execute only the stages and units explicitly requested or separately approved.
|
|
15
|
-
|
|
16
|
-
Use [Decision Gate](../decision-gate/SKILL.md) when any of these remain unresolved:
|
|
17
|
-
|
|
18
|
-
- whether the old behavior should be maintained, deprecated, or removed;
|
|
19
|
-
- advisory versus compulsory migration, deadlines, or support windows;
|
|
20
|
-
- compatibility, public API, data conversion, downtime, permissions, billing, security, privacy, or data-loss behavior;
|
|
21
|
-
- irreversible cutover, destructive cleanup, or rollback limits.
|
|
22
|
-
|
|
23
|
-
Do not manufacture a migration because code looks old. Inspect ownership, supported consumers, runtime use, source truth, incidents, maintenance cost, and current value.
|
|
24
|
-
|
|
25
|
-
When replacement behavior, interfaces, ownership, or failure semantics remain unsettled, return that evidence to [Workflow](../workflow/SKILL.md). Use [Discuss](../discuss/SKILL.md) for open direction, [Design for Depth](../design-for-depth/SKILL.md) for design-bearing boundaries, and [Write Spec](../write-spec/SKILL.md) when accepted migration behavior needs a durable contract.
|
|
26
|
-
|
|
27
|
-
## Define The Migration Contract
|
|
28
|
-
|
|
29
|
-
Before choosing migration shape or units, compatibility, cutover evidence, rollback or forward recovery, or removal proof, read [the migration lifecycle](references/migration-lifecycle.md). Use only the stages required by the accepted migration; do not force every migration through one sequence.
|
|
30
|
-
|
|
31
|
-
Before moving anything, establish:
|
|
32
|
-
|
|
33
|
-
```text
|
|
34
|
-
Old contract and current value:
|
|
35
|
-
Replacement contract and known differences:
|
|
36
|
-
Consumers / callers / data / traffic:
|
|
37
|
-
Compatibility promise and support window:
|
|
38
|
-
Migration unit and ordering:
|
|
39
|
-
State written during transition:
|
|
40
|
-
Verification for each unit:
|
|
41
|
-
Rollback or forward-recovery path:
|
|
42
|
-
Removal proof:
|
|
43
|
-
Owner decisions and stop conditions:
|
|
44
|
-
Approved stages and scope:
|
|
45
|
-
```
|
|
46
|
-
|
|
47
|
-
Treat undocumented observable behavior as a possible consumer dependency until evidence says otherwise. Do not preserve every quirk automatically; surface consequential differences for decision.
|
|
48
|
-
|
|
49
|
-
## Prepare The Replacement
|
|
50
|
-
|
|
51
|
-
When an additive or replacement stage is approved:
|
|
52
|
-
|
|
53
|
-
- prove the replacement through the real caller path or interface;
|
|
54
|
-
- keep old and new ownership explicit;
|
|
55
|
-
- add adapters, flags, aliases, translation, or dual reads/writes only when the migration contract requires them;
|
|
56
|
-
- give temporary compatibility machinery an owner, purpose, failure behavior, exit condition, and removal evidence;
|
|
57
|
-
- do not add features to the old path unless required for safety or an explicit support decision.
|
|
58
|
-
|
|
59
|
-
If compatibility machinery starts spreading caller knowledge, public states, or exceptions, return the structural evidence to Workflow rather than building a second permanent system.
|
|
60
|
-
|
|
61
|
-
An emergency migration without a viable replacement may be necessary for security or data safety, but it requires explicit owner direction, bounded impact, and a documented failure and recovery contract.
|
|
62
|
-
|
|
63
|
-
## Move Bounded Units
|
|
64
|
-
|
|
65
|
-
Move one accepted consumer, cohort, traffic segment, configuration set, or data partition at a time.
|
|
66
|
-
|
|
67
|
-
For each unit:
|
|
68
|
-
|
|
69
|
-
1. capture the relevant pre-migration state or baseline;
|
|
70
|
-
2. apply the migration through the intended path;
|
|
71
|
-
3. verify behavior, data, errors, permissions, and operational signals at the required boundary;
|
|
72
|
-
4. confirm rollback or forward recovery remains possible;
|
|
73
|
-
5. preserve evidence and account for remaining units.
|
|
74
|
-
|
|
75
|
-
Code search alone cannot prove completion when runtime, external, dormant, generated, offline, or independently deployed consumers may exist.
|
|
76
|
-
|
|
77
|
-
Stop and return evidence to Workflow when replacement behavior diverges, unknown consumers appear, a new owner decision is required, data cannot be reconciled, recovery assumptions fail, compatibility machinery spreads, or the next safe unit is unclear. Preserve completed units; do not restart the whole migration automatically.
|
|
78
|
-
|
|
79
|
-
## Remove The Old Path
|
|
80
|
-
|
|
81
|
-
Remove or disable the old path only when that stage is explicitly authorized and the accepted removal proof is satisfied.
|
|
82
|
-
|
|
83
|
-
Check, as relevant:
|
|
84
|
-
|
|
85
|
-
- supported active and dormant consumers are accounted for;
|
|
86
|
-
- runtime, telemetry, dependency, or owner evidence supports the absence claim;
|
|
87
|
-
- data and configuration are reconciled;
|
|
88
|
-
- compatibility, support-window, observation, and recovery obligations have ended;
|
|
89
|
-
- old code, adapters, flags, tests, docs, alerts, dashboards, secrets, jobs, and configuration are classified for removal or retention;
|
|
90
|
-
- the replacement remains verified with the old path disabled or absent.
|
|
91
|
-
|
|
92
|
-
Do not delete source truth or historical migration evidence merely to make searches clean. If current docs or contracts would become false, return them to Workflow and update them only when they are included in the approved migration or removal scope. Preserve durable history where repository policy requires it.
|
|
93
|
-
|
|
94
|
-
## Verification And Review
|
|
95
|
-
|
|
96
|
-
Read [Verify Work](../verify-work/SKILL.md) for each migration-unit, compatibility, reconciliation, and absence claim. “The new path passes” does not prove “the old path is unused.” Missing telemetry is unavailable evidence, not zero use.
|
|
97
|
-
|
|
98
|
-
Return the need for broader judgment to Workflow when the migration changes public contracts, moves consequential data, crosses security or privacy boundaries, affects many consumers, or performs irreversible cutover or cleanup. Workflow selects any independent review; this skill supplies the migration boundary and evidence.
|
|
99
|
-
|
|
100
|
-
Use [Release Work](../release-work/SKILL.md) when the replacement must be published as a versioned artifact. Use [Launch Work](../launch-work/SKILL.md) when migration stages change production traffic, data, configuration, or exposure.
|
|
101
|
-
|
|
102
|
-
## Report Completion Precisely
|
|
103
|
-
|
|
104
|
-
Report:
|
|
105
|
-
|
|
106
|
-
- approved migration scope and completed units;
|
|
107
|
-
- replacement and compatibility status;
|
|
108
|
-
- remaining consumers, state, traffic, or observation windows;
|
|
109
|
-
- verification and operational evidence;
|
|
110
|
-
- rollback or forward-recovery status;
|
|
111
|
-
- legacy components removed and deliberately retained;
|
|
112
|
-
- unresolved decisions, uncertainty, and residual risk;
|
|
113
|
-
- next approved unit, removal boundary, deferment, or stop route.
|
|
114
|
-
|
|
115
|
-
A migration unit is complete when its accepted consumers or state moved and its required evidence holds. A scoped migration may complete while the legacy path remains under an accepted support contract. Removal is complete only when its separate authorization and proof are satisfied.
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
# Migration Lifecycle
|
|
2
|
-
|
|
3
|
-
Read this before choosing migration shape or units, compatibility, cutover evidence, rollback or forward recovery, or removal proof.
|
|
4
|
-
|
|
5
|
-
## Migration Shapes
|
|
6
|
-
|
|
7
|
-
- **Code or API:** add the new contract, migrate callers in bounded groups, remove the old contract.
|
|
8
|
-
- **Configuration:** support old and new forms temporarily, migrate stored and generated config, reject the old form only after compatibility obligations end.
|
|
9
|
-
- **Traffic:** route bounded cohorts to the new path, compare behavior and operational signals, expand only when advance criteria hold.
|
|
10
|
-
- **Data:** expand schema, backfill or transform, move reads/writes, reconcile, then contract the old representation.
|
|
11
|
-
- **Dependency:** introduce the replacement, verify compatibility at owning seams, migrate packages or consumers, remove the old dependency and transitive assumptions.
|
|
12
|
-
- **Feature:** define replacement or removal behavior, migrate users and documentation, observe usage, then remove code and operational surfaces.
|
|
13
|
-
|
|
14
|
-
Do not force every migration into the same sequence. Choose the smallest shape that preserves accepted compatibility, safety, and evidence. A scoped migration may stop after its accepted units move while the old contract remains under a support window; removal remains a separate stage and claim.
|
|
15
|
-
|
|
16
|
-
## Consumer Inventory
|
|
17
|
-
|
|
18
|
-
Possible evidence includes:
|
|
19
|
-
|
|
20
|
-
- static references and dependency graphs;
|
|
21
|
-
- runtime traffic, logs, metrics, traces, or audit records;
|
|
22
|
-
- generated clients, plugins, scripts, jobs, and configuration;
|
|
23
|
-
- external teams, independently deployed services, offline clients, and dormant accounts;
|
|
24
|
-
- package download or version-support data;
|
|
25
|
-
- explicit owner attestations where observation is impossible.
|
|
26
|
-
|
|
27
|
-
Classify unknowns. Missing telemetry is unavailable evidence, not zero usage.
|
|
28
|
-
|
|
29
|
-
## Compatibility Machinery
|
|
30
|
-
|
|
31
|
-
Adapters, aliases, dual reads/writes, translation, flags, and shims are migration tools, not automatically permanent architecture.
|
|
32
|
-
|
|
33
|
-
For each temporary mechanism, record:
|
|
34
|
-
|
|
35
|
-
```text
|
|
36
|
-
Purpose:
|
|
37
|
-
Consumers protected:
|
|
38
|
-
Observable differences:
|
|
39
|
-
Owner:
|
|
40
|
-
Exit condition:
|
|
41
|
-
Removal evidence:
|
|
42
|
-
Failure behavior:
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
If the shim becomes harder to remove with each consumer, reconsider the compatibility boundary and ownership before adding another exception.
|
|
46
|
-
|
|
47
|
-
## Data Movement
|
|
48
|
-
|
|
49
|
-
Before moving data, settle:
|
|
50
|
-
|
|
51
|
-
- authoritative source during each phase;
|
|
52
|
-
- idempotency and restart behavior;
|
|
53
|
-
- duplicate, partial, invalid, and late-arriving records;
|
|
54
|
-
- read/write ordering and reconciliation;
|
|
55
|
-
- privacy, retention, permissions, and audit requirements;
|
|
56
|
-
- rollback versus forward-only recovery;
|
|
57
|
-
- backup, restore, and destructive-cleanup proof.
|
|
58
|
-
|
|
59
|
-
A reversible schema change does not imply reversible data semantics.
|
|
60
|
-
|
|
61
|
-
## Advance, Hold, Roll Back
|
|
62
|
-
|
|
63
|
-
Define evidence-relative criteria rather than universal percentages or time windows:
|
|
64
|
-
|
|
65
|
-
- **Advance:** required behavior and operational signals remain within accepted bounds.
|
|
66
|
-
- **Hold:** evidence is incomplete, variance is unresolved, or a bounded investigation is needed.
|
|
67
|
-
- **Roll back or recover forward:** data safety, security, compatibility, or accepted service behavior is violated.
|
|
68
|
-
|
|
69
|
-
The owner decides consequential thresholds and acceptable degradation.
|
|
70
|
-
|
|
71
|
-
## Removal Proof
|
|
72
|
-
|
|
73
|
-
A removal claim should combine the strongest available evidence:
|
|
74
|
-
|
|
75
|
-
1. no supported consumer still requires the old contract;
|
|
76
|
-
2. runtime or owner evidence covers consumers static analysis cannot see;
|
|
77
|
-
3. state and configuration have been reconciled;
|
|
78
|
-
4. compatibility and rollback obligations have ended;
|
|
79
|
-
5. the replacement remains verified with the old path disabled or absent;
|
|
80
|
-
6. removal does not erase required history, audit evidence, or recovery material.
|
|
81
|
-
|
|
82
|
-
If a consumer class cannot be observed, state the uncertainty and obtain the owning decision before destructive removal.
|
|
@@ -1,118 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: release-work
|
|
3
|
-
description: Use when preparing, publishing, or verifying a versioned software release.
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Release Work
|
|
7
|
-
|
|
8
|
-
Prepare or publish a traceable versioned artifact whose source, version, contents, and destination identity agree.
|
|
9
|
-
|
|
10
|
-
A commit is not a release. A tag does not prove which artifact was built. A successful local build does not prove registry contents. A published artifact is not a production deployment.
|
|
11
|
-
|
|
12
|
-
## Establish Authority And Source
|
|
13
|
-
|
|
14
|
-
Loading this skill, preparing release options, or approving a general implementation Plan does not authorize a version change, remote tag, release record, registry publication, deprecation, yank, or replacement. Execute only release stages explicitly requested or separately approved. Before editing, read the repository's release policy, versioning scheme, package metadata, changelog convention, release automation, supported branches, signing or provenance requirements, and latest published versions.
|
|
15
|
-
|
|
16
|
-
Use [Decision Gate](../decision-gate/SKILL.md) when the route depends on an unresolved choice about:
|
|
17
|
-
|
|
18
|
-
- whether to release and which channel or audience receives it;
|
|
19
|
-
- compatibility or breaking-change classification;
|
|
20
|
-
- version when policy and evidence do not decide it;
|
|
21
|
-
- credentials, registry, signing, provenance, or remote-tag behavior;
|
|
22
|
-
- yanking, deprecating, replacing, or republishing an artifact;
|
|
23
|
-
- release branches, history rewriting, or recovery from partial publication.
|
|
24
|
-
|
|
25
|
-
Do not impose semantic versioning when the project uses another scheme. Before defining or changing version, source, artifact, tag, publication, or recovery identity, read [release evidence](references/release-evidence.md).
|
|
26
|
-
|
|
27
|
-
## Define The Release Contract
|
|
28
|
-
|
|
29
|
-
Before changing release state, establish:
|
|
30
|
-
|
|
31
|
-
```text
|
|
32
|
-
Release target and audience:
|
|
33
|
-
Source commit / branch:
|
|
34
|
-
Version and compatibility basis:
|
|
35
|
-
Artifacts and supported platforms:
|
|
36
|
-
Release notes / migration guidance:
|
|
37
|
-
Required checks and selected reviews:
|
|
38
|
-
Signing / provenance / checksums:
|
|
39
|
-
Publication destination and channel:
|
|
40
|
-
Failure and recovery behavior:
|
|
41
|
-
Post-publication verification:
|
|
42
|
-
Approved preparation and publication stages:
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
Classify consumer-observable impact rather than diff size. A small change can be breaking; a large internal refactor may preserve compatibility.
|
|
46
|
-
|
|
47
|
-
When consumers must move before a contract can be removed, read [Migration Work](../migration-work/SKILL.md). An additive replacement release may precede migration; a breaking removal release must wait for the accepted migration and removal proof.
|
|
48
|
-
|
|
49
|
-
## Prepare The Release
|
|
50
|
-
|
|
51
|
-
For approved preparation work:
|
|
52
|
-
|
|
53
|
-
- confirm the intended source is a coherent, freshly verified checkpoint and any selected review is resolved;
|
|
54
|
-
- reconcile version declarations, lockfiles, generated metadata, and release notes through repository-supported tooling;
|
|
55
|
-
- write release notes for consumers: behavior, compatibility, migration, security impact, and known limitations—not a raw commit dump;
|
|
56
|
-
- run the canonical build or package process from the intended source state;
|
|
57
|
-
- inspect the exact artifacts that would be published;
|
|
58
|
-
- keep credentials and signing material out of prompts, logs, diffs, and artifacts.
|
|
59
|
-
|
|
60
|
-
Do not hand-edit generated artifacts or duplicate version truth when the repository has a canonical generator. Return required branch, commit, public-documentation, or migration work to [Workflow](../workflow/SKILL.md) unless it is included in the approved release scope.
|
|
61
|
-
|
|
62
|
-
## Preflight The Exact Release
|
|
63
|
-
|
|
64
|
-
Before any irreversible remote action, verify:
|
|
65
|
-
|
|
66
|
-
- source commit, branch, and working-tree expectations;
|
|
67
|
-
- version is valid, unused, and consistent with repository policy;
|
|
68
|
-
- required tests, builds, package or install checks, and compatibility checks;
|
|
69
|
-
- artifact contents, entry points, names, sizes, checksums, licenses, and provenance;
|
|
70
|
-
- release notes and migration guidance match observable consumer impact;
|
|
71
|
-
- tag, registry, channel, and release destination identity;
|
|
72
|
-
- credentials and permissions work without exposing secrets;
|
|
73
|
-
- retry behavior cannot create conflicting tags or duplicate releases.
|
|
74
|
-
|
|
75
|
-
Use [Verify Work](../verify-work/SKILL.md) to state what each check proves. A dry run proves only the boundaries it exercises; name signing, registry, propagation, or publication behavior that remains unverified.
|
|
76
|
-
|
|
77
|
-
## Publish Only The Approved Stage
|
|
78
|
-
|
|
79
|
-
Create remote tags, release records, or registry publications only when explicitly requested or approved for the inspected release contract.
|
|
80
|
-
|
|
81
|
-
Use the repository's canonical order. Stop when source, version, tag, artifact, signing mode, channel, or destination identity diverges.
|
|
82
|
-
|
|
83
|
-
Do not silently:
|
|
84
|
-
|
|
85
|
-
- overwrite an existing version;
|
|
86
|
-
- force-move a release tag;
|
|
87
|
-
- publish from a dirty or different source state;
|
|
88
|
-
- substitute a registry, channel, artifact, or signing mode;
|
|
89
|
-
- retry an ambiguous publication without inspecting remote state.
|
|
90
|
-
|
|
91
|
-
If publication partially fails or acknowledgement is lost, identify which external effects committed before choosing retry, repair, deprecation, replacement, or stop. Do not assume a network error means nothing was published.
|
|
92
|
-
|
|
93
|
-
## Verify From The Consumer Boundary
|
|
94
|
-
|
|
95
|
-
When publication is in scope, verify the actual public artifact when possible:
|
|
96
|
-
|
|
97
|
-
- tag resolves to the intended commit;
|
|
98
|
-
- published version, channel, and destinations are correct;
|
|
99
|
-
- checksums, signatures, provenance, and contents match the inspected artifact;
|
|
100
|
-
- a clean install, download, or launch path works for supported targets;
|
|
101
|
-
- release notes and migration links resolve;
|
|
102
|
-
- no unexpected artifact, credential, local configuration, or private file was published.
|
|
103
|
-
|
|
104
|
-
Do not call the release complete because the publish command exited successfully. Unavailable propagation or consumer evidence leaves the corresponding claim unverified.
|
|
105
|
-
|
|
106
|
-
## Report Completion Precisely
|
|
107
|
-
|
|
108
|
-
Report:
|
|
109
|
-
|
|
110
|
-
- approved release stage and status;
|
|
111
|
-
- version, source commit, tag, channel, and destinations;
|
|
112
|
-
- compatibility basis and migration guidance;
|
|
113
|
-
- checks, artifact identity, and selected-review status;
|
|
114
|
-
- publication and consumer-side verification;
|
|
115
|
-
- partial failures, recovery actions, and residual risk;
|
|
116
|
-
- any deferred commit, migration, launch, or documentation work.
|
|
117
|
-
|
|
118
|
-
A prepared release is not published. A published release is not deployed. Use [Launch Work](../launch-work/SKILL.md) only when production deployment or rollout is separately requested or approved.
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
# Release Evidence
|
|
2
|
-
|
|
3
|
-
Read this before defining or changing version, source, artifact, tag, publication, or recovery identity.
|
|
4
|
-
|
|
5
|
-
## Version Basis
|
|
6
|
-
|
|
7
|
-
Use the repository's declared scheme. For semantic versioning, classify consumer-observable impact:
|
|
8
|
-
|
|
9
|
-
- **Major:** supported consumers must change or accepted behavior is removed/incompatible.
|
|
10
|
-
- **Minor:** backward-compatible capability is added.
|
|
11
|
-
- **Patch:** backward-compatible defect correction.
|
|
12
|
-
|
|
13
|
-
Prerelease channels, date versions, train versions, and application builds may use different policy. Do not impose SemVer universally.
|
|
14
|
-
|
|
15
|
-
When compatibility is uncertain, inspect supported consumers and ask rather than selecting the smallest bump.
|
|
16
|
-
|
|
17
|
-
## Identity Chain
|
|
18
|
-
|
|
19
|
-
A trustworthy release can connect:
|
|
20
|
-
|
|
21
|
-
```text
|
|
22
|
-
source commit
|
|
23
|
-
-> freshly verified release state
|
|
24
|
-
-> version metadata
|
|
25
|
-
-> build invocation and environment
|
|
26
|
-
-> artifact digest / signature / provenance
|
|
27
|
-
-> immutable tag or release record
|
|
28
|
-
-> registry or distribution entry
|
|
29
|
-
-> consumer-side install evidence
|
|
30
|
-
```
|
|
31
|
-
|
|
32
|
-
Name missing links instead of implying reproducibility.
|
|
33
|
-
|
|
34
|
-
## Release Notes
|
|
35
|
-
|
|
36
|
-
Write for consumers:
|
|
37
|
-
|
|
38
|
-
- added or changed behavior;
|
|
39
|
-
- fixed user-visible defects;
|
|
40
|
-
- deprecated and removed contracts;
|
|
41
|
-
- security impact without unsafe disclosure;
|
|
42
|
-
- migration and compatibility requirements;
|
|
43
|
-
- known limitations and unsupported targets.
|
|
44
|
-
|
|
45
|
-
Commit history can support notes but does not replace curation.
|
|
46
|
-
|
|
47
|
-
## Artifact Inspection
|
|
48
|
-
|
|
49
|
-
Check as relevant:
|
|
50
|
-
|
|
51
|
-
- included and excluded files;
|
|
52
|
-
- executable entry points and permissions;
|
|
53
|
-
- generated code and source maps;
|
|
54
|
-
- dependency and lockfile state;
|
|
55
|
-
- licenses and notices;
|
|
56
|
-
- platform/architecture variants;
|
|
57
|
-
- debug, test, local config, credentials, and private files;
|
|
58
|
-
- deterministic digest or signed provenance.
|
|
59
|
-
|
|
60
|
-
Use the package manager or build system's dry-run/list command when available.
|
|
61
|
-
|
|
62
|
-
## Publication Failure Contract
|
|
63
|
-
|
|
64
|
-
Before publication, know:
|
|
65
|
-
|
|
66
|
-
- which step first creates irreversible remote state;
|
|
67
|
-
- whether a version/tag can be retried idempotently;
|
|
68
|
-
- how to detect a committed but unacknowledged publish;
|
|
69
|
-
- whether repair, deprecation, yank, or replacement is supported;
|
|
70
|
-
- who owns consumer communication.
|
|
71
|
-
|
|
72
|
-
Network failure after a remote commit is ambiguous. Inspect remote state before retrying.
|
|
73
|
-
|
|
74
|
-
## Consumer Verification
|
|
75
|
-
|
|
76
|
-
Prefer a clean environment that does not reuse the local checkout or cache unexpectedly.
|
|
77
|
-
|
|
78
|
-
Verify the actual public artifact by version or digest. A successful local build cannot prove registry contents, install metadata, signatures, or distribution propagation.
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: review-artifact
|
|
3
|
-
description: "Use when judging whether a durable artifact is aligned, sufficient, and fit to guide its intended use through self-review, independent review, or adjudication of a returned artifact review."
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# Review Artifact
|
|
7
|
-
|
|
8
|
-
Judge whether the complete artifact faithfully represents accepted intent and is sufficient for its named use. Internal consistency alone is not enough if it consistently describes the wrong outcome or an obsolete baseline.
|
|
9
|
-
|
|
10
|
-
[Verify Work](../../skills/verify-work/SKILL.md) establishes factual support where claims need verification. Review judges fitness without creating evidence, settling owner decisions, or authorizing revisions.
|
|
11
|
-
|
|
12
|
-
## Choose The Role And Intended Use
|
|
13
|
-
|
|
14
|
-
- **Self-review:** the author checks its own artifact before accepting or using it. This is the normal required route.
|
|
15
|
-
- **Independent review:** a separately selected reviewer judges a state it did not produce, from a separate context.
|
|
16
|
-
- **Adjudication:** the receiving agent evaluates a completed independent report.
|
|
17
|
-
|
|
18
|
-
Writing or revising a Spec or Plan does not automatically require independent review. Select that route only when requested or justified and authorized to protect a concrete boundary. Loading this skill or switching compute profiles creates no independence.
|
|
19
|
-
|
|
20
|
-
An independent reviewer reports and stops; it cannot adjudicate its own findings or become the revising agent within that role.
|
|
21
|
-
|
|
22
|
-
Identify the artifact's exact state, type, intended use, accepted outcome and amendments, non-goals, governing format, source basis, unresolved questions, dependencies, and evidence gaps. Inspect the complete artifact and relevant sources directly—not only its author's narrative.
|
|
23
|
-
|
|
24
|
-
## Establish Which Sources Govern
|
|
25
|
-
|
|
26
|
-
Check current intent and accepted upstream requirements before dependent artifacts. Follow material amendments, supersession, and deliberately selected experimental findings. Do not infer acceptance from a proposal, a review label, a passing test, or an unexplained "user approved" summary.
|
|
27
|
-
|
|
28
|
-
Distinguish accepted behavior from the suggested implementation mechanism. Check both directions:
|
|
29
|
-
|
|
30
|
-
- Has the artifact introduced stronger obligations than the accepted outcome needs?
|
|
31
|
-
- Has it omitted accepted changes or retained a superseded implementation baseline?
|
|
32
|
-
|
|
33
|
-
An experiment can establish a fact without selecting it for production. Conversely, an implementation Plan cannot ignore later accepted learning merely because its older version was reviewed.
|
|
34
|
-
|
|
35
|
-
If upstream content is unresolved or contradictory, mark dependent material contingent. Do not generate exhaustive downstream findings against an unsettled premise or rewrite the upstream requirement to match the artifact.
|
|
36
|
-
|
|
37
|
-
Read [Track Work](../../skills/track-work/SKILL.md) before reviewing a Working Record. Use [Action Selection](../../skills/action-selection/SKILL.md) when source inspection could branch broadly; skip it for an obvious artifact or dependency read.
|
|
38
|
-
|
|
39
|
-
## Judge The Artifact By Its Job
|
|
40
|
-
|
|
41
|
-
- **Working Record:** accurate current task memory, recoverable decisions and work, evidence limits, provisional remaining route, and one next useful action.
|
|
42
|
-
- **Spec or content contract:** the accepted behavior, boundaries, evidence, and uncertainty needed for its intended use.
|
|
43
|
-
- **Plan:** a supported ordered strategy, dependencies, assumptions, checks, and invalidation conditions.
|
|
44
|
-
- **Decision record or ADR:** the choice, owner, source, alternatives, rationale, consequences, and revisit or supersession conditions.
|
|
45
|
-
- **Handoff:** enough truthful point-in-time context for safe continuation without replacing the live record.
|
|
46
|
-
- **Other artifact:** its declared purpose without taking over another artifact's job.
|
|
47
|
-
|
|
48
|
-
A proposal can be fit for discussion without being implementation-ready. Do not block on an open question that the artifact intentionally preserves and whose answer is unnecessary for its current use.
|
|
49
|
-
|
|
50
|
-
## Apply The Shared Kernel
|
|
51
|
-
|
|
52
|
-
Use only lenses capable of changing fitness:
|
|
53
|
-
|
|
54
|
-
- **Source alignment:** accepted requirements, amendments, decisions, and live facts agree with the artifact.
|
|
55
|
-
- **Sufficiency:** it contains enough for its use without implying every future question is settled.
|
|
56
|
-
- **Decision clarity:** required, tentative, open, deferred, and superseded material cannot be confused.
|
|
57
|
-
- **Evidence and acceptance:** load-bearing claims and completion conditions have suitable observing or falsifying mechanisms.
|
|
58
|
-
- **Behavior and failure:** consequential states, forbidden outcomes, observers, and recovery are defined where required.
|
|
59
|
-
- **Dependency integrity:** relevant upstream and downstream sources agree, or their contingency is explicit.
|
|
60
|
-
- **Scope and minimality:** requirements and process are justified rather than speculative or mechanically exhaustive.
|
|
61
|
-
- **Clarity and continuity:** a future reader can use the artifact without reconstructing the author's private reasoning or full transcript.
|
|
62
|
-
|
|
63
|
-
Do not demand implementation detail from a PRD, progress history from a Plan, or universal guarantees from a bounded prototype report. Finding no material issue is valid.
|
|
64
|
-
|
|
65
|
-
## Classify Material Findings
|
|
66
|
-
|
|
67
|
-
Ask in order:
|
|
68
|
-
|
|
69
|
-
1. Does intended-use fitness depend on unsettled content or an owner choice? Report a **Question**.
|
|
70
|
-
2. Does it depend on a claim that available evidence cannot establish? Report **Needs evidence**.
|
|
71
|
-
3. Is there a supported defect requiring revision for this use? Report a **Blocking Issue** if the boundary cannot safely be crossed, or a **Non-blocking Issue** if revision can safely be deferred.
|
|
72
|
-
4. Would it only improve a different or broader use? Omit it by default, or identify an **Improvement** when materially relevant or requested.
|
|
73
|
-
|
|
74
|
-
An Issue identifies the exact location or dependency, violated source or artifact responsibility, evidence, and concrete consequence. Explain why a Blocking Issue prevents the intended use. Recommend a specific revision only when source intent and dependency consequences support it.
|
|
75
|
-
|
|
76
|
-
Needs evidence identifies the load-bearing claim, required observer, existing evidence and limits, why the gap matters, and the smallest observation that could disagree. Establish that the claim is required before recommending more proof; optional stronger claims may be qualified rather than expanding the task. Distinguish missing evidence from a demonstrated artifact defect. Check which source/check state a reported pass examined and whether later changes reduced acceptance or invalidated its applicability; a newer report cannot repair that mismatch.
|
|
77
|
-
|
|
78
|
-
Do not classify wording preference, exhaustive edge cases, intentional deferrals, or polished presentation as defects.
|
|
79
|
-
|
|
80
|
-
## Self-Review Once
|
|
81
|
-
|
|
82
|
-
Apply the kernel silently to the artifact you produced after its load-bearing facts have adequate support. Do not create formal review items, a numbered review, or an independent judgment for this route.
|
|
83
|
-
|
|
84
|
-
For a clear covered defect whose revision basis is settled:
|
|
85
|
-
|
|
86
|
-
1. return to the authoring activity and revise it;
|
|
87
|
-
2. reconcile affected dependencies within authority;
|
|
88
|
-
3. re-verify affected factual claims;
|
|
89
|
-
4. repeat source alignment and affected review lenses once.
|
|
90
|
-
|
|
91
|
-
Do not settle a user decision or revise upstream intent merely to make the artifact consistent. Use [Discuss](../../skills/discuss/SKILL.md) for changed direction or strategy, [Decision Gate](../../skills/decision-gate/SKILL.md) for a blocking owner choice or source conflict, and [Diagnose Failure](../../skills/diagnose-failure/SKILL.md) for unsupported or repeated causal claims. Return material coordination changes through [Workflow](../../skills/workflow/SKILL.md).
|
|
92
|
-
|
|
93
|
-
Stop when the artifact is fit for its agreed use or a material unresolved issue is routed. Self-review is not a reason to add independent review automatically.
|
|
94
|
-
|
|
95
|
-
## Perform A Selected Independent Review
|
|
96
|
-
|
|
97
|
-
Before preparing or performing it, read [Independent Artifact Reviewer Contract](references/independent-artifact-reviewer-contract.md).
|
|
98
|
-
|
|
99
|
-
Use available evidence. Run a missing active check only when review authority covers that exact check; otherwise report Needs evidence. Apply Verify Work to covered checks while retaining ownership of the fitness judgment.
|
|
100
|
-
|
|
101
|
-
Inspect and report without edits, owner decisions, selection among materially different revisions, adjudication, or another review dispatch. The independent review ends with its report:
|
|
102
|
-
|
|
103
|
-
- **Blocking:** at least one Blocking Issue.
|
|
104
|
-
- **Inconclusive:** no Blocking Issue, but a material Question or Needs evidence prevents judgment.
|
|
105
|
-
- **Non-blocking:** only Non-blocking Issues remain.
|
|
106
|
-
- **Pass:** no Issues or material unresolved items remain.
|
|
107
|
-
|
|
108
|
-
Improvements do not change the judgment or authorize revision. Do not continue merely to obtain Pass.
|
|
109
|
-
|
|
110
|
-
## Adjudicate Without Inheriting The Verdict
|
|
111
|
-
|
|
112
|
-
Read [Adjudicate Artifact Review](references/adjudicate-artifact-review.md) before adjudicating.
|
|
113
|
-
|
|
114
|
-
Assess each material item against the actual artifact, source truth, dependencies, and evidence:
|
|
115
|
-
|
|
116
|
-
- **Accepted:** supported and applicable.
|
|
117
|
-
- **Rejected:** unsupported, stale, resolved, duplicate, preference-only, outside the artifact's job, or a source misread.
|
|
118
|
-
- **Open:** evidence or an owner decision is missing.
|
|
119
|
-
|
|
120
|
-
Derive the overall judgment from those dispositions rather than separately accepting the reviewer's conclusion. Findings do not authorize revisions.
|
|
121
|
-
|
|
122
|
-
Pass permits the intended use. Non-blocking permits it with explicit deferrals. Inconclusive requires the missing evidence or decision. Blocking prevents the disputed use and returns the narrowest supported revision or reconsideration to its owner through Workflow.
|
|
123
|
-
|
|
124
|
-
When revision is ready, state the supported problem, revision basis, rationale, dependency impact, observing boundary, authority, and whether focused independent follow-up remains justified.
|
|
125
|
-
|
|
126
|
-
## Preserve The Independent Review Budget
|
|
127
|
-
|
|
128
|
-
For one reviewed state and intended-use boundary:
|
|
129
|
-
|
|
130
|
-
- **Review 1:** first selected independent review, broad by default.
|
|
131
|
-
- **Review 2:** separately selected focused follow-up when accepted revisions, affected dependencies, new evidence, or remaining risk warrant it.
|
|
132
|
-
- **Review 3:** exceptional, separately authorized, and final, after the revision basis and dependency boundary are understood.
|
|
133
|
-
|
|
134
|
-
A revision does not automatically authorize another review. If Review 2 remains Blocking, diagnose repeated or unclear causes; return an independent clear local artifact defect to its owner when diagnosis adds no value. Do not automatically revise and dispatch Review 3.
|
|
135
|
-
|
|
136
|
-
Do not request Review 4. A different reviewer, renamed use, or local revision does not reset the budget. Workflow may establish a new cycle only for a materially new artifact state and intended-use boundary. Self-review does not consume the budget.
|
|
137
|
-
|
|
138
|
-
## Stop
|
|
139
|
-
|
|
140
|
-
Self-review ends with supported fitness or a routed issue. Independent review ends with its report. Adjudication ends with material dispositions and an explicit next route.
|
|
141
|
-
|
|
142
|
-
Do not review until Pass, turn optional improvement into unfinished work, or present artifact fitness as acceptance, implementation, or execution authority.
|