@mstar-harness/omp 3.6.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +63 -0
- package/agents/architect.md +35 -0
- package/agents/code-reviewer.md +90 -0
- package/agents/frontend-dev.md +33 -0
- package/agents/fullstack-dev-2.md +33 -0
- package/agents/fullstack-dev.md +33 -0
- package/agents/ops-engineer.md +33 -0
- package/agents/product-manager.md +35 -0
- package/agents/project-manager.md +32 -0
- package/agents/prompt-engineer.md +33 -0
- package/agents/qa-engineer.md +35 -0
- package/agents/qc-specialist-2.md +62 -0
- package/agents/qc-specialist-3.md +62 -0
- package/agents/qc-specialist.md +62 -0
- package/agents/writing-specialist.md +35 -0
- package/assets/icon.png +0 -0
- package/assets/logo-dark.png +0 -0
- package/assets/logo-dark.svg +6 -0
- package/assets/logo.png +0 -0
- package/assets/logo.svg +6 -0
- package/commands/amazing-pr-review.md +31 -0
- package/commands/codebase-audit.md +40 -0
- package/commands/iteration-drive.md +48 -0
- package/commands/iteration-loop.md +99 -0
- package/commands/iteration-start.md +122 -0
- package/dist/hooks/pre/mstar-gates.js +6579 -0
- package/dist/tools/mstar_dispatch_validate/index.js +6291 -0
- package/dist/tools/mstar_iteration_gate/index.js +6321 -0
- package/dist/tools/mstar_lease_verify/index.js +6343 -0
- package/dist/tools/mstar_path_resolve/index.js +6297 -0
- package/dist/tools/mstar_status_validate/index.js +6402 -0
- package/dist/tools/mstar_worktree_check/index.js +6343 -0
- package/harness-agents/architect.md +35 -0
- package/harness-agents/code-reviewer.md +90 -0
- package/harness-agents/frontend-dev.md +33 -0
- package/harness-agents/fullstack-dev-2.md +33 -0
- package/harness-agents/fullstack-dev.md +33 -0
- package/harness-agents/ops-engineer.md +33 -0
- package/harness-agents/product-manager.md +35 -0
- package/harness-agents/project-manager.md +32 -0
- package/harness-agents/prompt-engineer.md +33 -0
- package/harness-agents/qa-engineer.md +35 -0
- package/harness-agents/qc-specialist-2.md +62 -0
- package/harness-agents/qc-specialist-3.md +62 -0
- package/harness-agents/qc-specialist.md +62 -0
- package/harness-agents/writing-specialist.md +35 -0
- package/harness-commands/amazing-pr-review.md +31 -0
- package/harness-commands/codebase-audit.md +40 -0
- package/harness-commands/iteration-drive.md +48 -0
- package/harness-commands/iteration-loop.md +99 -0
- package/harness-commands/iteration-start.md +122 -0
- package/harness-skills/grill-me/SKILL.md +10 -0
- package/harness-skills/mstar-artifacts/SKILL.md +66 -0
- package/harness-skills/mstar-artifacts/references/knowledge-and-designs.md +110 -0
- package/harness-skills/mstar-artifacts/references/plan-files-and-reports.md +98 -0
- package/harness-skills/mstar-artifacts/references/plan-quality-bar.md +99 -0
- package/harness-skills/mstar-artifacts/references/status-and-residuals.md +472 -0
- package/harness-skills/mstar-artifacts/templates/README.md +7 -0
- package/harness-skills/mstar-artifacts/templates/plan.main.md +54 -0
- package/harness-skills/mstar-artifacts/templates/status.empty.json +5 -0
- package/harness-skills/mstar-audit/SKILL.md +151 -0
- package/harness-skills/mstar-audit/references/audit-playbook.md +175 -0
- package/harness-skills/mstar-audit/references/codebase-audit.md +103 -0
- package/harness-skills/mstar-audit/references/finding-format.md +69 -0
- package/harness-skills/mstar-audit/references/pr-review-seat-evidence.md +28 -0
- package/harness-skills/mstar-audit/references/pr-review.md +475 -0
- package/harness-skills/mstar-audit/references/security-review.md +219 -0
- package/harness-skills/mstar-branch-worktree/SKILL.md +236 -0
- package/harness-skills/mstar-branch-worktree/references/parallel-writable-pre-dispatch.md +68 -0
- package/harness-skills/mstar-coding-behavior/SKILL.md +167 -0
- package/harness-skills/mstar-compound/SKILL.md +109 -0
- package/harness-skills/mstar-compound/assets/resolution-template.md +94 -0
- package/harness-skills/mstar-compound/references/category-mapping.md +37 -0
- package/harness-skills/mstar-compound/references/compound-workflow.md +171 -0
- package/harness-skills/mstar-compound/references/concepts-vocabulary.md +44 -0
- package/harness-skills/mstar-compound/references/schema.yaml +122 -0
- package/harness-skills/mstar-compound-refresh/SKILL.md +154 -0
- package/harness-skills/mstar-compound-refresh/references/project-knowledge-bootstrap.md +164 -0
- package/harness-skills/mstar-conventions/SKILL.md +215 -0
- package/harness-skills/mstar-conventions/references/artifact-storage-paths.md +53 -0
- package/harness-skills/mstar-conventions/references/effort-estimation.md +38 -0
- package/harness-skills/mstar-conventions/references/harness-bootstrap-and-agents-layering.md +96 -0
- package/harness-skills/mstar-design-md/SKILL.md +142 -0
- package/harness-skills/mstar-design-md/references/completeness-checklist.md +181 -0
- package/harness-skills/mstar-design-md/references/design-md-spec.md +508 -0
- package/harness-skills/mstar-design-md/references/vercel-example.md +200 -0
- package/harness-skills/mstar-design-md/templates/DESIGN.dark.md.template +354 -0
- package/harness-skills/mstar-design-md/templates/DESIGN.md.template +474 -0
- package/harness-skills/mstar-dispatch-gates/SKILL.md +134 -0
- package/harness-skills/mstar-dispatch-gates/references/leaf-executor-checklist.md +23 -0
- package/harness-skills/mstar-engine-legacy/SKILL.md +53 -0
- package/harness-skills/mstar-engine-legacy/references/anti-recursion-checklists.md +58 -0
- package/harness-skills/mstar-engine-legacy/references/engine-check-boilerplate.md +26 -0
- package/harness-skills/mstar-engine-legacy/references/lease-protocol.md +92 -0
- package/harness-skills/mstar-engine-legacy/references/qc-seat-n-restatements.md +57 -0
- package/harness-skills/mstar-engine-legacy/references/status-field-history.md +186 -0
- package/harness-skills/mstar-harness-core/SKILL.md +196 -0
- package/harness-skills/mstar-host/SKILL.md +96 -0
- package/harness-skills/mstar-host/references/_shared/host-role-binding-core.md +51 -0
- package/harness-skills/mstar-host/references/_shared/plan-mode-bridge-core.md +91 -0
- package/harness-skills/mstar-host/references/codex.md +61 -0
- package/harness-skills/mstar-host/references/cursor-plan-mode-bridge.md +170 -0
- package/harness-skills/mstar-host/references/cursor.md +183 -0
- package/harness-skills/mstar-host/references/dsh.md +507 -0
- package/harness-skills/mstar-host/references/kimi-plan-mode-bridge.md +36 -0
- package/harness-skills/mstar-host/references/kimi.md +136 -0
- package/harness-skills/mstar-host/references/omp-plan-mode-bridge.md +32 -0
- package/harness-skills/mstar-host/references/omp.md +245 -0
- package/harness-skills/mstar-host/references/opencode.md +76 -0
- package/harness-skills/mstar-host/references/parallel-dispatch.md +68 -0
- package/harness-skills/mstar-host/references/zcode-plan-mode-bridge.md +36 -0
- package/harness-skills/mstar-host/references/zcode.md +129 -0
- package/harness-skills/mstar-iteration/SKILL.md +408 -0
- package/harness-skills/mstar-iteration/references/autonomous-direction-lock.md +90 -0
- package/harness-skills/mstar-iteration/references/command-shared-invariants.md +62 -0
- package/harness-skills/mstar-iteration/references/iteration-artifact-boundaries.md +103 -0
- package/harness-skills/mstar-iteration/references/iteration-compass-template.md +142 -0
- package/harness-skills/mstar-iteration/references/iteration-corpus-hygiene.md +45 -0
- package/harness-skills/mstar-iteration/references/iteration-workspace-readme-template.md +27 -0
- package/harness-skills/mstar-iteration/references/phase-2-worktree-lease.md +205 -0
- package/harness-skills/mstar-iteration/references/phase-3-iteration-close.md +105 -0
- package/harness-skills/mstar-iteration/references/phase-4-5-pr-delivery.md +85 -0
- package/harness-skills/mstar-iteration/references/phase5-helper-discovery.md +24 -0
- package/harness-skills/mstar-phase-gates/SKILL.md +118 -0
- package/harness-skills/mstar-project-governance/SKILL.md +119 -0
- package/harness-skills/mstar-review-qc/SKILL.md +76 -0
- package/harness-skills/mstar-review-qc/references/review-responsibility-boundaries.md +54 -0
- package/harness-skills/mstar-roles/SKILL.md +103 -0
- package/harness-skills/mstar-roles/references/_shared/leaf-executor-core.md +65 -0
- package/harness-skills/mstar-roles/references/architect.md +109 -0
- package/harness-skills/mstar-roles/references/code-reviewer.md +118 -0
- package/harness-skills/mstar-roles/references/frontend-dev.md +70 -0
- package/harness-skills/mstar-roles/references/fullstack-dev-shared.md +89 -0
- package/harness-skills/mstar-roles/references/ops-engineer.md +72 -0
- package/harness-skills/mstar-roles/references/product-manager.md +102 -0
- package/harness-skills/mstar-roles/references/project-manager/dispatch-and-assignment.md +200 -0
- package/harness-skills/mstar-roles/references/project-manager/plan-management.md +59 -0
- package/harness-skills/mstar-roles/references/project-manager/qa-trigger-matrix.md +56 -0
- package/harness-skills/mstar-roles/references/project-manager/qc-and-residuals.md +99 -0
- package/harness-skills/mstar-roles/references/project-manager/routing-and-dev-allocation.md +99 -0
- package/harness-skills/mstar-roles/references/project-manager.md +310 -0
- package/harness-skills/mstar-roles/references/prompt-engineer.md +65 -0
- package/harness-skills/mstar-roles/references/qa-engineer/acceptance-gate.md +62 -0
- package/harness-skills/mstar-roles/references/qa-engineer.md +71 -0
- package/harness-skills/mstar-roles/references/qc-specialist/deep-review-lenses.md +104 -0
- package/harness-skills/mstar-roles/references/qc-specialist/report-template.md +88 -0
- package/harness-skills/mstar-roles/references/qc-specialist/reviewer-checklist.md +44 -0
- package/harness-skills/mstar-roles/references/qc-specialist/reviewer-workflow.md +57 -0
- package/harness-skills/mstar-roles/references/qc-specialist-shared.md +120 -0
- package/harness-skills/mstar-roles/references/writing-specialist.md +88 -0
- package/harness-skills/mstar-sdd/SKILL.md +137 -0
- package/harness-skills/mstar-sdd/references/file-handoffs.md +85 -0
- package/harness-skills/mstar-sdd/references/implementer-continuation-prompt.md +44 -0
- package/harness-skills/mstar-sdd/references/implementer-prompt.md +56 -0
- package/harness-skills/mstar-sdd/references/sticky-implementer-session.md +103 -0
- package/harness-skills/mstar-sdd/references/task-reviewer-prompt.md +53 -0
- package/harness-skills/mstar-skill-authoring/SKILL.md +182 -0
- package/harness-skills/mstar-skill-authoring/references/regression-fixation.md +46 -0
- package/harness-skills/mstar-skill-authoring/references/skillsbench-authoring.md +154 -0
- package/harness-skills/mstar-strategy/SKILL.md +114 -0
- package/harness-skills/pm/SKILL.md +40 -0
- package/hooks/pre/mstar-gates.js +6579 -0
- package/package.json +45 -0
- package/plugin.json +49 -0
- package/skills/grill-me/SKILL.md +10 -0
- package/skills/mstar-artifacts/SKILL.md +66 -0
- package/skills/mstar-artifacts/references/knowledge-and-designs.md +110 -0
- package/skills/mstar-artifacts/references/plan-files-and-reports.md +98 -0
- package/skills/mstar-artifacts/references/plan-quality-bar.md +99 -0
- package/skills/mstar-artifacts/references/status-and-residuals.md +472 -0
- package/skills/mstar-artifacts/templates/README.md +7 -0
- package/skills/mstar-artifacts/templates/plan.main.md +54 -0
- package/skills/mstar-artifacts/templates/status.empty.json +5 -0
- package/skills/mstar-audit/SKILL.md +151 -0
- package/skills/mstar-audit/references/audit-playbook.md +175 -0
- package/skills/mstar-audit/references/codebase-audit.md +103 -0
- package/skills/mstar-audit/references/finding-format.md +69 -0
- package/skills/mstar-audit/references/pr-review-seat-evidence.md +28 -0
- package/skills/mstar-audit/references/pr-review.md +475 -0
- package/skills/mstar-audit/references/security-review.md +219 -0
- package/skills/mstar-branch-worktree/SKILL.md +236 -0
- package/skills/mstar-branch-worktree/references/parallel-writable-pre-dispatch.md +68 -0
- package/skills/mstar-coding-behavior/SKILL.md +167 -0
- package/skills/mstar-compound/SKILL.md +109 -0
- package/skills/mstar-compound/assets/resolution-template.md +94 -0
- package/skills/mstar-compound/references/category-mapping.md +37 -0
- package/skills/mstar-compound/references/compound-workflow.md +171 -0
- package/skills/mstar-compound/references/concepts-vocabulary.md +44 -0
- package/skills/mstar-compound/references/schema.yaml +122 -0
- package/skills/mstar-compound-refresh/SKILL.md +154 -0
- package/skills/mstar-compound-refresh/references/project-knowledge-bootstrap.md +164 -0
- package/skills/mstar-conventions/SKILL.md +215 -0
- package/skills/mstar-conventions/references/artifact-storage-paths.md +53 -0
- package/skills/mstar-conventions/references/effort-estimation.md +38 -0
- package/skills/mstar-conventions/references/harness-bootstrap-and-agents-layering.md +96 -0
- package/skills/mstar-design-md/SKILL.md +142 -0
- package/skills/mstar-design-md/references/completeness-checklist.md +181 -0
- package/skills/mstar-design-md/references/design-md-spec.md +508 -0
- package/skills/mstar-design-md/references/vercel-example.md +200 -0
- package/skills/mstar-design-md/templates/DESIGN.dark.md.template +354 -0
- package/skills/mstar-design-md/templates/DESIGN.md.template +474 -0
- package/skills/mstar-dispatch-gates/SKILL.md +134 -0
- package/skills/mstar-dispatch-gates/references/leaf-executor-checklist.md +23 -0
- package/skills/mstar-engine-legacy/SKILL.md +53 -0
- package/skills/mstar-engine-legacy/references/anti-recursion-checklists.md +58 -0
- package/skills/mstar-engine-legacy/references/engine-check-boilerplate.md +26 -0
- package/skills/mstar-engine-legacy/references/lease-protocol.md +92 -0
- package/skills/mstar-engine-legacy/references/qc-seat-n-restatements.md +57 -0
- package/skills/mstar-engine-legacy/references/status-field-history.md +186 -0
- package/skills/mstar-harness-core/SKILL.md +196 -0
- package/skills/mstar-host/SKILL.md +96 -0
- package/skills/mstar-host/references/_shared/host-role-binding-core.md +51 -0
- package/skills/mstar-host/references/_shared/plan-mode-bridge-core.md +91 -0
- package/skills/mstar-host/references/codex.md +61 -0
- package/skills/mstar-host/references/cursor-plan-mode-bridge.md +170 -0
- package/skills/mstar-host/references/cursor.md +183 -0
- package/skills/mstar-host/references/dsh.md +507 -0
- package/skills/mstar-host/references/kimi-plan-mode-bridge.md +36 -0
- package/skills/mstar-host/references/kimi.md +136 -0
- package/skills/mstar-host/references/omp-plan-mode-bridge.md +32 -0
- package/skills/mstar-host/references/omp.md +245 -0
- package/skills/mstar-host/references/opencode.md +76 -0
- package/skills/mstar-host/references/parallel-dispatch.md +68 -0
- package/skills/mstar-host/references/zcode-plan-mode-bridge.md +36 -0
- package/skills/mstar-host/references/zcode.md +129 -0
- package/skills/mstar-iteration/SKILL.md +408 -0
- package/skills/mstar-iteration/references/autonomous-direction-lock.md +90 -0
- package/skills/mstar-iteration/references/command-shared-invariants.md +62 -0
- package/skills/mstar-iteration/references/iteration-artifact-boundaries.md +103 -0
- package/skills/mstar-iteration/references/iteration-compass-template.md +142 -0
- package/skills/mstar-iteration/references/iteration-corpus-hygiene.md +45 -0
- package/skills/mstar-iteration/references/iteration-workspace-readme-template.md +27 -0
- package/skills/mstar-iteration/references/phase-2-worktree-lease.md +205 -0
- package/skills/mstar-iteration/references/phase-3-iteration-close.md +105 -0
- package/skills/mstar-iteration/references/phase-4-5-pr-delivery.md +85 -0
- package/skills/mstar-iteration/references/phase5-helper-discovery.md +24 -0
- package/skills/mstar-phase-gates/SKILL.md +118 -0
- package/skills/mstar-project-governance/SKILL.md +119 -0
- package/skills/mstar-review-qc/SKILL.md +76 -0
- package/skills/mstar-review-qc/references/review-responsibility-boundaries.md +54 -0
- package/skills/mstar-roles/SKILL.md +103 -0
- package/skills/mstar-roles/references/_shared/leaf-executor-core.md +65 -0
- package/skills/mstar-roles/references/architect.md +109 -0
- package/skills/mstar-roles/references/code-reviewer.md +118 -0
- package/skills/mstar-roles/references/frontend-dev.md +70 -0
- package/skills/mstar-roles/references/fullstack-dev-shared.md +89 -0
- package/skills/mstar-roles/references/ops-engineer.md +72 -0
- package/skills/mstar-roles/references/product-manager.md +102 -0
- package/skills/mstar-roles/references/project-manager/dispatch-and-assignment.md +200 -0
- package/skills/mstar-roles/references/project-manager/plan-management.md +59 -0
- package/skills/mstar-roles/references/project-manager/qa-trigger-matrix.md +56 -0
- package/skills/mstar-roles/references/project-manager/qc-and-residuals.md +99 -0
- package/skills/mstar-roles/references/project-manager/routing-and-dev-allocation.md +99 -0
- package/skills/mstar-roles/references/project-manager.md +310 -0
- package/skills/mstar-roles/references/prompt-engineer.md +65 -0
- package/skills/mstar-roles/references/qa-engineer/acceptance-gate.md +62 -0
- package/skills/mstar-roles/references/qa-engineer.md +71 -0
- package/skills/mstar-roles/references/qc-specialist/deep-review-lenses.md +104 -0
- package/skills/mstar-roles/references/qc-specialist/report-template.md +88 -0
- package/skills/mstar-roles/references/qc-specialist/reviewer-checklist.md +44 -0
- package/skills/mstar-roles/references/qc-specialist/reviewer-workflow.md +57 -0
- package/skills/mstar-roles/references/qc-specialist-shared.md +120 -0
- package/skills/mstar-roles/references/writing-specialist.md +88 -0
- package/skills/mstar-sdd/SKILL.md +137 -0
- package/skills/mstar-sdd/references/file-handoffs.md +85 -0
- package/skills/mstar-sdd/references/implementer-continuation-prompt.md +44 -0
- package/skills/mstar-sdd/references/implementer-prompt.md +56 -0
- package/skills/mstar-sdd/references/sticky-implementer-session.md +103 -0
- package/skills/mstar-sdd/references/task-reviewer-prompt.md +53 -0
- package/skills/mstar-skill-authoring/SKILL.md +182 -0
- package/skills/mstar-skill-authoring/references/regression-fixation.md +46 -0
- package/skills/mstar-skill-authoring/references/skillsbench-authoring.md +154 -0
- package/skills/mstar-strategy/SKILL.md +114 -0
- package/skills/pm/SKILL.md +40 -0
- package/tools/mstar_dispatch_validate.js +6291 -0
- package/tools/mstar_iteration_gate.js +6321 -0
- package/tools/mstar_lease_verify.js +6343 -0
- package/tools/mstar_path_resolve.js +6297 -0
- package/tools/mstar_status_validate.js +6402 -0
- package/tools/mstar_worktree_check.js +6343 -0
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
# Knowledge documentation schema for {KNOWLEDGE_DIR}
|
|
2
|
+
# Canonical frontmatter contract. Two tracks: bug and knowledge.
|
|
3
|
+
|
|
4
|
+
tracks:
|
|
5
|
+
bug:
|
|
6
|
+
description: "Defects, failures, and errors that were diagnosed and fixed"
|
|
7
|
+
problem_types:
|
|
8
|
+
- build_error
|
|
9
|
+
- test_failure
|
|
10
|
+
- runtime_error
|
|
11
|
+
- performance_issue
|
|
12
|
+
- database_issue
|
|
13
|
+
- security_issue
|
|
14
|
+
- ui_bug
|
|
15
|
+
- integration_issue
|
|
16
|
+
- logic_error
|
|
17
|
+
- config_error
|
|
18
|
+
knowledge:
|
|
19
|
+
description: "Practices, patterns, conventions, decisions, and workflow improvements"
|
|
20
|
+
problem_types:
|
|
21
|
+
- best_practice
|
|
22
|
+
- documentation_gap
|
|
23
|
+
- workflow_issue
|
|
24
|
+
- developer_experience
|
|
25
|
+
- architecture_pattern
|
|
26
|
+
- design_pattern
|
|
27
|
+
- tooling_decision
|
|
28
|
+
- convention
|
|
29
|
+
- api_design
|
|
30
|
+
- testing_pattern
|
|
31
|
+
|
|
32
|
+
required_fields:
|
|
33
|
+
module:
|
|
34
|
+
type: string
|
|
35
|
+
description: "Module, component, or area affected"
|
|
36
|
+
|
|
37
|
+
date:
|
|
38
|
+
type: string
|
|
39
|
+
pattern: '^\d{4}-\d{2}-\d{2}$'
|
|
40
|
+
description: "Date documented (YYYY-MM-DD)"
|
|
41
|
+
|
|
42
|
+
problem_type:
|
|
43
|
+
type: enum
|
|
44
|
+
values:
|
|
45
|
+
- build_error
|
|
46
|
+
- test_failure
|
|
47
|
+
- runtime_error
|
|
48
|
+
- performance_issue
|
|
49
|
+
- database_issue
|
|
50
|
+
- security_issue
|
|
51
|
+
- ui_bug
|
|
52
|
+
- integration_issue
|
|
53
|
+
- logic_error
|
|
54
|
+
- config_error
|
|
55
|
+
- developer_experience
|
|
56
|
+
- workflow_issue
|
|
57
|
+
- best_practice
|
|
58
|
+
- documentation_gap
|
|
59
|
+
- architecture_pattern
|
|
60
|
+
- design_pattern
|
|
61
|
+
- tooling_decision
|
|
62
|
+
- convention
|
|
63
|
+
- api_design
|
|
64
|
+
- testing_pattern
|
|
65
|
+
description: "Primary category — determines track (bug vs knowledge)"
|
|
66
|
+
|
|
67
|
+
category:
|
|
68
|
+
type: string
|
|
69
|
+
description: "Directory name under {KNOWLEDGE_DIR} (see category-mapping.md)"
|
|
70
|
+
|
|
71
|
+
severity:
|
|
72
|
+
type: enum
|
|
73
|
+
values:
|
|
74
|
+
- critical
|
|
75
|
+
- high
|
|
76
|
+
- medium
|
|
77
|
+
- low
|
|
78
|
+
description: "Impact severity"
|
|
79
|
+
|
|
80
|
+
track_rules:
|
|
81
|
+
bug:
|
|
82
|
+
required:
|
|
83
|
+
symptoms:
|
|
84
|
+
type: array
|
|
85
|
+
description: "Observable symptoms (errors, broken behavior)"
|
|
86
|
+
root_cause:
|
|
87
|
+
type: string
|
|
88
|
+
description: "Fundamental technical cause"
|
|
89
|
+
resolution_type:
|
|
90
|
+
type: enum
|
|
91
|
+
values:
|
|
92
|
+
- code_fix
|
|
93
|
+
- migration
|
|
94
|
+
- config_change
|
|
95
|
+
- test_fix
|
|
96
|
+
- dependency_update
|
|
97
|
+
- environment_setup
|
|
98
|
+
- workflow_improvement
|
|
99
|
+
- documentation_update
|
|
100
|
+
- tooling_addition
|
|
101
|
+
description: "Type of fix applied"
|
|
102
|
+
knowledge:
|
|
103
|
+
optional:
|
|
104
|
+
applies_when:
|
|
105
|
+
type: array
|
|
106
|
+
description: "Conditions or situations where this guidance applies"
|
|
107
|
+
|
|
108
|
+
optional_fields:
|
|
109
|
+
plan_id:
|
|
110
|
+
type: string
|
|
111
|
+
description: "Link to status.json plans[].id"
|
|
112
|
+
tags:
|
|
113
|
+
type: array
|
|
114
|
+
max_items: 8
|
|
115
|
+
description: "Search keywords, lowercase, hyphen-separated"
|
|
116
|
+
last_updated:
|
|
117
|
+
type: string
|
|
118
|
+
pattern: '^\d{4}-\d{2}-\d{2}$'
|
|
119
|
+
description: "Date of last substantive update (added when updating an existing doc)"
|
|
120
|
+
related_components:
|
|
121
|
+
type: array
|
|
122
|
+
description: "Other components involved"
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mstar-compound-refresh
|
|
3
|
+
description: Morning Star 知识维护与项目知识 bootstrap —— 审查 `{KNOWLEDGE_DIR}` 文档是否仍准确、去重叠合并、清理过期知识;或从代码库提炼 CONCEPTS.md、基线 knowledge 脚手架(无/残旧/空白 knowledge)。STRATEGY.md 创建委托 **`mstar-strategy`**。触发:`mstar-compound` 发现可合并文档、定期维护、项目缺 CONCEPTS.md/{KNOWLEDGE_DIR}、stale knowledge scaffolding、显式 bootstrap 请求、或显式 refresh。产出:更新/合并/删除知识文档 + 维护报告;或 bootstrap 产物(CONCEPTS.md、基线 knowledge)。
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# mstar-compound-refresh(知识维护)
|
|
7
|
+
|
|
8
|
+
## Load order
|
|
9
|
+
|
|
10
|
+
**Read `mstar-harness-core` first.** Path symbols → **`mstar-conventions`**. On conflict, **`mstar-harness-core` wins**.
|
|
11
|
+
|
|
12
|
+
## Purpose
|
|
13
|
+
|
|
14
|
+
Knowledge documents in `{KNOWLEDGE_DIR}` age. Code changes, conventions evolve, patterns become obsolete. `mstar-compound-refresh` audits the knowledge store against the current codebase and makes it trustworthy again.
|
|
15
|
+
|
|
16
|
+
## 产物与操作路径
|
|
17
|
+
|
|
18
|
+
**SSOT**: `mstar-conventions/references/artifact-storage-paths.md`。本 skill 仅操作 `{HARNESS_DIR}/knowledge/**/*.md` + `{HARNESS_DIR}/knowledge/README.md` + `<repo-root>/CONCEPTS.md` + `{HARNESS_DIR}/status.json`(引用更新;v2 中知识引用挂在 workflow snapshot plan 行 `metadata.knowledge_refs`,见下)。**禁止**操作 `docs/`、`{PLAN_DIR}/`、`{ITERATION_DIR}/`、`{SPECS_DIR}/`。
|
|
19
|
+
|
|
20
|
+
> **Engine check (when available):** run `mstar compound validate <doc-path> --knowledge-dir <dir>` (or `import { scopeGuard, compoundRefreshScope } from "@mstar-harness/engine"` in a host hook) to resolve the allowed scope above (`{HARNESS_DIR}/knowledge/**`, `knowledge/README.md`, `<repo-root>/CONCEPTS.md`, `{HARNESS_DIR}/status.json`) and guard every write against it. On `fail` -> do not proceed; fix and re-run. Skill text below remains authoritative when the runtime is absent.
|
|
21
|
+
|
|
22
|
+
## When to use
|
|
23
|
+
|
|
24
|
+
| Trigger | Example |
|
|
25
|
+
|---------|---------|
|
|
26
|
+
| `mstar-compound` detected overlapping docs | "Two docs cover N+1 queries — consider refresh" |
|
|
27
|
+
| Scheduled maintenance | "It's been a quarter, let's audit knowledge" |
|
|
28
|
+
| Domain refactored | After a major module rewrite |
|
|
29
|
+
| Explicit user request | `/pm compound-refresh performance-issues` |
|
|
30
|
+
| **Project knowledge bootstrap** | No/stale/partial `STRATEGY.md`, `CONCEPTS.md`, or `{KNOWLEDGE_DIR}` — see below |
|
|
31
|
+
|
|
32
|
+
## Bootstrap vs refresh
|
|
33
|
+
|
|
34
|
+
| Mode | When | Procedure |
|
|
35
|
+
|------|------|-----------|
|
|
36
|
+
| **Refresh** | `{KNOWLEDGE_DIR}` exists; audit accuracy, merge overlaps, delete stale docs | This skill § Process (Phases 1–6) |
|
|
37
|
+
| **Bootstrap** | No knowledge scaffolding, or artifacts are absent/stale enough to warrant full distillation from codebase | **`references/project-knowledge-bootstrap.md`** (7-phase: survey → STRATEGY.md → CONCEPTS.md → baseline knowledge → indexing → harness init → commit) |
|
|
38
|
+
|
|
39
|
+
Read the bootstrap reference on demand; do not paste its body into this SKILL.md.
|
|
40
|
+
|
|
41
|
+
## Maintenance outcomes
|
|
42
|
+
|
|
43
|
+
For each candidate document, classify into one of five outcomes:
|
|
44
|
+
|
|
45
|
+
| Outcome | Meaning | Default action |
|
|
46
|
+
|---------|---------|----------------|
|
|
47
|
+
| **Keep** | Still accurate and useful | No edit; report reviewed |
|
|
48
|
+
| **Update** | Core solution correct, references drifted | In-place edits (paths, module names, code snippets) |
|
|
49
|
+
| **Consolidate** | Two+ docs overlap heavily, both correct | Merge unique content into canonical doc, delete subsumed |
|
|
50
|
+
| **Replace** | Old doc is misleading; known better replacement exists | Create trustworthy successor, then delete old |
|
|
51
|
+
| **Delete** | No longer useful, applicable, or distinct | Delete — git history preserves it |
|
|
52
|
+
|
|
53
|
+
> **Guardrail — rejected approaches:** a captured rejected approach stays only while the losing idea remains a tempting, meaningful mistake; delete it once obsolete or no longer plausible.
|
|
54
|
+
> **Calibration:** first real run of this axis — 9 size-divergent knowledge docs (36–78 lines) under `{KNOWLEDGE_DIR}/architecture-patterns/` classified at fold time, all kept by future value (evidence: the knowledge-prose-folds plan `## Review Gate Summary` → Task evidence); length proved not to be a criterion.
|
|
55
|
+
|
|
56
|
+
## Core rules
|
|
57
|
+
|
|
58
|
+
1. **Evidence over opinion.** Signals are inputs, not a scorecard. Use engineering judgment.
|
|
59
|
+
2. **Prefer no-write Keep.** Do not update a doc just to leave a review breadcrumb.
|
|
60
|
+
3. **Match docs to reality.** When code differs from doc, update the doc — not ask whether the code change was "intentional."
|
|
61
|
+
4. **Be decisive.** When evidence is clear (file renamed, class moved), apply. Only ask PM when genuinely ambiguous.
|
|
62
|
+
5. **Avoid low-value churn.** Don't edit for typos, polish, or cosmetic changes that don't improve accuracy.
|
|
63
|
+
6. **Delete, don't archive** — **except** formal **iteration-start** §1.6 corpus hygiene (`mstar-iteration/references/iteration-corpus-hygiene.md`), which **moves** superseded/redundant knowledge/specs to `{HARNESS_DIR}/archived/knowledge|specs/`. Outside that gate, git history is the archive; `git log --diff-filter=D -- <path>` finds deleted docs.
|
|
64
|
+
> **Not adopted:** frozen-archive seal machinery, `Archived:` triplets, or a verifier — they contradict rule 6 (delete, don't archive; git history is the archive); do not reintroduce.
|
|
65
|
+
7. **Evaluate document-set design.** Check whether two+ docs overlap and should be consolidated. Redundant docs silently drift apart.
|
|
66
|
+
|
|
67
|
+
## Scope selection
|
|
68
|
+
|
|
69
|
+
### Default: user-guided
|
|
70
|
+
|
|
71
|
+
1. Ask PM for scope: "All knowledge docs, a specific category, or a keyword?"
|
|
72
|
+
2. If category: narrow to `{KNOWLEDGE_DIR}/<category>/`.
|
|
73
|
+
3. If keyword: search frontmatter (`module:`, `tags:`, `problem_type:`) and filenames.
|
|
74
|
+
|
|
75
|
+
### PM-directed: specific scope
|
|
76
|
+
|
|
77
|
+
PM provides a scope hint (directory name, filename, module name, or keyword). Match in this order:
|
|
78
|
+
1. Directory match under `{KNOWLEDGE_DIR}/`
|
|
79
|
+
2. Frontmatter field match
|
|
80
|
+
3. Filename match
|
|
81
|
+
4. Content search
|
|
82
|
+
|
|
83
|
+
## Process
|
|
84
|
+
|
|
85
|
+
### Phase 1: Inventory
|
|
86
|
+
|
|
87
|
+
1. List all `.md` files under `{KNOWLEDGE_DIR}/` (excluding `README.md` and index files).
|
|
88
|
+
2. Read frontmatter of each candidate.
|
|
89
|
+
3. Group by `category` / `module` for impact clustering.
|
|
90
|
+
|
|
91
|
+
### Phase 2: Assess per doc
|
|
92
|
+
|
|
93
|
+
For each doc, check:
|
|
94
|
+
|
|
95
|
+
1. **Referenced code still exists?** — grep for file paths, class names, function names mentioned.
|
|
96
|
+
2. **Referenced conventions still match?** — check against current `AGENTS.md`, `CONCEPTS.md`, lint configs.
|
|
97
|
+
3. **Solution still the recommended approach?** — has a newer pattern superseded it?
|
|
98
|
+
4. **Overlap with other docs?** — search for same module/tags to find duplicates.
|
|
99
|
+
5. **Future decision value?** — rationale / alternatives considered / negative guarantees / reintroduction conditions that would still guide a future change → **Keep, regardless of length**. A completed decision whose body has no future leverage left (one-off fix detail, superseded mechanics) enters the Delete candidate pool. Word count and age remain discovery aids, never criteria.
|
|
100
|
+
|
|
101
|
+
### Phase 3: Classify and act
|
|
102
|
+
|
|
103
|
+
Classify each doc → Keep / Update / Consolidate / Replace / Delete. Apply changes.
|
|
104
|
+
|
|
105
|
+
### Phase 4: Update indexes
|
|
106
|
+
|
|
107
|
+
1. Update `{KNOWLEDGE_DIR}/README.md` index table — update Status column, add/remove rows.
|
|
108
|
+
2. If a doc was linked from knowledge refs (workflow snapshot plan row `metadata.knowledge_refs` / v1 root `status.json` metadata), update the references.
|
|
109
|
+
|
|
110
|
+
### Phase 5: Report
|
|
111
|
+
|
|
112
|
+
Produce a maintenance report:
|
|
113
|
+
- Docs reviewed (count)
|
|
114
|
+
- Docs kept (count)
|
|
115
|
+
- Docs updated (list with what changed)
|
|
116
|
+
- Docs consolidated (list with which canonical doc merged into)
|
|
117
|
+
- Docs replaced (list with successor path)
|
|
118
|
+
- Docs deleted (list with reason)
|
|
119
|
+
- Docs flagged for PM review (ambiguous cases)
|
|
120
|
+
|
|
121
|
+
### Phase 6: CONCEPTS.md reconciliation
|
|
122
|
+
|
|
123
|
+
If `CONCEPTS.md` exists, reconcile it with the refreshed knowledge:
|
|
124
|
+
- Terms mentioned in updated/replaced docs may need updating in CONCEPTS.md
|
|
125
|
+
- Terms no longer referenced may be candidates for removal
|
|
126
|
+
|
|
127
|
+
If `CONCEPTS.md` doesn't exist but knowledge docs contain qualifying domain terms, propose bootstrapping it (full repo-wide seed). Use `references/concepts-vocabulary.md` from `mstar-compound` for rules (read on demand — cross-skill path resolution via skill directory).
|
|
128
|
+
|
|
129
|
+
## Cross-skill coordination
|
|
130
|
+
|
|
131
|
+
`mstar-compound-refresh` reads vocabulary rules from `mstar-compound`'s references. At runtime, resolve the path from the loaded skill directory:
|
|
132
|
+
|
|
133
|
+
```
|
|
134
|
+
The CONCEPTS.md vocabulary rules are in the mstar-compound skill at:
|
|
135
|
+
references/concepts-vocabulary.md
|
|
136
|
+
Read that file from the mstar-compound skill directory before Phase 6.
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
## NOT to do
|
|
140
|
+
|
|
141
|
+
- Do not delete docs without checking for inbound links
|
|
142
|
+
- Do not "archive" — delete instead
|
|
143
|
+
- Do not ask PM about mechanical updates (path fixes, renamed modules)
|
|
144
|
+
- Do not change code to match outdated docs — update docs to match code
|
|
145
|
+
- Do not run without PM approval for destructive actions (Delete, Replace)
|
|
146
|
+
|
|
147
|
+
## Evidence
|
|
148
|
+
|
|
149
|
+
正确结果 = 每篇候选文档有明确 verdict(Keep / Update / Consolidate / Replace / Delete)并落到产物:文档改动 + `{KNOWLEDGE_DIR}/README.md` 索引更新(Phase 4)+ 知识引用同步(workflow snapshot plan 行 `knowledge_refs`;v1 根 `status.json` legacy 引用) + 维护报告(Phase 5:reviewed / kept / updated / consolidated / replaced / deleted / flagged)+ `CONCEPTS.md` 对账(Phase 6)。
|
|
150
|
+
|
|
151
|
+
## References
|
|
152
|
+
|
|
153
|
+
- 捕获侧规则与 CONCEPTS.md vocabulary 规则 → **`mstar-compound`**(Phase 6 前读 `references/concepts-vocabulary.md`)
|
|
154
|
+
- 路径符号与产物存储 SSOT → **`mstar-conventions`**(`references/artifact-storage-paths.md`)
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
# Bootstrap Project Knowledge
|
|
2
|
+
|
|
3
|
+
Distill a coherent knowledge baseline from the current project — useful when the project has no `STRATEGY.md` / `CONCEPTS.md` / `{KNOWLEDGE_DIR}`, has partial or outdated ones, or has accumulated documentation debt.
|
|
4
|
+
|
|
5
|
+
**Goal**: produce a minimal, accurate, opinionated knowledge foundation that future iteration-start and plan-work can ground in.
|
|
6
|
+
|
|
7
|
+
## Load order (bootstrap)
|
|
8
|
+
|
|
9
|
+
1. `mstar-harness-core`
|
|
10
|
+
2. `mstar-compound-refresh` (this skill)
|
|
11
|
+
3. `mstar-conventions`(路径符号)
|
|
12
|
+
4. `mstar-strategy` → **§ STRATEGY.md structure** + **§ Creating STRATEGY.md**
|
|
13
|
+
5. `mstar-compound` → **references/concepts-vocabulary.md**(CONCEPTS.md 规则)
|
|
14
|
+
6. This reference — **§ Core rules** in `mstar-compound-refresh/SKILL.md`(知识维护基线)
|
|
15
|
+
|
|
16
|
+
## Phase 1: Survey — understand what exists
|
|
17
|
+
|
|
18
|
+
### 1.1 Codebase scan
|
|
19
|
+
|
|
20
|
+
- Read `README.md` (if exists) to understand project purpose
|
|
21
|
+
- Read `AGENTS.md` / `CLAUDE.md` (if exists) for conventions and maintenance rules
|
|
22
|
+
- Glob for `**/package.json`, `**/pyproject.toml`, `**/go.mod`, `**/Cargo.toml` to identify tech stack
|
|
23
|
+
- Glob for `**/src/`, `**/lib/`, `**/app/` to identify module structure
|
|
24
|
+
- Scan top-level directory layout
|
|
25
|
+
|
|
26
|
+
### 1.2 Existing knowledge inventory
|
|
27
|
+
|
|
28
|
+
Check what already exists and note its condition:
|
|
29
|
+
|
|
30
|
+
| Artifact | Check | Condition |
|
|
31
|
+
|----------|-------|-----------|
|
|
32
|
+
| `STRATEGY.md` | Exists? Is it current/accurate? | `absent` / `stale` / `partial` / `current` |
|
|
33
|
+
| `CONCEPTS.md` | Exists? Covers core domain nouns? | `absent` / `stale` / `partial` / `current` |
|
|
34
|
+
| `{KNOWLEDGE_DIR}/README.md` | Exists? Index populated? | `absent` / `empty` / `partial` / `current` |
|
|
35
|
+
| `{KNOWLEDGE_DIR}/**/*.md` | Any knowledge docs? Are they still accurate? | `none` / `few` / `some` / `many` |
|
|
36
|
+
| `{ITERATION_DIR}/README.md` | Exists? Any past iteration artifacts? | `absent` / `present` |
|
|
37
|
+
| `{SPECS_DIR}/` or `designs/` | Any specs or ADRs? | `absent` / `present` |
|
|
38
|
+
| `docs/` | Any architecture docs, design notes? | Count and note relevance |
|
|
39
|
+
| `{HARNESS_DIR}/status.json` | Exists? Any historical plans / workflows (`workflows[]`, snapshots)? | `absent` / `present` |
|
|
40
|
+
|
|
41
|
+
Report findings to the user: what exists, what's missing, what's stale.
|
|
42
|
+
|
|
43
|
+
### 1.3 Deep read — extract knowledge from code
|
|
44
|
+
|
|
45
|
+
For each primary module / package identified in 1.1:
|
|
46
|
+
|
|
47
|
+
1. Read the module's exported interface (public classes, functions, APIs)
|
|
48
|
+
2. Read key configuration files (database schema, routes, middlewares)
|
|
49
|
+
3. Identify recurring patterns: error handling style, dependency injection, ORM usage, auth flow
|
|
50
|
+
4. Note any README or docstrings that describe domain concepts
|
|
51
|
+
|
|
52
|
+
**Output**: a mental model of the project's domain, architecture patterns, conventions, and tech choices.
|
|
53
|
+
|
|
54
|
+
## Phase 2: Distill STRATEGY.md
|
|
55
|
+
|
|
56
|
+
Use `mstar-strategy` skill to produce `<repo-root>/STRATEGY.md`.
|
|
57
|
+
|
|
58
|
+
### If STRATEGY.md is absent
|
|
59
|
+
|
|
60
|
+
1. Gather context from Phase 1 survey
|
|
61
|
+
2. Ask the user the 5 interview questions(`mstar-strategy` § Phase 2)
|
|
62
|
+
3. Draft and review: keep each section 1-3 sentences
|
|
63
|
+
|
|
64
|
+
### If STRATEGY.md exists but is stale/partial
|
|
65
|
+
|
|
66
|
+
1. Present specific findings: "Section X contradicts current code / is outdated because Y changed"
|
|
67
|
+
2. Ask whether to update in-place or rewrite
|
|
68
|
+
3. Apply edits, keeping the Decision Log for historical context
|
|
69
|
+
|
|
70
|
+
### If STRATEGY.md is current
|
|
71
|
+
|
|
72
|
+
Skip, note in report.
|
|
73
|
+
|
|
74
|
+
## Phase 3: Seed CONCEPTS.md
|
|
75
|
+
|
|
76
|
+
Use `mstar-compound/references/concepts-vocabulary.md` rules to produce `<repo-root>/CONCEPTS.md`.
|
|
77
|
+
|
|
78
|
+
### Identify core domain nouns
|
|
79
|
+
|
|
80
|
+
From the codebase survey and STRATEGY.md, extract terms that meet the qualifying bar:
|
|
81
|
+
- Its meaning in this project is precise enough that a new engineer would need it defined
|
|
82
|
+
- It is not general programming vocabulary
|
|
83
|
+
|
|
84
|
+
**Source areas** to scan:
|
|
85
|
+
- Database schema (table/column names that encode domain concepts)
|
|
86
|
+
- Core model/type definitions
|
|
87
|
+
- API endpoint naming patterns
|
|
88
|
+
- Entity relationship structure
|
|
89
|
+
- README / architecture docs
|
|
90
|
+
- STRATEGY.md domain terms
|
|
91
|
+
|
|
92
|
+
### Write entries
|
|
93
|
+
|
|
94
|
+
Each entry: one-sentence definition + optional paragraph for behavioral rules.
|
|
95
|
+
- Cluster by domain relationship
|
|
96
|
+
- Add `*Avoid:*` aliases for retired synonyms
|
|
97
|
+
- No implementation specifics (file paths, class names)
|
|
98
|
+
- Add `## Flagged ambiguities` tail section if needed
|
|
99
|
+
|
|
100
|
+
### If CONCEPTS.md already exists
|
|
101
|
+
|
|
102
|
+
Reconcile: keep valid entries, add newly discovered terms, update stale definitions. Do not duplicate.
|
|
103
|
+
|
|
104
|
+
## Phase 4: Generate baseline knowledge docs
|
|
105
|
+
|
|
106
|
+
From the Phase 1 survey, identify patterns and conventions worth documenting as knowledge docs in `{KNOWLEDGE_DIR}/`.
|
|
107
|
+
|
|
108
|
+
### Minimum docs to produce (if absent)
|
|
109
|
+
|
|
110
|
+
| Knowledge doc | Content source | Category |
|
|
111
|
+
|---------------|---------------|----------|
|
|
112
|
+
| **Architecture overview** | Module structure, tech stack, component interactions | `architecture-patterns/` |
|
|
113
|
+
| **Development conventions** | Linting, testing, commit format, code style from AGENTS.md / configs | `conventions/` |
|
|
114
|
+
| **Project setup** | Dependencies, environment setup, build/run commands | `developer-experience/` |
|
|
115
|
+
| **Key domain patterns** | ORM patterns, auth flow, error handling, API design | `best-practices/` |
|
|
116
|
+
|
|
117
|
+
Each doc follows the Knowledge track template (`mstar-compound/assets/resolution-template.md`).
|
|
118
|
+
|
|
119
|
+
### What NOT to generate
|
|
120
|
+
|
|
121
|
+
- Do not guess implementation details you haven't verified from code
|
|
122
|
+
- Do not document general framework knowledge (e.g., "how to use React")
|
|
123
|
+
- Do not create docs for areas the user explicitly excludes
|
|
124
|
+
|
|
125
|
+
### If knowledge docs already exist
|
|
126
|
+
|
|
127
|
+
Apply `mstar-compound-refresh` logic:
|
|
128
|
+
- Keep accurate docs
|
|
129
|
+
- Update stale references
|
|
130
|
+
- Consolidate overlapping docs
|
|
131
|
+
- Delete docs for code that no longer exists
|
|
132
|
+
- Add new docs only for genuinely undocumented patterns
|
|
133
|
+
|
|
134
|
+
## Phase 5: Indexing & discoverability
|
|
135
|
+
|
|
136
|
+
1. Create or update `{KNOWLEDGE_DIR}/README.md` index table
|
|
137
|
+
2. Create or update `{ITERATION_DIR}/README.md` index table (if iteration artifacts exist)
|
|
138
|
+
3. Check AGENTS.md references all knowledge artifacts:
|
|
139
|
+
- If missing `{HARNESS_DIR}/knowledge/` → propose adding
|
|
140
|
+
- If missing `STRATEGY.md` → propose adding
|
|
141
|
+
- If missing `CONCEPTS.md` → propose adding
|
|
142
|
+
4. Ask for consent before editing AGENTS.md
|
|
143
|
+
|
|
144
|
+
## Phase 6: Initialize harness (if absent)
|
|
145
|
+
|
|
146
|
+
If `{HARNESS_DIR}/` does not exist:
|
|
147
|
+
1. Initialize per `mstar-conventions`(`.mstar/` + subdirectories)
|
|
148
|
+
2. Create empty `status.json` from template (`mstar-artifacts/templates/status.empty.json`)
|
|
149
|
+
|
|
150
|
+
## Phase 7: Commit
|
|
151
|
+
|
|
152
|
+
All bootstrap artifacts must be committed:
|
|
153
|
+
|
|
154
|
+
```bash
|
|
155
|
+
git add STRATEGY.md CONCEPTS.md AGENTS.md {HARNESS_DIR}/ {KNOWLEDGE_DIR}/
|
|
156
|
+
git commit -m "chore: bootstrap project knowledge — STRATEGY.md, CONCEPTS.md, baseline knowledge docs"
|
|
157
|
+
```
|
|
158
|
+
|
|
159
|
+
Report a summary:
|
|
160
|
+
- STRATEGY.md: created / updated / skipped
|
|
161
|
+
- CONCEPTS.md: created / updated(<N> entries)/ skipped
|
|
162
|
+
- Knowledge docs: <N> created, <N> updated, <N> deleted, <N> kept
|
|
163
|
+
- Harness: initialized / already existed
|
|
164
|
+
- AGENTS.md: updated / not modified
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: mstar-conventions
|
|
3
|
+
description: Morning Star (启明星) harness 计划目录约定 —— `{HARNESS_DIR}` / `{PLAN_DIR}` / `{SDD_DIR}` / `{ITERATION_DIR}` / `{KNOWLEDGE_DIR}` / `{SPECS_DIR}` / `{WORKFLOW_DIR}` / `{PROJECT_DIR}` 发现与初始化(默认 `.mstar/`,兼容 `.agents/`)、`docs` 与 harness 子树边界、review bundle、未启用 plan 时的工作方式、Spec 集成分支与多 Plan 实现分支(显式 base / merge 靶 / PR target)、Morning Star plan-writing path gate、工期预估(agent-oriented)。**必须**在读写 `.mstar/` / `.agents/`、初始化 harness、编排含 plan 的任务、或对齐 `metadata.primary_spec` 时 Read;`@project-manager` 开 plan 任务前必读。plan 文件 / status / residual / review bundle / knowledge → **`mstar-artifacts`**;分支与 QC 检出 → **`mstar-branch-worktree`**。
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
## Load order(必读顺序)
|
|
7
|
+
|
|
8
|
+
**首次 Read 本 skill 前:必须先 Read `mstar-harness-core`(SKILL.md)。** 本 skill 只约定 **目录与路径**;不突破状态机与门禁。冲突时 **以 `mstar-harness-core` 为准**。
|
|
9
|
+
|
|
10
|
+
| 你还可能要 Read | 何时 |
|
|
11
|
+
|-----------------|------|
|
|
12
|
+
| `mstar-artifacts` | 主 plan、review bundle 摘要、`status.json`、residual、InReview/QC 波次、knowledge |
|
|
13
|
+
| `mstar-project-governance` | `projects/<id>/roadmap.md` 编写约定 + `residuals.json` register 生命周期、`_default` 回退 |
|
|
14
|
+
| `mstar-branch-worktree` | Assignment 写分支 / worktree / QC 检出 |
|
|
15
|
+
| `mstar-review-qc` | 派 QC(PM 同轮必读;SDD 强制 tri) |
|
|
16
|
+
| `mstar-sdd` | PM 执行 `Execution mode: sdd` 的 implement 波次 |
|
|
17
|
+
|
|
18
|
+
## Workflow
|
|
19
|
+
|
|
20
|
+
主链:按「路径符号」+「`{HARNESS_DIR}` 解析顺序」确定目录(默认 `.mstar/`,兼容 `.agents/`)→ 按「初始化 Plan 目录」建 `plans/` / `status.json` 并追加 gitignore 进程产物集(进程本地、结果共享)→ 多 Plan · 同一 Spec 时按「Spec 驱动的分支模型」登记 iteration base / spec 集成分支 / 各 Plan 实现分支 / PR target → 主 plan 写入 `{PLAN_DIR}`(**Plan-Writing Path Gate**,不引入外部默认 plan 目录)。未启用 plan 时 → 对话追踪,门禁(QC/QA)照常。
|
|
21
|
+
|
|
22
|
+
## 路径符号(SSOT)
|
|
23
|
+
|
|
24
|
+
| 符号 | 默认 |
|
|
25
|
+
|------|------|
|
|
26
|
+
| `{HARNESS_DIR}` | `.mstar/` |
|
|
27
|
+
| `{PLAN_DIR}` | `{HARNESS_DIR}/plans/` |
|
|
28
|
+
| `{SDD_DIR}` | `{HARNESS_DIR}/sdd/<plan-id>/`(SDD 运行时 scratch + review bundle;gitignored) |
|
|
29
|
+
| `{ITERATION_DIR}` | `{HARNESS_DIR}/iterations/` |
|
|
30
|
+
| `{KNOWLEDGE_DIR}` | `{HARNESS_DIR}/knowledge/`(默认;`.mstarc` `knowledge_dir` 声明时用声明值) |
|
|
31
|
+
| `{SPECS_DIR}` | `{HARNESS_DIR}/specs/`(默认);解析见下文「`{SPECS_DIR}` 解析」 |
|
|
32
|
+
| `{WORKFLOW_DIR}` | `{HARNESS_DIR}/workflows/`(默认;`.mstarc` `workflow_dir` 声明时用声明值)——v3 每 lifecycle 一个 `workflows/<id>/`(`snapshot.json` + `notes.jsonl`) |
|
|
33
|
+
| `{PROJECT_DIR}` | `{HARNESS_DIR}/projects/`(默认;`.mstarc` `project_dir` 声明时用声明值)——v3 项目层 `projects/<id>/roadmap.md` + `residuals.json` |
|
|
34
|
+
|
|
35
|
+
> **Engine check (when available):** import `resolveHarnessDir` / `resolvePlanDir` / `resolveSddDir` / `resolveIterationDir` / `resolveKnowledgeDir` / `resolveSpecsDir` / `resolveWorkflowDir` / `resolveProjectDir` from `@mstar-harness/engine` in a host hook — or run `mstar path resolve [path]` (`--json` for machine output) to print the resolved dirs — to confirm the resolution below. On `fail` -> do not proceed; fix and re-run. Skill text below remains authoritative when the runtime is absent.
|
|
36
|
+
|
|
37
|
+
### `{HARNESS_DIR}` 解析顺序(找到即停;探测**永不越过工作区根**——CLI=start 的 git top-level(非 git→start 自身);dsh=会话工作区)
|
|
38
|
+
|
|
39
|
+
1. 显式 override:`opts.harnessDir` / `MSTAR_HARNESS_DIR`(全权优先,短路一切探测与配置文件)
|
|
40
|
+
2. 否则 **`.mstarc`** `[config] harness_dir=<dir>`(仓库本地声明,见下「`.mstarc` 格式」;find-first-stop 向上找最近文件,**不越过工作区根**)
|
|
41
|
+
3. 否则 `.mstar/` → `{HARNESS_DIR}=.mstar/`, `{PLAN_DIR}=.mstar/plans/`
|
|
42
|
+
4. 否则 `.agents/` → legacy `{HARNESS_DIR}=.agents/`, `{PLAN_DIR}=.agents/plans/`
|
|
43
|
+
5. 否则 `.plans/` 或 `plans/` → 遗留同目录 `{HARNESS_DIR}={PLAN_DIR}`
|
|
44
|
+
6. 皆无 → 未启用 plan;进度走对话与 Completion Report
|
|
45
|
+
|
|
46
|
+
并存时 **`.mstar/` 优先**;仅当项目已有 `.agents/` 且无 `.mstar/` 时继续沿用 `.agents/`。
|
|
47
|
+
|
|
48
|
+
#### `.mstarc` 格式(INI 子集;默认 gitignored,见下「Git 跟踪策略」)
|
|
49
|
+
|
|
50
|
+
```ini
|
|
51
|
+
[config]
|
|
52
|
+
harness_dir=.custom_dir
|
|
53
|
+
plan_dir=planning
|
|
54
|
+
sdd_dir=process/sdd
|
|
55
|
+
iteration_dir=process/iterations
|
|
56
|
+
knowledge_dir=knowledge
|
|
57
|
+
specs_dir=specs/custom
|
|
58
|
+
workflow_dir=process/workflows
|
|
59
|
+
project_dir=process/projects
|
|
60
|
+
enforcement=hard
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
- `#` / `;` 注释;`[section]` 头;`key=value`(去空白)。仅读 `[config]` 段,未知键忽略(向前兼容)。
|
|
64
|
+
- 目录键:`harness_dir`(`{HARNESS_DIR}`)、`plan_dir`(`{PLAN_DIR}`)、`sdd_dir`(`{SDD_DIR}` 的 per-plan 基目录,`<plan-id>` 仍会追加)、`iteration_dir`(`{ITERATION_DIR}`)、`knowledge_dir`(`{KNOWLEDGE_DIR}`)、`specs_dir`(`{SPECS_DIR}`,**权威**——声明后不再走候选链)、`workflow_dir`(`{WORKFLOW_DIR}`)、`project_dir`(`{PROJECT_DIR}`)。全部相对 `.mstarc` 所在目录解析(绝对路径亦可);无需目录已存在(可后续 scaffold;v3 的 `workflows/` / `projects/` 子目录由 engine writers 按需创建)。
|
|
65
|
+
- **`enforcement=hard|soft`**:仓库级硬门禁策略(`hard` 硬门禁、`soft` 本地回滚;其他值忽略)。优先级:显式 Config > Assignment `Enforcement: hard` 头标记(仅派发闸门)> `.mstarc` > 迭代 compass frontmatter > 默认 warn-only。`.mstarc` `soft` 可回滚 hard compass;`.mstarc` `hard` 硬化无标记的派发与各闸门。
|
|
66
|
+
- 子目录键与 `enforcement` 由 engine `resolvePlanDir` / `resolveSddDir` / `resolveIterationDir` / `resolveKnowledgeDir` / `resolveSpecsDir` / `resolveWorkflowDir` / `resolveProjectDir` / `resolveRepoEnforcement` 读取:从 harness 目录与其父目录(仓库根,`.mstarc` 的文档化位置)向上找最近配置文件。
|
|
67
|
+
- 优先级:显式 override > `.mstarc` > 探测。非默认布局的仓库写一个 `.mstarc` 即可程序化解目录问题,无需逐宿主设置 env / config。
|
|
68
|
+
|
|
69
|
+
**无 engine 时的手工解析(runtime 缺席,技能文本为权威):**
|
|
70
|
+
|
|
71
|
+
1. 从当前目录向上找**最近**的 `.mstarc`(find-first-stop),**不越过工作区根**(CLI=git top-level,非 git=start 自身;dsh=会话工作区)。
|
|
72
|
+
2. 读 `[config]` 段:`key=value`(去空白),`#`/`;` 注释与空行忽略;同一键最后一次出现生效。
|
|
73
|
+
3. `harness_dir` 存在 → 相对该 `.mstarc` 所在目录解析(绝对路径直接用),即 `{HARNESS_DIR}`;无需目录已存在。
|
|
74
|
+
4. 其余键(`plan_dir` / `sdd_dir` / `iteration_dir` / `knowledge_dir` / `specs_dir` / `workflow_dir` / `project_dir`)从 **`{HARNESS_DIR}` 或其父目录**(仓库根)向上找最近 `.mstarc` 读取;值同样相对配置文件目录解析;`specs_dir` 声明后直接采用(跳过「`{SPECS_DIR}` 解析」候选链与空目录规则),`sdd_dir` 只替换基目录(`<plan-id>` 仍追加),`workflow_dir` / `project_dir` 直接替换默认子目录名。
|
|
75
|
+
5. 未声明的键回落默认组合:`{HARNESS_DIR}/plans/`、`{HARNESS_DIR}/sdd/<plan-id>/`、`{HARNESS_DIR}/iterations/`、`{HARNESS_DIR}/knowledge/`、`{HARNESS_DIR}/workflows/`、`{HARNESS_DIR}/projects/`、`{SPECS_DIR}` 候选链。
|
|
76
|
+
|
|
77
|
+
### `{SPECS_DIR}` 解析(找到非空目录即停)
|
|
78
|
+
|
|
79
|
+
1. `{HARNESS_DIR}/specs/`(默认 `.mstar/specs/`)
|
|
80
|
+
2. `docs/specs/`
|
|
81
|
+
3. `specs/`(仓库根)
|
|
82
|
+
|
|
83
|
+
**空目录规则**:候选路径存在但无任何文件 → 视为不存在,继续下一候选。
|
|
84
|
+
|
|
85
|
+
**创建默认**:全部缺失或皆空 → 创建并使用 `{HARNESS_DIR}/specs/`(统一落在 `.mstar/` 下)。**禁止**在 greenfield init 时优先创建裸仓库根 `specs/`。
|
|
86
|
+
|
|
87
|
+
**Legacy 兼容读**:若以上皆无内容,但 `{HARNESS_DIR}/designs/` 或仓库根 `designs/` **非空**,可作 `{SPECS_DIR}` 使用;init 时**不**新建 `designs/`。
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
> **Engine check (when available):** import `resolveSpecsDir` from `@mstar-harness/engine` in a host hook — or run `mstar path resolve` (prints the resolved specs dir) — to confirm the candidate order (empty-dir-as-absent included). On `fail` -> do not proceed; fix and re-run. Skill text below remains authoritative when the runtime is absent.
|
|
91
|
+
|
|
92
|
+
可选项目选择:部分 spoke 仓库另跟踪 `{HARNESS_DIR}/roadmap.md` — **非**默认 tracked;仅在项目 opt-in 时提及。
|
|
93
|
+
|
|
94
|
+
## 内容边界(摘要)
|
|
95
|
+
|
|
96
|
+
| 区域 | 内容 |
|
|
97
|
+
|------|------|
|
|
98
|
+
| `docs/` | 人类文档:安装、贡献 |
|
|
99
|
+
| `{SPECS_DIR}` | 冻结规格 / ADR |
|
|
100
|
+
| `{ITERATION_DIR}` | 迭代 package(compass + guides/specs) |
|
|
101
|
+
| `{KNOWLEDGE_DIR}` | 实现 SSOT、可复用设计 |
|
|
102
|
+
| `{PLAN_DIR}/` | 主 plan、durable gate summaries、可选 residual prose |
|
|
103
|
+
|
|
104
|
+
单 plan 的 QC/QA **原始过程报告**默认进入 **`{SDD_DIR}/review/`**(gitignored review bundle),非 `docs/`,也不默认进入 `{PLAN_DIR}`。主 plan 仅保留 durable gate summary;R# open 状态以 `{PROJECT_DIR}/<id>/residuals.json` 为 SSOT(根 `status.json` v2 仅 workflows 注册表)。细则 → **`mstar-artifacts`**。
|
|
105
|
+
|
|
106
|
+
## 初始化 Plan 目录
|
|
107
|
+
|
|
108
|
+
PM 在需要持久化追踪时:
|
|
109
|
+
|
|
110
|
+
1. 建 `.mstar/`、`plans/`、`status.json`(**v2 空模板**见 **`mstar-artifacts/templates/status.empty.json`**:`version: 2` + `workflows: []`)
|
|
111
|
+
2. 可选 `knowledge/`、`iterations/`、`{HARNESS_DIR}/specs/`、`sdd/`(空目录占位;运行时 per-plan 子目录由 **`mstar-sdd`** → `mstar sdd workspace <plan-id>` 创建;`workflows/` 由 engine writers 按需创建,**不**预建)
|
|
112
|
+
3. 项目根 `.gitignore` 追加 Morning Star **进程产物**忽略集(见下文「Git 跟踪策略」)— CLI `init` 可自动添加
|
|
113
|
+
4. Git:**进程本地、结果共享** — 默认跟踪 `{HARNESS_DIR}/AGENTS.md`、`{KNOWLEDGE_DIR}/**`、`{SPECS_DIR}/**`;`plans/`、`iterations/`、`status.json` 等为**本地会话 SSOT**,默认 gitignored。跨 clone 持久 handoff = knowledge + specs + `{HARNESS_DIR}/AGENTS.md`(及根 `CONCEPTS.md` / `STRATEGY.md` 若使用);须跨 clone 的 residual 须提升(compound)或写入 tracked results — **勿**默认 `git add` `status.json` / `plans/`。
|
|
114
|
+
|
|
115
|
+
**程序化初始化**:`scaffoldHarness`(engine)与 `mstar harness scaffold [path]`(CLI)一次性完成上述 bootstrap —— 目录 + v2 `status.json` + **`projects/_default/` 预建**(`roadmap.md` + 空 `residuals.json`)+ canonical gitignore snippet + 最小 `{HARNESS_DIR}/AGENTS.md`;幂等,重跑只补缺失件。 scaffold 遵循 `.mstarc`:`harness_dir` / `project_dir` 声明优先(写入解析后的目录);解析出的 harness 目录名非 `.mstar` 时跳过 canonical gitignore snippet(自定义 harness 布局自行管理 ignore 规则)。
|
|
116
|
+
|
|
117
|
+
步骤与 `{HARNESS_DIR}/AGENTS.md` 分层 → **`references/harness-bootstrap-and-agents-layering.md`**。
|
|
118
|
+
|
|
119
|
+
## Git 跟踪策略(进程 vs 结果)
|
|
120
|
+
|
|
121
|
+
**原则**:进程留在本地;结果与团队共享。
|
|
122
|
+
|
|
123
|
+
**默认 tracked(`{HARNESS_DIR}` 下)**:
|
|
124
|
+
|
|
125
|
+
- `{HARNESS_DIR}/AGENTS.md`
|
|
126
|
+
- `{KNOWLEDGE_DIR}/**`
|
|
127
|
+
- `{HARNESS_DIR}/specs/`(即解析后的 `{SPECS_DIR}` 在 harness 下的默认落点)
|
|
128
|
+
|
|
129
|
+
**默认 gitignored(`{HARNESS_DIR}` 下)**:
|
|
130
|
+
|
|
131
|
+
- `archived/`
|
|
132
|
+
- `iterations/`
|
|
133
|
+
- `plans/`
|
|
134
|
+
- `sdd/`
|
|
135
|
+
- `status.json`
|
|
136
|
+
- `workflows/`(v3 每 lifecycle 运行态:`<id>/snapshot.json` + `<id>/notes.jsonl`)
|
|
137
|
+
- `projects/`(v3 项目层:`<id>/roadmap.md` + `<id>/residuals.json`)
|
|
138
|
+
|
|
139
|
+
Legacy `.agents/` 项目:将上表路径前缀 `.mstar/` 换为 `.agents/`。
|
|
140
|
+
|
|
141
|
+
**v3 运行时目录的 gitignore 说明(文档化;canonical snippet 零改动)**:`workflows/` 与 `projects/` 都位于已被 **`.mstar/**` 默认忽略**的 `{HARNESS_DIR}` 之下——**不需要**在仓库根 `.gitignore` 增加任何条目,也**不新增** re-include 条目(它们不是 tracked 结果)。`projects/_default/` 由 **`scaffoldHarness` / `mstar harness scaffold` 预建**(`roadmap.md` + 空 `residuals.json`);其余 project id 与 `workflows/` 子目录由 **engine writers 按需创建**(`writeWorkflowSnapshot` / `registerWorkflow` / project-register 写入路径),**不是** `scaffoldHarness` 的初始化产物。
|
|
142
|
+
|
|
143
|
+
**多 worktree(iteration L1)**:默认 gitignored 的进程产物**不会**随 `git worktree add` 进入 feature 检出。读写须经 **control worktree** 绝对路径(`<control_worktree_path>/{HARNESS_DIR}/…`);产品代码改在 feature worktree。细则与反模式(禁止因 feature 缺 plans 而 `Worktree mode: waived`)→ **`mstar-branch-worktree`**「Harness path SSOT under default gitignore」。
|
|
144
|
+
|
|
145
|
+
**Canonical `.gitignore` snippet**(skills 与 CLI `init` 对齐):
|
|
146
|
+
|
|
147
|
+
```gitignore
|
|
148
|
+
# Morning Star harness (.mstar/)
|
|
149
|
+
# Principle: process stays local; results are shared with the team.
|
|
150
|
+
# Default-ignore everything under .mstar/, then re-include the tracked results.
|
|
151
|
+
.mstar/**
|
|
152
|
+
!.mstar/AGENTS.md
|
|
153
|
+
!.mstar/knowledge/
|
|
154
|
+
!.mstar/knowledge/**
|
|
155
|
+
!.mstar/specs/
|
|
156
|
+
!.mstar/specs/**
|
|
157
|
+
# .mstarc — repo-local harness config (may declare [config] harness_dir=<name>)
|
|
158
|
+
.mstarc
|
|
159
|
+
```
|
|
160
|
+
|
|
161
|
+
Legacy `.agents/` 等价:
|
|
162
|
+
|
|
163
|
+
```gitignore
|
|
164
|
+
# Morning Star harness (.agents/) — legacy
|
|
165
|
+
# Default-ignore everything under .agents/, then re-include the tracked results.
|
|
166
|
+
.agents/**
|
|
167
|
+
!.agents/AGENTS.md
|
|
168
|
+
!.agents/knowledge/
|
|
169
|
+
!.agents/knowledge/**
|
|
170
|
+
!.agents/specs/
|
|
171
|
+
!.agents/specs/**
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
> **Engine check (when available):** import `emitGitignoreSnippet` / `validateGitignore` from `@mstar-harness/engine` in a host hook to emit or validate the canonical snippet above. On `fail` -> do not proceed; fix and re-run. Skill text below remains authoritative when the runtime is absent.
|
|
175
|
+
|
|
176
|
+
## Spec 驱动的分支模型(多 Plan · 同一 Spec)
|
|
177
|
+
|
|
178
|
+
- **Iteration base branch**:创建 Spec/iteration 集成分支的祖先分支或 ref;必须显式记录,不能默认 `main` / `master`。
|
|
179
|
+
- **Spec 集成分支**:从 `iteration_base_branch` 创建;各 Plan 实现 merge 回此线后再视为 Spec 在代码侧集成。
|
|
180
|
+
- **Plan 实现分支**:每 `plan_id` 一条(PM 书面)。
|
|
181
|
+
- **PR target**:全部 Plans 与 iteration-close 完成后,向显式 `target_branch` 提 PR(窄例外见 Assignment `Branch policy`)。
|
|
182
|
+
- Git 操作与 QC 单一 `HEAD` → **`mstar-branch-worktree`**。
|
|
183
|
+
- workflow snapshot 登记顶层 `branch.base`(`iteration_base_branch`)/ `branch.target`(`target_branch`)/ `branch.integration`(`spec_integration_branch`),以及 plan 行 `metadata.spec_integration_branch` / `merge_target` → **`mstar-artifacts`**。
|
|
184
|
+
|
|
185
|
+
**解析顺序**(`mstar-iteration` §2.3):workflow snapshot `branch` anchors → compass frontmatter → 向用户确认。**禁止**因仓库默认分支名为 `main`/`master` 就自动采用。
|
|
186
|
+
|
|
187
|
+
## Plan-Writing Path Gate
|
|
188
|
+
|
|
189
|
+
Plans are written to **`{PLAN_DIR}`** when persistent plan tracking is enabled. Do not introduce external default plan directories.
|
|
190
|
+
|
|
191
|
+
> **Engine check (when available):** import `assertPlanWritingPath` from `@mstar-harness/engine` in a host hook to enforce the gate above. On `fail` -> do not proceed; fix and re-run. Skill text below remains authoritative when the runtime is absent.
|
|
192
|
+
|
|
193
|
+
## 状态与权限(摘要)
|
|
194
|
+
|
|
195
|
+
`Todo` | `InProgress` | `InReview` | `Blocked` | `Done` — **`Done` 仅 PM 或 QA**。字段与 residual → **`mstar-artifacts`**。主 plan checkbox → **`mstar-artifacts`**。
|
|
196
|
+
|
|
197
|
+
## 未启用 Plan 时
|
|
198
|
+
|
|
199
|
+
无 plan 目录:PM 用对话追踪;门禁(QC/QA)仍适用;复杂度上升时可建议初始化。
|
|
200
|
+
|
|
201
|
+
## 实现角色最小阅读
|
|
202
|
+
|
|
203
|
+
仅需路径符号与 `plans[].metadata` 的 `primary_spec` / `spec_refs` 时:读本 SKILL 至「路径符号」+ **`mstar-artifacts/references/knowledge-and-designs.md`** 即可,**不必**通读 status/residual 全文。
|
|
204
|
+
|
|
205
|
+
## Evidence
|
|
206
|
+
|
|
207
|
+
正确结果 = 落盘产物可复核:`{WORKFLOW_DIR}/<id>/snapshot.json` 含对应 plan 行(状态 + `metadata` 分支字段;根 `status.json` v2 仅 workflows 注册表,无 plan 行),plan 文件存在于 `{PLAN_DIR}`,`{HARNESS_DIR}/AGENTS.md` 分层与 gitignore 与本文约定一致(进程本地 / 结果共享),`mstar path resolve` 输出与路径符号表一致。
|
|
208
|
+
|
|
209
|
+
## References
|
|
210
|
+
|
|
211
|
+
- `references/harness-bootstrap-and-agents-layering.md` — 新仓 harness + AGENTS 分层
|
|
212
|
+
- `references/effort-estimation.md` — agent-oriented 工期(禁人天/FTE)
|
|
213
|
+
- `references/artifact-storage-paths.md` — **产物存储路径 SSOT**(知识文档、CONCEPTS.md、STRATEGY.md 等落盘位置;`mstar-compound`、`mstar-compound-refresh`、`mstar-strategy` 等技能引用此表,不得本地重定义)
|
|
214
|
+
|
|
215
|
+
**Plan 工件细则**(主 plan、review bundle / durable summaries、`status.json`、residual、knowledge、Done 归档、**`templates/`**)→ skill **`mstar-artifacts`**(`references/` 与 `templates/`)。
|