@cratis/pi 8.0.2 → 8.1.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/package/corpus/harnesses/copilot/instructions/ai-distribution.instructions.md +9 -102
- package/package/corpus/harnesses/copilot/instructions/authoring-skills.instructions.md +3 -5
- package/package/corpus/harnesses/copilot/instructions/browser.instructions.md +8 -49
- package/package/corpus/harnesses/copilot/instructions/code-health.instructions.md +1 -1
- package/package/corpus/harnesses/copilot/instructions/code-quality.csharp.instructions.md +3 -84
- package/package/corpus/harnesses/copilot/instructions/code-quality.instructions.md +6 -51
- package/package/corpus/harnesses/copilot/instructions/code-quality.typescript.instructions.md +4 -81
- package/package/corpus/harnesses/copilot/instructions/codescene.instructions.md +5 -54
- package/package/corpus/harnesses/copilot/instructions/components.instructions.md +1 -1
- package/package/corpus/harnesses/copilot/instructions/cratis-folder-is-configuration.instructions.md +5 -22
- package/package/corpus/harnesses/copilot/instructions/csharp.instructions.md +7 -315
- package/package/corpus/harnesses/copilot/instructions/dialogs.instructions.md +1 -1
- package/package/corpus/harnesses/copilot/instructions/discoverability.instructions.md +3 -25
- package/package/corpus/harnesses/copilot/instructions/documentation-structure-and-formatting.instructions.md +5 -151
- package/package/corpus/harnesses/copilot/instructions/documentation.instructions.md +5 -104
- package/package/corpus/harnesses/copilot/instructions/editing-cratis-docs.instructions.md +5 -63
- package/package/corpus/harnesses/copilot/instructions/efcore.instructions.md +8 -55
- package/package/corpus/harnesses/copilot/instructions/efcore.specs.instructions.md +3 -33
- package/package/corpus/harnesses/copilot/instructions/elixir.instructions.md +6 -79
- package/package/corpus/harnesses/copilot/instructions/exit-codes-and-wrappers.instructions.md +4 -27
- package/package/corpus/harnesses/copilot/instructions/framework-dotnet.instructions.md +4 -6
- package/package/corpus/harnesses/copilot/instructions/framework.instructions.md +0 -2
- package/package/corpus/harnesses/copilot/instructions/frontend-quality.instructions.md +0 -1
- package/package/corpus/harnesses/copilot/instructions/frontend-testing.instructions.md +1 -1
- package/package/corpus/harnesses/copilot/instructions/github-actions.instructions.md +7 -138
- package/package/corpus/harnesses/copilot/instructions/glossary.instructions.md +19 -19
- package/package/corpus/harnesses/copilot/instructions/go-engineering.instructions.md +1 -4
- package/package/corpus/harnesses/copilot/instructions/go.instructions.md +2 -7
- package/package/corpus/harnesses/copilot/instructions/guards-and-fuses.instructions.md +5 -6
- package/package/corpus/harnesses/copilot/instructions/java.instructions.md +7 -129
- package/package/corpus/harnesses/copilot/instructions/kotlin.instructions.md +8 -165
- package/package/corpus/harnesses/copilot/instructions/orleans.instructions.md +5 -98
- package/package/corpus/harnesses/copilot/instructions/profiles.instructions.md +9 -63
- package/package/corpus/harnesses/copilot/instructions/scripting.instructions.md +1 -1
- package/package/corpus/harnesses/copilot/instructions/specs.csharp.instructions.md +8 -148
- package/package/corpus/harnesses/copilot/instructions/specs.elixir.instructions.md +4 -37
- package/package/corpus/harnesses/copilot/instructions/specs.typescript.instructions.md +3 -1
- package/package/corpus/harnesses/copilot/instructions/storybook.instructions.md +7 -70
- package/package/corpus/harnesses/copilot/instructions/typescript.instructions.md +8 -98
- package/package/corpus/harnesses/copilot/instructions/writing-correct-examples.instructions.md +3 -47
- package/package/corpus/harnesses/copilot/instructions/writing-cratis-docs.instructions.md +3 -65
- package/package/corpus/hooks/README.md +4 -7
- package/package/corpus/hooks/scripts/quality-gates.json +3 -5
- package/package/corpus/rules/ai-distribution.md +9 -102
- package/package/corpus/rules/authoring-skills.md +3 -5
- package/package/corpus/rules/browser.md +8 -49
- package/package/corpus/rules/code-health-policy.txt +4 -24
- package/package/corpus/rules/code-health.md +1 -1
- package/package/corpus/rules/code-quality.csharp.md +3 -84
- package/package/corpus/rules/code-quality.md +6 -51
- package/package/corpus/rules/code-quality.typescript.md +4 -81
- package/package/corpus/rules/codescene.md +5 -54
- package/package/corpus/rules/components.md +1 -1
- package/package/corpus/rules/cratis-folder-is-configuration.md +5 -22
- package/package/corpus/rules/csharp.md +7 -315
- package/package/corpus/rules/dialogs.md +1 -1
- package/package/corpus/rules/discoverability.md +3 -25
- package/package/corpus/rules/documentation-structure-and-formatting.md +5 -151
- package/package/corpus/rules/documentation.md +5 -104
- package/package/corpus/rules/editing-cratis-docs.md +5 -63
- package/package/corpus/rules/efcore.md +8 -55
- package/package/corpus/rules/efcore.specs.md +3 -33
- package/package/corpus/rules/elixir.md +6 -79
- package/package/corpus/rules/exit-codes-and-wrappers.md +4 -27
- package/package/corpus/rules/framework-dotnet.md +4 -6
- package/package/corpus/rules/framework.md +0 -2
- package/package/corpus/rules/frontend-quality.md +0 -1
- package/package/corpus/rules/frontend-testing.md +1 -1
- package/package/corpus/rules/general.md +2 -2
- package/package/corpus/rules/github-actions.md +7 -138
- package/package/corpus/rules/glossary.md +19 -19
- package/package/corpus/rules/go-engineering.md +1 -4
- package/package/corpus/rules/go.md +2 -7
- package/package/corpus/rules/guards-and-fuses.md +5 -6
- package/package/corpus/rules/java.md +7 -129
- package/package/corpus/rules/kotlin.md +8 -165
- package/package/corpus/rules/orleans.md +5 -98
- package/package/corpus/rules/profiles.md +9 -63
- package/package/corpus/rules/scripting.md +1 -1
- package/package/corpus/rules/specs.csharp.md +8 -148
- package/package/corpus/rules/specs.elixir.md +4 -37
- package/package/corpus/rules/specs.typescript.md +3 -1
- package/package/corpus/rules/storybook.md +7 -70
- package/package/corpus/rules/typescript.md +8 -98
- package/package/corpus/rules/writing-correct-examples.md +3 -47
- package/package/corpus/rules/writing-cratis-docs.md +3 -65
- package/package/corpus/skills/cratis-application-growth/SKILL.md +7 -54
- package/package/corpus/skills/cratis-application-growth/references/move-and-untangle.md +49 -0
- package/package/corpus/skills/cratis-application-growth/references/rename-window.md +12 -14
- package/package/corpus/skills/cratis-application-growth/references/stages.md +2 -2
- package/package/corpus/skills/cratis-arc-authorize-request/SKILL.md +2 -2
- package/package/corpus/skills/cratis-arc-authorize-request/references/csharp.md +3 -3
- package/package/corpus/skills/cratis-arc-authorize-request/references/kotlin.md +2 -2
- package/package/corpus/skills/cratis-arc-code-analysis-typescript/SKILL.md +10 -43
- package/package/corpus/skills/cratis-arc-code-analysis-typescript/references/rule-fixes.md +40 -0
- package/package/corpus/skills/cratis-arc-connect-storage/SKILL.md +1 -1
- package/package/corpus/skills/cratis-arc-connect-storage/references/csharp.md +1 -1
- package/package/corpus/skills/cratis-arc-declare-command/references/csharp.md +4 -4
- package/package/corpus/skills/cratis-arc-declare-command/references/go.md +1 -1
- package/package/corpus/skills/cratis-arc-declare-command/references/kotlin.md +6 -7
- package/package/corpus/skills/cratis-arc-declare-operation/SKILL.md +2 -8
- package/package/corpus/skills/cratis-arc-declare-operation/references/csharp.md +1 -1
- package/package/corpus/skills/cratis-arc-diagnose-live-query/SKILL.md +1 -1
- package/package/corpus/skills/cratis-arc-diagnose-live-query/references/csharp.md +1 -1
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/SKILL.md +6 -12
- package/package/corpus/skills/cratis-arc-expose-mcp-operation/references/custom-exposure-and-audit.md +4 -0
- package/package/corpus/skills/cratis-arc-expose-query/SKILL.md +2 -2
- package/package/corpus/skills/cratis-arc-expose-query/references/csharp.md +11 -4
- package/package/corpus/skills/cratis-arc-expose-query/references/typescript.md +1 -1
- package/package/corpus/skills/cratis-arc-generate-proxies/SKILL.md +2 -2
- package/package/corpus/skills/cratis-arc-generate-proxies/references/csharp.md +1 -1
- package/package/corpus/skills/cratis-arc-generate-proxies/references/go.md +19 -2
- package/package/corpus/skills/cratis-arc-generate-proxies/references/typescript.md +1 -1
- package/package/corpus/skills/cratis-arc-host-application/SKILL.md +1 -1
- package/package/corpus/skills/cratis-arc-host-application/references/csharp.md +1 -2
- package/package/corpus/skills/cratis-arc-host-application/references/elixir.md +2 -2
- package/package/corpus/skills/cratis-arc-host-application/references/go.md +5 -1
- package/package/corpus/skills/cratis-arc-host-application/references/java.md +1 -1
- package/package/corpus/skills/cratis-arc-host-application/references/kotlin.md +1 -1
- package/package/corpus/skills/cratis-arc-host-application/references/typescript.md +1 -1
- package/package/corpus/skills/cratis-arc-identity-and-tenancy-kotlin/SKILL.md +4 -7
- package/package/corpus/skills/cratis-arc-invoke-command/SKILL.md +1 -1
- package/package/corpus/skills/cratis-arc-invoke-command/references/csharp.md +4 -4
- package/package/corpus/skills/cratis-arc-invoke-command/references/typescript.md +1 -1
- package/package/corpus/skills/cratis-arc-isolate-tenant/SKILL.md +2 -2
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/csharp.md +2 -2
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/elixir.md +1 -1
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/java.md +1 -1
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/kotlin.md +1 -1
- package/package/corpus/skills/cratis-arc-isolate-tenant/references/typescript.md +4 -2
- package/package/corpus/skills/cratis-arc-migrate-relational-schema/SKILL.md +6 -6
- package/package/corpus/skills/cratis-arc-page-query/SKILL.md +3 -3
- package/package/corpus/skills/cratis-arc-page-query/references/csharp.md +10 -6
- package/package/corpus/skills/cratis-arc-page-query/references/elixir.md +2 -2
- package/package/corpus/skills/cratis-arc-page-query/references/java.md +1 -1
- package/package/corpus/skills/cratis-arc-page-query/references/kotlin.md +1 -1
- package/package/corpus/skills/cratis-arc-react-bind-slice/SKILL.md +2 -2
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/csharp.md +1 -1
- package/package/corpus/skills/cratis-arc-react-bind-slice/references/kotlin.md +1 -1
- package/package/corpus/skills/cratis-arc-react-separate-view-model/SKILL.md +7 -3
- package/package/corpus/skills/cratis-arc-react-separate-view-model/references/react-routing-and-messaging.md +1 -1
- package/package/corpus/skills/cratis-arc-select-backend-sdk/SKILL.md +2 -2
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/elixir.md +2 -4
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/go.md +2 -2
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/java.md +1 -1
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/kotlin.md +2 -2
- package/package/corpus/skills/cratis-arc-select-backend-sdk/references/typescript.md +1 -3
- package/package/corpus/skills/cratis-arc-spring-data-kotlin/SKILL.md +13 -51
- package/package/corpus/skills/cratis-arc-spring-data-kotlin/references/read-model-naming.md +9 -1
- package/package/corpus/skills/cratis-arc-spring-data-kotlin/references/storage-boundaries.md +40 -0
- package/package/corpus/skills/cratis-arc-storage-typescript/SKILL.md +19 -64
- package/package/corpus/skills/cratis-arc-storage-typescript/references/drizzle.md +62 -0
- package/package/corpus/skills/cratis-arc-tenancy-typescript/SKILL.md +24 -55
- package/package/corpus/skills/cratis-arc-tenancy-typescript/references/tenant-selection.md +49 -0
- package/package/corpus/skills/cratis-arc-testing-kotlin/SKILL.md +13 -31
- package/package/corpus/skills/cratis-arc-testing-kotlin/references/jvm-scenario-variants.md +25 -0
- package/package/corpus/skills/cratis-arc-testing-typescript/SKILL.md +24 -62
- package/package/corpus/skills/cratis-arc-testing-typescript/references/hosts-and-runners.md +51 -0
- package/package/corpus/skills/cratis-arc-validate-command/SKILL.md +4 -4
- package/package/corpus/skills/cratis-arc-validate-command/references/csharp.md +10 -12
- package/package/corpus/skills/cratis-arc-validate-command/references/elixir.md +16 -3
- package/package/corpus/skills/cratis-arc-validate-command/references/go.md +19 -2
- package/package/corpus/skills/cratis-arc-validate-command/references/java.md +20 -7
- package/package/corpus/skills/cratis-arc-validate-command/references/kotlin.md +22 -2
- package/package/corpus/skills/cratis-arc-validate-command/references/python.md +8 -2
- package/package/corpus/skills/cratis-arc-validate-command/references/typescript.md +22 -2
- package/package/corpus/skills/cratis-arc-validation-kotlin/SKILL.md +22 -248
- package/package/corpus/skills/cratis-arc-validation-kotlin/references/feature-filters.md +55 -0
- package/package/corpus/skills/cratis-arc-validation-kotlin/references/model-validation.md +72 -0
- package/package/corpus/skills/cratis-arc-validation-kotlin/references/server-validators.md +86 -0
- package/package/corpus/skills/cratis-arc-validation-typescript/SKILL.md +27 -275
- package/package/corpus/skills/cratis-arc-validation-typescript/references/models-and-queries.md +63 -0
- package/package/corpus/skills/cratis-arc-validation-typescript/references/rules-and-checks.md +46 -0
- package/package/corpus/skills/cratis-arc-validation-typescript/references/server-decisions.md +114 -0
- package/package/corpus/skills/cratis-chronicle-cli-operations/SKILL.md +15 -255
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/command-effects.md +13 -6
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/inspection.md +75 -0
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/project-tooling.md +78 -13
- package/package/corpus/skills/cratis-chronicle-cli-operations/references/recovery-and-comparison.md +16 -14
- package/package/corpus/skills/cratis-chronicle-connect-application/SKILL.md +1 -1
- package/package/corpus/skills/cratis-chronicle-connect-application/references/csharp.md +10 -6
- package/package/corpus/skills/cratis-chronicle-connect-application/references/elixir.md +1 -1
- package/package/corpus/skills/cratis-chronicle-constrain-append/SKILL.md +2 -2
- package/package/corpus/skills/cratis-chronicle-constrain-append/references/csharp.md +8 -8
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/SKILL.md +10 -8
- package/package/corpus/skills/cratis-chronicle-deploy-kernel/references/storage.md +8 -4
- package/package/corpus/skills/cratis-chronicle-evolve-event/SKILL.md +4 -4
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/csharp.md +2 -2
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/deployed-readers.md +21 -8
- package/package/corpus/skills/cratis-chronicle-evolve-event/references/elixir.md +1 -1
- package/package/corpus/skills/cratis-chronicle-inspect-observer/SKILL.md +1 -1
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/csharp.md +5 -7
- package/package/corpus/skills/cratis-chronicle-inspect-observer/references/elixir.md +3 -3
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/SKILL.md +10 -80
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/blocked-tools.md +2 -2
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/deployment.md +9 -24
- package/package/corpus/skills/cratis-chronicle-mcp-inspection/references/observational-tools.md +10 -0
- package/package/corpus/skills/cratis-chronicle-project-view/SKILL.md +2 -2
- package/package/corpus/skills/cratis-chronicle-project-view/references/csharp.md +7 -6
- package/package/corpus/skills/cratis-chronicle-project-view/references/elixir.md +2 -2
- package/package/corpus/skills/cratis-chronicle-project-view/references/go.md +6 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/java.md +6 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/kotlin.md +6 -0
- package/package/corpus/skills/cratis-chronicle-project-view/references/typescript.md +11 -5
- package/package/corpus/skills/cratis-chronicle-protect-decision/SKILL.md +2 -2
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/csharp.md +4 -4
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/elixir.md +2 -2
- package/package/corpus/skills/cratis-chronicle-protect-decision/references/go.md +3 -1
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/SKILL.md +1 -1
- package/package/corpus/skills/cratis-chronicle-protect-personal-data/references/csharp.md +1 -1
- package/package/corpus/skills/cratis-chronicle-publish-contract/SKILL.md +1 -1
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/csharp.md +51 -40
- package/package/corpus/skills/cratis-chronicle-publish-contract/references/elixir.md +1 -1
- package/package/corpus/skills/cratis-chronicle-react-to-fact/SKILL.md +1 -1
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/{occurrences.md → csharp-occurrences.md} +2 -2
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/csharp.md +5 -6
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/go.md +1 -1
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/java.md +1 -1
- package/package/corpus/skills/cratis-chronicle-react-to-fact/references/kotlin.md +1 -1
- package/package/corpus/skills/cratis-chronicle-record-event/SKILL.md +1 -1
- package/package/corpus/skills/cratis-chronicle-record-event/references/csharp.md +21 -19
- package/package/corpus/skills/cratis-chronicle-record-event/references/elixir.md +3 -3
- package/package/corpus/skills/cratis-chronicle-record-event/references/go.md +1 -1
- package/package/corpus/skills/cratis-chronicle-record-event/references/java.md +3 -4
- package/package/corpus/skills/cratis-chronicle-record-event/references/kotlin.md +3 -4
- package/package/corpus/skills/cratis-chronicle-record-event/references/typescript.md +2 -2
- package/package/corpus/skills/cratis-chronicle-reduce-state/SKILL.md +1 -1
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/csharp.md +7 -2
- package/package/corpus/skills/cratis-chronicle-reduce-state/references/typescript.md +1 -1
- package/package/corpus/skills/cratis-chronicle-select-client/SKILL.md +4 -4
- package/package/corpus/skills/cratis-chronicle-select-client/references/csharp.md +3 -3
- package/package/corpus/skills/cratis-chronicle-select-client/references/elixir.md +2 -6
- package/package/corpus/skills/cratis-chronicle-select-client/references/go.md +2 -2
- package/package/corpus/skills/cratis-chronicle-select-client/references/java.md +1 -1
- package/package/corpus/skills/cratis-chronicle-select-client/references/kotlin.md +1 -5
- package/package/corpus/skills/cratis-chronicle-select-client/references/python.md +3 -3
- package/package/corpus/skills/cratis-chronicle-select-client/references/typescript.md +2 -2
- package/package/corpus/skills/cratis-chronicle-web-workbench/SKILL.md +12 -201
- package/package/corpus/skills/cratis-chronicle-web-workbench/references/hosting.md +67 -0
- package/package/corpus/skills/cratis-chronicle-web-workbench/references/operations.md +88 -0
- package/package/corpus/skills/cratis-ci-pipeline-performance/SKILL.md +8 -4
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/build-once-and-shard.md +13 -11
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/caching.md +2 -2
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/flaky-and-hung-jobs.md +6 -4
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/required-checks-and-path-filters.md +20 -61
- package/package/corpus/skills/cratis-ci-pipeline-performance/references/security-and-pinning.md +1 -1
- package/package/corpus/skills/cratis-cli-terminal-workbench/SKILL.md +15 -26
- package/package/corpus/skills/cratis-code-review/SKILL.md +7 -6
- package/package/corpus/skills/cratis-commits-and-pull-requests/SKILL.md +1 -1
- package/package/corpus/skills/cratis-commits-and-pull-requests/references/pr-description.md +1 -1
- package/package/corpus/skills/cratis-components-accessibility/SKILL.md +14 -206
- package/package/corpus/skills/cratis-components-accessibility/references/control-labels.md +29 -0
- package/package/corpus/skills/cratis-components-accessibility/references/focus-and-announcements.md +8 -0
- package/package/corpus/skills/cratis-components-build-canvas/SKILL.md +7 -7
- package/package/corpus/skills/cratis-components-build-canvas/references/pixi-items.md +1 -1
- package/package/corpus/skills/cratis-components-choose-control/SKILL.md +7 -8
- package/package/corpus/skills/cratis-components-choose-control/references/collections.md +2 -2
- package/package/corpus/skills/cratis-components-choose-control/references/inputs.md +1 -1
- package/package/corpus/skills/cratis-components-compose-toolbar/SKILL.md +22 -27
- package/package/corpus/skills/cratis-components-compose-toolbar/references/contributed-tools.md +5 -0
- package/package/corpus/skills/cratis-components-coordinate-feedback/SKILL.md +19 -25
- package/package/corpus/skills/cratis-components-display-list/SKILL.md +26 -19
- package/package/corpus/skills/cratis-components-display-list/references/server-query.md +3 -3
- package/package/corpus/skills/cratis-components-edit-schema-data/SKILL.md +15 -12
- package/package/corpus/skills/cratis-components-edit-schema-data/references/controlled-editor.md +3 -3
- package/package/corpus/skills/cratis-components-explore-data/SKILL.md +7 -7
- package/package/corpus/skills/cratis-components-host-chat/SKILL.md +7 -7
- package/package/corpus/skills/cratis-components-submit-form/SKILL.md +9 -15
- package/package/corpus/skills/cratis-components-submit-form/references/confirmation.md +5 -5
- package/package/corpus/skills/cratis-components-submit-form/references/wizard.md +3 -3
- package/package/corpus/skills/cratis-components-theme-application/SKILL.md +7 -51
- package/package/corpus/skills/cratis-components-theme-application/references/palette.md +49 -0
- package/package/corpus/skills/cratis-components-theme-application/references/renderer-adapters.md +4 -2
- package/package/corpus/skills/cratis-content-length/SKILL.md +34 -46
- package/package/corpus/skills/cratis-content-length/references/length-evidence.md +26 -127
- package/package/corpus/skills/cratis-developer-marketing/SKILL.md +15 -27
- package/package/corpus/skills/cratis-developer-marketing/references/measurement.md +3 -19
- package/package/corpus/skills/cratis-developer-marketing/references/playbook-evidence.md +29 -224
- package/package/corpus/skills/cratis-discoverability/SKILL.md +11 -4
- package/package/corpus/skills/cratis-discoverability/references/package-metadata.md +2 -2
- package/package/corpus/skills/cratis-documentation-writing/SKILL.md +4 -3
- package/package/corpus/skills/cratis-engineering-ci-gates/SKILL.md +13 -129
- package/package/corpus/skills/cratis-engineering-ci-gates/references/gate-operation.md +132 -0
- package/package/corpus/skills/cratis-engineering-consolidation-guard/SKILL.md +11 -100
- package/package/corpus/skills/cratis-engineering-consolidation-guard/references/ci-required-check.md +55 -40
- package/package/corpus/skills/cratis-engineering-consolidation-guard/references/source-verification.md +68 -0
- package/package/corpus/skills/cratis-engineering-consolidation-guard/references/verification-details.md +38 -0
- package/package/corpus/skills/cratis-engineering-csharp-conventions/SKILL.md +14 -65
- package/package/corpus/skills/cratis-engineering-csharp-conventions/references/exceptions-logging-and-di.md +40 -174
- package/package/corpus/skills/cratis-engineering-decision-record/SKILL.md +8 -52
- package/package/corpus/skills/cratis-engineering-decision-record/references/decision-pitfalls.md +29 -0
- package/package/corpus/skills/cratis-engineering-decision-record/references/decision-scope.md +20 -0
- package/package/corpus/skills/cratis-engineering-decision-record/references/record-format.md +3 -4
- package/package/corpus/skills/cratis-engineering-docs-authoring/SKILL.md +7 -12
- package/package/corpus/skills/cratis-engineering-docs-authoring/references/site-format.md +5 -4
- package/package/corpus/skills/cratis-engineering-effect-boundaries/SKILL.md +6 -40
- package/package/corpus/skills/cratis-engineering-effect-boundaries/references/failure-archetypes.md +18 -151
- package/package/corpus/skills/cratis-engineering-inherited-work/SKILL.md +5 -21
- package/package/corpus/skills/cratis-engineering-inherited-work/references/continue-inherited-work.md +19 -0
- package/package/corpus/skills/cratis-engineering-issue-design-note/SKILL.md +3 -66
- package/package/corpus/skills/cratis-engineering-issue-design-note/references/design-note-format.md +68 -0
- package/package/corpus/skills/cratis-engineering-issue-hygiene/SKILL.md +2 -84
- package/package/corpus/skills/cratis-engineering-issue-hygiene/references/issue-disposition.md +87 -0
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/SKILL.md +15 -263
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/dependency-map.md +3 -3
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/docker-images.md +28 -6
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/dotnet-nuget.md +18 -14
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/helper-runbook.md +231 -0
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/other-environments.md +2 -3
- package/package/corpus/skills/cratis-engineering-local-cross-repo-verification/references/worked-examples.md +62 -77
- package/package/corpus/skills/cratis-engineering-post-mortem/SKILL.md +6 -39
- package/package/corpus/skills/cratis-engineering-post-mortem/references/proportionate-follow-up.md +36 -0
- package/package/corpus/skills/cratis-engineering-regression-cluster/SKILL.md +4 -4
- package/package/corpus/skills/cratis-engineering-release-trains/SKILL.md +8 -134
- package/package/corpus/skills/cratis-engineering-release-trains/references/candidate-assembly.md +139 -0
- package/package/corpus/skills/cratis-engineering-review-rounds/SKILL.md +3 -100
- package/package/corpus/skills/cratis-engineering-review-rounds/references/round-handoffs.md +109 -0
- package/package/corpus/skills/cratis-environments-and-secrets/SKILL.md +1 -5
- package/package/corpus/skills/cratis-environments-and-secrets/references/environment-file.md +1 -3
- package/package/corpus/skills/cratis-event-model-diagram/SKILL.md +11 -116
- package/package/corpus/skills/cratis-event-model-diagram/references/frame-patterns.md +93 -0
- package/package/corpus/skills/cratis-fundamentals-concept-go/SKILL.md +4 -15
- package/package/corpus/skills/cratis-fundamentals-name-value/SKILL.md +8 -8
- package/package/corpus/skills/cratis-fundamentals-name-value/references/csharp.md +4 -4
- package/package/corpus/skills/cratis-fundamentals-name-value/references/elixir.md +1 -1
- package/package/corpus/skills/cratis-fundamentals-name-value/references/go.md +1 -1
- package/package/corpus/skills/cratis-fundamentals-name-value/references/java.md +5 -5
- package/package/corpus/skills/cratis-fundamentals-name-value/references/kotlin.md +15 -2
- package/package/corpus/skills/cratis-fundamentals-name-value/references/python.md +1 -1
- package/package/corpus/skills/cratis-fundamentals-name-value/references/typescript.md +1 -1
- package/package/corpus/skills/cratis-fundamentals-telemetry/SKILL.md +10 -27
- package/package/corpus/skills/cratis-fundamentals-telemetry/references/otlp-export.md +16 -0
- package/package/corpus/skills/cratis-fundamentals-type-discovery/SKILL.md +26 -188
- package/package/corpus/skills/cratis-fundamentals-type-discovery/references/diagnostics.md +14 -0
- package/package/corpus/skills/cratis-governed-release-methodology/SKILL.md +7 -5
- package/package/corpus/skills/cratis-lens-browser-extension/SKILL.md +23 -157
- package/package/corpus/skills/cratis-lens-browser-extension/references/troubleshooting.md +139 -0
- package/package/corpus/skills/cratis-llm-friendly-documentation/SKILL.md +7 -5
- package/package/corpus/skills/cratis-modeling-design-event-model/SKILL.md +2 -4
- package/package/corpus/skills/cratis-modeling-design-event-model/references/model-first.md +7 -0
- package/package/corpus/skills/cratis-modeling-discover-timeline/SKILL.md +2 -2
- package/package/corpus/skills/cratis-modeling-discover-timeline/references/group-and-document-intake.md +1 -1
- package/package/corpus/skills/cratis-modeling-review-event-model/SKILL.md +2 -2
- package/package/corpus/skills/cratis-modeling-review-event-model/references/implementation-findings.md +2 -2
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/SKILL.md +5 -23
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/compare-evidence.md +20 -0
- package/package/corpus/skills/cratis-modeling-trace-existing-behavior/references/recovery-inputs.md +3 -3
- package/package/corpus/skills/cratis-multi-service-local-orchestration/SKILL.md +8 -63
- package/package/corpus/skills/cratis-multi-service-local-orchestration/references/aspire.md +52 -0
- package/package/corpus/skills/cratis-observability/SKILL.md +1 -1
- package/package/corpus/skills/cratis-observability/references/arc-and-chronicle-signals.md +9 -23
- package/package/corpus/skills/cratis-observability/references/chronicle-kernel-export.md +3 -14
- package/package/corpus/skills/cratis-observability/references/csharp.md +4 -6
- package/package/corpus/skills/cratis-observability/references/elixir.md +1 -1
- package/package/corpus/skills/cratis-observability/references/troubleshooting.md +4 -5
- package/package/corpus/skills/cratis-onboarding-runtime/SKILL.md +1 -4
- package/package/corpus/skills/cratis-onboarding-runtime/references/default-offering.md +0 -3
- package/package/corpus/skills/cratis-onboarding-runtime/references/sign-up-review.md +0 -4
- package/package/corpus/skills/cratis-orchestration-lanes/SKILL.md +7 -49
- package/package/corpus/skills/cratis-orchestration-lanes/references/escalation.md +22 -0
- package/package/corpus/skills/cratis-orchestration-lanes/references/inbox-and-handover.md +4 -4
- package/package/corpus/skills/cratis-orchestration-lanes/references/placeholders.md +1 -1
- package/package/corpus/skills/cratis-orchestration-lanes/references/roles.md +12 -0
- package/package/corpus/skills/cratis-orchestration-lanes/references/roll-call.md +12 -0
- package/package/corpus/skills/cratis-orchestration-lanes/references/worktrees.md +10 -0
- package/package/corpus/skills/cratis-orchestration-merge-gates/SKILL.md +14 -13
- package/package/corpus/skills/cratis-orchestration-merge-gates/references/merge-queue.md +51 -26
- package/package/corpus/skills/cratis-orchestration-merge-gates/references/unattended-guards.md +8 -14
- package/package/corpus/skills/cratis-orleans-jobs/SKILL.md +9 -65
- package/package/corpus/skills/cratis-orleans-jobs/references/activation-callbacks.md +5 -0
- package/package/corpus/skills/cratis-orleans-jobs/references/lifecycle-and-placement.md +11 -7
- package/package/corpus/skills/cratis-orleans-jobs/references/state-machines.md +1 -1
- package/package/corpus/skills/cratis-orleans-jobs/references/step-planning.md +27 -0
- package/package/corpus/skills/cratis-orleans-jobs/references/storage-and-options.md +35 -0
- package/package/corpus/skills/cratis-performance-review/SKILL.md +6 -76
- package/package/corpus/skills/cratis-performance-review/references/review-checklist.md +79 -0
- package/package/corpus/skills/cratis-platform-configure-environment/SKILL.md +19 -16
- package/package/corpus/skills/cratis-platform-contribute-change/SKILL.md +2 -2
- package/package/corpus/skills/cratis-platform-deliver-slice/SKILL.md +5 -5
- package/package/corpus/skills/cratis-platform-deliver-slice/references/coordinate-slices.md +1 -1
- package/package/corpus/skills/cratis-platform-diagnose-slice/SKILL.md +2 -3
- package/package/corpus/skills/cratis-platform-prepare-release-pr/SKILL.md +2 -2
- package/package/corpus/skills/cratis-platform-start-application/SKILL.md +10 -8
- package/package/corpus/skills/cratis-platform-start-application/references/csharp.md +6 -6
- package/package/corpus/skills/cratis-platform-start-application/references/java.md +4 -4
- package/package/corpus/skills/cratis-platform-start-application/references/kotlin.md +4 -4
- package/package/corpus/skills/cratis-platform-verify-service-handoff/SKILL.md +3 -3
- package/package/corpus/skills/cratis-release-notes/SKILL.md +9 -133
- package/package/corpus/skills/cratis-release-notes/references/channel-guidance.md +59 -0
- package/package/corpus/skills/cratis-release-notes/references/publish-repair.md +64 -0
- package/package/corpus/skills/cratis-rtk/SKILL.md +12 -18
- package/package/corpus/skills/cratis-screenplay-accept-model/SKILL.md +3 -3
- package/package/corpus/skills/cratis-screenplay-accept-model/references/capability-consumption.md +1 -1
- package/package/corpus/skills/cratis-screenplay-accept-model/references/coverage-obligations.md +1 -1
- package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/SKILL.md +25 -59
- package/package/corpus/skills/cratis-screenplay-authentication-and-onboarding/references/onboarding-directives.md +11 -10
- package/package/corpus/skills/cratis-screenplay-author-extension/SKILL.md +9 -6
- package/package/corpus/skills/cratis-screenplay-author-extension/references/consume.md +3 -3
- package/package/corpus/skills/cratis-screenplay-author-extension/references/stage-candidate.md +8 -0
- package/package/corpus/skills/cratis-screenplay-availability/SKILL.md +20 -167
- package/package/corpus/skills/cratis-screenplay-availability/references/complete-example.md +23 -47
- package/package/corpus/skills/cratis-screenplay-availability/references/review-checks.md +9 -10
- package/package/corpus/skills/cratis-screenplay-availability/references/runtime-ownership.md +26 -23
- package/package/corpus/skills/cratis-screenplay-declare-slice/SKILL.md +6 -14
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/projection-replay.md +2 -2
- package/package/corpus/skills/cratis-screenplay-declare-slice/references/read-identity.md +1 -1
- package/package/corpus/skills/cratis-screenplay-edit-workspace/SKILL.md +7 -9
- package/package/corpus/skills/cratis-screenplay-edit-workspace/references/model-notes.md +1 -1
- package/package/corpus/skills/cratis-screenplay-handoff-slice/SKILL.md +10 -14
- package/package/corpus/skills/cratis-screenplay-model-automation/SKILL.md +1 -1
- package/package/corpus/skills/cratis-screenplay-model-automation/references/reaction-boundaries.md +1 -1
- package/package/corpus/skills/cratis-screenplay-model-interaction/SKILL.md +6 -31
- package/package/corpus/skills/cratis-screenplay-model-interaction/references/shell-and-data.md +22 -0
- package/package/corpus/skills/cratis-screenplay-model-translation/SKILL.md +5 -5
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/SKILL.md +5 -5
- package/package/corpus/skills/cratis-screenplay-onboard-workspace/references/version-migration.md +4 -4
- package/package/corpus/skills/cratis-screenplay-recover-intent/SKILL.md +2 -2
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/csharp.md +2 -2
- package/package/corpus/skills/cratis-screenplay-recover-intent/references/ground-truth-benchmark.md +1 -1
- package/package/corpus/skills/cratis-screenplay-specify-outcome/SKILL.md +4 -75
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/host-body-execution.md +0 -2
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/observable-result.md +85 -1
- package/package/corpus/skills/cratis-screenplay-specify-outcome/references/query-rejections.md +1 -1
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/SKILL.md +15 -133
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/boundaries.md +5 -5
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/chronicle-boundaries.md +4 -12
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/consistency-and-concurrency.md +28 -57
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution-example.md +4 -5
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/evolution.md +13 -20
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/multi-service-models.md +1 -1
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/neighbouring-skills.md +1 -1
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/read-model-keys.md +3 -5
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-id-rules.md +2 -0
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/stream-patterns.md +5 -5
- package/package/corpus/skills/cratis-screenplay-streams-and-consistency/references/streams-example.md +82 -71
- package/package/corpus/skills/cratis-security-review/SKILL.md +4 -73
- package/package/corpus/skills/cratis-security-review/references/arc-boundaries.md +24 -13
- package/package/corpus/skills/cratis-security-review/references/review-checklist.md +74 -0
- package/package/corpus/skills/cratis-session-handoff/SKILL.md +7 -32
- package/package/corpus/skills/cratis-session-handoff/references/handoff-template.md +2 -2
- package/package/corpus/skills/cratis-session-handoff/references/session-hygiene.md +20 -0
- package/package/corpus/skills/cratis-showrunner-herald/SKILL.md +9 -17
- package/package/corpus/skills/cratis-showrunner-herald/references/options.md +2 -2
- package/package/corpus/skills/cratis-showrunner-herald/references/templates-and-images.md +16 -10
- package/package/corpus/skills/cratis-social-feed-post/SKILL.md +9 -162
- package/package/corpus/skills/cratis-social-feed-post/references/asset-and-formatting.md +37 -0
- package/package/corpus/skills/cratis-social-feed-post/references/editorial-checks.md +40 -0
- package/package/corpus/skills/cratis-social-feed-post/references/engagement-evidence.md +39 -150
- package/package/corpus/skills/cratis-social-feed-post/references/linkedin-media.md +24 -0
- package/package/corpus/skills/cratis-social-feed-post/references/other-channels.md +23 -0
- package/package/corpus/skills/cratis-specifications-exercise-backend/SKILL.md +5 -5
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-command-results.md +2 -2
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp-query-scenario.md +13 -5
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/csharp.md +7 -4
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/elixir.md +1 -1
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/go.md +20 -4
- package/package/corpus/skills/cratis-specifications-exercise-backend/references/typescript.md +1 -1
- package/package/corpus/skills/cratis-specifications-isolate-behavior/SKILL.md +2 -2
- package/package/corpus/skills/cratis-specifications-observe-ui/SKILL.md +5 -5
- package/package/corpus/skills/cratis-specifications-test-application-ui/SKILL.md +2 -2
- package/package/corpus/skills/cratis-specifications-test-application-ui/references/typescript-command-results.md +2 -2
- package/package/corpus/skills/cratis-specifications-test-typescript-behavior/SKILL.md +2 -2
- package/package/corpus/skills/cratis-stage-render-slice/SKILL.md +10 -9
- package/package/corpus/skills/cratis-stage-run-sandbox/SKILL.md +3 -3
- package/package/corpus/skills/cratis-stage-run-sandbox/references/semantic-spec-runner.md +7 -6
- package/package/corpus/skills/cratis-studio-mcp-safety-guidance/SKILL.md +4 -6
- package/package/corpus/skills/cratis-technical-examples/SKILL.md +10 -106
- package/package/corpus/skills/cratis-technical-examples/references/csharp-package-checks.md +1 -1
- package/package/corpus/skills/cratis-technical-examples/references/source-and-format.md +42 -0
- package/package/corpus/skills/cratis-technical-examples/references/typescript-package-checks.md +2 -2
- package/package/corpus/skills/cratis-technical-examples/references/verification-scope.md +37 -0
- package/package/corpus/skills/cratis-ux-review/SKILL.md +8 -40
- package/package/corpus/skills/cratis-ux-review/references/capture-contract.md +24 -0
- package/package/corpus/skills/cratis-ux-review/references/checklist.md +1 -1
- package/package/corpus/skills/cratis-ux-review/references/report-template.md +2 -1
- package/package/corpus/skills/cratis-writing-voice-and-cadence/SKILL.md +19 -132
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/ai-tells.md +24 -97
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/author-and-batch.md +23 -0
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/documentation-evidence.md +25 -0
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/interpretation.md +17 -0
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/stock-constructions.md +23 -0
- package/package/corpus/skills/cratis-writing-voice-and-cadence/references/voice-guidance.md +8 -29
- package/package.json +1 -1
- /package/package/corpus/skills/cratis-chronicle-protect-decision/references/{standalone.md → csharp-standalone.md} +0 -0
- /package/package/corpus/skills/cratis-engineering-post-mortem/references/{examples/silent-backup-failure.md → silent-backup-failure.md} +0 -0
- /package/package/corpus/skills/cratis-engineering-post-mortem/references/{examples/unintended-release-regression.md → unintended-release-regression.md} +0 -0
package/package/corpus/skills/cratis-engineering-issue-hygiene/references/issue-disposition.md
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
# Issue disposition and audit
|
|
2
|
+
|
|
3
|
+
## Make the open-issue count go down
|
|
4
|
+
|
|
5
|
+
1. **Fix before filing.** Fix a small, in-scope finding in the same files and
|
|
6
|
+
risk area as the active change. Do not widen scope to improve the count.
|
|
7
|
+
Review advisories are fixed cheaply inline or dropped, not filed as issues.
|
|
8
|
+
2. **File only when needed and authorized.** A real defect that cannot be fixed
|
|
9
|
+
now, or a follow-up delivery truly requires, may need an issue. Search open
|
|
10
|
+
and closed issues first, for example
|
|
11
|
+
`gh issue list --repo OWNER/REPO --state all --search "<area> in:title,body"`.
|
|
12
|
+
Reuse an existing issue instead of duplicating it; comment only when that
|
|
13
|
+
effect is authorized and adds necessary context.
|
|
14
|
+
3. Keep every issue generic: no customer or customer-of-customer names, ever.
|
|
15
|
+
Group related findings into one checklist issue per area. Include concrete,
|
|
16
|
+
testable `## Acceptance criteria`. No speculative hardening, ideas or
|
|
17
|
+
"investigate later" issues. If filing is outside the request, list necessary
|
|
18
|
+
follow-ups in the report instead of creating them.
|
|
19
|
+
4. **Close what is done**, through the correct delivery mechanism below. Partial
|
|
20
|
+
delivery stays open with exactly what remains. Do not manufacture completion
|
|
21
|
+
or create extra issues merely to move unfinished scope elsewhere.
|
|
22
|
+
5. Prefer bounded issues that can be finished completely over starting large
|
|
23
|
+
epics. Report completed dispositions, not how many new issues were produced.
|
|
24
|
+
|
|
25
|
+
## Close with a reason, through the owning mechanism
|
|
26
|
+
|
|
27
|
+
For issue references in the PR body, use `cratis-platform-prepare-release-pr`.
|
|
28
|
+
Before changing disposition, confirm the actual PR state, release
|
|
29
|
+
intent and repository workflow; a merged PR is not proof of a published release.
|
|
30
|
+
|
|
31
|
+
- **Release-action delivery:** for a fully delivered issue, the delivering
|
|
32
|
+
release-note bullet ends with `(#n)`. Verify the workflow enables issue closing and grants `issues: write`. When
|
|
33
|
+
those prerequisites hold, the action closes it at release; do not close it by
|
|
34
|
+
hand. If either is missing, report the gap rather than claiming automation
|
|
35
|
+
will close it. If release is pending, keep that dependency visible.
|
|
36
|
+
- **Manual completion:** only for a `no-release` PR or a repository without
|
|
37
|
+
release-action, and only when the request includes closing. Confirm all scope
|
|
38
|
+
is delivered and no required PR is open, unmerged, reverted or failing. Set
|
|
39
|
+
Done in a new closing comment and close with reason `completed` and a public
|
|
40
|
+
delivery link.
|
|
41
|
+
- **Duplicate or obsolete:** close only with clear evidence and authority. Mark
|
|
42
|
+
a duplicate using `--duplicate-of` and the canonical issue number or public
|
|
43
|
+
URL. For obsolete work, use `--reason "not planned"` and link what superseded
|
|
44
|
+
it in the closing comment. If uncertain, leave it open and report why.
|
|
45
|
+
- **Partial or unauthorized disposition:** leave it open with truthful remaining
|
|
46
|
+
scope or report the proposed disposition. Do not invent follow-up authority.
|
|
47
|
+
|
|
48
|
+
For an authorized manual completion, for example:
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
gh issue close <n> --repo OWNER/REPO --reason completed \
|
|
52
|
+
--comment "Delivered in <public PR URL>. The agreed behavior is available."
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
No closing keywords are needed in the PR description.
|
|
56
|
+
|
|
57
|
+
## End-of-work audit
|
|
58
|
+
|
|
59
|
+
List issues touched by this work and reconcile each against its PR and release.
|
|
60
|
+
For example, `gh issue list --repo OWNER/REPO --assignee @me --state open` helps
|
|
61
|
+
find assigned work, but does not replace the list of issues actually touched.
|
|
62
|
+
Check merged PRs for completed work still open; distinguish pending release-action
|
|
63
|
+
closure from an authorized manual disposition. Verify closure through the issue's
|
|
64
|
+
actual state, not an assumption about merging.
|
|
65
|
+
|
|
66
|
+
Leave no issue appearing actively worked without an active writer. For unfinished
|
|
67
|
+
work, post an authorized new Paused or Blocked comment with what remains and what
|
|
68
|
+
it waits for; leave any legacy body status untouched. Reconcile follow-ups
|
|
69
|
+
with existing issues. Perform only authorized mutations; otherwise report the
|
|
70
|
+
proposed changes and the blocker. Summarize completed issues, pending release
|
|
71
|
+
closures and unfinished scope without publishing local paths or harness details.
|
|
72
|
+
|
|
73
|
+
## How it is proven
|
|
74
|
+
|
|
75
|
+
Read the final title, body, comments and state, for example with
|
|
76
|
+
`gh issue view <n> --repo OWNER/REPO --json title,body,comments,state`. The title,
|
|
77
|
+
description and pre-existing comments are unchanged; new comments match the
|
|
78
|
+
actual PR and release, and any authorized closure is observable. Until
|
|
79
|
+
release-action runs, pending closure is not Done.
|
|
80
|
+
|
|
81
|
+
## What breaks
|
|
82
|
+
|
|
83
|
+
- Editing existing issue text loses traceability and risks concurrent overwrites.
|
|
84
|
+
- Routine progress comments needlessly notify subscribers; meaningful events do not.
|
|
85
|
+
- Manual closure before release bypasses release-action's delivery contract.
|
|
86
|
+
- Filing every advisory grows the backlog without a necessary delivery.
|
|
87
|
+
- Stopping without a paused or blocked event leaves readers expecting active work.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: cratis-engineering-local-cross-repo-verification
|
|
3
|
-
description: Use when a
|
|
3
|
+
description: Use when a downstream consumer must prove an unreleased upstream fix. Not for single-repository checks (use cratis-engineering-ci-gates).
|
|
4
4
|
license: LICENSE
|
|
5
5
|
compatibility: Bash and git on macOS or Linux; Windows through WSL. Requires the ecosystem tools used by the selected recipe.
|
|
6
6
|
---
|
|
@@ -19,30 +19,28 @@ PR whose purpose is that consumer bug, rather than publishing just to find out.
|
|
|
19
19
|
Also use this loop for:
|
|
20
20
|
|
|
21
21
|
- Consumer-blocking fixes, dependency features, and breaking-change trials.
|
|
22
|
-
- Release candidates in their main consumer
|
|
22
|
+
- Release candidates in their main consumer.
|
|
23
23
|
- Cross-repository bisects and build/test timing comparisons against lower-layer main.
|
|
24
24
|
- Chained upgrades (Specifications → Fundamentals → Arc/Chronicle) without releasing each hop.
|
|
25
|
-
- Release blockers: trying Specifications in Fundamentals can expose a generator bug before publishing.
|
|
26
25
|
|
|
27
26
|
Prefer a release/preview for trivial changes, external consumers unable to use
|
|
28
27
|
the local feed, or CI-only behavior this loop cannot reproduce.
|
|
29
28
|
|
|
30
29
|
**Local verification replaces waiting, not shipping.** Other waits a candidate
|
|
31
|
-
can avoid are in
|
|
30
|
+
can avoid are in `cratis-engineering-release-trains`.
|
|
32
31
|
After local proof, release
|
|
33
32
|
the producer through the normal authorized workflow and bump the consumer to the
|
|
34
33
|
released version. Local feeds, pins and images never go into production or a PR.
|
|
35
34
|
Single-repository work needs its own regression specs, not this overlay. Released
|
|
36
35
|
pin updates use ordinary dependency maintenance. For CI changes, follow the
|
|
37
36
|
`github-actions` rule where installed with an engineering profile. Use
|
|
38
|
-
|
|
39
|
-
|
|
37
|
+
`cratis-platform-prepare-release-pr` for the producer's PR body and label, and
|
|
38
|
+
`cratis-release-notes` for version announcements.
|
|
40
39
|
|
|
41
40
|
## Prepare
|
|
42
41
|
|
|
43
42
|
Execute [scripts/cratis-local-packages.sh](scripts/cratis-local-packages.sh), not
|
|
44
|
-
an improvised replacement. Run `bash "$local"
|
|
45
|
-
errors. Requires bash, git and node for package registry operations; add dotnet for NuGet, Yarn and npm for npm packages, Docker
|
|
43
|
+
an improvised replacement. Run `bash "$local" --help` for syntax, prerequisites, and exit codes. Requires bash, git and node for package registry operations; add dotnet for NuGet, Yarn and npm for npm packages, Docker
|
|
46
44
|
for images, or the selected language toolchain. Check availability first:
|
|
47
45
|
|
|
48
46
|
```bash
|
|
@@ -54,268 +52,22 @@ git --version
|
|
|
54
52
|
command -v dotnet # substitute node/yarn/docker for the selected recipe
|
|
55
53
|
```
|
|
56
54
|
|
|
57
|
-
|
|
58
|
-
publish RID and image architecture to the consumer daemon: `linux-arm64` and
|
|
59
|
-
`arm64`, or `linux-x64` and `amd64`. Do not claim performance equivalence from a
|
|
60
|
-
Debug build or across architectures.
|
|
55
|
+
Match the architecture of any locally built image to the test daemon.
|
|
61
56
|
|
|
62
57
|
Check disk space and preserve existing edits in both repositories. Use an isolated
|
|
63
58
|
worktree when a build regenerates tracked output. Inspect the consumer's own CI
|
|
64
59
|
commands before choosing the build, regression spec and full gate commands.
|
|
65
60
|
|
|
66
|
-
##
|
|
61
|
+
## Default: prove the consumer against local producer artifacts
|
|
67
62
|
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
- [ ] Run `list` (or `list --json`) to inspect recorded producers, tasks and live consumers.
|
|
74
|
-
- [ ] Build the consumer, run its regression specs/app action and required gates.
|
|
75
|
-
- [ ] On failure, diagnose, fix the producer, create a distinct stamp and repeat.
|
|
76
|
-
- [ ] Run `check` before every consumer commit and push, and on the producer; it must report 0 leaks.
|
|
77
|
-
- [ ] Upstream first: a downstream ships only after the upstream has released and its pin is bumped to the released version.
|
|
78
|
-
- [ ] Restore overlays, unset environment overrides, and run `check` again.
|
|
79
|
-
- [ ] Review `finish --task ID`, mark completed work with `--apply`, then review `clean --expired` (or explicit `--stamp`) targets before applying cleanup.
|
|
63
|
+
1. Reproduce the regression with released dependencies. Name the consumer check and the inputs it needs before changing resolution.
|
|
64
|
+
2. Run `bash "$local" closure CONSUMER=PATH PRODUCER=PATH...` with producer names and absolute worktree paths in upstream order. Read [the dependency map](references/dependency-map.md) if planning fails or a repository is missing. Follow the printed stamp, pack, and `verify-pack` commands; require a passing verification after the last pack.
|
|
65
|
+
3. Apply the planned overlay and restore; run `verify-assets` to confirm the stamp. For an image-only boundary, choose the [image recipe](references/docker-images.md) instead and verify the running tag. For an unmapped package producer, choose the manual pack and verification steps in the runbook.
|
|
66
|
+
4. Run the original regression and the consumer’s required gates. If it still fails, diagnose before packing a new producer state; do not reuse a stale stamp.
|
|
67
|
+
5. Run `check` for leaks in both repositories before any commit or push. Restore overlays, unset local selectors, and run `check` again. Review cleanup targets before applying them. Ship upstream first and verify the downstream again with the released pins.
|
|
80
68
|
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
```bash
|
|
84
|
-
stamp=$(bash "$local" stamp "$producer")
|
|
85
|
-
```
|
|
86
|
-
|
|
87
|
-
Format: `<next-patch>-local.<12-digit-UTC-minute>.g<sha7>`, based on the highest reachable
|
|
88
|
-
`vX.Y.Z` tag. Next-patch prereleases sort above the existing release; arbitrary
|
|
89
|
-
`0.0.0-local` versions can violate transitive minimums and cause **NU1605**
|
|
90
|
-
downgrades. Confirm tags cover the consumer's released constraints. With no tag,
|
|
91
|
-
the helper warns and falls back to a base that must be checked before proceeding.
|
|
92
|
-
The `g` prefix keeps even an all-digit SHA nonnumeric in SemVer.
|
|
93
|
-
On `release/5.0`, use `stamp --base-version 5.0.0 "$producer"` (also with `--train`);
|
|
94
|
-
the strict SemVer core overrides tag discovery verbatim. Ensure it meets consumer minima.
|
|
95
|
-
Use the identical stamp for packages and images. A changed build needs a distinct
|
|
96
|
-
stamp; do not overwrite a cached version (the minute and commit determine it).
|
|
97
|
-
|
|
98
|
-
### 2. Build and pack
|
|
99
|
-
|
|
100
|
-
Run the producer's CI-equivalent build/specs first. NuGet packing builds in Release:
|
|
101
|
-
|
|
102
|
-
```bash
|
|
103
|
-
bash "$local" pack-nuget "$producer" "$stamp" path/to/producer.slnx
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
For npm, complete the repository build before
|
|
107
|
-
`bash "$local" pack-npm "$producer" "$stamp"`. Pass: nonzero package count and
|
|
108
|
-
exit `0`. Inspect package dependencies: every locally changed dependency ID must
|
|
109
|
-
resolve to the stamp, not a published fallback. Chronicle's client solution filter
|
|
110
|
-
can omit `Cratis.Chronicle.CodeAnalysis`; pack its code-analysis package project
|
|
111
|
-
separately. The package IDs a producer should ship are listed in
|
|
112
|
-
[dependency-map.tsv](scripts/dependency-map.tsv); `closure CONSUMER=PATH PRODUCER=PATH...` prints
|
|
113
|
-
the stamp, every overlay, one `pack-*` command per map row (with its `--property` arguments) and
|
|
114
|
-
ONE `verify-pack` for the whole plan (see [references/dependency-map.md](references/dependency-map.md)).
|
|
115
|
-
Run the printed commands in order. A successful pack alone does not prove dependency closure;
|
|
116
|
-
`verify-pack` does. After successful packing, the helper atomically records package IDs,
|
|
117
|
-
producer worktree, branch and HEAD in `FEED/stamps/STAMP/record.json` (mode `0600`).
|
|
118
|
-
Pass `--task ID` to `pack-*` and `use-*`, or set `CRATIS_LOCAL_TASK`; without either,
|
|
119
|
-
the recorded task is null. IDs match `^[A-Za-z0-9][A-Za-z0-9._#:/-]{0,127}$` and
|
|
120
|
-
are JSON values, never paths. Prefer `owner/repo#number`.
|
|
121
|
-
|
|
122
|
-
### 3. Build an image when needed
|
|
123
|
-
|
|
124
|
-
Follow the kernel recipe below before building; it needs published binaries and
|
|
125
|
-
Workbench `wwwroot`. From the producer root, for the selected architecture:
|
|
126
|
-
|
|
127
|
-
```bash
|
|
128
|
-
docker build -f Docker/DevelopmentSlim/Dockerfile \
|
|
129
|
-
-t "cratis/chronicle:$stamp-development-slim" .
|
|
130
|
-
docker image inspect "cratis/chronicle:$stamp-development-slim"
|
|
131
|
-
```
|
|
132
|
-
|
|
133
|
-
Pass: build exits `0` and inspection shows the expected tag and architecture.
|
|
134
|
-
Never push these images. Testcontainers uses a local image when the selected tag
|
|
135
|
-
exists in its daemon; ensure the test process uses that same daemon.
|
|
136
|
-
|
|
137
|
-
### 4. Use in the consumer
|
|
138
|
-
|
|
139
|
-
```bash
|
|
140
|
-
bash "$local" use-nuget "$consumer" "$stamp" Cratis.Chronicle
|
|
141
|
-
# Source the absolute session/env path printed by use-nuget.
|
|
142
|
-
# For npm instead: bash "$local" use-npm "$consumer" "$stamp"
|
|
143
|
-
export CHRONICLE_KERNEL_VERSION="$stamp" # Studio integration specs, if used
|
|
144
|
-
```
|
|
145
|
-
|
|
146
|
-
Pass: the helper reports overridden IDs and restore resolves them to local
|
|
147
|
-
artifacts. To isolate NuGet downloads per worktree, set the optional
|
|
148
|
-
`NUGET_PACKAGES` export printed by `use-nuget` before restore and keep it set through
|
|
149
|
-
`clean`; see [versions and cache](references/dotnet-nuget.md#versions-and-cache).
|
|
150
|
-
Follow any printed `--configfile` instruction. Run Yarn install after
|
|
151
|
-
`use-npm`; it adds file-tarball resolutions, not links to source folders.
|
|
152
|
-
|
|
153
|
-
For independent NuGet producer versions, explicitly opt in with
|
|
154
|
-
`verify-pack --composition FILE`, `use-nuget CONSUMER --composition FILE
|
|
155
|
-
[--pin-transitive]`, then `verify-assets CONSUMER --composition FILE`. See the
|
|
156
|
-
[manifest and native-validation workflow](references/dotnet-nuget.md#mixed-version-compositions-opt-in).
|
|
157
|
-
No producer is rebuilt; restore before changing a composition or an active legacy overlay.
|
|
158
|
-
|
|
159
|
-
### 5. Build and exercise the consumer
|
|
160
|
-
|
|
161
|
-
From the consumer root, with the printed NuGet environment sourced:
|
|
162
|
-
|
|
163
|
-
```bash
|
|
164
|
-
dotnet build path/to/consumer.slnx -c Release -warnaserror
|
|
165
|
-
./<integration-project-dir>/bin/Release/<TFM>/<AssemblyName> <runner-specific-filter>
|
|
166
|
-
```
|
|
167
|
-
|
|
168
|
-
Resolve the integration project's actual built spec entrypoint and filter syntax
|
|
169
|
-
from its test runner and repository workflow; without apphost use `dotnet <TargetPath.dll>`. Only VSTest uses `dotnet test <project> -c Release
|
|
170
|
-
--no-build --filter '<regression>'`. Keep the sourced local NuGet environment.
|
|
171
|
-
Substitute the repository's actual commands; for frontend fixes run build, lint,
|
|
172
|
-
specs and the previously broken UI action. Pass: the reproducing spec/action now
|
|
173
|
-
succeeds, at least one intended filtered spec actually ran, and the consumer's
|
|
174
|
-
required CI-equivalent gates pass. Zero matched tests is not proof. Studio local
|
|
175
|
-
Debug builds skip analyzers: pass its full-build switch when matching CI. Read the recipe
|
|
176
|
-
for that switch. On failure, change the producer and repeat with a distinct stamp;
|
|
177
|
-
do not request a release to debug the next round.
|
|
178
|
-
|
|
179
|
-
### 6. Check before commit or push
|
|
180
|
-
|
|
181
|
-
```bash
|
|
182
|
-
bash "$local" check "$consumer"
|
|
183
|
-
bash "$local" check "$producer"
|
|
184
|
-
```
|
|
185
|
-
|
|
186
|
-
Pass: exit `0`, reported file count, `0 leaks`. The scan examines added/changed
|
|
187
|
-
tracked lines against HEAD (or `--staged`) plus non-ignored untracked file contents.
|
|
188
|
-
It detects stamped local versions, the configured feed path, NuGet overlay/source
|
|
189
|
-
properties, package-version updates and local npm file/link/portal references.
|
|
190
|
-
It does not inspect committed history, ignored files, active shell variables or
|
|
191
|
-
all resolved dependencies. A clean diff can report zero files; it is not proof
|
|
192
|
-
that the overlay was inactive. Inspect actual resolution and restore explicitly.
|
|
193
|
-
|
|
194
|
-
### 7. Restore
|
|
195
|
-
|
|
196
|
-
```bash
|
|
197
|
-
bash "$local" restore "$consumer"
|
|
198
|
-
unset DirectoryPackagesPropsPath RestoreAdditionalProjectSources CHRONICLE_KERNEL_VERSION
|
|
199
|
-
bash "$local" check "$consumer"
|
|
200
|
-
```
|
|
201
|
-
|
|
202
|
-
Pass: restoration exits `0`, local overlay files are removed and `check` reports
|
|
203
|
-
`0 leaks`. npm restore accepts overlay-only resolutions and local tarball lockfile
|
|
204
|
-
entries after Yarn install; unrelated edits are refused with backups retained.
|
|
205
|
-
Review conflicts and restore only overlay changes manually, then retry. Never
|
|
206
|
-
overwrite unrelated work. Reinstall released npm dependencies
|
|
207
|
-
and clear image/compose/Gradle selection too. Check the producer for codegen drift;
|
|
208
|
-
Workbench builds can regenerate tracked proxies. Prefer a throwaway worktree, or
|
|
209
|
-
use `git checkout -- <generated-path>` only after proving those edits are disposable
|
|
210
|
-
build output, not pre-existing work.
|
|
211
|
-
|
|
212
|
-
### 8. Clean
|
|
213
|
-
|
|
214
|
-
`list [--json] [--stamp STAMP]` is a lock-free, read-only inventory, including legacy
|
|
215
|
-
artifacts without records. It shows producer ownership, task state, live/total consumers
|
|
216
|
-
and age, plus recorded state. Invalid records appear as `invalid` rows (JSON includes
|
|
217
|
-
`error`); listing continues and exits `1`. `use-*` records each consumer, including every
|
|
218
|
-
composition member stamp. `restore` restores overlays first, then updates only those
|
|
219
|
-
stamps' consumer entries; an invalid selected record warns with its path and exits `1`.
|
|
220
|
-
A registry-write failure after activation warns and exits `1`, keeping the overlay for restoration.
|
|
221
|
-
|
|
222
|
-
```bash
|
|
223
|
-
bash "$local" list
|
|
224
|
-
bash "$local" finish --task owner/repo#number
|
|
225
|
-
bash "$local" finish --task owner/repo#number --apply
|
|
226
|
-
```
|
|
227
|
-
|
|
228
|
-
`finish` is dry-run by default, marks task completion only, and succeeds with a message
|
|
229
|
-
if no record names the task and all records are valid. It warns and skips invalid records
|
|
230
|
-
without rewriting them, continues with valid matches, and exits `1` if any were skipped.
|
|
231
|
-
It never restores consumers or cleans packages automatically.
|
|
232
|
-
|
|
233
|
-
```bash
|
|
234
|
-
bash "$local" clean "$consumer" --stamp "$stamp"
|
|
235
|
-
# Review listed subjects and stop task-owned containers first.
|
|
236
|
-
bash "$local" clean "$consumer" --stamp "$stamp" --apply
|
|
237
|
-
```
|
|
238
|
-
|
|
239
|
-
`clean --stamp STAMP` validates only that stamp's record; default clean and `--all`
|
|
240
|
-
validate all selected records. An invalid selected record refuses cleanup (`2`).
|
|
241
|
-
|
|
242
|
-
Use `clean --expired` for retention-based cleanup, then add `--apply` after review.
|
|
243
|
-
It keeps unrecorded stamps, active compositions and live manifest/overlay references
|
|
244
|
-
(in registered sessions or recorded consumer worktrees). Otherwise, a stamp expires
|
|
245
|
-
when every non-null producing task is finished (at least one required), all recorded
|
|
246
|
-
consumers are gone (at least one required), or a real release at or above its base exists,
|
|
247
|
-
in that order. Offline evidence is NuGet `.nupkg.metadata` in the shared or registered
|
|
248
|
-
private caches; npm has no offline release check. `--online` opts into NuGet/npm
|
|
249
|
-
registry checks with a 10-second timeout; failures provide no evidence. Each stamp
|
|
250
|
-
prints `expired STAMP: REASON` or `kept STAMP: REASON`; kept stamps succeed (`0`).
|
|
251
|
-
`list --json` reports the same offline decision in `expiry:{expired,reasons,kept}`.
|
|
252
|
-
`--expired` cannot combine with `--stamp` or `--all`. It retains the same lock, fuse
|
|
253
|
-
and dry-run default. Applying also prunes gone consumers and missing session registrations.
|
|
254
|
-
|
|
255
|
-
Pass: expected subjects listed, then removed without force. Cleanup covers local
|
|
256
|
-
feed packages, NuGet version folders, discoverable Yarn cache entries, local image
|
|
257
|
-
tags, stamp record directories and registered sessions; unresolved npm backups block it. Missing Docker/Yarn
|
|
258
|
-
probes are reported as skipped cleanup, not proof those stores are empty. Default
|
|
259
|
-
fuse: 500 subjects; investigate an unexpectedly large list instead of raising it.
|
|
260
|
-
NuGet cleanup scans the active shared cache and every registered private cache.
|
|
261
|
-
It removes only recognized local/train version folders. Missing or mismatched
|
|
262
|
-
private-cache markers, symlinks and paths outside the consumer's Git directory
|
|
263
|
-
refuse the entire request. `restore` keeps private caches. After restoring overlays
|
|
264
|
-
and removing live stamps, use `clean "$consumer" --private-cache` to review whole-cache
|
|
265
|
-
removal, then add `--apply` to remove the marked cache and its session registration.
|
|
266
|
-
Prefer `--stamp` to `--all`. Legacy cleanup refuses the entire request (exit `2`,
|
|
267
|
-
also in dry-run) for registered live overlay/manifest references; it reports kept
|
|
268
|
-
stamps and paths. Restore/remove references, then retry. This is not an ownership
|
|
269
|
-
registry; unregistered consumers need manual review. To retire a hand-rolled
|
|
270
|
-
`-local.N` feed, restore released pins/sources and switch to helper stamps; review
|
|
271
|
-
old artifacts separately because `clean` does not recognize them. See
|
|
272
|
-
[migration](references/dotnet-nuget.md#retire-a-hand-rolled-feed).
|
|
273
|
-
|
|
274
|
-
## Configuration and results
|
|
275
|
-
|
|
276
|
-
The trusted shell config `${XDG_CONFIG_HOME:-$HOME/.config}/cratis/local-packages.env`
|
|
277
|
-
is sourced before defaults. Do not put credentials in it. Environment settings:
|
|
278
|
-
|
|
279
|
-
| Setting | Default / purpose |
|
|
280
|
-
| --- | --- |
|
|
281
|
-
| `CRATIS_LOCAL_FEED` | `${XDG_CACHE_HOME:-$HOME/.cache}/cratis/local-feed`; outside tracked files |
|
|
282
|
-
| `CRATIS_LOCAL_SESSION_DIR` | `<absolute-git-dir>/cratis-local`; per-worktree overlays/backups |
|
|
283
|
-
| `NUGET_PACKAGES` | `$HOME/.nuget/packages`; active cache scanned by `clean` |
|
|
284
|
-
| `CRATIS_LOCAL_TASK` | Optional task ID, convention `owner/repo#number`; `--task ID` on pack/use/finish overrides it |
|
|
285
|
-
| `CRATIS_LOCAL_PRIVATE_CACHE` | `0`; `1` opts `use-nuget` into a marked worktree cache, also available with `--private-cache` |
|
|
286
|
-
| `CRATIS_LOCAL_CLEAN_MAX` | `500`; cleanup subject fuse |
|
|
287
|
-
| `CRATIS_LOCAL_RUN` | Optional executable wrapper receiving `build <label> -- <command...>` |
|
|
288
|
-
|
|
289
|
-
If the environment has a build queue wrapper, set `CRATIS_LOCAL_RUN` to its absolute
|
|
290
|
-
executable path. The helper wraps pack steps only; run other heavy builds, image
|
|
291
|
-
builds and container specs through that environment's wrapper separately. No queue
|
|
292
|
-
wrapper is required by the corpus. Global `--dry-run` prints mutations while still
|
|
293
|
-
doing read-only discovery.
|
|
294
|
-
|
|
295
|
-
Helper exit codes: `0` success, `1` findings/failed operation, `2` cannot run or
|
|
296
|
-
invalid input. Neither `1` nor `2` is a pass. After script changes, execute
|
|
297
|
-
`bash "$local" --self-test`; pass requires printed passed/skipped counts and exit
|
|
298
|
-
`0`. Registry tests require node; npm overlay/restore tests use the inherited PATH. Real packing
|
|
299
|
-
is not exercised by this hermetic self-test. Report any unrun ecosystem checks.
|
|
300
|
-
|
|
301
|
-
## Why the local loop
|
|
302
|
-
|
|
303
|
-
A release chain runs producer PR, producer CI and publication, then a consumer
|
|
304
|
-
pin bump and consumer CI, with hand-offs between each step. For a Chronicle fix
|
|
305
|
-
consumed by Studio that is roughly 15–25 minutes of publishing, a bump pull
|
|
306
|
-
request and another 20–30 minutes of consumer CI, and in practice hours of
|
|
307
|
-
latency between them. A fix that turns out not to work repeats all of it.
|
|
308
|
-
|
|
309
|
-
The local loop for the same chain, in run time: packing the client packages
|
|
310
|
-
about 1–2 minutes, publishing the kernel a few minutes, building the image
|
|
311
|
-
seconds with a warm layer cache, building the consumer's spec project about
|
|
312
|
-
6 minutes, and an integration spec class seconds to minutes. Every iteration
|
|
313
|
-
stays local. A shared build queue adds its own waiting time on top; that is
|
|
314
|
-
machine load, not part of the loop.
|
|
315
|
-
|
|
316
|
-
The loop also surfaces incompatibilities before anything ships: a consumer that
|
|
317
|
-
does not yet supply what a newer kernel requires at startup fails here, in
|
|
318
|
-
minutes, instead of after a release and a pin bump.
|
|
69
|
+
Read [the helper runbook](references/helper-runbook.md) for exact commands,
|
|
70
|
+
pass signals, environment configuration, cleanup, and safe recovery.
|
|
319
71
|
|
|
320
72
|
## Conditional recipes
|
|
321
73
|
|
|
@@ -65,9 +65,9 @@ order, or a planned pack without `ids` or `pack` rows.
|
|
|
65
65
|
local image.
|
|
66
66
|
- A repository you did not name keeps its released version: Stage reaches Arc, Chronicle
|
|
67
67
|
reaches Orleans. A binary break through that hop is a finding about the consumer's pins.
|
|
68
|
-
- The
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
- The shipped Screenplay rows omit NuGet IDs. For Stage or Studio, use the
|
|
69
|
+
[Screenplay recipe](worked-examples.md#screenplay--stage-and-studio-nuget-and-npm)
|
|
70
|
+
to supply the inventory in a scratch map before planning.
|
|
71
71
|
|
|
72
72
|
## Extend it
|
|
73
73
|
|
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
|
|
4
4
|
# Docker images
|
|
5
5
|
|
|
6
|
+
## Contents
|
|
7
|
+
|
|
8
|
+
- Chronicle kernel
|
|
9
|
+
- Consumer selection
|
|
10
|
+
- Stop, restore, clean
|
|
11
|
+
|
|
6
12
|
## Chronicle kernel
|
|
7
13
|
|
|
8
14
|
Use the producer's current Dockerfile as the source for build inputs. For
|
|
@@ -12,9 +18,9 @@ assets must exist before `docker build`. From the Chronicle root:
|
|
|
12
18
|
```bash
|
|
13
19
|
# Native arm64 daemon; use linux-x64 and out/x64 for an amd64 daemon.
|
|
14
20
|
dotnet publish Source/Kernel/Server/Server.csproj -c Release -r linux-arm64 \
|
|
15
|
-
-p:PublishReadyToRun=true -p:DefineConstants=DEVELOPMENT \
|
|
21
|
+
-p:PublishReadyToRun=true -p:DisableProxyGenerator=true -p:DefineConstants=DEVELOPMENT \
|
|
16
22
|
-o Source/Kernel/Server/out/arm64 \
|
|
17
|
-
"-p:Version=$stamp"
|
|
23
|
+
"-p:Version=$stamp"
|
|
18
24
|
cd Source/Workbench
|
|
19
25
|
yarn install --immutable
|
|
20
26
|
yarn build
|
|
@@ -56,10 +62,26 @@ tag without a registry push. Inspect its logs to confirm that tag was started;
|
|
|
56
62
|
a custom pull policy may override local reuse. The image must be in the daemon
|
|
57
63
|
the test process actually uses, not merely another Docker context.
|
|
58
64
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
65
|
+
For an Aspire AppHost, the default tag is `latest-development` in run mode
|
|
66
|
+
and `latest` in publish mode. Installing a stamped Aspire package changes
|
|
67
|
+
neither. For a local-only run, build the bundled development image, export
|
|
68
|
+
`CHRONICLE_LOCAL_IMAGE_TAG="$stamp-development"`, and chain the explicit
|
|
69
|
+
override onto the existing Chronicle registration in an isolated worktree:
|
|
70
|
+
|
|
71
|
+
```csharp
|
|
72
|
+
var localTag = Environment.GetEnvironmentVariable("CHRONICLE_LOCAL_IMAGE_TAG")
|
|
73
|
+
?? throw new InvalidOperationException("Set CHRONICLE_LOCAL_IMAGE_TAG for this run.");
|
|
74
|
+
|
|
75
|
+
builder.AddCratisChronicle().WithImageTag(localTag);
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Keep any existing resource name and configuration. Use `-development-slim`
|
|
79
|
+
only when the AppHost already supplies an external MongoDB replica set. In the
|
|
80
|
+
test daemon, check `docker inspect --type container --format '{{.Config.Image}} {{.Image}}' "$container"`,
|
|
81
|
+
where `container` identifies the running Chronicle container. Require the
|
|
82
|
+
stamped tag and the expected local image ID (from `docker image inspect`)
|
|
83
|
+
before counting the run as proof. Restore the scratch-only AppHost change and
|
|
84
|
+
unset `CHRONICLE_LOCAL_IMAGE_TAG` after verification.
|
|
63
85
|
|
|
64
86
|
Kotlin consumers with the kernel-image Gradle option can pass the full local tag:
|
|
65
87
|
|
|
@@ -1,7 +1,4 @@
|
|
|
1
1
|
<!-- Copyright (c) Cratis. All rights reserved. -->
|
|
2
|
-
|
|
3
|
-
Before running the commands, set `scratch` to an absolute path under the repository’s ignored `.ai-work` directory. Create it first and confirm it is ignored; never run the commands with `scratch` unset.
|
|
4
|
-
|
|
5
2
|
<!-- Licensed under the MIT license. See LICENSE file in the project root for full license information. -->
|
|
6
3
|
|
|
7
4
|
# .NET and NuGet
|
|
@@ -17,6 +14,8 @@ Before running the commands, set `scratch` to an absolute path under the reposit
|
|
|
17
14
|
- Non-CPM escape
|
|
18
15
|
- Restoration and drift
|
|
19
16
|
|
|
17
|
+
Before running the commands, set `scratch` to an absolute path under the repository’s ignored `.ai-work` directory. Create it first and confirm it is ignored; never run the commands with `scratch` unset.
|
|
18
|
+
|
|
20
19
|
## CPM overlay
|
|
21
20
|
|
|
22
21
|
Execute the helper from the entry point. `pack-nuget PRODUCER STAMP TARGET...`
|
|
@@ -117,13 +116,13 @@ NuGet XML rewriter. An incomplete mapping or existing `cratis-local` key is refu
|
|
|
117
116
|
|
|
118
117
|
## Versions and cache
|
|
119
118
|
|
|
120
|
-
Generate a fresh stamp with the helper, not
|
|
119
|
+
Generate a fresh stamp with the helper, not a hand-written low prerelease. The next-patch prerelease
|
|
121
120
|
must sort above the versions required transitively or NuGet may report NU1605.
|
|
122
121
|
A stale highest tag or dependency with a newer minimum needs investigation, not a
|
|
123
122
|
warning suppression. The suffix is `-local.<12-digit-UTC-minute>.g<sha7>`; the `g` prefix makes an
|
|
124
123
|
all-digit SHA unambiguously nonnumeric in SemVer. Dirty edits are not encoded.
|
|
125
124
|
Wait for a distinct UTC minute or commit before repacking changed contents.
|
|
126
|
-
On a
|
|
125
|
+
On a release branch whose intended base differs from the inferred base, use `bash "$local" stamp --base-version "$base" "$producer"`
|
|
127
126
|
(also with `--train`). It accepts only a SemVer core without leading zeros,
|
|
128
127
|
prerelease or metadata and uses it verbatim; no patch increment is added.
|
|
129
128
|
An explicit base still must meet the consumer's minimum.
|
|
@@ -184,22 +183,28 @@ targets; never rename old packages into a helper stamp or clear a whole shared c
|
|
|
184
183
|
## Mixed-version compositions (opt-in)
|
|
185
184
|
|
|
186
185
|
Use a composition when products have independent local versions. It never packs
|
|
187
|
-
or rebuilds producers.
|
|
186
|
+
or rebuilds producers. For example, Studio consumes `Cratis.Chronicle.AspNetCore`.
|
|
187
|
+
Start a tab-separated `composition.tsv` in the ignored scratch folder with the
|
|
188
|
+
local packages you intend it to exercise:
|
|
188
189
|
|
|
189
190
|
```text
|
|
190
191
|
# Separate fields with literal tabs.
|
|
191
|
-
producer Chronicle
|
|
192
|
-
producer Screenplay
|
|
193
|
-
producer Stage
|
|
194
|
-
package Chronicle Cratis.Chronicle.
|
|
192
|
+
producer Chronicle <chronicle-stamp> /absolute/worktree/Chronicle
|
|
193
|
+
producer Screenplay <screenplay-stamp> /absolute/worktree/Screenplay
|
|
194
|
+
producer Stage <stage-stamp> /absolute/worktree/Stage
|
|
195
|
+
package Chronicle Cratis.Chronicle.AspNetCore
|
|
195
196
|
package Screenplay Cratis.Screenplay
|
|
196
197
|
package Stage Cratis.Stage
|
|
197
198
|
```
|
|
198
199
|
|
|
199
200
|
Each producer needs a valid local/train stamp, an existing absolute Git worktree
|
|
200
201
|
root and at least one package. Paths identify where packages came from; they do not authenticate the artifacts. Package IDs have one owner, case-insensitively.
|
|
201
|
-
|
|
202
|
-
|
|
202
|
+
Before applying the example, add a row for each additional package on a local
|
|
203
|
+
edge, reading dependencies and ranges from the actual nuspecs. For example, if
|
|
204
|
+
AspNetCore was packed against the stamped Chronicle client and Connections
|
|
205
|
+
packages, add those IDs under `Chronicle`. Keep released edges released.
|
|
206
|
+
Only blank lines and lines starting with `#` are ignored. No npm rows or implicit
|
|
207
|
+
merging with an active overlay.
|
|
203
208
|
|
|
204
209
|
```bash
|
|
205
210
|
composition="$scratch/composition.tsv" # scratch is the path to the ignored scratch folder
|
|
@@ -230,8 +235,7 @@ loads its `NuGet.Versioning.dll`: `NuGetVersion.TryParse`, `VersionRange.TryPars
|
|
|
230
235
|
and `VersionRange.Satisfies` supply native semantics, never a range approximation.
|
|
231
236
|
Its `NuGet.Frameworks.dll` supplies `NuGetFramework.Parse` and
|
|
232
237
|
`FrameworkReducer.GetNearest` for selecting the applicable dependency group.
|
|
233
|
-
Nuspec XML is parsed structurally, across dependency groups.
|
|
234
|
-
`[22.136.4,23.0.0)` admits the selected Chronicle prerelease above. Missing/corrupt
|
|
238
|
+
Nuspec XML is parsed structurally, across dependency groups. The selected prerelease must satisfy the actual range recorded by the producer. Missing/corrupt
|
|
235
239
|
packages, mismatched metadata, malformed/incompatible ranges and undeclared local
|
|
236
240
|
dependencies fail. Nothing is rebuilt to make a range pass.
|
|
237
241
|
|