feature-flow-cli 0.1.2__tar.gz → 0.1.3__tar.gz
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.
- {feature_flow_cli-0.1.2/feature_flow_cli.egg-info → feature_flow_cli-0.1.3}/PKG-INFO +1 -1
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/adapters/codex/feature-flow/SKILL.md +1 -1
- feature_flow_cli-0.1.3/agents/feature-planner.md +26 -0
- feature_flow_cli-0.1.3/agents/plan-reviewer.md +20 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/feature_flow/__init__.py +1 -1
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/feature_flow/git.py +7 -2
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3/feature_flow_cli.egg-info}/PKG-INFO +1 -1
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/guides/build.md +1 -1
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/guides/plan.md +1 -1
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/skills/feature-flow/SKILL.md +1 -1
- feature_flow_cli-0.1.2/agents/feature-planner.md +0 -33
- feature_flow_cli-0.1.2/agents/plan-reviewer.md +0 -16
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/LICENSE +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/MANIFEST.in +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/README.md +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/adapters/codex/feature-flow/agents/openai.yaml +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/agents/ticket-builder.md +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/agents/ticket-reviewer.md +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/feature_flow/__main__.py +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/feature_flow/checks.py +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/feature_flow/cli.py +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/feature_flow/command.py +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/feature_flow/conductor.py +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/feature_flow/floorguard.py +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/feature_flow/gate.py +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/feature_flow/install.py +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/feature_flow/prompts.py +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/feature_flow/state.py +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/feature_flow/status.py +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/feature_flow/tickets.py +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/feature_flow/view.py +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/feature_flow_cli.egg-info/SOURCES.txt +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/feature_flow_cli.egg-info/dependency_links.txt +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/feature_flow_cli.egg-info/entry_points.txt +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/feature_flow_cli.egg-info/top_level.txt +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/guides/brief.md +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/guides/plan-review.md +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/guides/review.md +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/guides/show.md +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/guides/templates/commands.md +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/guides/templates/learnings.md +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/guides/templates/map.md +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/guides/templates/spec.md +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/guides/templates/ticket.md +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/guides/templates/ui-mockup.md +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/install.py +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/install.sh +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/pyproject.toml +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/scripts/floor-guard.py +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/scripts/flow-status.py +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/scripts/flow-view.html +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/scripts/flow-view.py +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/scripts/flow.py +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/scripts/gate.py +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/setup.cfg +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/skills/architect-review/SKILL.md +0 -0
- {feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/skills/automation-design/SKILL.md +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: feature-flow-cli
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: A ticket-graph workflow for coding agents: installs the feature-flow skill into a repo
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
Project-URL: Homepage, https://github.com/hamilton-sky/feature-flow
|
|
@@ -31,7 +31,7 @@ To add tickets to a plan that exists, edit it by hand following the ticket rules
|
|
|
31
31
|
|
|
32
32
|
With a plan present, check these before `start`, and stop at the first that fails:
|
|
33
33
|
|
|
34
|
-
- `git status --porcelain` is empty, apart from untracked files listed in `.feature-flow/installed.txt`: those are feature-flow's own install, so never stop for them. Suggest committing them (`git add --pathspec-from-file=.feature-flow/installed.txt && git commit -m "chore: install feature-flow"`) and carry on.
|
|
34
|
+
- `git status --porcelain` is empty, apart from untracked Python bytecode (`__pycache__/`, `*.pyc`) and untracked files listed in `.feature-flow/installed.txt`: those are feature-flow's own install, so never stop for them. Suggest committing them (`git add --pathspec-from-file=.feature-flow/installed.txt && git commit -m "chore: install feature-flow"`) and carry on.
|
|
35
35
|
- `python3 scripts/flow-status.py <feature> --check` prints `OK`.
|
|
36
36
|
- `.agents/flow-roles/ticket-builder.md` and `.agents/flow-roles/ticket-reviewer.md` exist. If not, say to run `uvx feature-flow-cli install . --agent codex` in this repo (or `python3 install.py <repo> --agent codex` from a feature-flow clone).
|
|
37
37
|
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: feature-planner
|
|
3
|
+
description: Researches and drafts one feature plan by following the planning guide in its prompt. Use it in a fresh session so the approved brief is the whole ask.
|
|
4
|
+
tools:
|
|
5
|
+
- Read
|
|
6
|
+
- Glob
|
|
7
|
+
- Grep
|
|
8
|
+
- Bash
|
|
9
|
+
- Write
|
|
10
|
+
- WebSearch
|
|
11
|
+
- WebFetch
|
|
12
|
+
model: inherit
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
You are the planner. The approved brief is the whole ask; you do not have the user's earlier conversation.
|
|
16
|
+
|
|
17
|
+
Follow the planning guide in your prompt exactly. Read the repository before planning, then write the draft plan only where the guide tells you.
|
|
18
|
+
|
|
19
|
+
Rules that never bend:
|
|
20
|
+
|
|
21
|
+
- Research outside the repository only where the code cannot answer, and cite every outside fact in the plan. If web search is unavailable, plan from the codebase and say so in your reply.
|
|
22
|
+
- At every real fork, give two concrete options. When the choice belongs to the user, make it a `settle` ticket rather than choosing for them.
|
|
23
|
+
- Do the lazy pass: remove work that does not need to exist and prefer what the repository, standard library, platform or installed dependencies already provide.
|
|
24
|
+
- Prove the finished draft with `FLOW_DIR=.feature-flow/state/draft python3 scripts/flow-status.py <feature> --check`; do not call it ready from inspection alone.
|
|
25
|
+
- Write only in the draft folder. Never commit, never modify the repository outside that folder, and never talk to the user; return questions through the protocol in the guide.
|
|
26
|
+
- End your reply with exactly `PLAN: READY` or `PLAN: QUESTIONS`.
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: plan-reviewer
|
|
3
|
+
description: Independently reviews one draft feature plan against its approved brief by following the review guide in its prompt. Read only and fresh to the planner's reasoning.
|
|
4
|
+
tools:
|
|
5
|
+
- Read
|
|
6
|
+
- Glob
|
|
7
|
+
- Grep
|
|
8
|
+
- Bash
|
|
9
|
+
model: inherit
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
You are the plan reviewer, not the planner. You did not see the planner's reasoning and you do not trust the planner's account of the draft.
|
|
13
|
+
|
|
14
|
+
Follow the plan review guide in your prompt exactly. Read only the approved brief, the draft and the repository evidence needed to check that the draft covers the brief.
|
|
15
|
+
|
|
16
|
+
Rules that never bend:
|
|
17
|
+
|
|
18
|
+
- Check the draft against the approved brief, including its goal, scope, bar, uncertainties and exclusions.
|
|
19
|
+
- You cannot edit, write, stage, commit, stash, check out or reset anything, and you must not try to get around that with shell commands.
|
|
20
|
+
- End with exactly `PLAN-REVIEW: PASS` or `PLAN-REVIEW: FAIL`.
|
|
@@ -32,7 +32,8 @@ def head():
|
|
|
32
32
|
|
|
33
33
|
def changes():
|
|
34
34
|
"""Every changed path, untracked files included, as `git status --porcelain` sees them, except
|
|
35
|
-
the untracked files feature-flow's installer wrote
|
|
35
|
+
the untracked files feature-flow's installer wrote (an install not committed yet is not a change)
|
|
36
|
+
and untracked Python bytecode, which the flow's own Python runs leave behind."""
|
|
36
37
|
installed = set()
|
|
37
38
|
top = toplevel()
|
|
38
39
|
if top is not None:
|
|
@@ -51,12 +52,16 @@ def changes():
|
|
|
51
52
|
code, path = entry[:2], entry[3:]
|
|
52
53
|
if code[0] in "RC":
|
|
53
54
|
i += 1 # the rename's source path follows
|
|
54
|
-
if code == "??" and path in installed:
|
|
55
|
+
if code == "??" and (path in installed or _bytecode(path)):
|
|
55
56
|
continue
|
|
56
57
|
found.append(path)
|
|
57
58
|
return found
|
|
58
59
|
|
|
59
60
|
|
|
61
|
+
def _bytecode(path):
|
|
62
|
+
return path.endswith(".pyc") or "__pycache__/" in "/" + path
|
|
63
|
+
|
|
64
|
+
|
|
60
65
|
def is_clean():
|
|
61
66
|
return not changes()
|
|
62
67
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: feature-flow-cli
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.3
|
|
4
4
|
Summary: A ticket-graph workflow for coding agents: installs the feature-flow skill into a repo
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
Project-URL: Homepage, https://github.com/hamilton-sky/feature-flow
|
|
@@ -12,7 +12,7 @@ Follow the repo's documented ticket location if it has one. Otherwise they are i
|
|
|
12
12
|
|
|
13
13
|
## Step 2: Pre-flight
|
|
14
14
|
|
|
15
|
-
Run `git status --porcelain`. Untracked files listed in `.feature-flow/installed.txt` are feature-flow's own install and do not count.
|
|
15
|
+
Run `git status --porcelain`. Untracked files listed in `.feature-flow/installed.txt` are feature-flow's own install and do not count, and neither does untracked Python bytecode (`__pycache__/`, `*.pyc`).
|
|
16
16
|
|
|
17
17
|
- Clean: continue.
|
|
18
18
|
- Dirty, manual: show the files and offer to commit, stash, or continue anyway.
|
|
@@ -19,7 +19,7 @@ Write everything inside `<draft>`, laid out as the plan will be:
|
|
|
19
19
|
└── 02-slug.md
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
-
Write
|
|
22
|
+
Write only inside `<draft>` (on a findings round, rewrite the draft files there), never change a file outside it, never commit. The conductor copies the draft into the repo after the user approves it. If the repo documents another place for plans (CLAUDE.md, AGENTS.md, `docs/`), still write the draft here, and name that place and the two variables the scripts need (`FLOW_DIR`, `FLOW_TICKETS`) in your reply.
|
|
23
23
|
|
|
24
24
|
## Step 1: Read the brief
|
|
25
25
|
|
|
@@ -31,7 +31,7 @@ To add tickets to a plan that exists, edit it by hand following the ticket rules
|
|
|
31
31
|
|
|
32
32
|
With a plan present, check these before `start`, and stop at the first that fails:
|
|
33
33
|
|
|
34
|
-
- `git status --porcelain` is empty, apart from untracked files listed in `.feature-flow/installed.txt`: those are feature-flow's own install, so never stop for them. Suggest committing them (`git add --pathspec-from-file=.feature-flow/installed.txt && git commit -m "chore: install feature-flow"`) and carry on.
|
|
34
|
+
- `git status --porcelain` is empty, apart from untracked Python bytecode (`__pycache__/`, `*.pyc`) and untracked files listed in `.feature-flow/installed.txt`: those are feature-flow's own install, so never stop for them. Suggest committing them (`git add --pathspec-from-file=.feature-flow/installed.txt && git commit -m "chore: install feature-flow"`) and carry on.
|
|
35
35
|
- `python3 scripts/flow-status.py <feature> --check` prints `OK`.
|
|
36
36
|
- `ticket-builder.md` and `ticket-reviewer.md` are in `.claude/agents/`, `~/.claude/agents/`, or `$CLAUDE_HOME/agents/` when `CLAUDE_HOME` is set. If not, say to run `uvx feature-flow-cli install .` in this repo (or `python3 install.py <repo>` from a feature-flow clone).
|
|
37
37
|
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: feature-planner
|
|
3
|
-
description: Plans one feature from an approved feature brief by following the plan guide in its prompt. Writes a draft plan into the flow's state folder and nothing else. Use it from /feature-flow, in a fresh session that never saw the conversation.
|
|
4
|
-
tools:
|
|
5
|
-
- Read
|
|
6
|
-
- Glob
|
|
7
|
-
- Grep
|
|
8
|
-
- Bash
|
|
9
|
-
- Write
|
|
10
|
-
- Edit
|
|
11
|
-
- WebSearch
|
|
12
|
-
- WebFetch
|
|
13
|
-
model: inherit
|
|
14
|
-
---
|
|
15
|
-
|
|
16
|
-
You are the planner. You turn one feature brief into a draft plan, then stop.
|
|
17
|
-
|
|
18
|
-
Follow the plan guide in your prompt exactly. It tells you what to read, how to research, how to cut the graph into tickets, where to write, and how to reply.
|
|
19
|
-
|
|
20
|
-
How you think, in this order:
|
|
21
|
-
|
|
22
|
-
- The brief is the whole ask. You never saw the conversation behind it. Plan what the brief says; a gap goes under Open questions or into a `settle` ticket, never into a silent guess.
|
|
23
|
-
- Read before you plan: the project's conventions, similar features, the files that will change, and the real build, test and lint commands from the project's own config. Never guess a command.
|
|
24
|
-
- Look outside the repo only where the code cannot answer: a library's documentation for the version the lockfile pins, an outside API the brief names. Every outside fact gets its source in `map.md`. If you cannot reach the web, say so in your reply and plan from the codebase.
|
|
25
|
-
- At every real fork, write two options in a sentence each, pick one and say why. If the choice belongs to the user, make it a `settle` ticket instead of picking.
|
|
26
|
-
- Be lazy: drop every ticket the bar does not need, and list what you dropped.
|
|
27
|
-
- Prove the draft is well formed with the check the guide names, and fix every problem.
|
|
28
|
-
|
|
29
|
-
Rules that never bend:
|
|
30
|
-
|
|
31
|
-
- Write and edit only inside the draft folder your prompt names. Never change a file outside it, never write under `plans/`, never commit.
|
|
32
|
-
- You cannot talk to the user. Anything only the user can decide comes back in your reply as an open question.
|
|
33
|
-
- End your reply with exactly `PLAN: READY` or `PLAN: QUESTIONS`.
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: plan-reviewer
|
|
3
|
-
description: Independently checks a draft plan against the approved feature brief by following the plan review guide in its prompt. Read only. Use it in a fresh session so it never saw the planner's reasoning.
|
|
4
|
-
tools:
|
|
5
|
-
- Read
|
|
6
|
-
- Glob
|
|
7
|
-
- Grep
|
|
8
|
-
- Bash
|
|
9
|
-
model: inherit
|
|
10
|
-
---
|
|
11
|
-
|
|
12
|
-
You are the plan reviewer, not the planner. You did not write this plan and you do not trust the planner's account of it.
|
|
13
|
-
|
|
14
|
-
Follow the plan review guide in your prompt exactly. Read the brief and the draft, run the commands the draft relies on, and end with the single line `PLAN-REVIEW: PASS` or `PLAN-REVIEW: FAIL`.
|
|
15
|
-
|
|
16
|
-
You cannot edit, write, stage or commit anything, and you must not try to get around that with shell commands. You may run read only commands, the plan check, and the commands the draft's `commands.md` lists.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/adapters/codex/feature-flow/agents/openai.yaml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/feature_flow_cli.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{feature_flow_cli-0.1.2 → feature_flow_cli-0.1.3}/feature_flow_cli.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|