Conversation
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.
The marketplace advertised GTM Audit Pro without an implementation, and Fix Your Tracking referenced an absent loop engine. This adds a shared Node.js 22 runtime and bundles it into Fix Your Tracking, GTM AI, and the standalone GTM Audit Pro plugin.
An opt-in background watcher polls a complete export or read-only GTM API source, waits for stable changes, then reruns the audit. With optimization enabled, a configured model proposes names and folder organization; the runtime keeps only candidates that improve its static score without dimension regressions. Candidates stay local and are never imported or published.
Includes persistent completion state, per-target locking, bounded retries, start/status/stop controls, paginated API reads, setup instructions, and a bundle parity checker. Audit coverage is explicitly six heuristic configuration dimensions; live firing, consent behavior, platform delivery, and the previously advertised 72-checkpoint audit remain outside this implementation.
Validation: 20 Node tests passed, including real background-process lifecycle and file-change detection, restart deduplication, failure status, pagination mocks, mutation constraints, and keep/revert behavior. Bundle parity and diff checks passed. Codex plugin/skill validation and Claude plugin validation passed; the existing GTM AI plugin retains warnings about older frontmatter and descriptive hook names. Architecture review findings were fixed and covered by tests.
Live Google OAuth/API access and a real model adapter have not been exercised. Background operation requires an awake host and a separately configured renewable token provider. This draft does not enable a watcher or change a live container.