Skip to content
This repository was archived by the owner on Apr 11, 2026. It is now read-only.

Commit 1124cf4

Browse files
z23ccclaude
andcommitted
docs: add CHANGELOG, ADRs, bump versions to v0.1.41
Version badges and plugin manifests were stale (0.1.29–0.1.33). Added CHANGELOG.md from git history, created 3 foundational ADRs (file-based state, three-layer quality, Rust binary), updated skill/command counts, and removed empty TODOS.md. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 2bbddb9 commit 1124cf4

12 files changed

Lines changed: 165 additions & 15 deletions

.claude-plugin/marketplace.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@
66
},
77
"metadata": {
88
"description": "Structured plan-first development plugin for Claude Code with .flow/ task tracking, Agent Teams, and Ralph autonomous mode",
9-
"version": "0.1.29"
9+
"version": "0.1.41"
1010
},
1111
"plugins": [
1212
{
1313
"name": "flow-code",
14-
"description": "Zero-dependency planning + execution with .flow/ task tracking. Three-layer quality (guard + RP plan-review + Codex adversarial). Full-auto, zero questions. Teams auto-parallel, DAG mutation, Codex-driven decisions, auto draft-PR, session summary. 5 prompt templates. 20 subagents, 25+ CLI commands, 23 skills.",
15-
"version": "0.1.29",
14+
"description": "Zero-dependency planning + execution with .flow/ task tracking. Three-layer quality (guard + RP plan-review + Codex adversarial). Full-auto, zero questions. Teams auto-parallel, DAG mutation, Codex-driven decisions, auto draft-PR, session summary. 5 prompt templates. 24 subagents, 22 commands, 74 skills.",
15+
"version": "0.1.41",
1616
"source": "./",
1717
"category": "workflow",
1818
"tags": [
@@ -26,5 +26,5 @@
2626
"strict": true
2727
}
2828
],
29-
"version": "0.1.29"
29+
"version": "0.1.41"
3030
}

