Skip to content

docs(server): cross-link workflow addon trait methods + CLAUDE.md#18

Open
zachiler wants to merge 1 commit intodevfrom
feature/trait-doc-crosslinks
Open

docs(server): cross-link workflow addon trait methods + CLAUDE.md#18
zachiler wants to merge 1 commit intodevfrom
feature/trait-doc-crosslinks

Conversation

@zachiler
Copy link
Copy Markdown
Member

@zachiler zachiler commented May 1, 2026

Summary

Audit follow-ups from the post-Phase-1+2 sweep across alpineflow / wireflow / artisanflow.

  • Renames the trait.md "RunState" section to "Workflow & RunState" and adds flowRun(string \$startId, array \$options) to the method table alongside flowSetNodeState() / flowResetStates(). Adds a cross-link to docs/addons/workflow.md and a one-line index of the matching <x-flow-run-button> / <x-flow-stop-button> / <x-flow-reset-button> / <x-flow-replay-controls> / <x-flow-execution-log> components, so a developer landing on the main trait reference can discover the workflow surface without first knowing it lives in the addon doc.
  • Commits the repo-internal CLAUDE.md (tech stack, test/format commands, dist resync procedure, component registration pattern, branching rules) for human and AI contributors working inside the package.

Doc-only — no PHP changes, no Blade changes, no test changes.

Test plan

  • vendor/bin/pest --compact — 196/196 pass (374 assertions)
  • Verified the renamed RunState section still renders correctly in the markdown

Renames the trait.md "RunState" section to "Workflow & RunState" and
adds flowRun() to the table alongside flowSetNodeState() /
flowResetStates(), with a cross-link to docs/addons/workflow.md and the
matching <x-flow-run-button> / <x-flow-stop-button> /
<x-flow-reset-button> / <x-flow-replay-controls> /
<x-flow-execution-log> components for discoverability from the main
trait reference.

Also commits the repo-internal CLAUDE.md (tech stack, test/format
commands, dist resync procedure, branching rules) for human and AI
contributors working inside the package.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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