Skip to content

feat(share): stamp review on agent-produced docs - #132

Merged
scott merged 1 commit into
mainfrom
feat/auto-review-label
Sep 23, 2026
Merged

scott merged 1 commit into
mainfrom
feat/auto-review-label

Conversation

@scott

@scott scott commented Sep 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

New hosted shares now get a review label when the CLI infers the markdown is for human review, merged with the existing project and type labels (for example gander-cli, review, plan).

Review is stamped when any of these is true on a new share:

  • gander share --silent / gander watch --silent
  • Directory adoption (gander watch <dir>)
  • A known agent environment (GROK_AGENT, CLAUDECODE, CLAUDE_CODE, CURSOR_AGENT)
  • YAML frontmatter status: review

--no-labels still clears the set. Refreshing an existing share does not rewrite labels. Agents no longer need --label review.

Testing

go test ./...
go vet ./...
go build ./...

New hosted shares get a review label when the CLI infers an agent
review (--silent, directory adoption, or GROK_AGENT/CLAUDECODE/
CURSOR_AGENT) or when frontmatter has status: review. The tag is
merged with the git project name and type label (plan, rfc, report,
…). --no-labels still clears the set.
@scott
scott merged commit 9c41ef1 into main Sep 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant