Skip to content

Commit eb790c2

Browse files
author
shijiashuai
committed
chore: 归档 final-closeout-refactor 变更
- 将变更移动到 openspec/changes/archive/2026-04-29-final-closeout-refactor/ - 同步 delta specs 到主 specs: - project-surface: 添加重复文件删除、BMad Skills 清理场景 - project-governance: 添加 copilot 指令忽略场景
1 parent a882e70 commit eb790c2

9 files changed

Lines changed: 25 additions & 3 deletions

File tree

data/active_learning/active_learning_data.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@
3434
"low_confidence_detected": 0,
3535
"feedback_collected": 4
3636
}
37-
}
37+
}

openspec/changes/final-closeout-refactor/.openspec.yaml renamed to openspec/changes/archive/2026-04-29-final-closeout-refactor/.openspec.yaml

File renamed without changes.

openspec/changes/final-closeout-refactor/design.md renamed to openspec/changes/archive/2026-04-29-final-closeout-refactor/design.md

File renamed without changes.

openspec/changes/final-closeout-refactor/proposal.md renamed to openspec/changes/archive/2026-04-29-final-closeout-refactor/proposal.md

File renamed without changes.

openspec/changes/final-closeout-refactor/specs/project-governance/spec.md renamed to openspec/changes/archive/2026-04-29-final-closeout-refactor/specs/project-governance/spec.md

File renamed without changes.

openspec/changes/final-closeout-refactor/specs/project-surface/spec.md renamed to openspec/changes/archive/2026-04-29-final-closeout-refactor/specs/project-surface/spec.md

File renamed without changes.

openspec/changes/final-closeout-refactor/tasks.md renamed to openspec/changes/archive/2026-04-29-final-closeout-refactor/tasks.md

File renamed without changes.

openspec/specs/project-governance/spec.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## ADDED Requirements
1+
## Requirements
22

33
### Requirement: OpenSpec is the sole active specification workflow
44
The repository MUST treat `openspec/` as the only normative specification system for planning, proposal, implementation, and archival workflows.
@@ -26,6 +26,12 @@ All maintained AI instruction files MUST communicate the same repository workflo
2626
- **WHEN** they describe workflow or repository conventions
2727
- **THEN** they MUST agree on OpenSpec-first governance, direct-push operation, and the authoritative project surface
2828

29+
#### Scenario: Copilot instructions are ignored
30+
- **GIVEN** `.github/copilot-instructions.md` exists
31+
- **WHEN** the project is cleaned for final closeout
32+
- **THEN** the file MUST remain in `.gitignore` (already configured)
33+
- **AND** it MUST NOT be tracked in version control
34+
2935
### Requirement: Final closeout work proceeds through one umbrella change with ordered phases
3036
The repository MUST allow a final closeout initiative to run as one umbrella OpenSpec change, provided its internal tasks preserve explicit phase ordering and dependency tracking.
3137

@@ -52,3 +58,4 @@ Governance documents MUST explain how `/review` or equivalent review steps are u
5258
- One umbrella closeout change does not imply unordered execution.
5359
- Review remains present as quality control without becoming a branching ritual.
5460
- Handoff expectations are explicit enough for a follow-up model or maintainer.
61+
- All zombie branches have been removed from the remote.

openspec/specs/project-surface/spec.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## ADDED Requirements
1+
## Requirements
22

33
### Requirement: The public documentation surface is intentionally small
44
The repository MUST keep a small set of maintained public-facing documents and MUST remove or retire low-value, redundant, or stale documentation that is not needed for users or maintainers.
@@ -9,6 +9,18 @@ The repository MUST keep a small set of maintained public-facing documents and M
99
- **THEN** one canonical maintained document MUST remain
1010
- **AND** redundant documents MUST be removed, archived, or replaced with a brief migration breadcrumb
1111

12+
#### Scenario: Duplicate source files are removed
13+
- **GIVEN** duplicate source files exist in the repository (e.g., `src/data_exporter.py` vs `src/data/exporter.py`)
14+
- **WHEN** the project surface is normalized
15+
- **THEN** only one version of each module MUST be retained
16+
- **AND** the retained version MUST be in the canonical location matching `pyproject.toml` package configuration
17+
18+
#### Scenario: BMad Skills are removed
19+
- **GIVEN** the repository contains 46 BMad skills unrelated to the project
20+
- **WHEN** the project surface is cleaned
21+
- **THEN** all `bmad-*` skills MUST be removed
22+
- **AND** only OpenSpec-related skills (`opsx-*`) MAY be retained
23+
1224
### Requirement: README is the canonical repository entry point
1325
The root README MUST present the maintained product story, supported installation paths, and links to the essential documentation surface without duplicating the entire docs site.
1426

@@ -53,3 +65,6 @@ The maintained docs site MUST keep only pages that serve the product landing sto
5365
- The docs source tree contains maintainable source, not large reproducible build outputs.
5466
- Pages content stays aligned with active product messaging.
5567
- Deep pages exist only when they still explain maintained behavior.
68+
- No duplicate source files exist in the codebase.
69+
- All source files match the package configuration in `pyproject.toml`.
70+
- Only project-relevant skills remain in `.claude/skills/`.

0 commit comments

Comments
 (0)