CTRL-REPO-WIDGET-01: Add repository-local AGENTS.md control file - #2
Merged
Merged
Conversation
Specialize the canonical Shared Engineering Control doctrine from thoth-pub/thoth for the public metrics-widget package. Records responsibility as the public embeddable React/JavaScript metrics package and its public interface; current dev -> main topology with branch normalization deferred to BR-WIDGET-01; exact-base setup and deny-by-default granular action authorization; the React 19 / TypeScript / Vite / Biome stack; React and vanilla-JavaScript consumer compatibility responsibility; thoth-pub/thoth-pyramid as a verified downstream package consumer with release-before-consumption ordering; current validation via npm ci, lint, build, consumer smoke test and pack dry-run; the separation of ordinary PR CI (which does not publish) from release-triggered npm publication; version, tag, release and publication as separately authorized HIGH-impact actions; public Thoth GraphQL and OPERAS consumption with an absolute prohibition on embedding credentials in package or browser code; and independent exact-head review, reporting and HOLD/STOP conditions. Control documentation only. No package interface, version, dependency or workflow change. No release or publication. Refs: #1, thoth-pub/thoth#824 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.
Task identity
CTRL-DELIVERY-02CTRL-REPO-WIDGET-01thoth-pub/metrics-widgetdev@ba3b9caa25e8e305e59a9b719c11d272c16d9013ba3b9caa25e8e305e59a9b719c11d272c16d9013(re-verified immediately before branching; unchanged)feature/engineering/ctrl-repo-widget-01devScope
Control/documentation only. Creates exactly one new file: root
AGENTS.md.Whole-task diff:
No existing file is modified, deleted, moved or renamed. No version change, no tag, no release, no publication.
What the file records
theme, CSS custom properties,exportsmap, type declarations);dev -> maintopology, with branch normalization explicitly deferred toBR-WIDGET-01;thoth-pub/thoth-pyramidas a verified downstream package consumer (metrics-widget ^2.0.1);npm ci,npm run lint,npm run build,npm run test:consumer,npm pack --dry-runwhere applicable;publish.ymlonrelease: published, trusted publishing viaid-token: write);VITE_*build-time inlining, and an absolute prohibition on embedding machine/service credentials in package or browser code;It specializes the canonical doctrine in
thoth-pub/thoth(rootAGENTS.md,docs/engineering/ai-delivery/,docs/engineering/repository-map/) rather than copying or replacing it.Validation
All commands run locally against this branch:
git diff --checknpm cinpm run lintnpm run buildnpm run test:consumernpm pack --dry-runmetrics-widget-2.0.1.tgz, 16 files, version unchanged at2.0.1npm pack --dry-rundoes not publish. No publication step was invoked.Effects
2.0.1)Automatic external effects
Ordinary pull-request CI (
ci.yml: lint, build, consumer smoke test) is expected to run on this PR. That is normal and authorized. Observed CI results are reported on #1.No GitHub release was created, no tag was pushed, and nothing was published to npm.
Gate
IMPLEMENTATION COMPLETE - FRESH INDEPENDENT EXACT-HEAD REVIEW REQUIRED
This PR stays DRAFT. The implementing agent has not approved, marked ready or merged, and must not.
Refs: thoth-pub/thoth#824, #1