Skip to content

Commit 219f734

Browse files
committed
refactor: cut guide linting over to Go
1 parent 9568fcf commit 219f734

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ in [`FACTORY.md`](FACTORY.md).
2222

2323
## Run locally
2424

25-
Local drafting requires Docker and `OPENROUTER_API_KEY`. It validates the
26-
selected guide but does not publish or use host GitHub/Pulse credentials.
25+
Mise pins Node 24 and Go 1.22. Local drafting also requires Docker and
26+
`OPENROUTER_API_KEY`; it validates the selected guide but does not publish or
27+
use host GitHub/Pulse credentials.
2728

2829
```bash
2930
export OPENROUTER_API_KEY=...
@@ -32,10 +33,11 @@ mise run draft-guide -- \
3233
--body "Dry-run the Kit factory without publishing" \
3334
--slug asana
3435

35-
mise run lint-guide -- ../guides/asana
36+
mise run lint-guide -- asana
3637
```
3738

38-
See [`FACTORY.md`](FACTORY.md) for normalized issue-JSON input, stale sweeps,
39+
The deterministic linter is the nested Go tool in `tools/lint-guide`. See
40+
[`FACTORY.md`](FACTORY.md) for normalized issue-JSON input, stale sweeps,
3941
outcomes, and the local command's exact behavior.
4042

4143
## Related

mise.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ run = "bash factory/scripts/local-draft.sh"
1414

1515
[tasks.lint-guide]
1616
description = "Deterministic guide and metadata lint"
17-
dir = "go"
18-
run = "go run ./cmd/lint-guide --"
17+
dir = "tools/lint-guide"
18+
run = "go run ./cmd/lint-guide"
1919

2020
[tasks.stale-sweep]
2121
description = "Report stale guides; optionally queue refresh tickets"

0 commit comments

Comments
 (0)