Skip to content

docs(cli): document the GitHub backend for agents - #92

Open
FreshlyBrewedCode wants to merge 2 commits into
feat/83-github-commands-fastfrom
feat/84-github-backend-guide
Open

FreshlyBrewedCode wants to merge 2 commits into
feat/83-github-commands-fastfrom
feat/84-github-backend-guide

Conversation

@FreshlyBrewedCode

Copy link
Copy Markdown
Owner

Docs for the agent-facing surface, plus one CLI description fix.

Closes #84. Stacked on #83 (→ #80 → main); #84 also depends on #79, #81, and #82, which target main independently.

User-facing change

  • New guide: skills/wayful/github-guide.md, beside cli-guide.md. Covers initialising a GitHub-backed project, how credentials resolve, recognising a map/step/goal by its labels, backend-allocated ids (read, don't guess), the sub-issue budget steps and goals share, keeping the label set in sync, leaving the structured data block alone, and command latency — plus the two things that surprise people: recent activity is issue activity, and wayful records coexist with a repository's human issues.
  • SKILL.md no longer documents the @ artifact sigil removed with ADR-0004; artifacts are addressed by ref, and every example runs as written. It links the new guide.
  • cli-guide.md no longer claims step ids start at 1; the backend allocates an id and reports it, so you read it rather than guess it.
  • wayful --help no longer describes the CLI as filesystem-only.
  • docs/agents/issue-tracker.md now acknowledges the wayful:* label set.
Before / after examples

SKILL.md quickstart — the old form is rejected outright:

$ wayful context 'redesign/@5'
wayful: '@' is not a recognized reference sigil; use '#' for a step.

$ export WAYFUL_MAP=redesign
$ wayful context 'file:docs/research/interviews.md'
Scope: artifact
...

Root help:

# before
DESCRIPTION
  Wayful filesystem CLI

# after
DESCRIPTION
  Plan and complete work on maps of steps and goals

cli-guide.md id rule:

# before
Every step also receives an automatically generated integer ID, starting at `1`
and increasing for each new step.

# after
The backend assigns each step an integer id when it is created, and reports it —
read that id from the command's output ... rather than guessing it. ...
under the GitHub backend a step's id is its repository-wide issue number.

Validation

  • bun check: CLI 336 pass / 1 skip / 0 fail; UI 49 pass / 0 fail.
  • Ran the quickstart examples against a scratch project: the @ form is rejected, and the ref-addressed artifact scope resolves.

Add skills/wayful/github-guide.md beside cli-guide.md covering init,
credentials, recognising records, backend-allocated ids, the shared
sub-issue budget, label sync, the data block, and command latency, plus
the two surprises: recent activity is issue activity, and wayful records
coexist with human issues.

Correct SKILL.md's removed @-sigil examples (artifacts are addressed by
ref) and cli-guide.md's claim that step ids start at 1; the backend
allocates an id and the caller reads it.

Retitle the root command, which still called itself the filesystem CLI,
and note the wayful:* label set in docs/agents/issue-tracker.md.
@FreshlyBrewedCode FreshlyBrewedCode added type:feature New feature or request pkg:cli packages/cli labels Sep 13, 2026
@FreshlyBrewedCode FreshlyBrewedCode linked an issue Sep 13, 2026 that may be closed by this pull request
7 tasks
@FreshlyBrewedCode

Copy link
Copy Markdown
Owner Author

CLI guide and github guide are too verbose. Reduce the detail and do not duplicate information. Link between guids instead.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pkg:cli packages/cli type:feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

docs: correct SKILL.md and document the GitHub backend for agents

1 participant