pi-everforest 0.1.3 → 0.1.5
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/CHANGELOG.md +12 -0
- package/README.md +151 -0
- package/assets/preview.svg +73 -0
- package/package.json +8 -1
- package/.github/workflows/publish.yml +0 -19
- package/AGENTS.md +0 -20
- package/CONTEXT.md +0 -29
- package/docs/agents/domain.md +0 -51
- package/docs/agents/issue-tracker.md +0 -45
- package/docs/agents/triage-labels.md +0 -15
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.1.5] - 2026-08-27
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Restrict published npm package contents to the themes and required project documentation.
|
|
15
|
+
|
|
16
|
+
## [0.1.4] - 2026-08-21
|
|
17
|
+
|
|
18
|
+
### Added
|
|
19
|
+
|
|
20
|
+
- Project README with installation, configuration, theme reference, and palette preview.
|
|
21
|
+
|
|
10
22
|
## [0.1.3] - 2026-08-12
|
|
11
23
|
|
|
12
24
|
### Fixed
|
package/README.md
ADDED
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
# Pi Everforest
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/pi-everforest)
|
|
4
|
+
[](https://pi.dev/packages/pi-everforest)
|
|
5
|
+
[](./LICENSE)
|
|
6
|
+
|
|
7
|
+
Six warm, green-based [Everforest](https://github.com/sainnhe/everforest) color schemes packaged as installable themes for the [Pi coding agent](https://pi.dev).
|
|
8
|
+
|
|
9
|
+
<p align="center">
|
|
10
|
+
<img src="assets/preview.svg" alt="Everforest dark medium and light medium palette previews" width="100%">
|
|
11
|
+
</p>
|
|
12
|
+
|
|
13
|
+
> The preview illustrates the package palettes. Exact colors depend on your terminal and display settings.
|
|
14
|
+
|
|
15
|
+
## Features
|
|
16
|
+
|
|
17
|
+
- Dark and light variants with hard, medium, and soft contrast levels
|
|
18
|
+
- Colors for Pi's UI, Markdown, diffs, syntax highlighting, thinking levels, and bash mode
|
|
19
|
+
- Matching colors for Pi HTML exports
|
|
20
|
+
- Native Pi package discovery through `pi.themes`
|
|
21
|
+
- No runtime dependencies
|
|
22
|
+
|
|
23
|
+
## Install
|
|
24
|
+
|
|
25
|
+
Install the package from npm:
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
pi install npm:pi-everforest
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Or install it directly from GitHub:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
pi install git:github.com/angribot/pi-everforest
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
To install the package only for the current project, add `-l`:
|
|
38
|
+
|
|
39
|
+
```bash
|
|
40
|
+
pi install -l npm:pi-everforest
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
## Themes
|
|
44
|
+
|
|
45
|
+
| Theme | Variant | Contrast |
|
|
46
|
+
| --- | --- | --- |
|
|
47
|
+
| `everforest-dark-hard` | Dark | Hard |
|
|
48
|
+
| `everforest-dark-medium` | Dark | Medium |
|
|
49
|
+
| `everforest-dark-soft` | Dark | Soft |
|
|
50
|
+
| `everforest-light-hard` | Light | Hard |
|
|
51
|
+
| `everforest-light-medium` | Light | Medium |
|
|
52
|
+
| `everforest-light-soft` | Light | Soft |
|
|
53
|
+
|
|
54
|
+
`medium` is Everforest's default contrast level and a good place to start.
|
|
55
|
+
|
|
56
|
+
## Use
|
|
57
|
+
|
|
58
|
+
### Select interactively
|
|
59
|
+
|
|
60
|
+
Open `/settings` in Pi and select one of the six theme names above.
|
|
61
|
+
|
|
62
|
+
### Configure a theme
|
|
63
|
+
|
|
64
|
+
Set the `theme` key in `~/.pi/agent/settings.json`:
|
|
65
|
+
|
|
66
|
+
```json
|
|
67
|
+
{
|
|
68
|
+
"theme": "everforest-dark-medium"
|
|
69
|
+
}
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
### Follow terminal appearance
|
|
73
|
+
|
|
74
|
+
Pair a light theme with a dark theme to follow your terminal's appearance:
|
|
75
|
+
|
|
76
|
+
```json
|
|
77
|
+
{
|
|
78
|
+
"theme": "everforest-light-medium/everforest-dark-medium"
|
|
79
|
+
}
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
The light theme goes before the slash and the dark theme after it. The same pattern works with the hard and soft pairs.
|
|
83
|
+
|
|
84
|
+
### Use for one session
|
|
85
|
+
|
|
86
|
+
Start Pi with a theme without changing the saved setting:
|
|
87
|
+
|
|
88
|
+
```bash
|
|
89
|
+
pi --use-theme everforest-dark-medium
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Or use the automatic light/dark pair:
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
pi --use-theme everforest-light-medium/everforest-dark-medium
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
## Palette design
|
|
99
|
+
|
|
100
|
+
[Everforest](https://github.com/sainnhe/everforest) describes its palette as green-based, warm-toned, and designed around soft contrast. This package maps its two variants and three contrast levels onto Pi's theme tokens:
|
|
101
|
+
|
|
102
|
+
- core UI and message surfaces
|
|
103
|
+
- success, warning, and error states
|
|
104
|
+
- Markdown and code syntax
|
|
105
|
+
- tool output and diffs
|
|
106
|
+
- thinking-level and bash-mode borders
|
|
107
|
+
- HTML export surfaces
|
|
108
|
+
|
|
109
|
+
This is an independent Pi theme package based on the upstream Everforest palette; it is not an official Everforest project.
|
|
110
|
+
|
|
111
|
+
## Terminal notes
|
|
112
|
+
|
|
113
|
+
Pi uses 24-bit RGB colors. Most modern terminals support them, while older 256-color terminals receive an approximation.
|
|
114
|
+
|
|
115
|
+
You can check for true-color support with:
|
|
116
|
+
|
|
117
|
+
```bash
|
|
118
|
+
echo "$COLORTERM"
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
The result is commonly `truecolor` or `24bit`. In VS Code, set `terminal.integrated.minimumContrastRatio` to `1` if its automatic contrast adjustment changes the palette.
|
|
122
|
+
|
|
123
|
+
## Development
|
|
124
|
+
|
|
125
|
+
Load a theme directly from a checkout:
|
|
126
|
+
|
|
127
|
+
```bash
|
|
128
|
+
pi \
|
|
129
|
+
--theme ./themes/everforest-dark-medium.json \
|
|
130
|
+
--use-theme everforest-dark-medium
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
Validate all theme files as JSON:
|
|
134
|
+
|
|
135
|
+
```bash
|
|
136
|
+
for theme in themes/*.json; do
|
|
137
|
+
python3 -m json.tool "$theme" >/dev/null || exit 1
|
|
138
|
+
done
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
Theme files include Pi's JSON schema URL for editor completion and validation.
|
|
142
|
+
|
|
143
|
+
## Credits
|
|
144
|
+
|
|
145
|
+
- Palette: [sainnhe/everforest](https://github.com/sainnhe/everforest)
|
|
146
|
+
- Pi theme documentation: [Themes](https://github.com/earendil-works/pi/blob/main/packages/coding-agent/docs/themes.md)
|
|
147
|
+
- Pi package documentation: [Packages](https://github.com/earendil-works/pi/blob/main/packages/coding-agent/docs/packages.md)
|
|
148
|
+
|
|
149
|
+
## License
|
|
150
|
+
|
|
151
|
+
[MIT](LICENSE). Everforest is also distributed under the MIT License by its upstream authors.
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="560" viewBox="0 0 1200 560" role="img" aria-labelledby="title desc">
|
|
2
|
+
<title id="title">Pi Everforest palette preview</title>
|
|
3
|
+
<desc id="desc">Side-by-side previews of the Everforest dark medium and light medium themes for pi.</desc>
|
|
4
|
+
<defs>
|
|
5
|
+
<filter id="shadow" x="-10%" y="-10%" width="120%" height="130%">
|
|
6
|
+
<feDropShadow dx="0" dy="12" stdDeviation="16" flood-color="#1E2326" flood-opacity="0.28"/>
|
|
7
|
+
</filter>
|
|
8
|
+
</defs>
|
|
9
|
+
|
|
10
|
+
<rect width="1200" height="560" rx="28" fill="#E6E2CC"/>
|
|
11
|
+
|
|
12
|
+
<g transform="translate(54 54)" filter="url(#shadow)">
|
|
13
|
+
<rect width="522" height="452" rx="18" fill="#2D353B"/>
|
|
14
|
+
<path d="M18 0h486a18 18 0 0 1 18 18v42H0V18A18 18 0 0 1 18 0Z" fill="#343F44"/>
|
|
15
|
+
<circle cx="28" cy="30" r="7" fill="#E67E80"/>
|
|
16
|
+
<circle cx="52" cy="30" r="7" fill="#DBBC7F"/>
|
|
17
|
+
<circle cx="76" cy="30" r="7" fill="#A7C080"/>
|
|
18
|
+
<text x="261" y="36" text-anchor="middle" font-family="ui-monospace, SFMono-Regular, Menlo, monospace" font-size="15" font-weight="600" fill="#9DA9A0">everforest-dark-medium</text>
|
|
19
|
+
|
|
20
|
+
<text x="30" y="105" font-family="ui-monospace, SFMono-Regular, Menlo, monospace" font-size="18" font-weight="700" fill="#E69875">Pi Everforest</text>
|
|
21
|
+
<text x="30" y="137" font-family="ui-monospace, SFMono-Regular, Menlo, monospace" font-size="15" fill="#D3C6AA">Warm, green-based colors for focused coding.</text>
|
|
22
|
+
|
|
23
|
+
<rect x="24" y="168" width="474" height="88" rx="10" fill="#343F44"/>
|
|
24
|
+
<text x="42" y="198" font-family="ui-monospace, SFMono-Regular, Menlo, monospace" font-size="13" font-weight="700" fill="#83C092">YOU</text>
|
|
25
|
+
<text x="42" y="227" font-family="ui-monospace, SFMono-Regular, Menlo, monospace" font-size="15" fill="#D3C6AA">Add a calm color scheme to pi.</text>
|
|
26
|
+
|
|
27
|
+
<text x="30" y="294" font-family="ui-monospace, SFMono-Regular, Menlo, monospace" font-size="13" font-weight="700" fill="#E69875">READ</text>
|
|
28
|
+
<text x="82" y="294" font-family="ui-monospace, SFMono-Regular, Menlo, monospace" font-size="14" fill="#859289">themes/everforest-dark-medium.json</text>
|
|
29
|
+
<rect x="24" y="314" width="474" height="66" rx="10" fill="#425047"/>
|
|
30
|
+
<text x="42" y="354" font-family="ui-monospace, SFMono-Regular, Menlo, monospace" font-size="15" fill="#A7C080">✓ Theme loaded successfully</text>
|
|
31
|
+
|
|
32
|
+
<g transform="translate(30 407)">
|
|
33
|
+
<rect width="46" height="18" rx="9" fill="#E67E80"/>
|
|
34
|
+
<rect x="56" width="46" height="18" rx="9" fill="#E69875"/>
|
|
35
|
+
<rect x="112" width="46" height="18" rx="9" fill="#DBBC7F"/>
|
|
36
|
+
<rect x="168" width="46" height="18" rx="9" fill="#A7C080"/>
|
|
37
|
+
<rect x="224" width="46" height="18" rx="9" fill="#83C092"/>
|
|
38
|
+
<rect x="280" width="46" height="18" rx="9" fill="#7FBBB3"/>
|
|
39
|
+
<rect x="336" width="46" height="18" rx="9" fill="#D699B6"/>
|
|
40
|
+
</g>
|
|
41
|
+
</g>
|
|
42
|
+
|
|
43
|
+
<g transform="translate(624 54)" filter="url(#shadow)">
|
|
44
|
+
<rect width="522" height="452" rx="18" fill="#FDF6E3"/>
|
|
45
|
+
<path d="M18 0h486a18 18 0 0 1 18 18v42H0V18A18 18 0 0 1 18 0Z" fill="#F4F0D9"/>
|
|
46
|
+
<circle cx="28" cy="30" r="7" fill="#F85552"/>
|
|
47
|
+
<circle cx="52" cy="30" r="7" fill="#DFA000"/>
|
|
48
|
+
<circle cx="76" cy="30" r="7" fill="#8DA101"/>
|
|
49
|
+
<text x="261" y="36" text-anchor="middle" font-family="ui-monospace, SFMono-Regular, Menlo, monospace" font-size="15" font-weight="600" fill="#829181">everforest-light-medium</text>
|
|
50
|
+
|
|
51
|
+
<text x="30" y="105" font-family="ui-monospace, SFMono-Regular, Menlo, monospace" font-size="18" font-weight="700" fill="#F57D26">Pi Everforest</text>
|
|
52
|
+
<text x="30" y="137" font-family="ui-monospace, SFMono-Regular, Menlo, monospace" font-size="15" fill="#5C6A72">Warm, green-based colors for focused coding.</text>
|
|
53
|
+
|
|
54
|
+
<rect x="24" y="168" width="474" height="88" rx="10" fill="#F4F0D9"/>
|
|
55
|
+
<text x="42" y="198" font-family="ui-monospace, SFMono-Regular, Menlo, monospace" font-size="13" font-weight="700" fill="#35A77C">YOU</text>
|
|
56
|
+
<text x="42" y="227" font-family="ui-monospace, SFMono-Regular, Menlo, monospace" font-size="15" fill="#5C6A72">Add a calm color scheme to pi.</text>
|
|
57
|
+
|
|
58
|
+
<text x="30" y="294" font-family="ui-monospace, SFMono-Regular, Menlo, monospace" font-size="13" font-weight="700" fill="#F57D26">READ</text>
|
|
59
|
+
<text x="82" y="294" font-family="ui-monospace, SFMono-Regular, Menlo, monospace" font-size="14" fill="#939F91">themes/everforest-light-medium.json</text>
|
|
60
|
+
<rect x="24" y="314" width="474" height="66" rx="10" fill="#F0F1D2"/>
|
|
61
|
+
<text x="42" y="354" font-family="ui-monospace, SFMono-Regular, Menlo, monospace" font-size="15" fill="#8DA101">✓ Theme loaded successfully</text>
|
|
62
|
+
|
|
63
|
+
<g transform="translate(30 407)">
|
|
64
|
+
<rect width="46" height="18" rx="9" fill="#F85552"/>
|
|
65
|
+
<rect x="56" width="46" height="18" rx="9" fill="#F57D26"/>
|
|
66
|
+
<rect x="112" width="46" height="18" rx="9" fill="#DFA000"/>
|
|
67
|
+
<rect x="168" width="46" height="18" rx="9" fill="#8DA101"/>
|
|
68
|
+
<rect x="224" width="46" height="18" rx="9" fill="#35A77C"/>
|
|
69
|
+
<rect x="280" width="46" height="18" rx="9" fill="#3A94C5"/>
|
|
70
|
+
<rect x="336" width="46" height="18" rx="9" fill="#DF69BA"/>
|
|
71
|
+
</g>
|
|
72
|
+
</g>
|
|
73
|
+
</svg>
|
package/package.json
CHANGED
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-everforest",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "Everforest color schemes (dark/light × hard/medium/soft) as themes for the pi coding agent",
|
|
5
5
|
"license": "MIT",
|
|
6
|
+
"files": [
|
|
7
|
+
"themes",
|
|
8
|
+
"assets/preview.svg",
|
|
9
|
+
"README.md",
|
|
10
|
+
"LICENSE",
|
|
11
|
+
"CHANGELOG.md"
|
|
12
|
+
],
|
|
6
13
|
"repository": {
|
|
7
14
|
"type": "git",
|
|
8
15
|
"url": "git+https://github.com/angribot/pi-everforest.git"
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
name: Publish
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
tags:
|
|
6
|
-
- "v*"
|
|
7
|
-
|
|
8
|
-
jobs:
|
|
9
|
-
publish:
|
|
10
|
-
runs-on: ubuntu-latest
|
|
11
|
-
permissions:
|
|
12
|
-
contents: read
|
|
13
|
-
id-token: write # OIDC: npm trusted publishing + provenance attestation
|
|
14
|
-
steps:
|
|
15
|
-
- uses: actions/checkout@v7
|
|
16
|
-
- uses: actions/setup-node@v7
|
|
17
|
-
with:
|
|
18
|
-
node-version: 26
|
|
19
|
-
- run: npm publish --provenance
|
package/AGENTS.md
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
## Agent skills
|
|
2
|
-
|
|
3
|
-
### Issue tracker
|
|
4
|
-
|
|
5
|
-
Issues live in GitHub Issues, managed via the `gh` CLI. See `docs/agents/issue-tracker.md`.
|
|
6
|
-
|
|
7
|
-
### Triage labels
|
|
8
|
-
|
|
9
|
-
Default vocabulary: `needs-triage`, `needs-info`, `ready-for-agent`, `ready-for-human`, `wontfix`. See `docs/agents/triage-labels.md`.
|
|
10
|
-
|
|
11
|
-
### Domain docs
|
|
12
|
-
|
|
13
|
-
Single-context: `CONTEXT.md` + `docs/adr/` at the repo root. See `docs/agents/domain.md`.
|
|
14
|
-
|
|
15
|
-
## Conventions
|
|
16
|
-
|
|
17
|
-
- **Commits**: conventional commit messages (`feat:`, `fix:`, `docs:`, …).
|
|
18
|
-
- **Version bump**: on "bump to x.y.z" — update the `version` in `package.json`, move the `[Unreleased]` entries into a new dated `## [x.y.z] - YYYY-MM-DD` section (leaving `[Unreleased]` empty), commit as `chore(release): x.y.z`, then show the proposed tag (`vx.y.z` + the commit it points at) and wait for confirmation before tagging.
|
|
19
|
-
- **Changelog**: decide per change whether it is notable — user-visible changes (new schemes, palette/color adjustments, packaging) get an entry; internal-only changes (docs typos, refactors) don't.
|
|
20
|
-
- **Release automation**: none yet — no workflow, no `npm publish`; conventional commits keep the release-please option open.
|
package/CONTEXT.md
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# Pi Everforest
|
|
2
|
-
|
|
3
|
-
A theme extension for the pi coding agent, packaging the six sainnhe/everforest color schemes as installable pi themes.
|
|
4
|
-
|
|
5
|
-
## Language
|
|
6
|
-
|
|
7
|
-
### 上游配色
|
|
8
|
-
|
|
9
|
-
**scheme**:
|
|
10
|
-
六套配色组合之一,由 variant × contrast 决定(如 `everforest-dark-medium`)。
|
|
11
|
-
_Avoid_: 主题、配色方案(指上游组合时)
|
|
12
|
-
|
|
13
|
-
**variant**:
|
|
14
|
-
明暗色系,`dark` 或 `light`。
|
|
15
|
-
|
|
16
|
-
**contrast**:
|
|
17
|
-
背景对比度,`hard`、`medium` 或 `soft`(medium 为上游默认)。
|
|
18
|
-
|
|
19
|
-
**palette**:
|
|
20
|
-
上游 sainnhe/everforest 的官方色值集合,分 `palette1`(背景)与 `palette2`(前景)两个子表。
|
|
21
|
-
|
|
22
|
-
### pi 侧概念
|
|
23
|
-
|
|
24
|
-
**theme**:
|
|
25
|
-
pi 主题扩展中的一个 JSON 文件(`vars` + `colors` + 可选 `export`),与某个 scheme 一一对应。
|
|
26
|
-
_Avoid_: scheme(指 pi 文件时)
|
|
27
|
-
|
|
28
|
-
**token**:
|
|
29
|
-
pi 主题 `colors` 中的具名颜色槽位(如 `accent`、`toolTitle`),语义由 pi 固定。
|
package/docs/agents/domain.md
DELETED
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
# Domain Docs
|
|
2
|
-
|
|
3
|
-
How the engineering skills should consume this repo's domain documentation when exploring the codebase.
|
|
4
|
-
|
|
5
|
-
## Before exploring, read these
|
|
6
|
-
|
|
7
|
-
- **`CONTEXT.md`** at the repo root, or
|
|
8
|
-
- **`CONTEXT-MAP.md`** at the repo root if it exists — it points at one `CONTEXT.md` per context. Read each one relevant to the topic.
|
|
9
|
-
- **`docs/adr/`** — read ADRs that touch the area you're about to work in. In multi-context repos, also check `src/<context>/docs/adr/` for context-scoped decisions.
|
|
10
|
-
|
|
11
|
-
If any of these files don't exist, **proceed silently**. Don't flag their absence; don't suggest creating them upfront. The `/domain-modeling` skill (reached via `/grill-with-docs` and `/improve-codebase-architecture`) creates them lazily when terms or decisions actually get resolved.
|
|
12
|
-
|
|
13
|
-
## File structure
|
|
14
|
-
|
|
15
|
-
Single-context repo (most repos):
|
|
16
|
-
|
|
17
|
-
```
|
|
18
|
-
/
|
|
19
|
-
├── CONTEXT.md
|
|
20
|
-
├── docs/adr/
|
|
21
|
-
│ ├── 0001-event-sourced-orders.md
|
|
22
|
-
│ └── 0002-postgres-for-write-model.md
|
|
23
|
-
└── src/
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
Multi-context repo (presence of `CONTEXT-MAP.md` at the root):
|
|
27
|
-
|
|
28
|
-
```
|
|
29
|
-
/
|
|
30
|
-
├── CONTEXT-MAP.md
|
|
31
|
-
├── docs/adr/ ← system-wide decisions
|
|
32
|
-
└── src/
|
|
33
|
-
├── ordering/
|
|
34
|
-
│ ├── CONTEXT.md
|
|
35
|
-
│ └── docs/adr/ ← context-specific decisions
|
|
36
|
-
└── billing/
|
|
37
|
-
├── CONTEXT.md
|
|
38
|
-
└── docs/adr/
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
## Use the glossary's vocabulary
|
|
42
|
-
|
|
43
|
-
When your output names a domain concept (in an issue title, a refactor proposal, a hypothesis, a test name), use the term as defined in `CONTEXT.md`. Don't drift to synonyms the glossary explicitly avoids.
|
|
44
|
-
|
|
45
|
-
If the concept you need isn't in the glossary yet, that's a signal — either you're inventing language the project doesn't use (reconsider) or there's a real gap (note it for `/domain-modeling`).
|
|
46
|
-
|
|
47
|
-
## Flag ADR conflicts
|
|
48
|
-
|
|
49
|
-
If your output contradicts an existing ADR, surface it explicitly rather than silently overriding:
|
|
50
|
-
|
|
51
|
-
> _Contradicts ADR-0007 (event-sourced orders) — but worth reopening because…_
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
# Issue tracker: GitHub
|
|
2
|
-
|
|
3
|
-
Issues and specs for this repo live as GitHub issues. Use the `gh` CLI for all operations.
|
|
4
|
-
|
|
5
|
-
## Conventions
|
|
6
|
-
|
|
7
|
-
- **Create an issue**: `gh issue create --title "..." --body "..."`. Use a heredoc for multi-line bodies.
|
|
8
|
-
- **Read an issue**: `gh issue view <number> --comments`, filtering comments by `jq` and also fetching labels.
|
|
9
|
-
- **List issues**: `gh issue list --state open --json number,title,body,labels,comments --jq '[.[] | {number, title, body, labels: [.labels[].name], comments: [.comments[].body]}]'` with appropriate `--label` and `--state` filters.
|
|
10
|
-
- **Comment on an issue**: `gh issue comment <number> --body "..."`
|
|
11
|
-
- **Apply / remove labels**: `gh issue edit <number> --add-label "..."` / `--remove-label "..."`
|
|
12
|
-
- **Close**: `gh issue close <number> --comment "..."`
|
|
13
|
-
|
|
14
|
-
Infer the repo from `git remote -v` — `gh` does this automatically when run inside a clone.
|
|
15
|
-
|
|
16
|
-
## Pull requests as a triage surface
|
|
17
|
-
|
|
18
|
-
**PRs as a request surface: no.** _(Set to `yes` if this repo treats external PRs as feature requests; `/triage` reads this flag.)_
|
|
19
|
-
|
|
20
|
-
When set to `yes`, PRs run through the same labels and states as issues, using the `gh pr` equivalents:
|
|
21
|
-
|
|
22
|
-
- **Read a PR**: `gh pr view <number> --comments` and `gh pr diff <number>` for the diff.
|
|
23
|
-
- **List external PRs for triage**: `gh pr list --state open --json number,title,body,labels,author,authorAssociation,comments` then keep only `authorAssociation` of `CONTRIBUTOR`, `FIRST_TIME_CONTRIBUTOR`, or `NONE` (drop `OWNER`/`MEMBER`/`COLLABORATOR`).
|
|
24
|
-
- **Comment / label / close**: `gh pr comment`, `gh pr edit --add-label`/`--remove-label`, `gh pr close`.
|
|
25
|
-
|
|
26
|
-
GitHub shares one number space across issues and PRs, so a bare `#42` may be either — resolve with `gh pr view 42` and fall back to `gh issue view 42`.
|
|
27
|
-
|
|
28
|
-
## When a skill says "publish to the issue tracker"
|
|
29
|
-
|
|
30
|
-
Create a GitHub issue.
|
|
31
|
-
|
|
32
|
-
## When a skill says "fetch the relevant ticket"
|
|
33
|
-
|
|
34
|
-
Run `gh issue view <number> --comments`.
|
|
35
|
-
|
|
36
|
-
## Wayfinding operations
|
|
37
|
-
|
|
38
|
-
Used by `/wayfinder`. The **map** is a single issue with **child** issues as tickets.
|
|
39
|
-
|
|
40
|
-
- **Map**: a single issue labelled `wayfinder:map`, holding the Notes / Decisions-so-far / Fog body. `gh issue create --label wayfinder:map`.
|
|
41
|
-
- **Child ticket**: an issue linked to the map as a GitHub sub-issue (`gh api` on the sub-issues endpoint). Where sub-issues aren't enabled, add the child to a task list in the map body and put `Part of #<map>` at the top of the child body. Labels: `wayfinder:<type>` (`research`/`prototype`/`grilling`/`task`). Once claimed, the ticket is assigned to the driving dev.
|
|
42
|
-
- **Blocking**: GitHub's **native issue dependencies** — the canonical, UI-visible representation. Add an edge with `gh api --method POST repos/<owner>/<repo>/issues/<child>/dependencies/blocked_by -F issue_id=<blocker-db-id>`, where `<blocker-db-id>` is the blocker's numeric **database id** (`gh api repos/<owner>/<repo>/issues/<n> --jq .id`, _not_ the `#number` or `node_id`). GitHub reports `issue_dependencies_summary.blocked_by` (open blockers only — the live gate). Where dependencies aren't available, fall back to a `Blocked by: #<n>, #<n>` line at the top of the child body. A ticket is unblocked when every blocker is closed.
|
|
43
|
-
- **Frontier query**: list the map's open children (`gh issue list --state open`, scoped to the map's sub-issues / task list), drop any with an open blocker (`issue_dependencies_summary.blocked_by > 0`, or an open issue in the `Blocked by` line) or an assignee; first in map order wins.
|
|
44
|
-
- **Claim**: `gh issue edit <n> --add-assignee @me` — the session's first write.
|
|
45
|
-
- **Resolve**: `gh issue comment <n> --body "<answer>"`, then `gh issue close <n>`, then append a context pointer (gist + link) to the map's Decisions-so-far.
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
# Triage Labels
|
|
2
|
-
|
|
3
|
-
The skills speak in terms of five canonical triage roles. This file maps those roles to the actual label strings used in this repo's issue tracker.
|
|
4
|
-
|
|
5
|
-
| Label in mattpocock/skills | Label in our tracker | Meaning |
|
|
6
|
-
| -------------------------- | -------------------- | ---------------------------------------- |
|
|
7
|
-
| `needs-triage` | `needs-triage` | Maintainer needs to evaluate this issue |
|
|
8
|
-
| `needs-info` | `needs-info` | Waiting on reporter for more information |
|
|
9
|
-
| `ready-for-agent` | `ready-for-agent` | Fully specified, ready for an AFK agent |
|
|
10
|
-
| `ready-for-human` | `ready-for-human` | Requires human implementation |
|
|
11
|
-
| `wontfix` | `wontfix` | Will not be actioned |
|
|
12
|
-
|
|
13
|
-
When a skill mentions a role (e.g. "apply the AFK-ready triage label"), use the corresponding label string from this table.
|
|
14
|
-
|
|
15
|
-
Edit the right-hand column to match whatever vocabulary you actually use.
|