Repository navigation
feat: github-settings effector: apply, clear, reconcile and README - #4
Open
ccf-lisa[bot] wants to merge 4 commits into
Open
ccf-lisa[bot] wants to merge 4 commits into
ccf-lisa[bot] wants to merge 4 commits into
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
ccf-lisa
Bot
force-pushed
the
effector/04-plugin
branch
from
December 2, 2026 11:00
6e6910f to
62060d0
Compare
The plugin itself: Describe (one remediate-apply capability on github-repo targets with the params schema), Configure, ValidateAction, Apply (enforce; dry-run only reports), Clear (nothing to undo), and Reconcile (enforce again, report what changed, failed or drifted), served with the agent's effector.Serve. The README documents parameters, token permissions, behaviour and an agent config example, and warns that apply removes real people's access. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The plugin reads token once at Configure. Document that an installation token needs external rotation and an agent restart, and prefer a fine-grained token.
ccf-lisa
Bot
force-pushed
the
effector/04-plugin
branch
from
December 2, 2026 23:50
62060d0 to
e7992ba
Compare
This was referenced Dec 2, 2026
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.
Stack 4/5 for
effector-github-settings: the effector itself (apply, clear, reconcile) and the README.Part 3 of Plugins → effector-github-settings; LLD (Manifest, Behaviour, Testing). Ported from the PoC, including c52c366 (link only the https settings page) and 546eec6 (guarded target expression in the README).
What
internal/plugin.goandmain.go(effector.Serve):Describe: oneremediate-applycapability,rule_kinds: [state],default_on_clear: none,github-repotarget scheme, the params schema.Configure(InvalidArgument on bad config; doesn't call GitHub),ValidateAction(effect, no action config).Apply:activated/updated/repeated/finished/redeliveredenforce (dry-run only reports); clearing transitions report "nothing to undo";occurredfails.Clear: nothing to undo.Reconcile: enforce again on active/finished effects, report only what changed, failed or whose plan differs from the last reported one.links= the https access settings page only;refs=last_plan, pluslast_appliedon success only.applyremoves real people's access (start indry-run, keepmodelocked), build and release (release-please and the shared release workflow, see feat: scaffold, plugin config and rule parameters #1), manifest, config and token permissions, rule parameters, behaviour and results, an agent config example.keep, signoff both ways, already compliant, GitHub 403/404 →failedwith partial changes, token never in results, invalid params, action config, no remediations, clear does nothing, unsupported requests, reconcile (drift fixed again), and a go-plugin gRPC round trip as the agent drives it. Plugin tests that only re-checked the client or plan moved to 2/5 and 3/5.Local gate
Build (
make build→dist/plugin), vet,go test -race, golangci-lint (0 issues),go mod tidy -diffclean, with the sibling checkouts. CI fails on module resolution until 5/5 (accepted).Counted lines: 934.
🤖 Generated with Claude Code