@xulthekl/team-flow 0.42.0 → 0.44.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/.claude/always/phase-guard.md +1 -1
- package/.claude-plugin/marketplace.json +3 -3
- package/.claude-plugin/plugin.json +2 -2
- package/.codex-plugin/plugin.json +2 -2
- package/.cursor-plugin/marketplace.json +2 -2
- package/.cursor-plugin/plugin.json +2 -2
- package/.github/plugin/marketplace.json +3 -3
- package/.zcode/skills/workflow-start/SKILL.md +2 -2
- package/AGENTS.md +16 -9
- package/CHANGELOG.md +38 -1
- package/GEMINI.md +1 -1
- package/HANDOFF.md +1 -1
- package/INSTALL.md +26 -24
- package/README.md +8 -7
- package/agents/architecture-design.md +2 -2
- package/agents/architecture-reviewer.md +3 -3
- package/agents/business-analysis.md +53 -0
- package/agents/change-split-auditor.md +3 -3
- package/agents/need-explorer.md +1 -1
- package/agents/prd-completeness-reviewer.md +2 -2
- package/agents/prototype-env-scout.md +2 -2
- package/agents/prototype-reviewer.md +2 -2
- package/agents/spec-writer.md +1 -1
- package/docs/README_en.md +1 -1
- package/docs/examples/add-dark-mode/specs/ui-theme/spec.md +15 -17
- package/docs/examples/refactor-auth-boundary/specs/auth-boundary/spec.md +15 -27
- package/docs/solutions/INDEX.md +1 -0
- package/docs/solutions/cross-phase/2026-08-17-no-summary.md +17 -0
- package/docs/usage-guide.md +619 -0
- package/gemini-extension.json +2 -2
- package/hooks/session-start +3 -3
- package/llms.txt +1 -1
- package/package.json +2 -2
- package/plugin.json +2 -2
- package/scripts/lib/cmd-deisolate.mjs +68 -4
- package/scripts/team-flow.mjs +1 -1
- package/skills/architecture-design/SKILL.md +2 -2
- package/skills/architecture-design/references/s3.5-product-architecture.md +3 -3
- package/skills/architecture-design/templates/change-brief.md +3 -3
- package/skills/build-executor/SKILL.md +24 -4
- package/skills/build-executor/implementer-prompt.md +1 -0
- package/skills/business-analysis/SKILL.md +80 -0
- package/skills/business-analysis/references/interaction-rules.md +86 -0
- package/skills/business-analysis/references/output-schema.md +88 -0
- package/skills/business-analysis/references/qa-checklist.md +31 -0
- package/skills/business-analysis/references/version-resolution.md +41 -0
- package/skills/ce-brainstorm/SKILL.md +50 -4
- package/skills/ce-brainstorm/references/brainstorm-sections.md +3 -3
- package/skills/ce-brainstorm/references/business-processes.md +42 -9
- package/skills/ce-brainstorm/references/handoff.md +1 -1
- package/skills/ce-brainstorm/references/phase0-routing.md +11 -10
- package/skills/ce-brainstorm/references/prd-mapping.md +3 -3
- package/skills/ce-brainstorm/references/prototype-loop.md +2 -2
- package/skills/ce-compound/references/three-tier-index.md +1 -1
- package/skills/ce-plan/SKILL.md +2 -2
- package/skills/ce-plan/references/core-principles.md +1 -1
- package/skills/ce-plan/references/intake-routing.md +5 -5
- package/skills/ce-plan/references/plan-structure.md +2 -2
- package/skills/ce-plan/references/planning-modes.md +2 -2
- package/skills/ce-plan/references/review-and-write.md +3 -3
- package/skills/code-reviewer/SKILL.md +9 -0
- package/skills/code-reviewer/code-reviewer-prompt.md +7 -0
- package/skills/need-explorer/SKILL.md +1 -1
- package/skills/prototype/references/orchestration-flow.md +2 -2
- package/skills/release-archivist/SKILL.md +21 -2
- package/skills/release-archivist/references/worktree-merge.md +69 -0
- package/skills/session-handoff/SKILL.md +1 -1
- package/skills/session-handoff/references/handoff-template.md +2 -2
- package/skills/spec-writer/SKILL.md +6 -3
- package/skills/workflow-bootstrap/SKILL.md +2 -2
- package/skills/workflow-bootstrap/references/b1-reconnaissance.md +1 -1
- package/skills/workflow-bootstrap/references/b5-path-decision.md +1 -1
- package/skills/workflow-bootstrap/templates/claude-md-team-flow.md +2 -2
- package/skills/workflow-orchestrator/SKILL.md +3 -3
- package/skills/workflow-orchestrator/references/feedback-loops.md +1 -1
- package/skills/workflow-orchestrator/references/s1-path-router.md +1 -1
- package/skills/workflow-orchestrator/references/s2-prd-prototype-loop.md +6 -6
- package/skills/workflow-orchestrator/references/s3-plan-pipeline.md +3 -3
- package/skills/workflow-orchestrator/references/s4-split-validate.md +5 -5
- package/skills/workflow-orchestrator/references/state-model.md +4 -4
- package/skills/workflow-start/SKILL.md +2 -2
- package/skills/workflow-start/references/routing-rules.md +3 -3
- package/templates/change-brief.md +3 -3
- package/templates/plan.md +1 -1
|
@@ -16,7 +16,7 @@ You NEVER write, edit, create, or delete any file. Your only output is the brief
|
|
|
16
16
|
## Invocation Contract
|
|
17
17
|
|
|
18
18
|
The dispatch prompt provides (some may be absent — probe to discover):
|
|
19
|
-
- `prd_path` or a hint to locate the current PRD version (e.g., `
|
|
19
|
+
- `prd_path` or a hint to locate the current PRD version (e.g., `requirement/v1/prd.md`).
|
|
20
20
|
- `design_system_path` (from `prototype.designSystem` config) or a hint to find `design-system.md`.
|
|
21
21
|
- `prototype_root` (default `prototype/`).
|
|
22
22
|
- The intent: new prototype from scratch / iterate on existing / sync after a change.
|
|
@@ -36,7 +36,7 @@ Turn the probe into a decision-ready brief: what exists, what is missing, and a
|
|
|
36
36
|
- List existing pages (`prototype/pages/*.html`), components (`prototype/components/`), and `flow.md` if present.
|
|
37
37
|
|
|
38
38
|
### Step 3: PRD Version Probe
|
|
39
|
-
- Identify the PRD version to prototype against (read `
|
|
39
|
+
- Identify the PRD version to prototype against (read `requirement/vN/prd.md` frontmatter `iteration_version` if present).
|
|
40
40
|
- Extract from the PRD the inputs the builder will need: §4 画面原型 (page list), §7 系统功能清单 (functions), §8.4 功能模块 (fields), §8.2 画面交互 (navigation/transitions).
|
|
41
41
|
|
|
42
42
|
### Step 4: Synthesize Brief + Recommended Plan
|
|
@@ -11,13 +11,13 @@ You are an independent Prototype Consistency Reviewer. You check whether an HTML
|
|
|
11
11
|
|
|
12
12
|
## The Iron Law
|
|
13
13
|
|
|
14
|
-
You are an independent reviewer. You did NOT participate in producing the PRD or the prototype. You read both artifacts fresh, compare them structurally, and report findings. You MUST write the review report to disk at `
|
|
14
|
+
You are an independent reviewer. You did NOT participate in producing the PRD or the prototype. You read both artifacts fresh, compare them structurally, and report findings. You MUST write the review report to disk at `requirement/vN/prototype-auto-review.md`. Do NOT modify the prototype or PRD — only write the review report.
|
|
15
15
|
|
|
16
16
|
## Inputs
|
|
17
17
|
|
|
18
18
|
| Parameter | Description |
|
|
19
19
|
|-----------|-------------|
|
|
20
|
-
| `prd_path` | PRD 文件路径(e.g., `
|
|
20
|
+
| `prd_path` | PRD 文件路径(e.g., `requirement/v1/prd.md`) |
|
|
21
21
|
| `prototype_path` | 原型目录路径(e.g., `prototype/`) |
|
|
22
22
|
|
|
23
23
|
If either path is missing or unreadable, report `FAIL` with reason `INPUT_ERROR`.
|
package/agents/spec-writer.md
CHANGED
|
@@ -27,7 +27,7 @@ You write planning artifacts, never implementation code. Honor confirmed DP-0 de
|
|
|
27
27
|
|-----------|-------------|
|
|
28
28
|
| `change_dir` | change 目录路径(e.g., `changes/feature-x/`) |
|
|
29
29
|
| `brief_path` | change-brief.md 路径(可选,workflow-orchestrator S4 分发时存在) |
|
|
30
|
-
| `plan_path` |
|
|
30
|
+
| `plan_path` | requirement/vN/plan.md 路径(可选,高阶技术方向) |
|
|
31
31
|
| `arch_dir` | architecture/ 目录路径(可选,architecture-design 产出) |
|
|
32
32
|
|
|
33
33
|
If `change_dir` is missing, or `.team-flow.yaml` `dp_0_confirmed` is not `true`, report `FAIL` with reason `INPUT_ERROR` and route back to workflow-start for DP-0.
|
package/docs/README_en.md
CHANGED
|
@@ -126,7 +126,7 @@ npm install -g team-flow
|
|
|
126
126
|
|
|
127
127
|
### Version
|
|
128
128
|
|
|
129
|
-
- Current: `v0.
|
|
129
|
+
- Current: `v0.44.0`
|
|
130
130
|
- v0.9.1 highlights: DP-4 execution-mode recommendations, a portable runtime across 17 platforms, and a raw-package smoke with no plugin-root variable.
|
|
131
131
|
- Self-contained — no OpenSpec or Superpowers runtime required
|
|
132
132
|
- Upstream: [Fission-AI/OpenSpec](https://github.com/Fission-AI/OpenSpec), [obra/superpowers](https://github.com/obra/superpowers)
|
|
@@ -1,35 +1,33 @@
|
|
|
1
|
-
# Capability Spec
|
|
2
|
-
|
|
3
1
|
## ADDED Requirements
|
|
4
2
|
|
|
5
3
|
### Requirement: User can use dark mode
|
|
6
4
|
|
|
7
|
-
The system SHALL provide a dark
|
|
5
|
+
The system SHALL provide a user-facing dark mode for the web UI that can be toggled between light and dark themes.
|
|
8
6
|
|
|
9
|
-
#### Scenario:
|
|
7
|
+
#### Scenario: Manual toggle
|
|
10
8
|
|
|
11
|
-
- **WHEN**
|
|
12
|
-
- **THEN** the interface
|
|
9
|
+
- **WHEN** the user clicks the theme toggle in the UI
|
|
10
|
+
- **THEN** the interface switches to the selected theme immediately
|
|
13
11
|
|
|
14
|
-
#### Scenario:
|
|
12
|
+
#### Scenario: System preference on first load
|
|
15
13
|
|
|
16
|
-
- **WHEN** the user
|
|
17
|
-
- **THEN** the interface
|
|
14
|
+
- **WHEN** the user opens the application for the first time
|
|
15
|
+
- **THEN** the interface theme matches the system preference by default
|
|
18
16
|
|
|
19
17
|
### Requirement: User preference persists
|
|
20
18
|
|
|
21
|
-
The system SHALL persist
|
|
19
|
+
The system SHALL persist the user's explicit theme choice across browser sessions using localStorage or an equivalent mechanism.
|
|
22
20
|
|
|
23
|
-
#### Scenario:
|
|
21
|
+
#### Scenario: Return visit
|
|
24
22
|
|
|
25
|
-
- **WHEN**
|
|
26
|
-
- **THEN** the
|
|
23
|
+
- **WHEN** the user revisits the application after explicitly choosing dark mode
|
|
24
|
+
- **THEN** the interface renders in dark mode without requiring another toggle
|
|
27
25
|
|
|
28
26
|
### Requirement: Theme maintains readable contrast
|
|
29
27
|
|
|
30
|
-
The system SHALL
|
|
28
|
+
The system SHALL ensure that all core page colors and text combinations remain readable in both light and dark themes.
|
|
31
29
|
|
|
32
|
-
#### Scenario:
|
|
30
|
+
#### Scenario: Dark mode readability
|
|
33
31
|
|
|
34
|
-
- **WHEN** the
|
|
35
|
-
- **THEN**
|
|
32
|
+
- **WHEN** the interface is in dark mode
|
|
33
|
+
- **THEN** text and interactive elements meet WCAG contrast requirements against dark backgrounds
|
|
@@ -1,45 +1,33 @@
|
|
|
1
|
-
# auth-request-gating Specification
|
|
2
|
-
|
|
3
1
|
## MODIFIED Requirements
|
|
4
2
|
|
|
5
3
|
### Requirement: Protected requests use one authentication boundary
|
|
6
4
|
|
|
7
|
-
The system SHALL
|
|
8
|
-
|
|
9
|
-
#### Scenario: Valid protected request
|
|
5
|
+
The system SHALL route all protected requests through a single authentication boundary instead of scattering checks across route handlers and service helpers.
|
|
10
6
|
|
|
11
|
-
|
|
12
|
-
- **THEN** the shared authentication boundary produces an authenticated request context
|
|
13
|
-
- **AND** downstream handlers use that context instead of re-parsing credentials independently
|
|
7
|
+
#### Scenario: Protected endpoint request
|
|
14
8
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
- **WHEN** a protected request arrives without required credentials
|
|
18
|
-
- **THEN** the shared authentication boundary rejects the request consistently
|
|
19
|
-
- **AND** the request does not continue into protected business logic
|
|
9
|
+
- **WHEN** a protected endpoint receives a request
|
|
10
|
+
- **THEN** the authentication boundary evaluates credentials and produces a stable auth decision before the route handler executes
|
|
20
11
|
|
|
21
12
|
### Requirement: Auth failures map consistently
|
|
22
13
|
|
|
23
|
-
The system SHALL map
|
|
14
|
+
The system SHALL map unauthorized and forbidden outcomes from the authentication boundary to consistent response formats across all protected routes.
|
|
24
15
|
|
|
25
|
-
#### Scenario:
|
|
16
|
+
#### Scenario: Missing credentials
|
|
26
17
|
|
|
27
|
-
- **WHEN**
|
|
28
|
-
- **THEN** the
|
|
29
|
-
- **AND** downstream handlers are not invoked
|
|
18
|
+
- **WHEN** a protected request lacks valid credentials
|
|
19
|
+
- **THEN** the boundary returns an unauthorized decision and the route responds with the standard unauthorized format
|
|
30
20
|
|
|
31
|
-
#### Scenario:
|
|
21
|
+
#### Scenario: Insufficient permissions
|
|
32
22
|
|
|
33
|
-
- **WHEN**
|
|
34
|
-
- **THEN** the
|
|
35
|
-
- **AND** the outcome is produced without ad hoc controller-specific branching
|
|
23
|
+
- **WHEN** a protected request has valid credentials but insufficient permissions
|
|
24
|
+
- **THEN** the boundary returns a forbidden decision and the route responds with the standard forbidden format
|
|
36
25
|
|
|
37
26
|
### Requirement: Existing approved login behavior remains unchanged
|
|
38
27
|
|
|
39
|
-
The
|
|
28
|
+
The system SHALL preserve existing externally approved login and session behavior while moving request-level checks behind the new boundary.
|
|
40
29
|
|
|
41
|
-
#### Scenario:
|
|
30
|
+
#### Scenario: Successful login
|
|
42
31
|
|
|
43
|
-
- **WHEN** a user
|
|
44
|
-
- **THEN**
|
|
45
|
-
- **AND** the new boundary consumes the established auth artifacts without requiring a new client contract
|
|
32
|
+
- **WHEN** a user completes the existing login flow
|
|
33
|
+
- **THEN** session creation and token issuance behavior remains identical to the pre-refactor implementation
|
package/docs/solutions/INDEX.md
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
<!-- 每条一行,按 severity 降序,≤150 行硬上限 -->
|
|
3
3
|
| date | phase | domain | type | severity | summary | file |
|
|
4
4
|
|------|-------|--------|------|----------|---------|------|
|
|
5
|
+
| 2026-08-17 | cross-phase | general | insight | medium | (no summary) | cross-phase/2026-08-17-no-summary.md |
|
|
5
6
|
| 2026-08-07 | cross-phase | general | insight | medium | (no summary) | cross-phase/2026-08-07-no-summary.md |
|
|
6
7
|
| 2026-08-06 | cross-phase | general | insight | medium | (no summary) | cross-phase/2026-08-06-no-summary.md |
|
|
7
8
|
| 2026-08-05 | cross-phase | general | insight | medium | (no summary) | cross-phase/2026-08-05-no-summary.md |
|