Skip to content

Add source-aware policy params declaration detection - #826

Open
Maksym (maksym-mishchenko) wants to merge 2 commits into
microsoft:mainfrom
maksym-mishchenko:maksym-mishchenko-wi-3749964-api-delivery
Open

Maksym (maksym-mishchenko) wants to merge 2 commits into
microsoft:mainfrom
maksym-mishchenko:maksym-mishchenko-wi-3749964-api-delivery

Conversation

@maksym-mishchenko

Copy link
Copy Markdown
Contributor

AB#3749964

AGS needs to identify policy-authored params rule heads before injecting assignment parameters; evaluating params misses conditional declarations. Add a nonexecuting HasPolicyParams(sourcePath) API across Rust, FFI, and C# that inspects only the uniquely matched loaded source. It detects default, function, set, and descendant rule heads without rejecting references or generated bridge rules, and reports missing, ambiguous, or unclassifiable sources as errors.

Maksym Mishchenko and others added 2 commits September 25, 2026 12:12
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@maksym-mishchenko
Maksym (maksym-mishchenko) marked this pull request as ready for review September 25, 2026 15:12
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