spectoflow 0.14.2 → 0.14.3
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/package.json +1 -1
- package/templates/README.md +68 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "spectoflow",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.3",
|
|
4
4
|
"description": "Agent-agnostic spec-driven development framework + real-time local control plane. Markdown artifacts, intent router, workflow-by-scope.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"spec-driven-development",
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# `.spectoflow/` — what this folder is
|
|
2
|
+
|
|
3
|
+
You're looking at the **spectoflow** framework for this project. spectoflow is an **agent-agnostic,
|
|
4
|
+
spec-driven development (SDD)** framework with a **real-time local control plane** (a dashboard). You
|
|
5
|
+
talk to your AI coding agent in plain language; spectoflow classifies the intent, runs the right
|
|
6
|
+
workflow, and tracks everything as **markdown artifacts** you can diff and own.
|
|
7
|
+
|
|
8
|
+
Everything the framework needs lives here in `.spectoflow/`, so your project root stays clean and the
|
|
9
|
+
framework is swappable/updatable. Your per-agent entry files (`CLAUDE.md`, `AGENTS.md`, `GEMINI.md`)
|
|
10
|
+
sit at the project root and just point back here.
|
|
11
|
+
|
|
12
|
+
## How you use it
|
|
13
|
+
|
|
14
|
+
- **Just say what you want** to your agent ("add a login feature", "fix T-042"). The router in
|
|
15
|
+
`AGENTS.md` classifies it (quick / standard / major), gates it by your **mode** and **policy**, and
|
|
16
|
+
runs the matching workflow — no ceremonial command.
|
|
17
|
+
- **Watch it live** in the dashboard:
|
|
18
|
+
```
|
|
19
|
+
spectoflow dashboard # → http://localhost:4319 (or: node .spectoflow/dashboard/server.js)
|
|
20
|
+
spectoflow dashboard stop # stop it (alias: spectoflow stop)
|
|
21
|
+
spectoflow status # progress + whether the dashboard is running
|
|
22
|
+
```
|
|
23
|
+
- **Change how it runs** in the dashboard's **Settings** tab (autonomy mode, output language, and the
|
|
24
|
+
dashboard **design**), or by editing `config.json`.
|
|
25
|
+
- **Update the framework** to a newer kit: `spectoflow update` (preserves your edits; a file you
|
|
26
|
+
changed is kept and its new version is written next to it as `*.new`).
|
|
27
|
+
|
|
28
|
+
## Where your work lives
|
|
29
|
+
|
|
30
|
+
Your **artifacts are markdown, and they live at the project root, not in here**:
|
|
31
|
+
|
|
32
|
+
- `specs/` — the specifications (intent, decisions, acceptance criteria) — your source of truth.
|
|
33
|
+
- `plans/` — checkbox task plans (`- [ ] T-001 Title @owner ~level %status`). The dashboard parses
|
|
34
|
+
these and writes back **one line at a time** (granular), so your agent and the dashboard never
|
|
35
|
+
clobber each other.
|
|
36
|
+
|
|
37
|
+
## What each file/folder here is
|
|
38
|
+
|
|
39
|
+
| Path | What it is |
|
|
40
|
+
|------|------------|
|
|
41
|
+
| `AGENTS.md` | **The brain** — the intent router, the modes, and the standing rules your agent follows. |
|
|
42
|
+
| `workflow.md` | The **single** workflow definition (the pipeline steps and their capability/skill). |
|
|
43
|
+
| `capabilities.md` | The capability palette (intake, analysis, planning, implementation, testing, quality, security, governance…) and how it adapts to the project type. |
|
|
44
|
+
| `policy.md` | **Non-negotiable gates** — actions that need explicit human approval regardless of mode (prod deploy, destructive migration, security change, spend, source-of-truth drift at done/Major). |
|
|
45
|
+
| `config.json` | Your settings: `mode`, `language`, active `agent`, `runners`, `design`, plans/specs dir. **Yours to edit** — `update` never overwrites it. |
|
|
46
|
+
| `agents/` | **Stable team personas** (product-manager, developer, qa-engineer, code-reviewer, spec-source-guardian…) — the *who*. |
|
|
47
|
+
| `skills/` | **Evolving procedures** (write-spec, write-plan, implement, code-review, audit-source…) — the *how*. A workflow step → a capability → its agent → runs a skill. |
|
|
48
|
+
| `dashboard/` | The zero-dependency control plane: `server.js` (SSE + file-watch), `runner.js`, `orchestrator.js`, and `public/` (the UI, charts, designs, fonts). |
|
|
49
|
+
| `lib/` | The markdown storage engine (`store.js`) and helpers (e.g. `spec-drift.js` for the spec-source-guardian). |
|
|
50
|
+
| `hooks/` | Optional Claude Code hooks you can wire in yourself (e.g. `spec-drift.js`, a `Stop` hook that surfaces source-of-truth drift to the Attention tab). |
|
|
51
|
+
| `runtime.json` | **Volatile execution state** (running agents, orchestration, group-chat messages, attention items, history). Gitignored — safe to delete; it's rebuilt. |
|
|
52
|
+
| `.dashboard.lock` | Ephemeral pidfile so `spectoflow stop` can find the running dashboard. Gitignored. |
|
|
53
|
+
| `.manifest.json` | Hashes of the framework files at install time, so `update` can tell an untouched file from one you edited. |
|
|
54
|
+
|
|
55
|
+
## Principles (why it's shaped this way)
|
|
56
|
+
|
|
57
|
+
- **Artifacts are markdown** in `specs/`/`plans/`; volatile state is `runtime.json`. Writes are granular.
|
|
58
|
+
- **The framework lives here**; per-agent entry files are thin shims that point back — never duplicate
|
|
59
|
+
framework content per agent.
|
|
60
|
+
- **Agents are stable personas; skills are the evolving procedures.** Workflow → capability → agent → skill.
|
|
61
|
+
- **Mode ≠ policy.** Mode is routine friction; policy is approvals required regardless of mode.
|
|
62
|
+
- **Spec-anchored:** the spec is the intent of record; the code and tests are the enforced reality; the
|
|
63
|
+
`spec-source-guardian` keeps them from drifting apart (it flags, it never silently auto-fixes).
|
|
64
|
+
- **Zero runtime dependencies** — native Node only. The dashboard works offline.
|
|
65
|
+
|
|
66
|
+
## More
|
|
67
|
+
|
|
68
|
+
Project & docs: https://github.com/georgesmomo/spectoflow · installed via `npm i -g spectoflow`.
|