Repository navigation
Write Data\LastRun.json at the end of every run; retire the Beacon PostRun plugin template — release 26.9.21.0 - #13
Merged
Conversation
…stRun plugin template Beacon now collects IDBridge from the box: its collector reads the IDBridge Sync task and a run summary the module writes natively. Write-IDBridgeRunSummary (Private\Core) replaces <DataRoot>\LastRun.json whole from Invoke-IDBridge's finally block, after telemetry and before the PostRun plugins, on every run that is not a Preview: schemaVersion 1, module version, run start/end/duration, success/readOnly/ testRun, the enabled directories, the applied counts, thresholdExceeded, and lastSuccessAt (runEnd on a success, carried forward from the previous file on a failure). A failed run contributes the exception class and throwing function only, never the message. A write failure logs a Warn and never affects the run. The Invoke-PluginPostRunBeacon template, its descriptor (config template moves to TemplateVersion 3), its tests and its docs entries are removed; PRIVACY.md names the file and its keys, and the architecture, functions, configuration and getting-started docs follow. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0144DV5TZ5tuFoUefCSp549T
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0144DV5TZ5tuFoUefCSp549T
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.
Summary
Beacon now collects IDBridge from the box: its collector reads the
IDBridge Syncscheduled task and a run summary the module writes natively. This release is the IDBridge half of that design (Beacon'sdocs/idbridge-plan.md, "The IDBridge side").Write-IDBridgeRunSummary(Private\Core) replaces<DataRoot>\LastRun.jsonwhole from thefinallyblock ofInvoke-IDBridge, after telemetry and before the PostRun plugins, on every run that is not a-Preview. Schema version 1, grown additively only: module version, run start/end/duration,success/readOnly/testRun, the enableddirectories, the applied counts,thresholdExceeded,errorType/errorFunction(class and throwing function only, never the message) andlastSuccessAt(runEndon a success, carried forward from the previous file on a failure). A write failure logs aWarnand never affects the run. No name, id, UPN, DN or group name is ever written.Invoke-PluginPostRunBeaconretired: the template, its descriptor (config template moves toTemplateVersion: 3), its tests and its docs entries. A district that copied it can delete the plugin file, its descriptor and theApiKey-Beaconvault secret.DataRootrow in configuration.md and getting-started's PostRun bullet follow.ModuleVersionbumped, as the last commit.Verification
Test-ModuleManifestpasses at 26.9.21.0.ConvertTo-IdbridgeRunSummaryparser: accepted, all twenty keys, carry-forward intact, no BOM.Invoke-IDBridgerun against an install, AD or Google.After merge
Dispatch the Publish workflow (Actions → Publish → Run workflow); it mints the
v26.9.21.0tag frommainand publishes to the Gallery.🤖 Generated with Claude Code
https://claude.ai/code/session_0144DV5TZ5tuFoUefCSp549T
Generated by Claude Code