Refine sm-flow trigger and scale rules

This commit is contained in:
aruo
2026-07-05 14:30:15 +08:00
parent 433f7a93a4
commit e4f6e013a5
28 changed files with 937 additions and 105 deletions
@@ -0,0 +1,29 @@
# Validate SM Flow Explicit Trigger Brief
## Background
`sm-flow` was simplified so it should only run on explicit user invocation. Related cleanup centralized scale rules, removed time-based metrics, and separated fallback/glossary details into references.
## Goal
Validate the current `sm-flow` design by running a real micro OpenSpec change through Discover, Commit, Apply, and Archive.
## Scope
- Validate `.agents/skills/sm-flow/SKILL.md`.
- Validate `.agents/skills/sm-flow/references/*.md`.
- Fix any protocol inconsistency found during validation.
- Record fallback capability source because external OpenSpec commands are unavailable in the current tool surface.
## Non-Goals
- No business code changes.
- No changes to the four visible checkpoints or nine internal phases.
- No automatic trigger heuristics.
- No historical archive rewrites.
## Scale
- Scale: `micro`.
- Evidence is folded into `decisions.md`.
- Linked OpenSpec change: `openspec/changes/validate-sm-flow-explicit-trigger/`.