docs: streamline the agent workflows guide - #635
Conversation
The guide repeated the generated skill's command reference three times over (commands, session targeting, and practical-defaults sections) and still pointed at the legacy `hunk mcp serve` alias. It now defers command details to the skill, uses the canonical `hunk daemon serve`, and reads as a short human-facing overview of the two agent workflows. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KHY9ReVesQXwKdRU47MwJ9
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
| Plain-text `summary` fields stay required as the fallback, and a reload cannot | ||
| change the launch opt-in. Agents check support via `experimentalFeatures` in |
There was a problem hiding this comment.
Reload changes STML enablement
When an existing session is reloaded, the registration derives experimentalFeatures from the replacement command rather than preserving the launch setting. Reloading without --experimental therefore disables STML despite this statement, causing agents to incorrectly assume markup remains supported.
Prompt To Fix With AI
This is a comment left during a code review.
Path: docs/agent-workflows.md
Line: 89-90
Comment:
**Reload changes STML enablement**
When an existing session is reloaded, the registration derives `experimentalFeatures` from the replacement command rather than preserving the launch setting. Reloading without `--experimental` therefore disables STML despite this statement, causing agents to incorrectly assume markup remains supported.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.
Greptile SummaryStreamlines the agent-workflows guide while preserving its primary workflows.
Confidence Score: 4/5The documentation should not merge until its reload/STML statement matches the session registration behavior. Reload derives experimental features from the replacement command, so omitting or adding Files Needing Attention: docs/agent-workflows.md Important Files Changed
Prompt To Fix All With AI### Issue 1
docs/agent-workflows.md:89-90
**Reload changes STML enablement**
When an existing session is reloaded, the registration derives `experimentalFeatures` from the replacement command rather than preserving the launch setting. Reloading without `--experimental` therefore disables STML despite this statement, causing agents to incorrectly assume markup remains supported.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.Reviews (1): Last reviewed commit: "docs: streamline the agent workflows gui..." | Re-trigger Greptile |
Rewrites
docs/agent-workflows.mdfrom 158 lines to ~95 without losing information.hunk sessioncommand surface three times ("The commands you will use most", "Session targeting", "Practical defaults"), duplicating the generatedSKILL.md. It now shows one compact typical-review block and defers full syntax, advanced reload targeting, and error remedies to the skill.hunk mcp servereference — the canonical command ishunk daemon serve(mcp serveremains only as an alias).--agent-contextand STML sections in tightened form, and links the hosted agents guide on hunk.dev.The
skillDocument.test.tsguard (which restricts this file to declared agent-surface flags) passes, and every claim — daemon auto-registration, port/path/action of the probe, STML launch-authority semantics — was fact-checked against the session/broker source.🤖 Generated with Claude Code
https://claude.ai/code/session_01KHY9ReVesQXwKdRU47MwJ9
Generated by Claude Code