issue-flow 0.3.3__tar.gz → 0.3.4__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.
- {issue_flow-0.3.3 → issue_flow-0.3.4}/PKG-INFO +1 -1
- {issue_flow-0.3.3 → issue_flow-0.3.4}/pyproject.toml +1 -1
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/templates/commands/issue-init.md.j2 +7 -1
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/templates/skills/issueflow_issue_comments/SKILL.md.j2 +1 -1
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/templates/skills/issueflow_issue_init/SKILL.md.j2 +2 -2
- {issue_flow-0.3.3 → issue_flow-0.3.4}/LICENSE +0 -0
- {issue_flow-0.3.3 → issue_flow-0.3.4}/README.md +0 -0
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/__init__.py +0 -0
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/cli.py +0 -0
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/config.py +0 -0
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/dependencies.py +0 -0
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/graphify.py +0 -0
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/init.py +0 -0
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/py.typed +0 -0
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/templates/__init__.py +0 -0
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/templates/commands/__init__.py +0 -0
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/templates/commands/graphify.md.j2 +0 -0
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/templates/commands/iflow.md.j2 +0 -0
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/templates/commands/issue-cleanup.md.j2 +0 -0
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/templates/commands/issue-close.md.j2 +0 -0
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/templates/commands/issue-pause.md.j2 +0 -0
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/templates/commands/issue-pick.md.j2 +0 -0
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/templates/commands/issue-plan.md.j2 +0 -0
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/templates/commands/issue-start.md.j2 +0 -0
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/templates/commands/issue-yolo.md.j2 +0 -0
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/templates/docs/__init__.py +0 -0
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/templates/docs/cursor-issue-workflow.md.j2 +0 -0
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/templates/rules/__init__.py +0 -0
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/templates/rules/issueflow-rules.mdc.j2 +0 -0
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/templates/skills/issueflow_graphify/SKILL.md.j2 +0 -0
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/templates/skills/issueflow_history_update/SKILL.md.j2 +0 -0
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/templates/skills/issueflow_iflow/SKILL.md.j2 +0 -0
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/templates/skills/issueflow_issue_cleanup/SKILL.md.j2 +0 -0
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/templates/skills/issueflow_issue_close/SKILL.md.j2 +0 -0
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/templates/skills/issueflow_issue_pause/SKILL.md.j2 +0 -0
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/templates/skills/issueflow_issue_pick/SKILL.md.j2 +0 -0
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/templates/skills/issueflow_issue_plan/SKILL.md.j2 +0 -0
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/templates/skills/issueflow_issue_start/SKILL.md.j2 +0 -0
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/templates/skills/issueflow_issue_yolo/SKILL.md.j2 +0 -0
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/templates/skills/issueflow_version_bump/SKILL.md.j2 +0 -0
- {issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/templating.py +0 -0
|
@@ -9,6 +9,11 @@ The user may provide one of:
|
|
|
9
9
|
|
|
10
10
|
The text after this slash command is the **issue reference**. It may also be **empty or only whitespace** (user ran `/issue-init` with no arguments).
|
|
11
11
|
|
|
12
|
+
## Agent efficiency
|
|
13
|
+
- Run the flow once; do not re-fetch or re-run tools only to diff the written file against the API (for example, no extra `gh` calls or scripts to compare bytes).
|
|
14
|
+
- Do **not** spend effort on trailing newlines, byte-identical file endings, or CRLF vs LF. A normal markdown file with a final newline is fine.
|
|
15
|
+
- "Preserve the issue body exactly as returned by GitHub" means the **body text** from the fetch: paste it into the template in **step 5** and move on. No second-pass verification or newline normalization.
|
|
16
|
+
|
|
12
17
|
## Steps
|
|
13
18
|
|
|
14
19
|
0. Check that the required folders exist (`{{ issueflows_dir }}/{{ tools_folder }}`, `{{ issueflows_dir }}/{{ current_issues_folder }}`, `{{ issueflows_dir }}/{{ partly_solved_folder }}`, `{{ issueflows_dir }}/{{ solved_folder }}`). If not, create them after asking for permission.
|
|
@@ -34,6 +39,7 @@ The text after this slash command is the **issue reference**. It may also be **e
|
|
|
34
39
|
- `gh issue view <N> --repo owner/repo --json title,body,url,number,comments`
|
|
35
40
|
- `comments` returns an array where each entry has at least `author.login`, `body`, and `createdAt`.
|
|
36
41
|
- Confirm resolved `owner/repo` to the user.
|
|
42
|
+
- Change the chat/agent tab title to reflect the issue topic on the form "Issue <issue number> <short description of issue>", for example "Issue 74 cell info".
|
|
37
43
|
|
|
38
44
|
2a. **Triage comments** (only if the `comments` array is non-empty).
|
|
39
45
|
- Follow the `issueflow-issue-comments` skill (`{{ agent_dir }}/skills/issueflow-issue-comments/SKILL.md`) for the rules; summary:
|
|
@@ -103,7 +109,7 @@ Report:
|
|
|
103
109
|
- whether the operation succeeded
|
|
104
110
|
|
|
105
111
|
## Constraints
|
|
106
|
-
- Preserve the issue **body** exactly as returned by GitHub (the `## Original issue text` section
|
|
112
|
+
- Preserve the issue **body** text exactly as returned by GitHub (the `## Original issue text` section reflects the fetched body; see **Agent efficiency** — do not optimize for trailing newlines or line-ending style). Only the `## Comments (curated summary)` section is interpretive.
|
|
107
113
|
- Use UTF-8 markdown.
|
|
108
114
|
- Allowed file modifications for this command:
|
|
109
115
|
- create/update the target `issue<number>_original.md`
|
|
@@ -17,7 +17,7 @@ It is the playbook that `/issue-init` (and the `issueflow-issue-init` skill) del
|
|
|
17
17
|
## When to use
|
|
18
18
|
|
|
19
19
|
- `/issue-init` just fetched an issue with a non-empty `comments` array and needs to write the `## Comments (curated summary)` section.
|
|
20
|
-
- You are re-running triage on an already-captured issue because new comments have arrived (the issue body must stay
|
|
20
|
+
- You are re-running triage on an already-captured issue because new comments have arrived (the issue body text must stay unchanged; only the curated section is rewritten).
|
|
21
21
|
- Any workflow that needs to understand "what does the comment thread actually ask us to do?" without pasting the raw thread into a file.
|
|
22
22
|
|
|
23
23
|
## Inputs
|
|
@@ -28,7 +28,7 @@ Follow this skill when the user wants to **capture a GitHub issue locally** usin
|
|
|
28
28
|
- **Empty / whitespace** — Run `git branch --show-current`. If empty or `main`/`master` (case-insensitive), **stop** and ask for a number, URL, or `owner/repo/#n`. If the branch matches `^\d+-.+`, ask once whether to use that leading issue number; do not proceed without a clear yes/no.
|
|
29
29
|
- **Archived-issue guard** — Before writing, check `{{ issueflows_dir }}/{{ partly_solved_folder }}/` and `{{ issueflows_dir }}/{{ solved_folder }}/` for existing `issue<n>_*` files. If the issue is already archived, warn and require a second explicit confirmation before re-opening it in `{{ issueflows_dir }}/{{ current_issues_folder }}/`.
|
|
30
30
|
|
|
31
|
-
3. **Fetch** — `gh issue view <n> --repo owner/repo --json title,body,url,number,comments`. The `comments` field returns an array of `{author.login, body, createdAt, ...}` that step 3a consumes. On failure, report the error and suggest `gh auth login`.
|
|
31
|
+
3. **Fetch** — `gh issue view <n> --repo owner/repo --json title,body,url,number,comments`. The `comments` field returns an array of `{author.login, body, createdAt, ...}` that step 3a consumes. On failure, report the error and suggest `gh auth login`. After confirming `owner/repo`, change the chat/agent tab title to reflect the issue topic on the form "Issue <issue number> <short description of issue>" (e.g. "Issue 74 cell info").
|
|
32
32
|
|
|
33
33
|
3a. **Triage comments** (skip if `comments` is empty). Follow the [`issueflow-issue-comments`](../issueflow-issue-comments/SKILL.md) skill. Summary of rules:
|
|
34
34
|
- Process comments chronologically; **later comments win conflicts** with earlier ones.
|
|
@@ -62,7 +62,7 @@ Follow this skill when the user wants to **capture a GitHub issue locally** usin
|
|
|
62
62
|
_Note: this section is an interpretive summary of the comment thread, not a verbatim dump. Source comments: <count>, last comment by @<login> on <date>._
|
|
63
63
|
```
|
|
64
64
|
|
|
65
|
-
Preserve the body **
|
|
65
|
+
Preserve the body **text** faithfully as returned by GitHub — don't paraphrase or edit it, but don't waste effort on trailing newlines or CRLF vs LF either (no second-pass byte-diffing). The `## Comments (curated summary)` section is **optional** — include it only when step 3a produced at least one bullet, and drop any of the three bullet groups that have no content.
|
|
66
66
|
|
|
67
67
|
6. **Conflicts** — If `issue<number>_original.md` already exists, do not overwrite silently; ask the user.
|
|
68
68
|
|
|
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
|
{issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/templates/docs/cursor-issue-workflow.md.j2
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/templates/skills/issueflow_graphify/SKILL.md.j2
RENAMED
|
File without changes
|
|
File without changes
|
{issue_flow-0.3.3 → issue_flow-0.3.4}/src/issue_flow/templates/skills/issueflow_iflow/SKILL.md.j2
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
|