Name the initiator where the fields a rule can use are listed - #535
Merged
davidmckayv merged 2 commits intoSep 14, 2026
Merged
davidmckayv merged 2 commits into
davidmckayv merged 2 commits into
Conversation
CopilotKit#526 added `initiator` to the policy context so a rule can ask what started a run, and left both places that tell an operator which fields exist saying nothing about it. A field nobody can discover is a field nobody writes a rule against. The Boundaries screen's own description and the list in docs/architecture.md now name it, with the part that is not obvious from the name: `actor.id` on a scheduled run is the routine's owner, so it cannot tell an unattended run from somebody typing, and this is the field that can. Documentation only. No behaviour changes and no rule means anything different. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Hotragn
requested review from
MikeRyanDev,
davidmckayv,
guidovizoso,
mxmzb and
tylerslaton
as code owners
September 14, 2026 17:12
davidmckayv
approved these changes
Sep 14, 2026
davidmckayv
left a comment
Contributor
There was a problem hiding this comment.
Prose-only follow-up to #526; makes the initiator field discoverable. CI green.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this changes
#526 added
initiatorto the policy context so a rule can ask what started a run, and left bothplaces that tell an operator which fields exist saying nothing about it. A field nobody can discover
is a field nobody writes a rule against, which makes the previous change half-delivered.
Two lists, both now naming it:
docs/architecture.mdBoth carry the part that is not obvious from the name:
actor.idon a scheduled run is theroutine's owner, so it cannot tell an unattended run from somebody typing, and
initiator.kindisthe field that can.
Where it runs
Boundary and audit
No behaviour change. No rule evaluates differently, nothing new is refused or permitted, and no audit
row changes. This describes a field that already exists.
Changelog
None. A deployment behaves no differently afterwards — the field shipped in the previous release's
entry, and this only makes it findable.
Proof
app typecheckshows no error in the changed file, andbiome formatandbiome lintare cleanon it.
Worth stating plainly: my local typecheck reports missing
react-use-measure,embla-carousel-reactand@copilotkit/a2ui-renderer. Those are declared inapp/package.jsonand absent from my
node_modules— a stale checkout on my side, not this change, and none of themis the file I touched.
I have not seen the Boundaries screen render this. It is a sentence in an existing paragraph rather
than new markup, so the risk is wording rather than layout, but I would rather say so than imply I
drove it.
🤖 Generated with Claude Code