@rosetears/aili-pi 0.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/LICENSE +21 -0
- package/README.md +109 -0
- package/THIRD_PARTY_NOTICES.md +64 -0
- package/extensions/index.ts +6 -0
- package/install.sh +5 -0
- package/manifests/adapter-evidence.json +45 -0
- package/manifests/capabilities.json +124 -0
- package/manifests/live-verification.json +26 -0
- package/manifests/provenance.json +71 -0
- package/manifests/roles.json +474 -0
- package/manifests/sbom.json +7797 -0
- package/manifests/skill-compatibility.json +8100 -0
- package/manifests/subagent-provenance.json +37 -0
- package/package.json +91 -0
- package/prompts/build.md +8 -0
- package/prompts/define.md +8 -0
- package/prompts/ideate.md +8 -0
- package/prompts/local-review.md +8 -0
- package/prompts/ship.md +8 -0
- package/roles/agent-evaluator.md +47 -0
- package/roles/ai-regression-scout.md +47 -0
- package/roles/browser-qa-runner.md +47 -0
- package/roles/code-reviewer.md +47 -0
- package/roles/code-scout.md +47 -0
- package/roles/convergence-reviewer.md +55 -0
- package/roles/doc-researcher.md +47 -0
- package/roles/e2e-artifact-runner.md +47 -0
- package/roles/implementer.md +47 -0
- package/roles/opensource-sanitizer.md +47 -0
- package/roles/plan-auditor.md +47 -0
- package/roles/pr-test-analyzer.md +47 -0
- package/roles/security-auditor.md +47 -0
- package/roles/silent-failure-reviewer.md +47 -0
- package/roles/spec-miner.md +47 -0
- package/roles/test-coverage-reviewer.md +47 -0
- package/roles/test-engineer.md +48 -0
- package/roles/web-performance-auditor.md +47 -0
- package/roles/web-researcher.md +47 -0
- package/scripts/apply-adapter-evidence.ts +73 -0
- package/scripts/bootstrap.sh +180 -0
- package/scripts/generate-provenance.ts +143 -0
- package/scripts/local-package-e2e.ts +51 -0
- package/scripts/sync-roles.ts +213 -0
- package/scripts/sync-skills.ts +356 -0
- package/scripts/validate-runtime.ts +11 -0
- package/skills/academic-paper-review/SKILL.md +81 -0
- package/skills/agents-md-initialization/SKILL.md +121 -0
- package/skills/agents-md-initialization/references/agents-template.md +83 -0
- package/skills/agents-md-initialization/references/agents_md.py +215 -0
- package/skills/ai-regression-scout/SKILL.md +24 -0
- package/skills/aili-delivery-flow/SKILL.md +125 -0
- package/skills/aili-delivery-flow/references/artifact-contracts.md +138 -0
- package/skills/aili-delivery-flow/references/backend-routing.md +40 -0
- package/skills/aili-delivery-flow/references/build-execution-loop.md +113 -0
- package/skills/aili-delivery-flow/references/build-goal-mode.md +3 -0
- package/skills/aili-delivery-flow/references/direct-vs-delegated-work.md +38 -0
- package/skills/aili-delivery-flow/references/implementation-packages.md +54 -0
- package/skills/aili-delivery-flow/references/lifecycle.md +127 -0
- package/skills/aili-delivery-flow/references/protocols/acceptance-test-plan.md +18 -0
- package/skills/aili-delivery-flow/references/protocols/alignment-questionnaire.md +10 -0
- package/skills/aili-delivery-flow/references/protocols/closeout-report.md +101 -0
- package/skills/aili-delivery-flow/references/protocols/compact-evidence-pack.md +46 -0
- package/skills/aili-delivery-flow/references/protocols/idea-brief.md +10 -0
- package/skills/aili-delivery-flow/references/protocols/implementation-package.md +53 -0
- package/skills/aili-delivery-flow/references/protocols/research-evidence-pack.md +19 -0
- package/skills/aili-delivery-flow/references/protocols/review-report.md +7 -0
- package/skills/aili-delivery-flow/references/protocols/spec-draft.md +12 -0
- package/skills/aili-delivery-flow/references/protocols/subagent-result.md +60 -0
- package/skills/aili-delivery-flow/references/protocols/subagent-task-packet.md +29 -0
- package/skills/aili-delivery-flow/references/protocols/worktree-context.md +109 -0
- package/skills/aili-delivery-flow/references/questionnaire-policy.md +62 -0
- package/skills/aili-delivery-flow/references/review-repair-loop.md +16 -0
- package/skills/aili-delivery-flow/references/test-document-policy.md +35 -0
- package/skills/android-native-dev/SKILL.md +722 -0
- package/skills/android-native-dev/references/accessibility.md +209 -0
- package/skills/android-native-dev/references/adaptive-screens.md +231 -0
- package/skills/android-native-dev/references/design-style-guide.md +365 -0
- package/skills/android-native-dev/references/functional-requirements.md +229 -0
- package/skills/android-native-dev/references/motion-system.md +203 -0
- package/skills/android-native-dev/references/performance-stability.md +223 -0
- package/skills/android-native-dev/references/privacy-security.md +244 -0
- package/skills/android-native-dev/references/testing.md +554 -0
- package/skills/android-native-dev/references/visual-design.md +246 -0
- package/skills/api-and-interface-design/SKILL.md +318 -0
- package/skills/browser-qa/SKILL.md +32 -0
- package/skills/browser-testing-with-devtools/SKILL.md +323 -0
- package/skills/build-failure-repair/SKILL.md +49 -0
- package/skills/chart-visualization/SKILL.md +73 -0
- package/skills/ci-cd-and-automation/SKILL.md +353 -0
- package/skills/code-review-and-quality/SKILL.md +375 -0
- package/skills/code-review-quality-gates/SKILL.md +132 -0
- package/skills/code-simplification/SKILL.md +371 -0
- package/skills/comment-accuracy-review/SKILL.md +37 -0
- package/skills/consulting-analysis/SKILL.md +69 -0
- package/skills/context-engineering/SKILL.md +375 -0
- package/skills/coverage-review/SKILL.md +24 -0
- package/skills/data-analysis/SKILL.md +74 -0
- package/skills/deprecation-and-migration/SKILL.md +222 -0
- package/skills/documentation-and-adrs/SKILL.md +330 -0
- package/skills/e2e-artifact-handling/SKILL.md +30 -0
- package/skills/evidence-scoped-retrospective/SKILL.md +156 -0
- package/skills/explain-by-allegory/SKILL.md +99 -0
- package/skills/flutter-dev/SKILL.md +162 -0
- package/skills/flutter-dev/references/animations.md +497 -0
- package/skills/flutter-dev/references/bloc-state.md +281 -0
- package/skills/flutter-dev/references/forms.md +656 -0
- package/skills/flutter-dev/references/gorouter-navigation.md +257 -0
- package/skills/flutter-dev/references/localization.md +510 -0
- package/skills/flutter-dev/references/networking.md +566 -0
- package/skills/flutter-dev/references/performance.md +305 -0
- package/skills/flutter-dev/references/platform-specific.md +417 -0
- package/skills/flutter-dev/references/project-structure.md +273 -0
- package/skills/flutter-dev/references/riverpod-state.md +232 -0
- package/skills/flutter-dev/references/testing.md +364 -0
- package/skills/flutter-dev/references/widget-patterns.md +233 -0
- package/skills/frontend-dev/SKILL.md +468 -0
- package/skills/frontend-dev/canvas-fonts/ArsenalSC-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/ArsenalSC-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/BigShoulders-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/BigShoulders-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/BigShoulders-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Boldonse-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/Boldonse-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/BricolageGrotesque-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/BricolageGrotesque-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/BricolageGrotesque-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/CrimsonPro-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/CrimsonPro-Italic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/CrimsonPro-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/CrimsonPro-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/DMMono-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/DMMono-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/EricaOne-OFL.txt +94 -0
- package/skills/frontend-dev/canvas-fonts/EricaOne-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/GeistMono-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/GeistMono-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/GeistMono-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Gloock-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/Gloock-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/IBMPlexMono-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/IBMPlexMono-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/IBMPlexMono-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/IBMPlexSerif-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/IBMPlexSerif-BoldItalic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/IBMPlexSerif-Italic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/IBMPlexSerif-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/InstrumentSans-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/InstrumentSans-BoldItalic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/InstrumentSans-Italic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/InstrumentSans-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/InstrumentSans-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/InstrumentSerif-Italic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/InstrumentSerif-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Italiana-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/Italiana-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/JetBrainsMono-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/JetBrainsMono-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/JetBrainsMono-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Jura-Light.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Jura-Medium.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Jura-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/LibreBaskerville-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/LibreBaskerville-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Lora-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Lora-BoldItalic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Lora-Italic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Lora-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/Lora-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/NationalPark-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/NationalPark-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/NationalPark-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/NothingYouCouldDo-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/NothingYouCouldDo-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Outfit-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Outfit-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/Outfit-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/PixelifySans-Medium.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/PixelifySans-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/PoiretOne-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/PoiretOne-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/RedHatMono-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/RedHatMono-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/RedHatMono-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Silkscreen-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/Silkscreen-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/SmoochSans-Medium.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/SmoochSans-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/Tektur-Medium.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/Tektur-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/Tektur-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/WorkSans-Bold.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/WorkSans-BoldItalic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/WorkSans-Italic.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/WorkSans-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/WorkSans-Regular.ttf +0 -0
- package/skills/frontend-dev/canvas-fonts/YoungSerif-OFL.txt +93 -0
- package/skills/frontend-dev/canvas-fonts/YoungSerif-Regular.ttf +0 -0
- package/skills/frontend-dev/references/asset-prompt-guide.md +43 -0
- package/skills/frontend-dev/references/env-setup.md +33 -0
- package/skills/frontend-dev/references/minimax-cli-reference.md +133 -0
- package/skills/frontend-dev/references/minimax-image-guide.md +65 -0
- package/skills/frontend-dev/references/minimax-music-guide.md +216 -0
- package/skills/frontend-dev/references/minimax-tts-guide.md +78 -0
- package/skills/frontend-dev/references/minimax-video-guide.md +82 -0
- package/skills/frontend-dev/references/minimax-voice-catalog.md +685 -0
- package/skills/frontend-dev/references/motion-recipes.md +407 -0
- package/skills/frontend-dev/references/troubleshooting.md +85 -0
- package/skills/frontend-dev/scripts/minimax_image.py +137 -0
- package/skills/frontend-dev/scripts/minimax_music.py +157 -0
- package/skills/frontend-dev/scripts/minimax_tts.py +127 -0
- package/skills/frontend-dev/scripts/minimax_video.py +187 -0
- package/skills/frontend-dev/templates/generator_template.js +223 -0
- package/skills/frontend-dev/templates/viewer.html +599 -0
- package/skills/frontend-ui-engineering/SKILL.md +367 -0
- package/skills/fullstack-dev/SKILL.md +819 -0
- package/skills/fullstack-dev/references/api-design.md +444 -0
- package/skills/fullstack-dev/references/auth-flow.md +165 -0
- package/skills/fullstack-dev/references/db-schema.md +706 -0
- package/skills/fullstack-dev/references/django-best-practices.md +466 -0
- package/skills/fullstack-dev/references/environment-management.md +78 -0
- package/skills/fullstack-dev/references/release-checklist.md +278 -0
- package/skills/fullstack-dev/references/technology-selection.md +254 -0
- package/skills/fullstack-dev/references/testing-strategy.md +404 -0
- package/skills/git-workflow-and-versioning/SKILL.md +446 -0
- package/skills/github-evidence-triage/SKILL.md +115 -0
- package/skills/harness-evolution/SKILL.md +59 -0
- package/skills/harness-evolution/references/activation-matrix.md +13 -0
- package/skills/harness-evolution/references/approval-policy.md +20 -0
- package/skills/harness-evolution/references/change-report-template.md +33 -0
- package/skills/harness-evolution/references/component-taxonomy.md +19 -0
- package/skills/harness-evolution/references/verdict-policy.md +13 -0
- package/skills/harness-issue-triage/SKILL.md +72 -0
- package/skills/harness-issue-triage/references/component-diagnosis.md +25 -0
- package/skills/harness-issue-triage/references/triage-report-template.md +34 -0
- package/skills/harness-optimization-audit/SKILL.md +125 -0
- package/skills/idea-refine/SKILL.md +191 -0
- package/skills/idea-refine/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/LICENSE +21 -0
- package/skills/idea-refine/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/NOTICE.md +9 -0
- package/skills/idea-refine/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/idea-refine/SKILL.upstream.md +178 -0
- package/skills/idea-refine/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/idea-refine/examples.md +238 -0
- package/skills/idea-refine/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/idea-refine/frameworks.md +99 -0
- package/skills/idea-refine/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/idea-refine/refinement-criteria.md +113 -0
- package/skills/idea-refine/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/idea-refine/scripts/idea-refine.upstream.sh +15 -0
- package/skills/incremental-implementation/SKILL.md +252 -0
- package/skills/ios-application-dev/SKILL.md +212 -0
- package/skills/ios-application-dev/references/accessibility.md +259 -0
- package/skills/ios-application-dev/references/graphics-animation.md +350 -0
- package/skills/ios-application-dev/references/layout-system.md +199 -0
- package/skills/ios-application-dev/references/metal-shader.md +178 -0
- package/skills/ios-application-dev/references/navigation-patterns.md +175 -0
- package/skills/ios-application-dev/references/swift-coding-standards.md +757 -0
- package/skills/ios-application-dev/references/swiftui-design-guidelines.md +1167 -0
- package/skills/ios-application-dev/references/system-integration.md +401 -0
- package/skills/ios-application-dev/references/uikit-components.md +297 -0
- package/skills/local-review-gate/SKILL.md +207 -0
- package/skills/local-review-gate/references/addyosmani-code-review-rubric.md +33 -0
- package/skills/local-review-gate/references/codex-github-compatibility.md +26 -0
- package/skills/local-review-gate/references/ecc-code-review-adaptation.md +40 -0
- package/skills/local-review-gate/references/graphify-local-review.md +33 -0
- package/skills/local-review-gate/references/orchestration-adaptation.md +51 -0
- package/skills/local-review-gate/references/review-repair-lane-adaptation.md +46 -0
- package/skills/local-review-gate/references/upstream-provenance.md +61 -0
- package/skills/mature-project-pattern-research/SKILL.md +155 -0
- package/skills/mature-project-pattern-research/references/research-rubric.md +45 -0
- package/skills/minimax-docx/LICENSE +21 -0
- package/skills/minimax-docx/SKILL.md +273 -0
- package/skills/minimax-docx/assets/styles/academic_styles.xml +250 -0
- package/skills/minimax-docx/assets/styles/corporate_styles.xml +284 -0
- package/skills/minimax-docx/assets/styles/default_styles.xml +449 -0
- package/skills/minimax-docx/assets/xsd/aesthetic-rules.xsd +470 -0
- package/skills/minimax-docx/assets/xsd/business-rules.xsd +130 -0
- package/skills/minimax-docx/assets/xsd/common-types.xsd +159 -0
- package/skills/minimax-docx/assets/xsd/wml-subset.xsd +589 -0
- package/skills/minimax-docx/references/cjk_typography.md +357 -0
- package/skills/minimax-docx/references/cjk_university_template_guide.md +184 -0
- package/skills/minimax-docx/references/comments_guide.md +191 -0
- package/skills/minimax-docx/references/design_good_bad_examples.md +829 -0
- package/skills/minimax-docx/references/design_principles.md +819 -0
- package/skills/minimax-docx/references/openxml_element_order.md +308 -0
- package/skills/minimax-docx/references/openxml_encyclopedia_part1.md +4061 -0
- package/skills/minimax-docx/references/openxml_encyclopedia_part2.md +2820 -0
- package/skills/minimax-docx/references/openxml_encyclopedia_part3.md +3381 -0
- package/skills/minimax-docx/references/openxml_namespaces.md +82 -0
- package/skills/minimax-docx/references/openxml_units.md +72 -0
- package/skills/minimax-docx/references/scenario_a_create.md +284 -0
- package/skills/minimax-docx/references/scenario_b_edit_content.md +295 -0
- package/skills/minimax-docx/references/scenario_c_apply_template.md +456 -0
- package/skills/minimax-docx/references/track_changes_guide.md +200 -0
- package/skills/minimax-docx/references/troubleshooting.md +506 -0
- package/skills/minimax-docx/references/typography_guide.md +294 -0
- package/skills/minimax-docx/references/xsd_validation_guide.md +158 -0
- package/skills/minimax-docx/scripts/doc_to_docx.sh +40 -0
- package/skills/minimax-docx/scripts/docx_preview.sh +37 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Cli/MiniMaxAIDocx.Cli.csproj +19 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Cli/Program.cs +18 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/AnalyzeCommand.cs +147 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/ApplyTemplateCommand.cs +322 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/CreateCommand.cs +324 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/DiffCommand.cs +155 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/EditContentCommand.cs +487 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/FixOrderCommand.cs +108 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/MergeRunsCommand.cs +122 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Commands/ValidateCommand.cs +107 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/MiniMaxAIDocx.Core.csproj +15 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/CommentSynchronizer.cs +169 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/ElementOrder.cs +80 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/NamespaceConstants.cs +42 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/RunMerger.cs +81 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/StyleAnalyzer.cs +81 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/TrackChangesHelper.cs +99 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/OpenXml/UnitConverter.cs +23 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples.cs +1832 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples_Batch1.cs +910 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples_Batch2.cs +999 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples_Batch3.cs +1048 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/AestheticRecipeSamples_Batch4.cs +1038 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/CharacterFormattingSamples.cs +1020 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/DocumentCreationSamples.cs +1121 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/FieldAndTocSamples.cs +624 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/FootnoteAndCommentSamples.cs +675 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/HeaderFooterSamples.cs +838 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/ImageSamples.cs +917 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/ListAndNumberingSamples.cs +826 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/ParagraphFormattingSamples.cs +1199 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/StyleSystemSamples.cs +1487 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/TableSamples.cs +1163 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Samples/TrackChangesSamples.cs +595 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Typography/CjkHelper.cs +39 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Typography/FontDefaults.cs +24 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Typography/PageSizes.cs +20 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Validation/BusinessRuleValidator.cs +224 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Validation/GateCheckValidator.cs +148 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Validation/ValidationResult.cs +23 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.Core/Validation/XsdValidator.cs +69 -0
- package/skills/minimax-docx/scripts/dotnet/MiniMaxAIDocx.slnx +4 -0
- package/skills/minimax-docx/scripts/env_check.sh +196 -0
- package/skills/minimax-docx/scripts/setup.ps1 +274 -0
- package/skills/minimax-docx/scripts/setup.sh +504 -0
- package/skills/minimax-pdf/README.md +222 -0
- package/skills/minimax-pdf/SKILL.md +218 -0
- package/skills/minimax-pdf/design/design.md +381 -0
- package/skills/minimax-pdf/scripts/cover.py +1579 -0
- package/skills/minimax-pdf/scripts/fill_inspect.py +200 -0
- package/skills/minimax-pdf/scripts/fill_write.py +242 -0
- package/skills/minimax-pdf/scripts/make.sh +491 -0
- package/skills/minimax-pdf/scripts/merge.py +112 -0
- package/skills/minimax-pdf/scripts/palette.py +521 -0
- package/skills/minimax-pdf/scripts/reformat_parse.py +374 -0
- package/skills/minimax-pdf/scripts/render_body.py +1052 -0
- package/skills/minimax-pdf/scripts/render_cover.js +111 -0
- package/skills/minimax-xlsx/SKILL.md +156 -0
- package/skills/minimax-xlsx/references/create.md +691 -0
- package/skills/minimax-xlsx/references/edit.md +684 -0
- package/skills/minimax-xlsx/references/fix.md +37 -0
- package/skills/minimax-xlsx/references/format.md +768 -0
- package/skills/minimax-xlsx/references/ooxml-cheatsheet.md +231 -0
- package/skills/minimax-xlsx/references/read-analyze.md +97 -0
- package/skills/minimax-xlsx/references/validate.md +772 -0
- package/skills/minimax-xlsx/scripts/formula_check.py +422 -0
- package/skills/minimax-xlsx/scripts/libreoffice_recalc.py +248 -0
- package/skills/minimax-xlsx/scripts/shared_strings_builder.py +163 -0
- package/skills/minimax-xlsx/scripts/style_audit.py +575 -0
- package/skills/minimax-xlsx/scripts/xlsx_add_column.py +395 -0
- package/skills/minimax-xlsx/scripts/xlsx_insert_row.py +274 -0
- package/skills/minimax-xlsx/scripts/xlsx_pack.py +87 -0
- package/skills/minimax-xlsx/scripts/xlsx_reader.py +362 -0
- package/skills/minimax-xlsx/scripts/xlsx_shift_rows.py +396 -0
- package/skills/minimax-xlsx/scripts/xlsx_unpack.py +130 -0
- package/skills/minimax-xlsx/templates/minimal_xlsx/[Content_Types].xml +9 -0
- package/skills/minimax-xlsx/templates/minimal_xlsx/_rels/.rels +6 -0
- package/skills/minimax-xlsx/templates/minimal_xlsx/xl/_rels/workbook.xml.rels +19 -0
- package/skills/minimax-xlsx/templates/minimal_xlsx/xl/sharedStrings.xml +33 -0
- package/skills/minimax-xlsx/templates/minimal_xlsx/xl/styles.xml +160 -0
- package/skills/minimax-xlsx/templates/minimal_xlsx/xl/workbook.xml +30 -0
- package/skills/minimax-xlsx/templates/minimal_xlsx/xl/worksheets/sheet1.xml +70 -0
- package/skills/newsletter-generation/SKILL.md +71 -0
- package/skills/oss-release-readiness/SKILL.md +47 -0
- package/skills/parallel-subagent-dispatch/SKILL.md +58 -0
- package/skills/performance-optimization/SKILL.md +364 -0
- package/skills/planning-and-task-breakdown/SKILL.md +290 -0
- package/skills/pptx-generator/SKILL.md +275 -0
- package/skills/pptx-generator/references/design-system.md +392 -0
- package/skills/pptx-generator/references/editing.md +162 -0
- package/skills/pptx-generator/references/pitfalls.md +112 -0
- package/skills/pptx-generator/references/pptxgenjs.md +420 -0
- package/skills/pptx-generator/references/slide-types.md +413 -0
- package/skills/pr-test-analysis/SKILL.md +24 -0
- package/skills/react-native-dev/SKILL.md +180 -0
- package/skills/react-native-dev/references/animations.md +254 -0
- package/skills/react-native-dev/references/components.md +124 -0
- package/skills/react-native-dev/references/engineering.md +527 -0
- package/skills/react-native-dev/references/forms.md +300 -0
- package/skills/react-native-dev/references/native-capabilities.md +163 -0
- package/skills/react-native-dev/references/navigation.md +271 -0
- package/skills/react-native-dev/references/networking.md +346 -0
- package/skills/react-native-dev/references/performance.md +215 -0
- package/skills/react-native-dev/references/state-management.md +230 -0
- package/skills/react-native-dev/references/styling.md +117 -0
- package/skills/react-native-dev/references/testing.md +341 -0
- package/skills/requirements-grilling/SKILL.md +447 -0
- package/skills/requirements-grilling/references/ADR-FORMAT.md +46 -0
- package/skills/requirements-grilling/references/CONTEXT-FORMAT.md +41 -0
- package/skills/requirements-grilling/references/INTERVIEW-PACKET-FORMAT.md +62 -0
- package/skills/requirements-grilling/references/MIT-LICENSE-MATT-POCOCK.md +25 -0
- package/skills/requirements-grilling/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/LICENSE +21 -0
- package/skills/requirements-grilling/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/NOTICE.md +9 -0
- package/skills/requirements-grilling/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/interview-me/SKILL.upstream.md +225 -0
- package/skills/requirements-grilling/references/upstream/mattpocock-skills/9603c1cc8118d08bc1b3bf34cf714f62178dea3b/LICENSE +21 -0
- package/skills/requirements-grilling/references/upstream/mattpocock-skills/9603c1cc8118d08bc1b3bf34cf714f62178dea3b/NOTICE.md +12 -0
- package/skills/requirements-grilling/references/upstream/mattpocock-skills/9603c1cc8118d08bc1b3bf34cf714f62178dea3b/batch-grill-me/SKILL.upstream.md +15 -0
- package/skills/requirements-grilling/references/upstream/mattpocock-skills/9603c1cc8118d08bc1b3bf34cf714f62178dea3b/grill-me/SKILL.upstream.md +7 -0
- package/skills/requirements-grilling/references/upstream/mattpocock-skills/9603c1cc8118d08bc1b3bf34cf714f62178dea3b/grilling/SKILL.upstream.md +12 -0
- package/skills/review-pipeline/SKILL.md +38 -0
- package/skills/rose-memory/SKILL.md +210 -0
- package/skills/rose-memory/references/README.md +48 -0
- package/skills/rose-memory/references/memory_cli.py +2384 -0
- package/skills/rose-memory/references/schema.sql +315 -0
- package/skills/security-and-hardening/SKILL.md +369 -0
- package/skills/session-handoff/SKILL.md +88 -0
- package/skills/session-handoff/references/upstream/mattpocock-skills/391a2701dd948f94f56a39f7533f8eea9a859c87/LICENSE +21 -0
- package/skills/session-handoff/references/upstream/mattpocock-skills/391a2701dd948f94f56a39f7533f8eea9a859c87/NOTICE.md +9 -0
- package/skills/session-handoff/references/upstream/mattpocock-skills/391a2701dd948f94f56a39f7533f8eea9a859c87/productivity/handoff/SKILL.upstream.md +16 -0
- package/skills/session-handoff/scripts/session_handoff.py +764 -0
- package/skills/shader-dev/SKILL.md +316 -0
- package/skills/shader-dev/reference/ambient-occlusion.md +382 -0
- package/skills/shader-dev/reference/analytic-ray-tracing.md +651 -0
- package/skills/shader-dev/reference/anti-aliasing.md +71 -0
- package/skills/shader-dev/reference/atmospheric-scattering.md +571 -0
- package/skills/shader-dev/reference/camera-effects.md +80 -0
- package/skills/shader-dev/reference/cellular-automata.md +635 -0
- package/skills/shader-dev/reference/color-palette.md +481 -0
- package/skills/shader-dev/reference/csg-boolean-operations.md +466 -0
- package/skills/shader-dev/reference/domain-repetition.md +436 -0
- package/skills/shader-dev/reference/domain-warping.md +419 -0
- package/skills/shader-dev/reference/fluid-simulation.md +425 -0
- package/skills/shader-dev/reference/fractal-rendering.md +525 -0
- package/skills/shader-dev/reference/lighting-model.md +639 -0
- package/skills/shader-dev/reference/matrix-transform.md +535 -0
- package/skills/shader-dev/reference/multipass-buffer.md +571 -0
- package/skills/shader-dev/reference/normal-estimation.md +418 -0
- package/skills/shader-dev/reference/particle-system.md +589 -0
- package/skills/shader-dev/reference/path-tracing-gi.md +602 -0
- package/skills/shader-dev/reference/polar-uv-manipulation.md +521 -0
- package/skills/shader-dev/reference/post-processing.md +375 -0
- package/skills/shader-dev/reference/procedural-2d-pattern.md +439 -0
- package/skills/shader-dev/reference/procedural-noise.md +551 -0
- package/skills/shader-dev/reference/ray-marching.md +396 -0
- package/skills/shader-dev/reference/sdf-2d.md +724 -0
- package/skills/shader-dev/reference/sdf-3d.md +805 -0
- package/skills/shader-dev/reference/sdf-tricks.md +63 -0
- package/skills/shader-dev/reference/shadow-techniques.md +476 -0
- package/skills/shader-dev/reference/simulation-physics.md +644 -0
- package/skills/shader-dev/reference/sound-synthesis.md +578 -0
- package/skills/shader-dev/reference/terrain-rendering.md +839 -0
- package/skills/shader-dev/reference/texture-mapping-advanced.md +87 -0
- package/skills/shader-dev/reference/texture-sampling.md +553 -0
- package/skills/shader-dev/reference/volumetric-rendering.md +608 -0
- package/skills/shader-dev/reference/voronoi-cellular-noise.md +486 -0
- package/skills/shader-dev/reference/voxel-rendering.md +701 -0
- package/skills/shader-dev/reference/water-ocean.md +445 -0
- package/skills/shader-dev/reference/webgl-pitfalls.md +41 -0
- package/skills/shader-dev/techniques/ambient-occlusion.md +364 -0
- package/skills/shader-dev/techniques/analytic-ray-tracing.md +542 -0
- package/skills/shader-dev/techniques/anti-aliasing.md +124 -0
- package/skills/shader-dev/techniques/atmospheric-scattering.md +522 -0
- package/skills/shader-dev/techniques/camera-effects.md +115 -0
- package/skills/shader-dev/techniques/cellular-automata.md +531 -0
- package/skills/shader-dev/techniques/color-palette.md +380 -0
- package/skills/shader-dev/techniques/csg-boolean-operations.md +491 -0
- package/skills/shader-dev/techniques/domain-repetition.md +333 -0
- package/skills/shader-dev/techniques/domain-warping.md +414 -0
- package/skills/shader-dev/techniques/fluid-simulation.md +1175 -0
- package/skills/shader-dev/techniques/fractal-rendering.md +436 -0
- package/skills/shader-dev/techniques/lighting-model.md +527 -0
- package/skills/shader-dev/techniques/matrix-transform.md +455 -0
- package/skills/shader-dev/techniques/multipass-buffer.md +922 -0
- package/skills/shader-dev/techniques/normal-estimation.md +318 -0
- package/skills/shader-dev/techniques/particle-system.md +1203 -0
- package/skills/shader-dev/techniques/path-tracing-gi.md +623 -0
- package/skills/shader-dev/techniques/polar-uv-manipulation.md +373 -0
- package/skills/shader-dev/techniques/post-processing.md +788 -0
- package/skills/shader-dev/techniques/procedural-2d-pattern.md +346 -0
- package/skills/shader-dev/techniques/procedural-noise.md +554 -0
- package/skills/shader-dev/techniques/ray-marching.md +467 -0
- package/skills/shader-dev/techniques/sdf-2d.md +631 -0
- package/skills/shader-dev/techniques/sdf-3d.md +589 -0
- package/skills/shader-dev/techniques/sdf-tricks.md +100 -0
- package/skills/shader-dev/techniques/shadow-techniques.md +776 -0
- package/skills/shader-dev/techniques/simulation-physics.md +1542 -0
- package/skills/shader-dev/techniques/sound-synthesis.md +490 -0
- package/skills/shader-dev/techniques/terrain-rendering.md +408 -0
- package/skills/shader-dev/techniques/texture-mapping-advanced.md +121 -0
- package/skills/shader-dev/techniques/texture-sampling.md +382 -0
- package/skills/shader-dev/techniques/volumetric-rendering.md +375 -0
- package/skills/shader-dev/techniques/voronoi-cellular-noise.md +458 -0
- package/skills/shader-dev/techniques/voxel-rendering.md +985 -0
- package/skills/shader-dev/techniques/water-ocean.md +490 -0
- package/skills/shader-dev/techniques/webgl-pitfalls.md +170 -0
- package/skills/shipping-and-launch/SKILL.md +334 -0
- package/skills/silent-failure-hunting/SKILL.md +24 -0
- package/skills/source-driven-development/SKILL.md +223 -0
- package/skills/spec-driven-development/SKILL.md +235 -0
- package/skills/spec-driven-development/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/LICENSE +21 -0
- package/skills/spec-driven-development/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/NOTICE.md +9 -0
- package/skills/spec-driven-development/references/upstream/addyosmani-agent-skills/6bcfeb9dae52b11eaad23511acc165109746dbc3/spec-driven-development/SKILL.upstream.md +206 -0
- package/skills/strategy-stress-test/SKILL.md +185 -0
- package/skills/systematic-literature-review/SKILL.md +77 -0
- package/skills/test-document-generator/SKILL.md +152 -0
- package/skills/test-document-generator/references/test-document-template.md +45 -0
- package/skills/test-driven-development/SKILL.md +399 -0
- package/skills/write-skills/GLOSSARY.md +113 -0
- package/skills/write-skills/SKILL.md +133 -0
- package/skills/write-skills/references/upstream/mattpocock-skills/391a2701dd948f94f56a39f7533f8eea9a859c87/LICENSE +21 -0
- package/skills/write-skills/references/upstream/mattpocock-skills/391a2701dd948f94f56a39f7533f8eea9a859c87/NOTICE.md +9 -0
- package/skills/write-skills/references/upstream/mattpocock-skills/391a2701dd948f94f56a39f7533f8eea9a859c87/productivity/writing-great-skills/GLOSSARY.md +201 -0
- package/skills/write-skills/references/upstream/mattpocock-skills/391a2701dd948f94f56a39f7533f8eea9a859c87/productivity/writing-great-skills/SKILL.upstream.md +83 -0
- package/src/runtime/child-guard.ts +70 -0
- package/src/runtime/conflicts.ts +25 -0
- package/src/runtime/contracts.ts +9 -0
- package/src/runtime/doctor.ts +134 -0
- package/src/runtime/global-resources.ts +152 -0
- package/src/runtime/index.ts +23 -0
- package/src/runtime/lifecycle.ts +19 -0
- package/src/runtime/native-integrations.ts +44 -0
- package/src/runtime/path-boundaries.ts +69 -0
- package/src/runtime/registry.ts +213 -0
- package/src/runtime/roles.ts +64 -0
- package/src/runtime/rose-context.ts +24 -0
- package/src/runtime/subagents.ts +426 -0
- package/templates/APPEND_SYSTEM.md +12 -0
- package/upstream/aili-workflows.lock.json +3226 -0
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
# Neutral BUILD Execution Loop
|
|
2
|
+
|
|
3
|
+
This is the active authority for neutral BUILD package execution. It defines no pseudo execution mode, session identity, native command binding, or extra permission.
|
|
4
|
+
|
|
5
|
+
## Activation and readiness
|
|
6
|
+
|
|
7
|
+
`/build` and equivalent natural-language implementation intent enter this same loop. Formal BUILD starts only when exactly one target, current final-test-plan acceptance, a dependency-ready package, verifiable exit criteria, required operation permission, and a valid canonical `CONT-005` envelope are established. Acceptance or vague continuation alone performs zero execution.
|
|
8
|
+
|
|
9
|
+
When no package is supplied, synthesize the queue from the active accepted contract: current `tasks.md`, specs, design, `test-plan.md`, dependencies, and repository evidence. Generic execution must not assume Package 1–12 or a fixed task count. For `complete-aili-workflow-orchestration` only, the preserved queue is 1→2→5→3→pairwise-disjoint 6/7/8→join→9→10→11→12, with Package 4 complete/history and overlap serialized.
|
|
10
|
+
|
|
11
|
+
The current A33 host is the Git repository where the user started OpenCode; a non-Git startup root blocks, and AILI never ranks, moves, scans for, or auto-selects another host. Resolve exactly one declared target under current `WT-001` evidence before work. Target rules are re-read at the operation/dispatch boundary, may narrow but never broaden, and same-level conflict blocks.
|
|
12
|
+
|
|
13
|
+
## Queue contract and lightweight savepoints
|
|
14
|
+
|
|
15
|
+
Packages preserve identity, dependency order, complete accepted behavior, forbidden scope, pre-action safety gates, traceability, and stop conditions. Direct serial execution needs no lane report. Record ownership/join details only when actual concurrent work has a clear benefit.
|
|
16
|
+
|
|
17
|
+
For each implementation package defined by the active contract before its completion package:
|
|
18
|
+
|
|
19
|
+
1. Read the current package/task rows, owning contract sections, target/Git/rules, and affected evidence. Read progress/drift only for resume, deviation, or conflict; do not blanket-hydrate unrelated artifacts.
|
|
20
|
+
2. Implement its complete accepted behavior; scoped work is not a partial patch.
|
|
21
|
+
3. Run a focused test/check only when the changed behavior, risk, package need, or bounded failure diagnosis triggers it; a package boundary alone triggers none.
|
|
22
|
+
4. Record a progress-ledger savepoint with exactly the package identity plus `scope`, `files_changed`, `unresolved_items`, `evidence_state`, and `next_package`.
|
|
23
|
+
5. Continue only when dependencies are ready and no material/safety/budget stop applies.
|
|
24
|
+
|
|
25
|
+
The savepoint is not a test, review, commit, package approval, closure verdict, or readiness evidence and triggers none automatically. Optional feedback is not a mandatory local code-review/test/security gate. Package 1–12 terminology is history specific to `complete-aili-workflow-orchestration`.
|
|
26
|
+
|
|
27
|
+
After all active-contract packages/savepoints, ROSE runs the proactive delegation scan, inspects the changed-scope diff and affected requirement/task links, and selects the smallest fresh evidence needed for the exact completion claim. A full matrix or review/test/security capability remains optional and trigger-gated to one concrete gap. Its default concurrency is at most two but is not a hard cap; larger bounded read-only fan-out requires independent non-overlapping units, concrete benefit, suitable owners, and an explicit join plan. One targeted repair/recheck is allowed. Success records `IMPLEMENTED_TARGETED_VERIFIED` and stops BUILD; any remaining blocker is reported without an automatic swarm, broad matrix, fixed multi-cycle loop, commit, push, PR, or SHIP transition. Package 12 is only this umbrella's historical name for that inspection.
|
|
28
|
+
|
|
29
|
+
## Loop taxonomy
|
|
30
|
+
|
|
31
|
+
The following names are bounded loop vocabulary, not an automatic sequence. One current intent selects one primary loop; a loop returns any unmet need to ROSE and never invokes another loop itself.
|
|
32
|
+
|
|
33
|
+
| Inner loop | Trigger | Terminal boundary |
|
|
34
|
+
|---|---|---|
|
|
35
|
+
| question | material ambiguity or explicit grilling | answered, named `Unverified`, or user stop |
|
|
36
|
+
| delta | correction or material feedback | covered, or DEFINE writeback/revalidation |
|
|
37
|
+
| evidence/plan | explicit planning/source request or one material evidence gap | sufficient bounded evidence/plan or blocked/`Unverified` |
|
|
38
|
+
| neutral BUILD | accepted plan plus runnable package | complete package/savepoint or material/safety/budget/cancel stop |
|
|
39
|
+
| review/repair | explicit review or one concrete blocking finding | one targeted repair/recheck, then resolved or blocked/material delta |
|
|
40
|
+
| convergence | a concrete missing traceability link for a completion/SHIP claim | required affected links complete or that claim blocked/`Unverified` |
|
|
41
|
+
|
|
42
|
+
Exactly four outer profiles select initiation and boundary:
|
|
43
|
+
|
|
44
|
+
- `turn`: executable one-cycle prompt flow; initialize iteration to one and never silently recurse or convert to objective.
|
|
45
|
+
- `objective`: executable bounded implementation/closeout flow with explicit intent, exit evidence, and valid budgets.
|
|
46
|
+
- `interval`: protocol-only design-owned external/manual timing runbook; no timing registration.
|
|
47
|
+
- `event`: protocol-only design-owned external/manual event runbook; no listener or queue.
|
|
48
|
+
|
|
49
|
+
Interval/event invoke one existing bounded inner flow when externally/manual triggered; they are not inner loops and do not create a seventh loop.
|
|
50
|
+
|
|
51
|
+
## Canonical `CONT-005` envelope and budgets
|
|
52
|
+
|
|
53
|
+
Every executable run and protocol definition references one envelope with `loop_kind`, `trigger`, `trigger_evidence`, `objective`, `accepted_contract`, `change_id`, `success_evidence`, nested `budgets`, `human_gate`, `operation_gate`, `allowed_actions`, `writeback_targets`, `stop_reason`, and `outcome`. Interval/event additionally reference the canonical `ROUTE-007` identity and may add only `external_trigger_source`, `event_classifier`, or `cancellation`.
|
|
54
|
+
|
|
55
|
+
The nested object contains exactly:
|
|
56
|
+
|
|
57
|
+
```yaml
|
|
58
|
+
budgets:
|
|
59
|
+
iteration: { limit: <positive-integer>, consumed: <nonnegative-integer>, remaining: <nonnegative-integer> }
|
|
60
|
+
time: null | { unit: ms, limit: <positive-integer>, consumed: <nonnegative-integer>, remaining: <nonnegative-integer> }
|
|
61
|
+
tokens: null | { unit: tokens, accounting_status: active | unavailable | lost, limit: <positive-integer>, consumed: <nonnegative-integer>, remaining: <nonnegative-integer> }
|
|
62
|
+
review_repair: null | { limit: <positive-integer>, consumed: <nonnegative-integer>, remaining: <nonnegative-integer> }
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
For each non-null counter, `remaining = max(limit - consumed, 0)`. Zero, negative, fractional, nonnumeric, missing required values, wrong units, invalid statuses, or capability/null mismatches block rather than coerce.
|
|
66
|
+
|
|
67
|
+
- No configured token budget means explicit `tokens: null` and no token-enforcement claim.
|
|
68
|
+
- A requested token budget without reliable pre-start accounting remains non-null with `accounting_status: unavailable`, `consumed: 0`, and `remaining: limit`; execution blocks before the first action.
|
|
69
|
+
- Midrun accounting loss is valid only after active accounting. Preserve the non-null counter, last actual counters/overshoot, set `accounting_status: lost`, and block before another action.
|
|
70
|
+
- A turn uses iteration `{limit: 1, consumed: 0, remaining: 1}` and `review_repair: null`.
|
|
71
|
+
- Implementation-only package objectives use `review_repair: null`.
|
|
72
|
+
- The direct completion inspection uses `review_repair: null` unless one targeted repair/recheck is needed; that bounded recheck uses exactly `review_repair.limit: 1`. This umbrella historically names the inspection Package 12.
|
|
73
|
+
- LP templates consume zero. Each external/manual run instantiates all four entries with concrete zeroed counters before execution.
|
|
74
|
+
|
|
75
|
+
Iteration and non-null review actions preflight one remaining unit, consume exactly one, and never exceed limit. For these discrete counters, `consumed > limit` is corrupted state: block before any action or repair, preserve the observed values for diagnosis, and do not classify the excess as an allowed overshoot. Time/token actions preflight current remaining and any reliable known bound. Only an indivisible observed time/token overshoot preserves actual consumed, sets remaining zero, records exact `overshoot`, stops, and permits no subsequent action. Resume preserves every counter, status, overshoot, and stop condition without reset or evasion.
|
|
76
|
+
|
|
77
|
+
Terminal outcomes are `complete`, `need-user`, `need-evidence`, `material-delta`, `blocked`, `Unverified`, `cancelled`, or `budget-exhausted`; terminal handling writes applicable formal/sidecar/progress evidence.
|
|
78
|
+
|
|
79
|
+
## Exact continuation
|
|
80
|
+
|
|
81
|
+
`continue`, `继续`, `go ahead`, or `继续做` resumes exactly one active authorized envelope only when target, lifecycle phase, accepted authorization, current acceptance/material gates, and remaining canonical budgets are unambiguous. Resume cannot create or broaden authority, select another target, change phase, refresh acceptance, reset counters, or clear a stop state. Otherwise ask exactly one focused target/authorization question and perform no loop, write, mutation, or budget consumption.
|
|
82
|
+
|
|
83
|
+
A material delta returns to DEFINE. A current no-write/chat-only clause overrides persistence and execution. Combined BUILD+SHIP intent authorizes current BUILD only; later SHIP needs fresh evidence and new intent.
|
|
84
|
+
|
|
85
|
+
## Protocol-only automation boundary
|
|
86
|
+
|
|
87
|
+
Formal documentation-only AILI interval/event requests may define or reuse one `LP-INTERVAL-*` or `LP-EVENT-*` body only under the active change's `design.md` `## Loop Protocols`. If that documentation request lacks protocol scope or an external/manual trigger source, ask one focused documentation-protocol question without execution. Protocol definition creates no runtime, listener, scheduler, queue, hook, daemon, or lifecycle permission. Tasks, tests, and context may reference a valid LP ID but not duplicate its body.
|
|
88
|
+
|
|
89
|
+
Hidden or unrequested AILI self-automation, background lifecycle registration, or execution blocks with zero mutation and zero LP. A request mixing that hidden AILI automation with protocol documentation also creates no LP until the user later restates a documentation-only request.
|
|
90
|
+
|
|
91
|
+
An explicitly scoped product/repository CI, cron, scheduler, watcher, webhook/listener, queue, daemon, hook, dependency, or auto-retry outcome is eligible through the ordinary/formal classifier and every applicable formal, permission, ownership, verification, credential, persistent-service, external-write, dependency/lockfile, destructive, and exact-operation gate. Automation vocabulary in an ordinary comparison is ordinary; it is neither blanket rejection nor permission. Product automation must not be replaced by an AILI LP, and documentation-only interval/event definitions grant no runtime or lifecycle permission. AILI itself provides no hidden background primitive.
|
|
92
|
+
|
|
93
|
+
## Native command non-ownership
|
|
94
|
+
|
|
95
|
+
Ordinary user, package, implementation, and Goal-Driven Verification wording remains valid and does not activate special execution semantics. Successful native `/goal <objective>`, bare `/goal`, and persistent native goal behavior are Stage II / N/A. AILI does not own, imitate, bind, modify, control, or claim those behaviors; `/build` remains neutral package execution.
|
|
96
|
+
|
|
97
|
+
## Safety and closeout
|
|
98
|
+
|
|
99
|
+
Pre-action gates remain mandatory for destructive/high-risk operations, dependencies/lockfiles, secrets, Graphify execution, and unsafe runtime behavior. Material DEFINE decisions and one final test-plan acceptance remain user controls; package boundaries add no approval. BUILD success does not preauthorize SHIP. Commit, push, merge, and release each require exact action-specific approval. CI failure reports the failed check, target, and commit/tree evidence and returns to the user without automatic repair, commit, push, merge, or release.
|
|
100
|
+
|
|
101
|
+
### A33 admission and operation gates
|
|
102
|
+
|
|
103
|
+
These are static admission/approval requirements only; they do not create, remove, inspect, or authorize a worktree operation.
|
|
104
|
+
|
|
105
|
+
- Destination is exactly `<session-root>/.worktrees/<repo_key>/<worktree_key>`. The host must ignore the exact prospective destination through root `/.worktrees/`, with no re-inclusion and no tracked destination; otherwise block for an explicit host ignore change.
|
|
106
|
+
- Both keys match `^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$`; empty, dot/dotdot, reserved `.git`/`.worktrees`, separator, absolute, control, newline, NUL, collision, or path-like values block. A safe unique source basename may default only `repo_key`; `worktree_key` is explicit. Never suffix, guess, force, use `-B`, create orphan state, guess a remote, or infer branch/base-ref.
|
|
107
|
+
- Admission requires trusted source/path topology with no tracked `.gitmodules`, mode-160000 gitlink, malformed submodule/superproject relation, or unresolved symlink/junction/mount/path escape. Host, source, and target evidence stay distinct; populated host/source and exact target absent→populated ADD / populated→absent REMOVE `A33Identity` transitions are compared directly. Target rules may narrow only; conflict blocks.
|
|
108
|
+
- Every operation binds explicit branch, base ref, `branch_mode: existing|create`, source `reflog_policy: enabled|disabled`, both keys, source, destination, expiry, and `operation_class: driver_fixture|real`. Existing mode creates no ref/reflog; create mode creates the exact branch ref and only enabled policy creates its exact reflog. Missing enabled reflog, unexpected disabled/existing reflog/ref, or any remove-time branch ref/reflog mutation blocks.
|
|
109
|
+
- PREPARE performs zero add/remove. Every real or fixture ADD has its own fresh exact key/class-bound approval and accepted trusted-code risk. Every later REMOVE has a different fresh exact approval after complete deletion inventory, uses `trusted_code_risk:not_applicable` only for an observed approval, and passes a separate deletion-risk gate. Approval mismatch, reuse, wrong class, wrong key, absent/declined/unavailable risk, or stale/expired/wrong operation has zero effect.
|
|
110
|
+
- ADD may change only the exact declared common-dir admin entry/membership plus its branch-mode/reflog-policy-authorized ref transaction. REMOVE is non-force and may delete only the declared target path/private admin entry/membership while retaining branch ref/reflog. Dirty, unknown, user-visible, ignored, untracked, artifact, locked, wrong-source, wrong-path, or missing target state blocks.
|
|
111
|
+
- Common-dir canonical path identity and every unrelated entry/ref/reflog/config/hook/worktree record, unrelated/prunable state, evidence, and other file remain unchanged. Prune/move/repair/lock/unlock/force/clean/reset/merge/rebase/commit/push/integration/branch deletion and undeclared ref/reflog mutation are outside this gate. Rollback disables routing but preserves worktrees/evidence; removal still needs a new exact approval.
|
|
112
|
+
|
|
113
|
+
Before non-trivial closeout, inspect `git status --short --branch` and classify dirty paths as task-scoped, unrelated/pre-existing, generated/ignored, scratch, or unknown. Propose cleanup for remaining residue; ask explicit approval before push, destructive clean/reset, branch deletion, worktree removal, OpenSpec archive, stashing unrelated changes, or deleting user-visible artifacts. Savepoint commits may be proactive only when current task/project rules explicitly allow task-scoped verified commits; otherwise ask once with the cleanup package.
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# Direct vs Delegated Work
|
|
2
|
+
|
|
3
|
+
ROSE retains integration and final-verdict ownership. Delegation is the proactive execution path whenever an existing trigger is met; direct work is the fallback when no trigger applies or delegation is concretely blocked.
|
|
4
|
+
|
|
5
|
+
## Proactive scan
|
|
6
|
+
|
|
7
|
+
Run a proactive delegation scan at the start of every non-trivial intent and whenever changed evidence exposes a new work split. Evaluate the triggers before ROSE performs the same evidence gathering or implementation directly. A user request for frequent or aggressive subagent use remains a routing preference across the current intent, but every `subagent.dispatch` operation still needs one bounded eligible assignment and current permission.
|
|
8
|
+
|
|
9
|
+
## Use `subagent.dispatch` only when
|
|
10
|
+
|
|
11
|
+
At least one condition is true:
|
|
12
|
+
|
|
13
|
+
- the user explicitly requests a subagent;
|
|
14
|
+
- a specialist owns a capability ROSE cannot perform directly;
|
|
15
|
+
- broad search or noisy output would materially pollute the main context;
|
|
16
|
+
- at least two independent units can run concurrently with clear wall-clock or context benefit.
|
|
17
|
+
|
|
18
|
+
When any condition is true, dispatch is the default action unless units overlap, have an unresolved dependency, lack permission or ownership, or cost more than their concrete wall-clock/context benefit. Record the reason internally when an eligible-looking task stays direct. Otherwise ROSE reads, edits, and verifies directly. A non-trivial or multi-file task does not by itself require delegation.
|
|
19
|
+
|
|
20
|
+
## Dispatch shape
|
|
21
|
+
|
|
22
|
+
- One current intent has at most one auxiliary capability. Default dispatch concurrency is at most two, but this is not a hard cap. ROSE may choose a larger bounded fan-out when it can name every independent non-overlapping unit, concrete benefit, specialist owner, and join plan.
|
|
23
|
+
- When multiple independent units are ready, launch them together rather than serializing avoidably.
|
|
24
|
+
- Parallel units must have independent inputs and non-overlapping writes.
|
|
25
|
+
- If units overlap or depend on one another, run them sequentially or keep the work direct.
|
|
26
|
+
- Do not automatically add review, test, security, coverage, or convergence lanes.
|
|
27
|
+
- Subagents never delegate and never own the final verdict.
|
|
28
|
+
- A skill or subagent returns its bounded result/need to ROSE and cannot invoke another process skill or continue through a prior context.
|
|
29
|
+
|
|
30
|
+
Use the compact packet and result contracts in `protocols/subagent-task-packet.md` and `protocols/subagent-result.md`. A packet narrows scope but never expands effective permissions.
|
|
31
|
+
|
|
32
|
+
## Separate gates
|
|
33
|
+
|
|
34
|
+
Delegation routing does not waive lifecycle, branch/status, secrets, high-risk, destructive, dependency, schema, public API, auth/security, external-operation, Git/release, A33, or verification gates. Safe in-scope local reads, edits, diagnostics, and focused checks are not approval events.
|
|
35
|
+
|
|
36
|
+
## Completion
|
|
37
|
+
|
|
38
|
+
ROSE inspects the final changed files and runs the smallest check that proves the requested claim. Unsupported claims remain `Unverified`.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Implementation Packages
|
|
2
|
+
|
|
3
|
+
An implementation package is the unit that BUILD may execute.
|
|
4
|
+
|
|
5
|
+
BUILD may receive a package explicitly from the user or synthesize an ordered package queue from approved ready artifacts. A `/build` invocation against a single ready target is enough approval to synthesize this queue; missing manual package text is not a stop condition.
|
|
6
|
+
|
|
7
|
+
## Required Fields
|
|
8
|
+
|
|
9
|
+
- goal and acceptance criteria;
|
|
10
|
+
- allowed files or scoped likely edit surface;
|
|
11
|
+
- forbidden scope;
|
|
12
|
+
- source artifacts and evidence;
|
|
13
|
+
- traceability mapping from source requirement, decision, or risk to task/package, target files or artifacts, verification command or inspection, and expected evidence or `Unverified` status;
|
|
14
|
+
- parallelism decision only when the package contains at least two independent units with a clear wall-clock or context benefit;
|
|
15
|
+
- implementation owner selected through the proactive delegation scan, with direct ROSE work as the no-trigger/blocked fallback;
|
|
16
|
+
- expected claim-matched evidence; the canonical verification owner selects the actual smallest check;
|
|
17
|
+
- final inspection relevance, Task-trigger evidence, or the concrete no-dispatch reason;
|
|
18
|
+
- objective iteration budget and the optional one-recheck limit when a targeted repair is actually required;
|
|
19
|
+
- rollback or pause condition;
|
|
20
|
+
- context/progress ledger placement when applicable;
|
|
21
|
+
- whether commits are allowed;
|
|
22
|
+
- task-end branch/worktree hygiene expectation for non-trivial closeout;
|
|
23
|
+
- packaging target/platform and package command when the user requested a packaged deliverable.
|
|
24
|
+
|
|
25
|
+
## Rules
|
|
26
|
+
|
|
27
|
+
- When no explicit package is supplied, synthesize packages from the highest-priority available artifacts: `tasks.md`, specs, design notes, `test-plan.md`, command arguments, and repository evidence.
|
|
28
|
+
- Each synthesized package names goal and acceptance criteria, likely edit surface, forbidden scope, evidence source, traceability mapping, direct owner or justified auxiliary capability, expected evidence, rollback/pause conditions, ledger handling, and commit allowance. It does not create a package approval or mandatory package-local test.
|
|
29
|
+
- For formal changes, every package must map each covered requirement, decision, or risk to the package task, file/artifact boundary, and verification/evidence target. If any link cannot be established, label it `Open Question` before dispatch when a decision is missing, or `Unverified` when evidence cannot yet prove coverage.
|
|
30
|
+
- Package implementation targets complete accepted behavior inside the package scope. `Surgical` or scoped means no unrelated changes, not artificially tiny or partial patches.
|
|
31
|
+
- When two or more independent units have a clear wall-clock or context benefit, state the safe parallel split, dependencies, owners, and join point, then dispatch the eligible lanes. Otherwise work directly and serially without ceremony.
|
|
32
|
+
- Preserve already separated package or lane boundaries unless dependency, ownership overlap, verification coupling, high-risk gating, failed/missing evidence, or explicit current user direction justifies merging or serializing them. Keep the boundary visible even when execution becomes serial.
|
|
33
|
+
- A delegated package uses the compact packet contract: goal, scope, allowed actions, expected result, and stop condition. Permissions remain those of the selected Agent; packet text never grants tools.
|
|
34
|
+
- An A33 attached-target package names one approved target repository/cwd and references current `WT-001` evidence without duplicating or rebinding Git identity or operation approval. All managed subagents remain external-directory denied. A30 packet/overlay fields are historical compatibility notes, not current authority.
|
|
35
|
+
- Preserve dependency order. Prefer dynamic increments that can be implemented completely and remain independently traceable/reviewable; use verifiability, conflict-free ownership, and clean handoff as sizing boundaries rather than fixed file counts.
|
|
36
|
+
- Run the proactive delegation scan before package execution. Explicit user request, required specialist capability, materially noisy context, or independent units with clear benefit dispatches Task unless overlap, dependency, permission, ownership, or negative-benefit evidence blocks it. Default concurrency is at most two but is not a hard cap; larger bounded fan-out requires independent non-overlapping units, concrete benefit, suitable owners, and an explicit join plan. ROSE remains responsible for integration, progress-ledger writes, and final judgment.
|
|
37
|
+
- Keep packages independently reviewable where practical.
|
|
38
|
+
- Do not combine unrelated feature, harness, install, and documentation work unless explicitly approved.
|
|
39
|
+
- Every package finishes complete accepted behavior and a lightweight savepoint; optional package-local feedback does not substitute for final direct inspection. Package 1–12 naming is historical to `complete-aili-workflow-orchestration`, not a generic queue shape.
|
|
40
|
+
- Final quality starts with the proactive delegation scan: an eligible concrete gap dispatches its auxiliary capability, while no-trigger/blocked work remains direct. ROSE inspects the final diff and affected links, selects the smallest claim-matched check, and allows one targeted repair/recheck.
|
|
41
|
+
- If the user requested packaging, run the claim-matched checks before packaging, repair an in-scope failure once, run the package/build command as separate evidence, and report any remaining blocker. External publishing, signing, credentials, dependency changes, or destructive cleanup retain exact approvals.
|
|
42
|
+
- Workers return compact reports/evidence only. They do not write `progress.txt` and do not issue final PASS/FAIL/`Unverified` judgments. Their report must preserve the package traceability mapping by naming changed files/artifacts and verification evidence for each covered requirement, decision, or risk.
|
|
43
|
+
- For non-trivial package closeout, inspect branch/status, classify dirty paths as task-scoped, unrelated/pre-existing, generated/ignored, scratch, or unknown, remove only safe task-owned non-user-visible scratch artifacts, and ask explicit approval before push, destructive clean/reset, branch deletion, worktree removal, OpenSpec archive, stashing unrelated changes, or deleting user-visible artifacts.
|
|
44
|
+
- Pause if the package requires new dependencies, lockfile changes, schema changes, public API/auth/security changes, forbidden files, broader scope than approved, signing/notarization credentials, external access/publishing, secret handling, destructive cleanup, or unsupported platform assumptions.
|
|
45
|
+
|
|
46
|
+
## Autonomous Queue Exit Criteria
|
|
47
|
+
|
|
48
|
+
Continue through the queue until one of these is true:
|
|
49
|
+
|
|
50
|
+
- The accepted scoped queue is completely implemented/savepointed and ROSE has completed the final inspection, including any trigger-eligible delegated evidence and one permitted targeted recheck;
|
|
51
|
+
- a stop condition requires explicit user approval;
|
|
52
|
+
- a package is blocked by missing target/readiness evidence, unverifiable accepted behavior, or exhausted canonical objective budgets;
|
|
53
|
+
- the target repository root cannot be canonicalized inside the current workspace or allowed external directories;
|
|
54
|
+
- the user interrupts or narrows the goal.
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
# Delivery Lifecycle
|
|
2
|
+
|
|
3
|
+
AILI delivery has four public modes. The mode gate is mandatory even when a backend contains tasks that appear ready to execute.
|
|
4
|
+
|
|
5
|
+
## Ordinary / Formal / Material Classifier
|
|
6
|
+
|
|
7
|
+
Commands and equivalent natural-language intent use the same semantic classifier and evidence record. A request is `ordinary` only when **all** are true: it seeks one bounded outcome; changes no accepted contract, public API, schema/data model, auth/permission/security, dependency/lockfile, destructive operation, release/deployment, scope/task/acceptance/risk/implemented behavior, architecture, or cross-package durable criterion; is likely completable in the current session with focused verification; and needs no multiple independent packages, cross-session work, or formal review/test/security acceptance. File count, text length, and estimated time are not authority.
|
|
8
|
+
|
|
9
|
+
Any explicit formal spec/change/plan or implementation DEFINE, material change listed above, sensitive named decision, multi-package/cross-session/formal-acceptance need, or architecture/data/cross-package decision is `formal/material`. Lifecycle words used only for explanation, comparison, translation, or status remain ordinary lexical near misses. A material clause wins conflicting “only analyze/do not formalize” wording; a separate explicit no-write/chat-only clause still prevents persistence.
|
|
10
|
+
|
|
11
|
+
Record route, class, decisive evidence, active/resolved change identity, unresolved ambiguity, and next gate. Ask one decision-changing question only when one answer controls class or identity. On the first hard trigger in an ordinary thread, escalate exactly once and create/reuse one OpenSpec change; preserve history and reuse it for later material deltas.
|
|
12
|
+
|
|
13
|
+
## Startup Git Host and Repository Targets
|
|
14
|
+
|
|
15
|
+
For current A33 routing, the user selects the host by starting OpenCode in that Git repository. A non-Git startup root blocks. AILI never ranks, moves, broadly scans for, or auto-selects a host. Each lane targets exactly one declared repository/cwd under its current `WT-001` evidence; target rules may narrow but never broaden, a same-level conflict blocks, and user-visible artifacts remain in the owning target repository. Historical A30/A31 external-read routing remains history only.
|
|
16
|
+
|
|
17
|
+
An attachment is admitted only at exact `<session-root>/.worktrees/<repo_key>/<worktree_key>` when the exact prospective destination is ignored by root `/.worktrees/` with no re-inclusion or tracked content; both keys satisfy `^[A-Za-z0-9][A-Za-z0-9._-]{0,63}$` and are non-reserved/path-safe; no path/key/branch/worktree collision exists; source/path/submodule topology is trusted and unambiguous; host/source/target identity evidence is distinct; and branch, base ref, `branch_mode:existing|create`, and source `reflog_policy:enabled|disabled` are explicit. Failure blocks without suffix, guess, force, `-B`, orphan, remote guess, implicit ref, or silent ignore edit.
|
|
18
|
+
|
|
19
|
+
Admission is not operation authority. PREPARE performs no add/remove. Every real or `driver_fixture` ADD and later non-force REMOVE requires its own fresh exact operation/key/class-bound approval. ADD additionally requires accepted trusted-code risk; an observed REMOVE uses `trusted_code_risk:not_applicable` only under a separate complete deletion-inventory/risk gate. Target rules are re-read at the operation/dispatch boundary and may narrow only. Common-dir path identity and unrelated/prunable state must remain unchanged; only the exact declared admin entry/membership and branch-mode/reflog-policy-authorized ADD ref transaction may change, while REMOVE retains branch ref/reflog. Rollback preserves worktrees/evidence and grants no removal authority.
|
|
20
|
+
|
|
21
|
+
## Lifecycle Hydration Gate
|
|
22
|
+
|
|
23
|
+
Hydration is mode-, dependency-, and event-directed:
|
|
24
|
+
|
|
25
|
+
- new DEFINE reads the resolved change identity plus dependencies and evidence needed for the next artifact;
|
|
26
|
+
- DEFINE continuation reads the changed artifact and direct dependents; progress/drift only when resume, deviation, or conflict makes them relevant;
|
|
27
|
+
- BUILD start/resume reads the accepted final-test-plan gate, current tasks/package and owning contract sections, target/Git/rules, and affected verification;
|
|
28
|
+
- SHIP reads the implemented diff/tree, current BUILD evidence, explicit target, and only affected/stale risk, integration, packaging, or release owners;
|
|
29
|
+
- ordinary continuation reads the current request and directly relevant files; it performs no formal hydration unless formal work is explicitly resumed or changed.
|
|
30
|
+
|
|
31
|
+
Re-read every file written by ROSE once before using it as durable evidence. A user correction, write, hook, content/config/dependency/toolchain/target event, or conflict invalidates that evidence and its dependents only. Phase movement, elapsed time, file presence, or generic `continue` never forces all artifacts to be re-read.
|
|
32
|
+
|
|
33
|
+
When an A33 boundary is actually involved, revalidate the canonical user-selected Git startup host and current permissions. For every declared attachment, separately revalidate exact `repo_key`/`worktree_key`, current target canonical root/toplevel/private-dir/common-dir/HEAD/branch/membership, dirty and tracked/untracked/ignored/artifact/unknown file state, applicable target rules, owning-repository artifact destinations, and current applicable `WT-001` host/source/target identity evidence. Never require cross-repository common-dir equality or reuse one attachment's evidence for another. Idea capsules/inbox, legacy `implementation-notes.html`, packets, handoff, memory, checkpoints, stale chat summaries, old logs, DCP/compression state, and task checkboxes remain navigation or migration evidence only; none establishes contract, runtime binding, authorization, operation approval, completion, or freshness.
|
|
34
|
+
|
|
35
|
+
Ordinary one-turn/report-only work that neither opens nor uses memory and has no formal long-running/resume/context-loss boundary writes no memory start/end receipt. Named formal continuity events or actual current-task memory use require the applicable scoped checkpoint/completion receipt, which remains non-authoritative. Handoff likewise requires explicit user intent or an already accepted lifecycle trigger, uses a repository-local redacted reference-first artifact, and promotes no durable memory by default. For A33, handoff/checkpoint records owning-repository destinations and preserved rollback worktree/evidence references; every later ADD or non-force REMOVE requires a new exact operation/key/class-bound approval and no continuity artifact broadens access.
|
|
36
|
+
|
|
37
|
+
## Optional Capability Gates
|
|
38
|
+
|
|
39
|
+
Run the proactive delegation scan across commands and natural-language routes. When an existing Task trigger is met, dispatch before duplicating that assignment directly; direct work is the fallback when no trigger is met or delegation is concretely blocked. Do not create a parallelism report, ownership table, research chain, or stress-test merely because work has multiple steps, files, artifacts, or packages.
|
|
40
|
+
|
|
41
|
+
- Dispatch concurrent tools or Task when actual independent units have clear wall-clock/context benefit or a concrete capability gap. One auxiliary capability defaults to at most two contexts, but this is not a hard cap; ROSE chooses any larger bounded fan-out only for independent non-overlapping units with concrete benefit, suitable owners, and an explicit join plan. Otherwise work directly without user-facing ceremony.
|
|
42
|
+
- Look up only the missing source class capable of changing a material decision: current repository evidence for local facts, official/current evidence for a version-sensitive question, or mature prior art on explicit request or a named design gap. Do not run all classes automatically. Incorporation creates no scheme/research/plan approval; unresolved material evidence still blocks final acceptance.
|
|
43
|
+
- Run one bounded `strategy-stress-test` only on explicit intent or a named material loophole in a concrete artifact. Otherwise inspect and repair the owning artifact directly.
|
|
44
|
+
- User-requested packaging: packaging is a delivery step after claim-matched checks, not a substitute for them. Confirm a materially ambiguous target/platform, run the selected focused verification, allow at most one in-scope targeted repair/recheck/repackage, and report the artifact path or blocker. Pause for signing/notarization credentials, dependency or lockfile changes, external publishing, destructive cleanup, secret handling, or unsupported platform assumptions unless explicitly approved.
|
|
45
|
+
|
|
46
|
+
## IDEATE
|
|
47
|
+
|
|
48
|
+
Use when the idea is unclear, broad, or competing options exist.
|
|
49
|
+
|
|
50
|
+
- Inputs: user goal, constraints, existing context.
|
|
51
|
+
- Actions: run the proactive delegation scan, explore alternatives, identify assumptions, and collect evidence needs. Under `direct-vs-delegated-work.md`, explicit request or clear specialist, noisy-context, or independent-parallel benefit dispatches Task promptly; work directly only when no trigger applies or delegation is concretely blocked. When a candidate idea should be preserved without formalizing a change, write a lightweight idea capsule or update backend-neutral `ideas/workflow-inbox.md` if artifact placement is allowed.
|
|
52
|
+
- Outputs: idea brief, option list, open questions, recommended next mode, and optional idea capsule or `ideas/workflow-inbox.md` update.
|
|
53
|
+
- Hard stop: no production code or harness file edits.
|
|
54
|
+
- Do not create a formal OpenSpec proposal by default during pure IDEATE; DEFINE promotes only selected ideas into backend-specific change artifacts.
|
|
55
|
+
- Writing an IDEATE capsule/inbox entry does not write requirement memory unless the user also states a safe, scoped fact that independently satisfies the memory gate.
|
|
56
|
+
|
|
57
|
+
## DEFINE
|
|
58
|
+
|
|
59
|
+
Use when the goal is plausible but not ready to implement.
|
|
60
|
+
|
|
61
|
+
- Inputs: current goal, relevant issue/spec/code/docs evidence, and only prior artifacts required by the next dependency.
|
|
62
|
+
- Actions: create/reuse one OpenSpec change by scope; ask one identity question and write nothing if genuinely ambiguous. Follow current OpenSpec instruction/status dependencies and write/re-read each applicable artifact once. Route material clarification to `requirements-grilling`/`interview.md` and test-plan generation to `test-document-generator`; neither auto-invokes another process skill. Close only decision-shaping source gaps before final acceptance and run strict validation. Do not ask per-artifact persistence questions.
|
|
63
|
+
- Outputs: confirmed scope, unresolved questions, confirmed decisions, rejected options, test traceability, artifacts created/updated, and build-readiness status: `READY` or `BLOCKED`. A named non-material runtime residual may remain `Unverified` under a fail-closed runtime/operation gate, but waiver or accepted-`Unverified` wording is not a readiness alternative.
|
|
64
|
+
- Hard stop: do not implement until artifacts are coherent and strictly valid, no material product question or decision-shaping research gap remains, and the user explicitly accepts the final `test-plan.md`. A waiver or accepted-`Unverified` label cannot clear a material research gap. This is the sole mandatory lifecycle approval; permission/risk/destructive-operation gates remain separate.
|
|
65
|
+
- Continuity default: after identity resolves, write and re-read applicable OpenSpec artifacts without per-artifact or per-fact prompts. If multiple plausible changes remain, ask exactly one change-identity question and write nothing until resolved.
|
|
66
|
+
|
|
67
|
+
## BUILD
|
|
68
|
+
|
|
69
|
+
Use only on explicit command or equivalent natural-language implementation intent for the resolved accepted change. BUILD is neutral bounded package execution. Final test-plan acceptance alone is zero execution.
|
|
70
|
+
|
|
71
|
+
- Inputs: one ready target, current accepted final `test-plan.md`, current tasks/package and owning contract sections, target rules/state, acceptance criteria, forbidden scope, and affected verification path. Read progress or bounded drift only when resume/deviation/conflict makes it relevant. Named non-material runtime residuals remain `Unverified` under separate fail-closed gates.
|
|
72
|
+
- Actions: apply the directed hydration set; confirm exact locality/contracts or diagnose one bounded failure. Open-ended exploration and mature-prior-art research block in BUILD. Resolve the declared target without selecting another host; synthesize the ordered queue from the accepted contract; implement complete scoped packages in dependency order; record lightweight savepoints; and trigger no package test, review, commit, or approval merely at a boundary. ROSE then inspects the final changed scope and affected links and selects the smallest completion check. Use one auxiliary capability only for a concrete gap, permit at most one targeted repair/recheck, and stop without automatic swarm, broad matrix, commit, push, PR, or SHIP transition. Success records `IMPLEMENTED_TARGETED_VERIFIED`. This umbrella's Package 12 name is historical, not a generic requirement.
|
|
73
|
+
- Outputs: target and outer profile, active-contract package queue, progress-ledger savepoints, completed/blocked packages, changed files/artifacts mapped to requirements/decisions/risks, canonical envelope/budget state, minimal completion evidence when reached, branch/worktree hygiene, residual risks, and traceability gaps labeled `Open Question` or `Unverified`.
|
|
74
|
+
- Hard stop: pause on ambiguous or missing target, missing current research closure or final-test-plan acceptance/readiness evidence, target repository outside the declared/allowed scope, scope expansion, forbidden file edits, high-risk operations requiring explicit approval, unverifiable acceptance criteria, exhausted canonical objective budgets, or an unresolved blocker after the one permitted targeted repair/recheck. A discovery changing scope, architecture, dependency, public contract, permissions, acceptance, or verification strategy is `BUILD_MATERIAL_DISCOVERY`: record the discovery and affected artifacts, stop before changed work, and return to DEFINE writeback/re-read/strict validation and renewed final acceptance. Optional specialist evidence is never a prerequisite unless a concrete capability gap made that specialist necessary. No waiver or other artifact approval substitutes for final test-plan acceptance. Do not pause solely because the user omitted a manual implementation package; synthesize the queue instead.
|
|
75
|
+
|
|
76
|
+
### Natural continuation and compound ordering
|
|
77
|
+
|
|
78
|
+
- Resume wording (`continue`, `继续`, `go ahead`, `继续做`) resumes exactly one active authorized envelope when target, exact phase, current acceptance/material gates, and remaining budget are unambiguous. Preserve consumed counters, token accounting state, overshoot, and stop state. Resume cannot broaden authorization, reset budget, change phase/target, or refresh acceptance; otherwise ask exactly one target/authorization question and do no loop/write/mutation.
|
|
79
|
+
- A material acceptance/verification change returns to DEFINE, writes/re-reads/revalidates affected artifacts, and stales prior acceptance when the final acceptance contract changes. It never resumes BUILD.
|
|
80
|
+
- Same-turn acceptance plus BUILD persists/classifies the answer in `interview.md`, updates the final test-plan gate/checklist, re-reads both, then runs strict validation and target/package/permission/verification/budget checks before any execution. No test execution-ledger row appears before BUILD actually starts.
|
|
81
|
+
- Explicit no-write/chat-only overrides formal writeback and both compounds for the current turn: return a blocked/`Unverified` preview; preserve pending state; perform zero persistence, acceptance, execution, mutation, ledger entry, or budget consumption.
|
|
82
|
+
- “Implement and then ship” authorizes current-phase BUILD only. Later SHIP needs fresh evidence and new explicit intent.
|
|
83
|
+
|
|
84
|
+
### Formal interval/event protocol routing and identity
|
|
85
|
+
|
|
86
|
+
An explicit formal **documentation-only** request for an external/manual AILI interval or event protocol routes to DEFINE. Missing documentation scope or external/manual trigger details cause one focused documentation-protocol question with zero execution. A request for AILI itself to execute, register, or run that lifecycle protocol is not ambiguous documentation: block it with zero mutation and zero LP. Store or reuse one stable `LP-INTERVAL-NNN` or `LP-EVENT-NNN` body only under the active change's `design.md` `## Loop Protocols`; tasks/test-plan/context may reference its ID but never duplicate the body. Ordinary discussion writes no LP. Missing/duplicate IDs or duplicate bodies block validation. Explicit product/repository automation remains governed by the following paragraph instead of this protocol-only block.
|
|
87
|
+
|
|
88
|
+
Hidden or unrequested AILI self-automation/background lifecycle registration or execution remains blocked with zero mutation and zero LP. A mixed hidden-automation plus protocol-documentation request also creates no LP until later documentation-only restatement. Explicitly scoped product/repository CI, cron, scheduler, watcher, webhook/listener, queue, daemon, hook, dependency, or auto-retry remains eligible through the ordinary/formal classifier and every applicable high-risk, dependency/lockfile, permission, external-write, credential, persistent-service, destructive, ownership, verification, and exact-operation gate; do not replace it with an AILI LP or reject it merely because automation nouns appear. Vocabulary-only comparisons remain ordinary. Documentation-only AILI interval/event requests may define the design-owned external/manual LP but create no runtime or lifecycle permission. A current no-write override still wins.
|
|
89
|
+
|
|
90
|
+
`ROUTE-007` identity handling is single-authority behavior:
|
|
91
|
+
|
|
92
|
+
1. Every body persists exactly `profile`, `change_id`, `scope_id`, `trigger_source_id`, and `identity_key`; profile is `interval|event`, change ID is current, slugs are stable lower-kebab-case, and project-relative POSIX paths are case-preserving with no absolute root, backslash, `.` or `..` segment.
|
|
93
|
+
2. Eligible natural-language/raw user text is normalized to NFC, trimmed, and has internal ASCII whitespace collapsed before slug resolution; path resolution uses NFC while preserving case. Resolve synonyms once to explicit IDs. Controls, newline, and NUL reject before serialization. Ambiguity asks once and writes nothing. Canonically equivalent composed/decomposed natural input therefore reuses one identity.
|
|
94
|
+
3. Persisted/already-structured identity is never repaired in place. Its key must be raw-NFC UTF-8 compact JSON (`ensure_ascii=false`) of the first four fields in exact order with no insignificant whitespace. Alternate non-control `\uXXXX`, decomposed Unicode, controls/newline/NUL, field reordering, JSON whitespace, or field/key mismatch is corruption and hard-blocks without write.
|
|
95
|
+
4. One valid identical key reuses its LP. A distinct key re-reads `design.md` immediately before allocation and uses the maximum existing suffix for that profile plus one with at least three digits; gaps and retired IDs are never reused.
|
|
96
|
+
5. A clean candidate-ID race permits one immediate re-read/max-plus-one recompute; a second race blocks without write. Duplicate identity keys, duplicate IDs/bodies, malformed identity, or conflicting bodies are corruption—not races—and hard-block immediately without allocation/recompute/retry/write.
|
|
97
|
+
|
|
98
|
+
The byte oracle for fields `event`, `complete-aili-workflow-orchestration`, `docs/设计/Review.md`, `ci-failure` is exactly raw-NFC `{"profile":"event","change_id":"complete-aili-workflow-orchestration","scope_id":"docs/设计/Review.md","trigger_source_id":"ci-failure"}`. Its UTF-8 hexadecimal bytes are `7b 22 70 72 6f 66 69 6c 65 22 3a 22 65 76 65 6e 74 22 2c 22 63 68 61 6e 67 65 5f 69 64 22 3a 22 63 6f 6d 70 6c 65 74 65 2d 61 69 6c 69 2d 77 6f 72 6b 66 6c 6f 77 2d 6f 72 63 68 65 73 74 72 61 74 69 6f 6e 22 2c 22 73 63 6f 70 65 5f 69 64 22 3a 22 64 6f 63 73 2f e8 ae be e8 ae a1 2f 52 65 76 69 65 77 2e 6d 64 22 2c 22 74 72 69 67 67 65 72 5f 73 6f 75 72 63 65 5f 69 64 22 3a 22 63 69 2d 66 61 69 6c 75 72 65 22 7d`.
|
|
99
|
+
|
|
100
|
+
## SHIP
|
|
101
|
+
|
|
102
|
+
Use only after BUILD records `IMPLEMENTED_TARGETED_VERIFIED` and a fresh explicit SHIP intent requests handoff, merge, release, or closeout.
|
|
103
|
+
|
|
104
|
+
Natural-language SHIP requires explicit review/repair/closeout intent for an implemented change plus current implementation evidence. DEFINE artifacts, final-plan acceptance, direct generated-adapter output, and earlier combined BUILD/SHIP wording are insufficient.
|
|
105
|
+
|
|
106
|
+
## Generated Direct Adapter Boundary
|
|
107
|
+
|
|
108
|
+
AILI guarantees only IDEATE, DEFINE, BUILD, and SHIP, selected by command or equivalent natural language. Current generated `.opencode` `/opsx-*`, apply/continue/archive, and `openspec-*` adapters remain unchanged external direct routes. Never route/recommend AILI users to them, hand-edit/wrap/suppress/prevent them, or treat their direct result as AILI acceptance/readiness/verification/convergence/closeout evidence. A later AILI route establishes its own current state. Adapter integration/control is Phase II.
|
|
109
|
+
|
|
110
|
+
- Inputs: implemented diff/tree, current `IMPLEMENTED_TARGETED_VERIFIED` evidence, explicit SHIP target, and closeout claim. Read `context.md`, `progress.txt`, bounded `drift-log.md`, or legacy migration evidence only when the directed SHIP dependency set requires it.
|
|
111
|
+
- Actions: require fresh explicit SHIP intent; apply the directed SHIP read set; reuse BUILD evidence that still covers the exact content/tree, target, config, dependencies, toolchain, hooks, and merge result; refresh only stale, scope-affected, risk-triggered, integration, packaging, release, merge-result, or target-specific evidence. Phase/time and unchanged transport do not stale evidence. A review/test/security or matrix capability is optional only for one concrete affected claim. Run task-end branch/worktree hygiene for non-trivial closeout and prepare closeout.
|
|
112
|
+
- Outputs: BUILD gate status, release-blocker audit target and finding classifications, spec coverage check summary, release-readiness summary, final evidence or compact evidence packs, branch/worktree hygiene status, closeout report, archive/sync/memory/PR/release next steps when approved. Ambiguous "archive" or "归档" requests require target confirmation before compression or file writes.
|
|
113
|
+
- Hard stop: do not claim ready without claim-matched fresh evidence and resolved blocking findings. Commit, push, merge, and release each need exact action-specific approval. CI failure reports the failed check, target, and commit/tree evidence and stops for user decision; never auto-repair, commit, push, merge, or release. Preserve explicit `Open Question` / `Unverified` items.
|
|
114
|
+
|
|
115
|
+
## Task-End Branch/Worktree Hygiene Gate
|
|
116
|
+
|
|
117
|
+
For non-trivial BUILD and SHIP closeout, inspect `git status --short --branch` in the target repository and classify dirty paths as task-scoped, unrelated/pre-existing, generated/ignored, scratch, or unknown. Remove only safe task-owned, non-user-visible scratch artifacts created by the current task. Propose cleanup for remaining residue, and ask explicit approval before push, destructive clean/reset, branch deletion, worktree removal, OpenSpec archive, stashing unrelated changes, or deleting user-visible artifacts. Savepoint commits may be proactive only when current task/project rules explicitly allow task-scoped verified commits; otherwise ask once with the cleanup package.
|
|
118
|
+
|
|
119
|
+
## Change Revision Decision
|
|
120
|
+
|
|
121
|
+
When bugs or adjustments appear after a lifecycle pass:
|
|
122
|
+
|
|
123
|
+
- Same intent, overlapping scope, and not archived: update the current change, add repair tasks, and update `test-plan.md` defect/fix coverage.
|
|
124
|
+
- Additional in-scope implementation requested after BUILD: return to the bounded BUILD owner for the changed scope and a newly selected claim-matched check.
|
|
125
|
+
- Same scope after SHIP but before archive: repair the current change and rerun only the checks selected for the affected claim.
|
|
126
|
+
- Archived, merged, or released: create a new fix change and reference the source change instead of rewriting history.
|
|
127
|
+
- Workflow, command, skill, memory, subagent, installer, or tool-policy defect: return the defect to ROSE; diagnosis and any later approved evolution are separate bounded loops, never a skill-to-skill auto-chain.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Acceptance Test Plan Protocol
|
|
2
|
+
|
|
3
|
+
- Trace ID:
|
|
4
|
+
- Scope under test:
|
|
5
|
+
- Requirements covered:
|
|
6
|
+
- Traceability matrix:
|
|
7
|
+
- requirement/decision/risk:
|
|
8
|
+
- task/package:
|
|
9
|
+
- file/artifact:
|
|
10
|
+
- verification command or inspection:
|
|
11
|
+
- evidence:
|
|
12
|
+
- coverage status: planned | covered | Open Question | Unverified
|
|
13
|
+
- Test cases:
|
|
14
|
+
- Negative cases:
|
|
15
|
+
- Commands/manual checks:
|
|
16
|
+
- Evidence to collect:
|
|
17
|
+
- Out-of-scope checks:
|
|
18
|
+
- Open Questions / Unverified risks:
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
# Closeout Report Protocol
|
|
2
|
+
|
|
3
|
+
Use this protocol for the repository-local Markdown document required by SHIP. Write the report body in Chinese unless the active contract explicitly requests another language.
|
|
4
|
+
|
|
5
|
+
Default locations:
|
|
6
|
+
|
|
7
|
+
- OpenSpec-backed change: `openspec/changes/<change-id>/ship-closeout.md`
|
|
8
|
+
- Non-OpenSpec change: ask for a repository-local path before the final verdict if no approved path exists
|
|
9
|
+
|
|
10
|
+
# SHIP Closeout Report
|
|
11
|
+
|
|
12
|
+
## 1. 元信息
|
|
13
|
+
|
|
14
|
+
- Trace ID:
|
|
15
|
+
- Outcome: pass | blocked | needs-review
|
|
16
|
+
- Mode / backend:
|
|
17
|
+
- Closeout document path:
|
|
18
|
+
- Completed scope:
|
|
19
|
+
- Changed files:
|
|
20
|
+
- BUILD gate status:
|
|
21
|
+
- Branch/worktree hygiene status:
|
|
22
|
+
- Approval/archive status:
|
|
23
|
+
|
|
24
|
+
## 2. 变更摘要
|
|
25
|
+
|
|
26
|
+
- 本次提案/变更实际完成了什么:
|
|
27
|
+
- 明确未覆盖或未纳入范围的内容:
|
|
28
|
+
- 与原始 proposal / spec / task 的偏差:
|
|
29
|
+
|
|
30
|
+
## 3. 已实现行为
|
|
31
|
+
|
|
32
|
+
- 新增、修改或移除的用户可见行为:
|
|
33
|
+
- 内部工作流、配置、权限、数据或接口行为变化:
|
|
34
|
+
- 回滚或恢复方式(如适用):
|
|
35
|
+
|
|
36
|
+
## 4. 对既有功能的影响
|
|
37
|
+
|
|
38
|
+
- 可能受影响的既有功能:
|
|
39
|
+
- 已确认不受影响的功能及证据:
|
|
40
|
+
- 影响范围证据锚点:
|
|
41
|
+
|
|
42
|
+
## 5. 风险评估
|
|
43
|
+
|
|
44
|
+
### 5.1 回归风险
|
|
45
|
+
|
|
46
|
+
- 风险:
|
|
47
|
+
- 证据 / 缓解:
|
|
48
|
+
|
|
49
|
+
### 5.2 兼容性风险
|
|
50
|
+
|
|
51
|
+
- 风险:
|
|
52
|
+
- 证据 / 缓解:
|
|
53
|
+
|
|
54
|
+
### 5.3 安全 / 权限风险
|
|
55
|
+
|
|
56
|
+
- 风险:
|
|
57
|
+
- 证据 / 缓解:
|
|
58
|
+
|
|
59
|
+
### 5.4 工作流 / 数据丢失 / 运维风险
|
|
60
|
+
|
|
61
|
+
- 风险:
|
|
62
|
+
- 证据 / 缓解:
|
|
63
|
+
|
|
64
|
+
## 6. Release-blocker audit
|
|
65
|
+
|
|
66
|
+
- Target / scope:
|
|
67
|
+
- Fresh evidence:
|
|
68
|
+
- Compact evidence packs:
|
|
69
|
+
- Blocking findings:
|
|
70
|
+
- Important findings:
|
|
71
|
+
- Accepted-risk findings:
|
|
72
|
+
- Out-of-scope findings:
|
|
73
|
+
- `Unverified` items:
|
|
74
|
+
|
|
75
|
+
## 7. 分支 / 工作区清理门
|
|
76
|
+
|
|
77
|
+
- Branch/status inspected:
|
|
78
|
+
- Dirty path classification(task-scoped / unrelated-pre-existing / generated-ignored / scratch / unknown):
|
|
79
|
+
- Safe task-owned scratch removed:
|
|
80
|
+
- Cleanup proposed / approval required:
|
|
81
|
+
|
|
82
|
+
## 8. 验证证据
|
|
83
|
+
|
|
84
|
+
- Verification run:
|
|
85
|
+
- Evidence anchors:
|
|
86
|
+
- Raw evidence access / rerun commands(prefer rerun commands; redact/exclude secrets and do not create raw artifacts without explicit approval):
|
|
87
|
+
- 未运行的检查及原因:
|
|
88
|
+
- 证据新鲜度说明:
|
|
89
|
+
|
|
90
|
+
## 9. 剩余风险与未验证项
|
|
91
|
+
|
|
92
|
+
- Remaining risks:
|
|
93
|
+
- `Unverified` items:
|
|
94
|
+
- 需要人工确认的问题:
|
|
95
|
+
|
|
96
|
+
## 10. 建议与下一步
|
|
97
|
+
|
|
98
|
+
- Recommendation: archive | needs repair | needs more verification | accepted risk
|
|
99
|
+
- Follow-up package:
|
|
100
|
+
- Memory writeback receipt:
|
|
101
|
+
- Next steps:
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Compact Evidence Pack Protocol
|
|
2
|
+
|
|
3
|
+
Repository source path: `.agents/skills/aili-delivery-flow/references/protocols/compact-evidence-pack.md`. Installed runtime target: `$HOME/.agents/skills/aili-delivery-flow/references/protocols/compact-evidence-pack.md`.
|
|
4
|
+
|
|
5
|
+
Use a compact evidence pack when evidence is noisy, long, broad, multi-source, or otherwise too bulky for a concise BUILD/SHIP report, memory writeback, or subagent result. Compression is not proof by itself; every pack must preserve a source, result, and a rerun path or safe raw-artifact path when raw evidence is needed.
|
|
6
|
+
|
|
7
|
+
```text
|
|
8
|
+
Compact evidence pack:
|
|
9
|
+
- Evidence id:
|
|
10
|
+
- Source: command / file inspection / subagent trace / artifact path
|
|
11
|
+
- Scope: files, directories, package, or workflow area covered
|
|
12
|
+
- Freshness: fresh / stale / rerun-needed / unverified
|
|
13
|
+
- Result: pass / fail / partial / blocked / not-run
|
|
14
|
+
- Exit code: <code or N/A>
|
|
15
|
+
- Key observations:
|
|
16
|
+
- <fact with anchor>
|
|
17
|
+
- Key failure excerpt:
|
|
18
|
+
- <minimal relevant error lines, or N/A>
|
|
19
|
+
- Raw evidence access: rerun command / repository-local artifact path / unavailable with reason
|
|
20
|
+
- Unverified items:
|
|
21
|
+
- <item or N/A>
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
## When required
|
|
25
|
+
|
|
26
|
+
Use a compact evidence pack for:
|
|
27
|
+
|
|
28
|
+
- verbose test, build, lint, typecheck, CI, or shell output;
|
|
29
|
+
- failed commands with long logs;
|
|
30
|
+
- broad search, grep, diff, or repository-scout evidence;
|
|
31
|
+
- multi-package or multi-review reconciliation;
|
|
32
|
+
- SHIP closeout evidence that would otherwise paste raw logs or long dumps.
|
|
33
|
+
|
|
34
|
+
Short successful checks may be reported directly when the command, scope, result, and remaining `Unverified` items are clear without the full pack shape.
|
|
35
|
+
|
|
36
|
+
## Raw evidence rules
|
|
37
|
+
|
|
38
|
+
- Do not paste full raw logs, long grep dumps, long diffs, or full file contents into final reports, memory, or subagent results by default.
|
|
39
|
+
- Include only the minimal key failure excerpt needed for action.
|
|
40
|
+
- If raw evidence must be user-visible, the active contract or project rules must name a repository-local placement. For OpenSpec changes, use `openspec/changes/<change-id>/evidence/` only when explicitly approved or required by the task packet.
|
|
41
|
+
- If raw evidence is available only in tool output, record the rerun command instead of inventing an artifact path.
|
|
42
|
+
- Redact or exclude secrets, credentials, cookies, tokens, private keys, and production-sensitive data.
|
|
43
|
+
|
|
44
|
+
## Final-report rule
|
|
45
|
+
|
|
46
|
+
BUILD and SHIP reports must cite compact evidence for noisy evidence claims, list skipped checks and remaining `Unverified` items, and avoid complete logs unless the user explicitly requests them and the content has been checked as safe to show.
|