Skip to content

Improve agentic state-machine generator prompt#19901

Open
T-Gro wants to merge 3 commits into
mainfrom
agentics/state-machine-cleanup
Open

Improve agentic state-machine generator prompt#19901
T-Gro wants to merge 3 commits into
mainfrom
agentics/state-machine-cleanup

Conversation

@T-Gro
Copy link
Copy Markdown
Member

@T-Gro T-Gro commented Jun 5, 2026

The generator now extracts structured IR per workflow before rendering diagrams, with two self-verification passes (structural + safeguard). This fixes incorrect guard expressions, wrong lifecycle ordering, and missing safeguards in the generated docs.

T-Gro and others added 3 commits May 28, 2026 18:41
…docs/ output

The agentic-state-machine workflow has been failing since PR #19721 moved
the output to .github/docs/state-machine.md. Files under .github/ are
treated as protected by gh-aw (agent instruction files, security config).

The allowed-files config permits WHICH files can be modified but does not
override the built-in protected-files blocking. Adding protected-files:
allowed explicitly opts in, which is safe since allowed-files already
restricts writes to .github/docs/** only.

Fixes #19739

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Evolve the 74-line freeform prompt to a 412-line structured extraction
pipeline with multi-phase self-verification. The agent now extracts
structured IR per workflow before rendering diagrams, with two
self-verification passes (structural + safeguard).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@T-Gro T-Gro requested a review from a team as a code owner June 5, 2026 19:24
@T-Gro T-Gro added NO_RELEASE_NOTES Label for pull requests which signals, that user opted-out of providing release notes automation labels Jun 5, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 5, 2026

⚠️ Release notes required, but author opted out

Warning

Author opted out of release notes, check is disabled for this pull request.
cc @dotnet/fsharp-team-msft

@github-actions github-actions Bot added the AI-Tooling-Check-Bypassed Tooling check: non-fork PR, not diff-analyzed label Jun 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AI-Tooling-Check-Bypassed Tooling check: non-fork PR, not diff-analyzed automation NO_RELEASE_NOTES Label for pull requests which signals, that user opted-out of providing release notes

Projects

Status: New

Development

Successfully merging this pull request may close these issues.

1 participant