premium-analytics: add AGENTS.md, package docs, and research entries#49081
Open
dognose24 wants to merge 1 commit into
Open
premium-analytics: add AGENTS.md, package docs, and research entries#49081dognose24 wants to merge 1 commit into
dognose24 wants to merge 1 commit into
Conversation
Adds package-internal documentation that codifies conventions discovered during recent chart-task work in this package: * AGENTS.md — package contract covering chart invariants (Unresponsive variants, withTooltips, CSS subpath import), ESLint patterns, the @wordpress/boot shim, route additions, and the Linear-issue contract for /premium-analytics-implement-task. * CLAUDE.md — single-line pointer to AGENTS.md. * docs/add-route.md — sequence for adding a new route under routes/. * docs/research/eslint-disable-line-discovery.md — 6-round forensic trail for the eslint-disable directive on the @automattic/charts CSS-subpath import (currently retired per Round 6: the rule never fires; the directive is autofix-stripped). * changelog/ — eight internal-tooling-only entries (Comment-form, no user-facing change) capturing the chain of internal docs work. Pure additions; no behavior, dependency, or boot-chain changes. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Contributor
|
Thank you for your PR! When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:
This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖 |
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.
Proposed changes
Adds package-internal documentation for
projects/packages/premium-analytics/:AGENTS.md— package contract: chart invariants (*Unresponsivevariants,withTooltipsprop, CSS-subpath import), ESLint patterns, the@wordpress/bootshim, route-addition rules, and a Linear-issue contract for agent-driven task implementation.CLAUDE.md— single-line pointer toAGENTS.md.docs/add-route.md— step-by-step for adding a new route underroutes/.docs/research/eslint-disable-line-discovery.md— 6-round forensic trail of theeslint-disable-linedirective saga on@automattic/charts/style.css. Current invariant: don't add the directive; the rule never fires on this import and pre-commit autofix-strips unused disables. The doc preserves the wrong-but-plausible mechanisms each round ruled out, so future maintainers don't re-run the cycle.changelog/— 8 internal-tooling-only entries (Comment:-form, no user-facing change).What this PR is / isn't
Why parallel batch
This is one of 4 PRs upstreaming accumulated work from
dognose24/jetpack. Each PR has a self-contained scope and can be reviewed independently:projects/packages/premium-analytics/{AGENTS.md,CLAUDE.md,docs/,changelog/}tools/ai-sandbox/subsystem (Docker + wp-verify Playwright).agents/skills/+.claude/commands/agent skills + governance.github/workflows/pr-review-cycle.ymlauto-triggered review workflowNo PR depends on another to compile / lint / test. PR #B has a cosmetic forward-reference to PR #C's skills in
README.md; PR #C references PR #B's paths inside the skill bodies. This PR is fully independent of the other three.Does this pull request change what data or activity we track or use?
No. Documentation-only addition; nothing is fetched, persisted, or tracked.
Testing instructions
projects/packages/premium-analytics/AGENTS.md— should be coherent on its own.docs/research/eslint-disable-line-discovery.mdreads as historical receipt of the directive saga (Rounds 1–6), not a current operational rule.Comment:-form).🤖 Generated with Claude Code