.claude-plugin/plugin.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "flow-code",
3-
"version": "0.1.33",
4-
"description": "Zero-dependency planning + execution with .flow/ task tracking and Ralph autonomous mode (multi-model review gates). Worker subagent per task with git worktree isolation for parallel execution. Three-layer quality system (guard + RP plan-review + Codex adversarial). Full-auto by default — AI decides from context, zero questions. Teams-default with file locking, DAG mutation, Codex-driven conflict resolution, auto draft-PR. Auto-detected stack profiles with one-command guard (test/lint/typecheck). Enhanced agent definitions with permissionMode/maxTurns/effort. Lifecycle hooks with state preservation (PreCompact injects .flow state into compaction, TaskCompleted auto-unlocks files, SubagentStart context injection). Memory v2 with atomic entries, dedup, and progressive disclosure. TDD enforcement mode. Multi-epic queue with dependency visualization. Includes 20 subagents, 25+ commands, 23 skills.",
3+
"version": "0.1.41",
4+
"description": "Zero-dependency planning + execution with .flow/ task tracking and Ralph autonomous mode (multi-model review gates). Worker subagent per task with git worktree isolation for parallel execution. Three-layer quality system (guard + RP plan-review + Codex adversarial). Full-auto by default — AI decides from context, zero questions. Teams-default with file locking, DAG mutation, Codex-driven conflict resolution, auto draft-PR. Auto-detected stack profiles with one-command guard (test/lint/typecheck). Enhanced agent definitions with permissionMode/maxTurns/effort. Lifecycle hooks with state preservation (PreCompact injects .flow state into compaction, TaskCompleted auto-unlocks files, SubagentStart context injection). Memory v2 with atomic entries, dedup, and progressive disclosure. TDD enforcement mode. Multi-epic queue with dependency visualization. Includes 24 subagents, 22 commands, 74 skills.",
55
"author": {
66
"name": "z23cc",
77
"url": "https://github.com/z23cc"

.codex-plugin/plugin.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "flow-code",
3-
"version": "0.1.31",
3+
"version": "0.1.41",
44
"description": "Zero-dependency planning + execution with .flow/ task tracking and Ralph autonomous mode (multi-model review gates). Worker subagent per task with git worktree isolation for parallel execution. Three-layer quality system (guard + RP plan-review + Codex adversarial). Full-auto by default. Teams-default with file locking, DAG mutation, Codex-driven conflict resolution, auto draft-PR.",
55
"author": {
66
"name": "z23cc",
@@ -21,7 +21,7 @@
2121
"interface": {
2222
"displayName": "Flow-Code",
2323
"shortDescription": "Plan-first workflow with subagent execution",
24-
"longDescription": "Structured plan-first workflow engine. Tracks epics and tasks in .flow/ directory. Spawns isolated worker subagents per task. Ralph mode enables fully autonomous execution with multi-model review gates. 24 subagents, 25+ commands, 23 skills.",
24+
"longDescription": "Structured plan-first workflow engine. Tracks epics and tasks in .flow/ directory. Spawns isolated worker subagents per task. Ralph mode enables fully autonomous execution with multi-model review gates. 24 subagents, 22 commands, 74 skills.",
2525
"developerName": "z23cc",
2626
"category": "Productivity",
2727
"capabilities": [

CHANGELOG.md

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# Changelog
2+
3+
All notable changes to Flow-Code are documented in this file.
4+
5+
Format follows [Keep a Changelog](https://keepachangelog.com/). Versions use [Semantic Versioning](https://semver.org/).
6+
7+
## [0.1.41] - 2026-04-08
8+
9+
### Added
10+
- 12 engineering skills across 4 domains: security, performance, database, observability
11+
- 5 engineering skills: TDD, incremental development, error handling, state management, caching
12+
- Frontend UI engineering skill for production-quality interfaces
13+
- References directory with security, performance, and accessibility checklists
14+
- Pre-launch checklist and skill discovery guide
15+
- QA and design-review browser automation skills
16+
- Multi-perspective autoplan review skill (CEO, eng, design, DX)
17+
- Template generation system with placeholder resolution
18+
- Memory auto-inject with levels and tag reference
19+
- Shared preamble startup sequence template
20+
- Tier metadata to all skill frontmatter
21+
- Brainstorm phase and `/flow-code:go` full-autopilot entry point
22+
23+
### Changed
24+
- Unified CLI arg style: positional for primary entity, flags for filters
25+
- Improved review-backend defaults and skill docs clarity
26+
- Wired frontend-ui skill into plan/work pipeline
27+
- Enforced zero-interaction contract across entire go pipeline
28+
29+
### Fixed
30+
- Pipeline gaps: GO_MODE, dual-phase clarity, Phase 3 PhaseDef
31+
- Five quality gaps: domain skills, brainstorm→plan handoff, planSync, investigation, memory
32+
- Comprehensive quality, consistency, and documentation sweep
33+
34+
## [0.1.31] - 2026-04-08
35+
36+
### Added
37+
- Event-sourced pipeline-first architecture (`flowctl phase next/done`)
38+
- Shared preamble startup sequence template
39+
40+
### Changed
41+
- Consolidated plugin: removed deprecated skills, codex dupes, fixed cross-refs
42+
- Removed all deprecated skill references from docs
43+
- Removed libSQL/fastembed — pure file-based state
44+
- Merged 4 Rust crates into 2 (core + cli)
45+
46+
### Fixed
47+
- Stale references updated to show flow-code-run as primary entry point
48+
- Test snapshot wildcards to avoid `.flow/` state dependency
49+
50+
## [0.1.0] - 2026-04-07
51+
52+
### Added
53+
- Initial fork from gmickel/flow-next v0.26.1
54+
- Rust `flowctl` binary: task DAG, state machine, file locking, cycle detection
55+
- PID+TTL hybrid file locking with read/write/directory_add modes
56+
- Schema migration infrastructure
57+
- Atomic state writes with rename and error propagation
58+
- Dual-tier worker timeout and deadlock detection
59+
- Enhanced circuit breaker with regression, oscillation detection
60+
- CI pipeline: shellcheck, cargo-audit, JSON validation, shell integration tests
61+
- RTK hook caching for performance
62+
63+
### Changed
64+
- Renamed flow-next → flow-code across all dirs, files, and content
65+
- Flattened phase/step numbering to sequential integers
66+
- Split monolithic smoke_test.sh into focused test files

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](../../LICENSE)
88
[![Claude Code](https://img.shields.io/badge/Claude_Code-Plugin-blueviolet)](https://claude.ai/code)
99

10-
[![Version](https://img.shields.io/badge/Version-0.1.31-green)](https://github.com/z23cc/flow-code/releases)
10+
[![Version](https://img.shields.io/badge/Version-0.1.41-green)](https://github.com/z23cc/flow-code/releases)
1111

1212
[![Status](https://img.shields.io/badge/Status-Active_Development-brightgreen)](https://github.com/z23cc/flow-code/releases)
1313

README_CN.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](../../LICENSE)
88
[![Claude Code](https://img.shields.io/badge/Claude_Code-Plugin-blueviolet)](https://claude.ai/code)
99

10-
[![Version](https://img.shields.io/badge/Version-0.1.31-green)](../../CHANGELOG.md)
10+
[![Version](https://img.shields.io/badge/Version-0.1.41-green)](../../CHANGELOG.md)
1111

1212
[![Status](https://img.shields.io/badge/Status-Active_Development-brightgreen)](../../CHANGELOG.md)
1313

TODOS.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/adr-guide.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ Use `docs/decisions/` with sequential numbering:
1919

2020
```
2121
docs/decisions/
22-
ADR-001-json-file-based-storage.md
23-
ADR-002-wave-checkpoint-execution-model.md
24-
ADR-003-teams-file-locking-protocol.md
22+
ADR-001-pure-file-based-state.md
23+
ADR-002-three-layer-quality-gates.md
24+
ADR-003-rust-single-binary.md
2525
```
2626

2727
Use the template at `references/adr-template.md` as your starting point.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# ADR-001: Pure File-Based State (No Database)
2+
3+
## Status
4+
ACCEPTED
5+
6+
## Date
7+
2026-04-07
8+
9+
## Context
10+
Flow-Code needs persistent state for task DAGs, pipeline progress, file locks, and review receipts. Early versions used libSQL (embedded SQLite) with fastembed for vector search. This added significant binary size, async runtime complexity, and cross-platform build issues.
11+
12+
The plugin runs as a CLI tool invoked by Claude Code — it doesn't need concurrent connections, complex queries, or full-text search. State access patterns are simple: read-modify-write on small JSON files.
13+
14+
## Decision
15+
Remove libSQL and fastembed entirely. Use plain JSON/JSONL files in `.flow/` for all state, with advisory file locks (`fs2`) for concurrency safety and atomic rename for crash safety.
16+
17+
## Alternatives Considered
18+
19+
| Option | Pros | Cons | Why not? |
20+
|--------|------|------|----------|
21+
| libSQL (SQLite) | Familiar SQL, ACID | Binary bloat (~15MB), async runtime, cross-compile pain | Overkill for simple key-value state |
22+
| JSON files (chosen) | Zero deps, readable by any tool, trivial debugging | No complex queries | Queries not needed — state is small |
23+
| RocksDB | Fast, embedded | C++ dependency, cross-compile, opaque format | Even more bloat than SQLite |
24+
25+
## Consequences
26+
- **Easier:** Single binary with no native deps, state inspectable via `cat`/`jq`, simpler CI
27+
- **Harder:** No SQL queries — must load full file to filter (acceptable given file sizes < 100KB)
28+
- **Risk:** File locking is advisory-only — malicious or buggy tools could corrupt state. Mitigated by atomic rename writes.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# ADR-002: Three-Layer Quality Gate System
2+
3+
## Status
4+
ACCEPTED
5+
6+
## Date
7+
2026-04-08
8+
9+
## Context
10+
A single review pass (lint or AI review) catches some issues but misses entire categories. Lint catches syntax but not spec drift. AI review catches design issues but has blind spots from the same model that wrote the code. We needed independent, complementary layers.
11+
12+
## Decision
13+
Implement three non-overlapping review layers that every epic passes through:
14+
15+
1. **Guard** (`flowctl guard`) — Deterministic: lint, type-check, test. Runs at worker Phase 6, wave checkpoint, and close.
16+
2. **RP Plan-Review** — Code-aware spec validation via RepoPrompt context_builder. Catches spec-code misalignment.
17+
3. **Codex Adversarial** (`flowctl codex adversarial`) — Cross-model (GPT) adversarial review. Different model family catches blind spots Claude might share.
18+
19+
## Alternatives Considered
20+
21+
| Option | Pros | Cons | Why not? |
22+
|--------|------|------|----------|
23+
| Single AI review | Simple | Same model, same blind spots | Insufficient coverage |
24+
| Lint + one AI review | Better | Still same-model bias | Missing adversarial perspective |
25+
| Three layers (chosen) | Complementary coverage, cross-model | Slower, requires Codex API | Worth it for quality |
26+
27+
## Consequences
28+
- **Easier:** High confidence in shipped code, catches issues at the right layer
29+
- **Harder:** Pipeline takes longer, requires both RP and Codex backends configured
30+
- **Risk:** Review fatigue from false positives. Mitigated by circuit breaker (max 2-3 iterations per layer)

0 commit comments

Comments
 (0)