Open-source skills for designing and reviewing software with AI agents
Python agent-skillsai-agentsantigravityclaude-codeclaude-code-pluginclaude-skillscodexcodex-plugincoding-agentscontext-engineeringdeveloper-toolsgeminillmmulti-agentprompt-engineeringspec-driven-development
feat: initial open-source release of Elephant-Goldfish Model (EGM)
Brian Suchy096e9ad0b155
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERSnew file mode 100644index 0000000..0bafe75--- /dev/null+++ b/.github/CODEOWNERS@@ -0,0 +1,6 @@+# Global code owners for Elephant-Goldfish Model (EGM)+#+# These owners are automatically requested for review on pull requests touching any file in the repository.+# NOTE: To enforce approval before merging, "Require review from Code Owners" must be enabled in Branch Protection Rules.++* @briansuchy @quinnjim @drensin @tearseb @eewing314 @n3wthdiff --git a/.github/ISSUE_TEMPLATE/feature_proposal.md b/.github/ISSUE_TEMPLATE/feature_proposal.mdnew file mode 100644index 0000000..849271b--- /dev/null+++ b/.github/ISSUE_TEMPLATE/feature_proposal.md@@ -0,0 +1,19 @@+---+name: "Feature / Architectural Inquiry"+about: "Reach out to maintainers to align on a new feature, skill, or large change (> 100 lines) before opening a Design Doc PR"+title: "[Feature]: "+labels: ["feature-inquiry", "needs-triage"]+license: "Copyright 2026 Google LLC. SPDX-License-Identifier: Apache-2.0"+---++## Problem Statement & Motivation+<!-- 1-2 plain-English paragraphs explaining the user need, problem, or motivation for reaching out. -->++## Proposed Scope (Goals vs. Non-Goals)+<!-- High-level summary of what is in scope and out of scope (e.g., generated via `/egm-brainstorm`). Once maintainers apply `status: approved-for-design`, open a Stage-1 Design Doc PR (`Refs #<issue>`) adding `docs/designs/<name>.md`; when maintainers merge that PR, they will apply `status: approved-for-pr` for your Stage-2 Implementation PR (`Closes #<issue>`). -->++### 1. Proposed Overview+<!-- High-level summary of the proposed change. -->++### 2. Goals vs. Non-Goals+<!-- In-Scope Goals (what this will do) and Out-of-Scope Non-Goals (what this intentionally avoids). -->diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.mdnew file mode 100644index 0000000..288485d--- /dev/null+++ b/.github/PULL_REQUEST_TEMPLATE.md@@ -0,0 +1,23 @@+## Contribution Type++Please select the track that matches this pull request:++- [ ] **Bug Fix / Minor Patch** (Targeted fix, non-test diff <= 100 lines and < 3 core files in `skills/` or `agents/`; no design doc required)+- [ ] **Feature / Architectural Change -- Stage 1: Design Doc PR** (`Refs #___` with `status: approved-for-design` | Adds `docs/designs/<name>.md` and updates `docs/designs/README.md`; use `Refs` instead of `Closes` so the issue stays open for Stage 2)+- [ ] **Feature / Architectural Change -- Stage 2: Implementation PR** (`Closes #___` with `status: approved-for-pr` | Implements merged `docs/designs/<name>.md`)++## Summary of Key Changes++List all key changes made in this pull request and why:++<!-- Describe each key change and its motivation here. -->++## Human Accountability Affirmation++- [ ] I am a human contributor. I have personally reviewed, understood, and can explain every line of this change in review (using AI tools to write code is welcome, but human understanding of the submitted change is required).++## Verification++- [ ] **For Design Doc PRs (Stage 1)**: Executed `/egm-review docs/designs/<name>.md`, resolved findings via `/egm-resolve`, and verified relative links (`pytest tests/unit/test_link_integrity.py`).+- [ ] **For Bug Fix / Implementation PRs (Stage 2)**: Unit tests or `test_scenarios.yaml` added/updated and `pytest tests/unit` executed.+- [ ] **For Harness Support PRs**: Verified plugin installation and end-to-end execution of `/egm-brainstorm`, `/egm-draft`, and `/egm-review` on the target harness; attached execution summary or transcript.diff --git a/.github/dependabot.yml b/.github/dependabot.ymlnew file mode 100644index 0000000..a96155f--- /dev/null+++ b/.github/dependabot.yml@@ -0,0 +1,38 @@+# Copyright 2026 Google LLC+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# https://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.++version: 2+updates:+ - package-ecosystem: npm+ directory: /site+ schedule:+ interval: weekly+ cooldown:+ default-days: 7+ ignore:+ # @astrojs/check peers on typescript ^5 || ^6; 7.x breaks npm ci.+ - dependency-name: typescript+ versions: [">= 7.0.0"]+ groups:+ site:+ patterns: ["*"]+ - package-ecosystem: github-actions+ directory: /+ schedule:+ interval: weekly+ cooldown:+ default-days: 7+ groups:+ actions:+ patterns: ["*"]diff --git a/.github/workflows/deploy-site.yml b/.github/workflows/deploy-site.ymlnew file mode 100644index 0000000..6c30c7e--- /dev/null+++ b/.github/workflows/deploy-site.yml@@ -0,0 +1,75 @@+# Copyright 2026 Google LLC+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# https://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.++# Build and deploy the egm.dev landing site (site/) to GitHub Pages.+#+# The site is static: no analytics, no cookies, no third-party scripts, and no+# requests to Google hosts at runtime. Keep it that way; it is a condition of+# the open-source release.+#+# First deploy (launch day): repository must be public, then Settings > Pages >+# Source = GitHub Actions, custom domain = egm.dev, Enforce HTTPS. Run this+# workflow once by hand with workflow_dispatch.+name: Deploy site++on:+ push:+ branches: [main]+ paths:+ - 'site/**'+ - '.github/workflows/deploy-site.yml'+ workflow_dispatch:++permissions:+ contents: read++concurrency:+ group: pages+ cancel-in-progress: false++defaults:+ run:+ working-directory: site++jobs:+ build:+ runs-on: ubuntu-24.04+ steps:+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ with:+ persist-credentials: false+ - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0+ with:+ node-version: 22+ cache: npm+ cache-dependency-path: site/package-lock.json+ - run: npm ci+ - run: npm run check+ - run: npm run build+ - uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0+ with:+ path: site/dist++ deploy:+ needs: build+ runs-on: ubuntu-24.04+ permissions:+ pages: write+ id-token: write+ environment:+ name: github-pages+ url: ${{ steps.deployment.outputs.page_url }}+ steps:+ - id: deployment+ uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1diff --git a/.github/workflows/pr-scope-advisory.yml b/.github/workflows/pr-scope-advisory.ymlnew file mode 100644index 0000000..1778c9b--- /dev/null+++ b/.github/workflows/pr-scope-advisory.yml@@ -0,0 +1,143 @@+# Copyright 2026 Google LLC+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# https://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.++name: "PR Scope Advisory"++on:+ # zizmor: ignore[dangerous-triggers] - Only inspects PR metadata/diff stats and posts advisory comment; never checks out or executes untrusted code.+ pull_request_target:+ types: [opened, edited, synchronize]++concurrency:+ group: ${{ github.workflow }}-${{ github.event.pull_request.number }}+ cancel-in-progress: true++permissions: {}++jobs:+ scope-advisory:+ name: "Evaluate PR Scope and Template"+ runs-on: ubuntu-24.04+ permissions:+ pull-requests: write # Required to list files and post comments/labels on PRs+ issues: write # Required to post/update advisory comments and labels+ contents: read # Required for baseline repository metadata access+ steps:+ - name: "Analyze PR Scope and Track"+ uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0+ with:+ script: |+ const pr = context.payload.pull_request;+ const body = pr.body || "";+ const isBugFix = /\[[xX]\]\s*\*\*Bug Fix/i.test(body);++ // Fetch changed files (paginated, capped at 3 pages / 300 files)+ let pageCount = 0;+ const files = await github.paginate(+ github.rest.pulls.listFiles,+ {+ owner: context.repo.owner,+ repo: context.repo.repo,+ pull_number: pr.number,+ per_page: 100+ },+ (response, done) => {+ if (++pageCount >= 3) {+ done();+ }+ return response.data;+ }+ );++ // Path filter: Exclude docs/**, README.md, TEST.md, lockfiles, tests/**, and test_* / *_test files.+ // Core executable Markdown definitions in skills/** and agents/** remain included.+ const testOrDocRegex = /(^|\/)docs\/|(^|\/)(README|TEST)\.md$|.*\.lock$|package-lock\.json$|(^|\/)(tests?|testdata)\/|((^|\/)test_[^/]+|_test|\.test|\.spec)\.[a-zA-Z0-9]+$/;++ let nonTestChanges = 0;+ let coreFilesCount = 0;++ for (const file of files) {+ const isTestOrDoc = testOrDocRegex.test(file.filename);+ if (!isTestOrDoc) {+ nonTestChanges += file.changes;+ if (/^(skills|agents)\//.test(file.filename)) {+ coreFilesCount++;+ }+ }+ }++ const advisoryLabel = "advisory: design-doc-suggested";+ const signature = "<!-- egm-scope-advisory -->";++ const comments = await github.paginate(+ github.rest.issues.listComments,+ {+ owner: context.repo.owner,+ repo: context.repo.repo,+ issue_number: pr.number,+ per_page: 100+ }+ );+ const existingComment = comments.find(c => (c.body || "").includes(signature));++ const shouldAdvise = isBugFix && (nonTestChanges > 100 || coreFilesCount >= 3 || files.length >= 300);++ if (shouldAdvise) {+ if (!existingComment) {+ const message = `${signature}\n### π‘ Contribution Scope Advisory\n\nThank you for your contribution! This PR is marked as a **Bug Fix**, but modifies **${nonTestChanges} non-test lines** across **${coreFilesCount} core definition files** (\`skills/\`, \`agents/\`).\n\nFor changes exceeding 100 non-test lines or touching 3+ core files, we recommend reaching out to maintainers first via a [Feature Inquiry Issue](https://github.com/${context.repo.owner}/${context.repo.repo}/issues/new?template=feature_proposal.md) (\`status: approved-for-design\`), merging a full EGM design document PR (\`docs/designs/<name>.md\`) authored with \`/egm-brainstorm\`, \`/egm-draft\`, and \`/egm-review\`, and then submitting the implementation PR (\`status: approved-for-pr\`).\n\n*Note: This is a non-blocking advisory; your PR remains open in the maintainer queue.*`;+ await github.rest.issues.createComment({+ owner: context.repo.owner,+ repo: context.repo.repo,+ issue_number: pr.number,+ body: message+ });+ }+ await github.rest.issues.addLabels({+ owner: context.repo.owner,+ repo: context.repo.repo,+ issue_number: pr.number,+ labels: [advisoryLabel]+ }).catch(() => {});+ } else {+ // Bidirectional label cleanup if diff is trimmed or track is switched+ await github.rest.issues.removeLabel({+ owner: context.repo.owner,+ repo: context.repo.repo,+ issue_number: pr.number,+ name: advisoryLabel+ }).catch(() => {});+ }++ // Template conformance: the description must be the filled-in+ // .github/PULL_REQUEST_TEMPLATE.md. PRs created with `gh pr create --body`+ // or the API skip the template, so this catches them. Bot PRs are exempt.+ const requiredHeadings = [+ "## Contribution Type",+ "## Summary of Key Changes",+ "## Human Accountability Affirmation",+ "## Verification"+ ];+ const problems = requiredHeadings+ .filter(heading => !body.includes(heading))+ .map(heading => `Missing section: \`${heading}\``);+ if (!/\[[xX]\]\s*\*\*(Bug Fix|Feature \/ Architectural Change)/.test(body)) {+ problems.push("No track selected under **Contribution Type**");+ }+ if (!/\[[xX]\]\s*I am a human contributor/i.test(body)) {+ problems.push("**Human Accountability Affirmation** is not checked");+ }+ const isBot = pr.user?.type === "Bot";+ if (problems.length > 0 && !isBot) {+ core.setFailed("PR description does not match .github/PULL_REQUEST_TEMPLATE.md:\n" + problems.join("\n"));+ }diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.ymlnew file mode 100644index 0000000..a67c5f4--- /dev/null+++ b/.github/workflows/tests.yml@@ -0,0 +1,39 @@+# Copyright 2026 Google LLC+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# https://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.++# Run the Tier 1 unit tests (frontmatter schema, relative link integrity,+# scenario coverage, eval runner) described in TESTING.md. They are offline and+# need no API keys or model dependencies.+name: Tests++on:+ pull_request:+ push:+ branches: [main]++permissions:+ contents: read++jobs:+ unit:+ runs-on: ubuntu-24.04+ steps:+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1+ with:+ persist-credentials: false+ - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0+ with:+ python-version: '3.12'+ - run: pip install pytest==8.3.5 pyyaml==6.0.2+ - run: pytest tests/unitdiff --git a/.gitignore b/.gitignorenew file mode 100644index 0000000..e1ada67--- /dev/null+++ b/.gitignore@@ -0,0 +1,8 @@+__pycache__/+*.py[cod]+*$py.class+.venv/+venv/+.pytest_cache/+eval_results/+.DS_Storediff --git a/AGENTS.md b/AGENTS.mdnew file mode 100644index 0000000..dd8a662--- /dev/null+++ b/AGENTS.md@@ -0,0 +1,27 @@+# Agent Guidelines for Elephant-Goldfish Model (EGM)++You are assisting development in the EGM repository.++## Contribution Boundaries++* **No Autonomous PRs**: You must never automatically open a pull request without+ explicit human review, testing, and approval.+* **Triage Taxonomy**: Ensure the human operator selects the appropriate track in+ [`.github/PULL_REQUEST_TEMPLATE.md`](.github/PULL_REQUEST_TEMPLATE.md):+ * `Bug Fix / Minor Patch` (non-test diff `<= 100` lines and `< 3` core files in+ `skills/` or `agents/`; no design doc required, but please update an existing+ design if appropriate).+ * `Feature / Architectural Change β Stage 1: Design Doc PR` (requires an aligned+ issue with `status: approved-for-design`, uses `Refs #<issue>`, and adds+ `docs/designs/<name>.md` + updates `docs/designs/README.md`).+ * `Feature / Architectural Change β Stage 2: Implementation PR` (requires an+ aligned issue with `status: approved-for-pr` and a merged+ `docs/designs/<name>.md`).+* **No Artificial PR Splitting**: Never split a cohesive feature or refactoring across+ multiple smaller pull requests to evade the 100-line scope threshold.+* **PR Description Template**: Every pull request description must be the filled-in+ [`.github/PULL_REQUEST_TEMPLATE.md`](.github/PULL_REQUEST_TEMPLATE.md). `gh pr create --body`+ skips the template, so copy it from the file. The human author ticks the Accountability box.+* **Clear Change Summary**: In every pull request, explicitly list all key changes+ made and why. For feature proposals, define clear in-scope Goals and out-of-scope+ Non-Goals in the checked-in EGM design document (`docs/designs/<name>.md`).diff --git a/AI_POLICY.md b/AI_POLICY.mdnew file mode 100644index 0000000..878e4c0--- /dev/null+++ b/AI_POLICY.md@@ -0,0 +1,29 @@+# Artificial Intelligence & Automated Contribution Policy++We encourage using AI tools when developing changes for our codebase. However,+purely autonomous contributions are not accepted; human contributors must+review, understand, and explain every submitted change.++## Operational Rules++1. **Human Accountability**: Every pull request must have a human author who has+ personally reviewed, tested, and verified every line of changed code.+2. **Interactive Code Review**: Contributors must directly defend their changes+ in review. Copying maintainer review comments into an LLM and pasting+ unverified model responses back into review threads is prohibited.+3. **EGM Design Requirement & Two-Stage Alignment**: Contributors planning features+ or large changes (`> 100` non-test lines or `>= 3` core files in `skills/` or+ `agents/`) should:+ * **a)** Reach out to maintainers first via a+ [Feature Inquiry Issue](https://github.com/google/elephant-goldfish-model/issues/new?template=feature_proposal.md)+ (`.github/ISSUE_TEMPLATE/feature_proposal.md`) to receive+ `status: approved-for-design`.+ * **b)** Submit and merge a full EGM design document PR+ (`docs/designs/<name>.md` authored via `/egm-brainstorm`, `/egm-draft`,+ and `/egm-review`, referencing the issue with `Refs #<issue>`) so+ maintainers can apply `status: approved-for-pr` to the Feature Inquiry Issue.+ * **c)** Submit and merge an implementation PR of the approved design into+ the codebase (`Closes #<issue>`).+4. **No Artificial PR Splitting**: Do not artificially split a single logical+ feature or refactoring into multiple smaller pull requests (e.g., two 60-line PRs)+ to bypass the 100-line scope threshold.diff --git a/CONTRIBUTING.md b/CONTRIBUTING.mdnew file mode 100644index 0000000..62326a5--- /dev/null+++ b/CONTRIBUTING.md@@ -0,0 +1,93 @@+# Contributing to the Elephant-Goldfish Model (EGM) Plugin++We welcome contributions! We all benefit when new ideas, skills, and reviewer+perspectives are shared across the open-source community.++## Design Principles++These general principles guide development of the EGM framework:++* **Humans Own the Outcomes**: AI is an exploration and review partner, but+ human engineers remain responsible for all design decisions and code.+* **Artifact-First UX**: Large proposals, drafts, and reviews belong in+ dedicated files, not dumped into chat streams.+* **Living Specifications**: Code and design specifications must evolve+ together.++## Contribution Tracks & Workflow++All contributions must comply with our [AI & Automated Contribution Policy](AI_POLICY.md):+every pull request requires a human author who has reviewed and tested the change. They+should be able to explain it themselves.++Contributions follow a two-track intake model defined in+[`.github/PULL_REQUEST_TEMPLATE.md`](.github/PULL_REQUEST_TEMPLATE.md):++### Track 1: Bug Fix / Minor Patch (`<= 100` Non-Test Lines, `< 3` Core Files)+Targeted fixes, typo corrections, and test additions that do not alter core+agent behavior or touch 3+ core files (`skills/`, `agents/`) can be+submitted directly as a Pull Request without a prior issue or design document.+PRs exceeding these limits without an approved design doc receive an advisory label+(`advisory: design-doc-suggested`) recommending two-stage alignment.++### Track 2: Feature / Architectural Change (Two-Stage Alignment)+Any new skill, persona, or change exceeding `100` non-test+lines (or touching `>= 3` core files in `skills/` or `agents/`)+follows the EGM Spec-Driven Development process:++1. **Reach Out & Align (`status: approved-for-design`)**:+ Before investing in a large implementation or full specification, open a+ [Feature / Architectural Inquiry Issue](https://github.com/google/elephant-goldfish-model/issues/new?template=feature_proposal.md)+ (`.github/ISSUE_TEMPLATE/feature_proposal.md`) outlining the problem+ statement and proposed `Goals` vs. `Non-Goals`. We recommend using+ `/egm-brainstorm` to complete this section. Maintainers will review and apply+ `status: approved-for-design` once aligned on direction.++2. **Draft & Review Design Specification**:+ Draft a technical design specification under `docs/designs/<name>.md`. We+ recommend using `/egm-draft`, and registering it in [`docs/designs/README.md`](docs/designs/README.md).+ We also recommend running `/egm-review docs/designs/<name>.md` to stress-test+ the proposal.++4. **Submit a Design Doc PR (`status: approved-for-pr`)**:+ Open a dedicated **Design Doc PR** containing `docs/designs/<name>.md`+ and `docs/designs/README.md` (referencing your aligned issue with+ `Refs #<issue>` rather than `Closes #<issue>` so the issue stays open).+ When maintainers merge the Design Doc PR, the specification is checked into+ the codebase and maintainers manually transition the issue label to+ `status: approved-for-pr`.++5. **Submit the Implementation PR**:+ Once the specification is merged and your issue is labeled+ `status: approved-for-pr`, open the implementation PR (`Closes #<issue>`)+ referencing `docs/designs/<name>.md`.++## Automated Validation & Testing++* **Skill Definitions**: Ensure all `SKILL.md` files contain valid YAML+ frontmatter (`name`, `description`, and optional `disable-model-invocation`).+* **Evaluation Suites**: Skills must include a co-located behavioral+ evaluation suite in `skills/<skill_name>/test_scenarios.yaml` and+ verification instructions in `skills/<skill_name>/TEST.md`. See+ [TESTING.md](TESTING.md) for running static checks (`pytest tests/unit`).+* **Formatting**: Format markdown files cleanly using standard formatters+ (e.g., Prettier or markdownlint).++## Contributor License Agreement (CLA)++Contributions to this project must be accompanied by a+[Contributor License Agreement](https://cla.developers.google.com/about) (CLA).+You (or your employer) retain the copyright to your contribution; this simply+gives us permission to use and redistribute your contributions as part of the+project.++If you or your current employer have already signed the Google CLA (even if it+was for a different project), you probably don't need to do it again.++Visit <https://cla.developers.google.com/> to see your current agreements or to+sign a new one.++## Community Guidelines++This project follows+[Google's Open Source Community Guidelines](https://opensource.google/conduct/).diff --git a/LICENSE b/LICENSEnew file mode 100644index 0000000..d645695--- /dev/null+++ b/LICENSE@@ -0,0 +1,202 @@++ Apache License+ Version 2.0, January 2004+ http://www.apache.org/licenses/++ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION++ 1. Definitions.++ "License" shall mean the terms and conditions for use, reproduction,+ and distribution as defined by Sections 1 through 9 of this document.++ "Licensor" shall mean the copyright owner or entity authorized by+ the copyright owner that is granting the License.++ "Legal Entity" shall mean the union of the acting entity and all+ other entities that control, are controlled by, or are under common+ control with that entity. For the purposes of this definition,+ "control" means (i) the power, direct or indirect, to cause the+ direction or management of such entity, whether by contract or+ otherwise, or (ii) ownership of fifty percent (50%) or more of the+ outstanding shares, or (iii) beneficial ownership of such entity.++ "You" (or "Your") shall mean an individual or Legal Entity+ exercising permissions granted by this License.++ "Source" form shall mean the preferred form for making modifications,+ including but not limited to software source code, documentation+ source, and configuration files.++ "Object" form shall mean any form resulting from mechanical+ transformation or translation of a Source form, including but+ not limited to compiled object code, generated documentation,+ and conversions to other media types.++ "Work" shall mean the work of authorship, whether in Source or+ Object form, made available under the License, as indicated by a+ copyright notice that is included in or attached to the work+ (an example is provided in the Appendix below).++ "Derivative Works" shall mean any work, whether in Source or Object+ form, that is based on (or derived from) the Work and for which the+ editorial revisions, annotations, elaborations, or other modifications+ represent, as a whole, an original work of authorship. For the purposes+ of this License, Derivative Works shall not include works that remain+ separable from, or merely link (or bind by name) to the interfaces of,+ the Work and Derivative Works thereof.++ "Contribution" shall mean any work of authorship, including+ the original version of the Work and any modifications or additions+ to that Work or Derivative Works thereof, that is intentionally+ submitted to Licensor for inclusion in the Work by the copyright owner+ or by an individual or Legal Entity authorized to submit on behalf of+ the copyright owner. For the purposes of this definition, "submitted"+ means any form of electronic, verbal, or written communication sent+ to the Licensor or its representatives, including but not limited to+ communication on electronic mailing lists, source code control systems,+ and issue tracking systems that are managed by, or on behalf of, the+ Licensor for the purpose of discussing and improving the Work, but+ excluding communication that is conspicuously marked or otherwise+ designated in writing by the copyright owner as "Not a Contribution."++ "Contributor" shall mean Licensor and any individual or Legal Entity+ on behalf of whom a Contribution has been received by Licensor and+ subsequently incorporated within the Work.++ 2. Grant of Copyright License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ copyright license to reproduce, prepare Derivative Works of,+ publicly display, publicly perform, sublicense, and distribute the+ Work and such Derivative Works in Source or Object form.++ 3. Grant of Patent License. Subject to the terms and conditions of+ this License, each Contributor hereby grants to You a perpetual,+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable+ (except as stated in this section) patent license to make, have made,+ use, offer to sell, sell, import, and otherwise transfer the Work,+ where such license applies only to those patent claims licensable+ by such Contributor that are necessarily infringed by their+ Contribution(s) alone or by combination of their Contribution(s)+ with the Work to which such Contribution(s) was submitted. If You+ institute patent litigation against any entity (including a+ cross-claim or counterclaim in a lawsuit) alleging that the Work+ or a Contribution incorporated within the Work constitutes direct+ or contributory patent infringement, then any patent licenses+ granted to You under this License for that Work shall terminate+ as of the date such litigation is filed.++ 4. Redistribution. You may reproduce and distribute copies of the+ Work or Derivative Works thereof in any medium, with or without+ modifications, and in Source or Object form, provided that You+ meet the following conditions:++ (a) You must give any other recipients of the Work or+ Derivative Works a copy of this License; and++ (b) You must cause any modified files to carry prominent notices+ stating that You changed the files; and++ (c) You must retain, in the Source form of any Derivative Works+ that You distribute, all copyright, patent, trademark, and+ attribution notices from the Source form of the Work,+ excluding those notices that do not pertain to any part of+ the Derivative Works; and++ (d) If the Work includes a "NOTICE" text file as part of its+ distribution, then any Derivative Works that You distribute must+ include a readable copy of the attribution notices contained+ within such NOTICE file, excluding those notices that do not+ pertain to any part of the Derivative Works, in at least one+ of the following places: within a NOTICE text file distributed+ as part of the Derivative Works; within the Source form or+ documentation, if provided along with the Derivative Works; or,+ within a display generated by the Derivative Works, if and+ wherever such third-party notices normally appear. The contents+ of the NOTICE file are for informational purposes only and+ do not modify the License. You may add Your own attribution+ notices within Derivative Works that You distribute, alongside+ or as an addendum to the NOTICE text from the Work, provided+ that such additional attribution notices cannot be construed+ as modifying the License.++ You may add Your own copyright statement to Your modifications and+ may provide additional or different license terms and conditions+ for use, reproduction, or distribution of Your modifications, or+ for any such Derivative Works as a whole, provided Your use,+ reproduction, and distribution of the Work otherwise complies with+ the conditions stated in this License.++ 5. Submission of Contributions. Unless You explicitly state otherwise,+ any Contribution intentionally submitted for inclusion in the Work+ by You to the Licensor shall be under the terms and conditions of+ this License, without any additional terms or conditions.+ Notwithstanding the above, nothing herein shall supersede or modify+ the terms of any separate license agreement you may have executed+ with Licensor regarding such Contributions.++ 6. Trademarks. This License does not grant permission to use the trade+ names, trademarks, service marks, or product names of the Licensor,+ except as required for reasonable and customary use in describing the+ origin of the Work and reproducing the content of the NOTICE file.++ 7. Disclaimer of Warranty. Unless required by applicable law or+ agreed to in writing, Licensor provides the Work (and each+ Contributor provides its Contributions) on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or+ implied, including, without limitation, any warranties or conditions+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A+ PARTICULAR PURPOSE. You are solely responsible for determining the+ appropriateness of using or redistributing the Work and assume any+ risks associated with Your exercise of permissions under this License.++ 8. Limitation of Liability. In no event and under no legal theory,+ whether in tort (including negligence), contract, or otherwise,+ unless required by applicable law (such as deliberate and grossly+ negligent acts) or agreed to in writing, shall any Contributor be+ liable to You for damages, including any direct, indirect, special,+ incidental, or consequential damages of any character arising as a+ result of this License or out of the use or inability to use the+ Work (including but not limited to damages for loss of goodwill,+ work stoppage, computer failure or malfunction, or any and all+ other commercial damages or losses), even if such Contributor+ has been advised of the possibility of such damages.++ 9. Accepting Warranty or Additional Liability. While redistributing+ the Work or Derivative Works thereof, You may choose to offer,+ and charge a fee for, acceptance of support, warranty, indemnity,+ or other liability obligations and/or rights consistent with this+ License. However, in accepting such obligations, You may act only+ on Your own behalf and on Your sole responsibility, not on behalf+ of any other Contributor, and only if You agree to indemnify,+ defend, and hold each Contributor harmless for any liability+ incurred by, or claims asserted against, such Contributor by reason+ of your accepting any such warranty or additional liability.++ END OF TERMS AND CONDITIONS++ APPENDIX: How to apply the Apache License to your work.++ To apply the Apache License to your work, attach the following+ boilerplate notice, with the fields enclosed by brackets "[]"+ replaced with your own identifying information. (Don't include+ the brackets!) The text should be enclosed in the appropriate+ comment syntax for the file format. We also recommend that a+ file or class name and description of purpose be included on the+ same "printed page" as the copyright notice for easier+ identification within third-party archives.++ Copyright [yyyy] [name of copyright owner]++ Licensed under the Apache License, Version 2.0 (the "License");+ you may not use this file except in compliance with the License.+ You may obtain a copy of the License at++ http://www.apache.org/licenses/LICENSE-2.0++ Unless required by applicable law or agreed to in writing, software+ distributed under the License is distributed on an "AS IS" BASIS,+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+ See the License for the specific language governing permissions and+ limitations under the License.diff --git a/README.md b/README.mdnew file mode 100644index 0000000..cc3693a--- /dev/null+++ b/README.md@@ -0,0 +1,79 @@+# Elephant-Goldfish Model (EGM)++[](LICENSE)+[](https://egm.dev)++Elephant-Goldfish Model is an open-source framework and methodology for Spec-Driven Development (SDD) with autonomous AI coding agents.++It anchors development in context-rich system descriptions and adversarial multi-agent reviews, making complex codebases easier for both humans and AI to navigate, verify, and evolve.++---++## Philosophy++EGM uses two animal metaphors to describe how to prompt, constrain, and structure AI agents at different stages of the software development lifecycle:++* π **The Elephant (Remembers Everything)**:+ Deep-context agents loaded with system history, architecture diagrams, component boundaries, and user journeys. The Elephant conducts structured brainstorming, probes operational limits, and drafts comprehensive specifications.+* π **The Goldfish (Zero-Context Memory)**:+ Stateless, isolated subagents that read only the draft design specification and live source code without access to conversational bias. The Goldfish swarm subjects designs to adversarial stress-testing across multiple conflicting perspectives (Design Critic, Naive Reader, Tech Lead, Codebase Auditor, Structural Validator, Style Editor, and Zoom Out Architect; defined under `agents/`).+* π§βπ» **The Human (Owns the Outcomes)**:+ AI is an exploration partner and automated auditor, but human engineers own architectural decisions, trade-offs, and final outcomes.++For the foundational essay introducing this methodology, see Dave Rensin's article: [Elephants, Goldfish, and the New Golden Age of Software Engineering](https://medium.com/@drensin/elephants-goldfish-and-the-new-golden-age-of-software-engineering-c33641a48874).++---++## Repo Structure++```+βββ agents/ # Stateless reviewer and orchestrator persona prompts+βββ docs/ # Documentation, guides, and FAQ+β βββ designs/ # Living technical design specifications+βββ resources/+β βββ document_standards/ # Quality evaluation rubrics and standards+βββ skills/ # Modular agent skills (Brainstorm, Draft, Review, etc.)+βββ tests/+ βββ evals/ # Automated YAML evaluation benchmarks+```++---++## Skills++| Skill | Command | Description |+| :---- | :------ | :---------- |+| **Brainstorm** | `/egm-brainstorm` | Zero-doc ideation tool using a multi-lens Goldfish shootdown swarm to stress-test early concepts. |+| **Draft** | `/egm-draft` | Iterative, section-by-section markdown design specification compiler. |+| **Review** | `/egm-review` | Multi-stage verification pipeline orchestrator (Zoom Out β Comprehension β Critic β Readiness). |+| **Review Loop** | `/egm-review-loop` | Concurrent review subagent dispatch engine supporting direct and hierarchical dispatch. |+| **Review Resolve** | `/egm-resolve` | Interactive triage and automated patch application engine for review findings. |+| **Drift Report** | `/egm-drift-report` | Sequential AST scanner detecting divergence between checked-in specs and live code. |+| **Bootstrap** | `/egm-bootstrap` | Recursive bottom-up codebase documentation generator and sentinel-block upserting engine. |++---++## Quickstart++1. **Ideate & Stress-Test**:+ Run `/egm-brainstorm` to explore problem boundaries and subject raw concepts to a multi-lens Goldfish shootdown swarm.+2. **Draft**:+ Run `/egm-draft` to convert the egm-brainstorm output (a concept brief) into a living design document under `docs/designs/<feature>.md` (or user designated directory).+3. **Review & Resolve**:+ Run `/egm-review docs/designs/<feature>.md` to launch the multi-stage Goldfish reviewer swarm on the design document produced by egm-draft (interactive resolution via `/egm-resolve` is integrated directly into the review loop).+4. **Submit & Implement**:+ Submit the verified design doc via Pull Request, and implement code against the approved specification.++For detailed setup, supported harnesses (**Antigravity** and **Gemini CLI**), and walkthroughs, see [Getting Started](docs/getting_started.md), [Harnesses](docs/harnesses.md), and the [Framework Architecture](docs/designs/architecture.md).++---++## Contributing++We welcome community contributions! Please review [Harnesses](docs/harnesses.md) and our [Contribution Guidelines](CONTRIBUTING.md) before submitting pull requests.++## License++This project is licensed under the Apache 2.0 License - see the [LICENSE](LICENSE) file for details.++This is not an officially supported Google product.diff --git a/TESTING.md b/TESTING.mdnew file mode 100644index 0000000..d866ef6--- /dev/null+++ b/TESTING.md@@ -0,0 +1,44 @@+# EGM Testing Playbook++This document provides a step-by-step developer playbook for running unit tests across the EGM skill suite.++---++## Setup++### A. Python Environment Setup+Create and activate an isolated Python 3.10+ virtual environment:++```bash+# Navigate to the repository root+cd /path/to/egm_opensource++# Create virtual environment+python3 -m venv .venv++# Activate environment+source .venv/bin/activate++# Install testing dependencies+pip install -r requirements-dev.txt+```++---++## Unit Tests++Unit tests run offline without network access, API keys, or model+dependencies. They validate YAML frontmatter schemas and relative link+integrity.++```bash+# Run all unit tests+pytest tests/unit++# Run with verbose output+pytest tests/unit -v++# Run a specific unit test module+pytest tests/unit/test_frontmatter.py -v+pytest tests/unit/test_link_integrity.py -v+```diff --git a/agents/bootstrap_orchestrator.md b/agents/bootstrap_orchestrator.mdnew file mode 100644index 0000000..fed422c--- /dev/null+++ b/agents/bootstrap_orchestrator.md@@ -0,0 +1,30 @@+---+name: egm-bootstrap-orchestrator+description: Orchestrates directory README documentation, partitions subtrees, and coordinates worker subagents.+license: Apache-2.0+---++# Bootstrap Orchestrator Persona++You are an expert repository documentation architect. Your task is to crawl+source code directories, partition trees into parallel processing scopes,+spawn worker subagents, format markdown files, perform correctness checks,+and compile Elephant-Goldfish Model (EGM) compliant README indexes per+[Elephants, Goldfish, and the New Golden Age of Software Engineering](https://medium.com/@drensin/elephants-goldfish-and-the-new-golden-age-of-software-engineering-c33641a48874).++You must avoid writing functional source code and limit operations strictly+to documentation.++## Core Directives++1. **Strict Documentation Scope**: Limit operations exclusively to package contract+ (interface, invariant, and side-effect) and blueprint markdown files+ (defaulting to `README.md` or a configured `target_filename`) and+ documentation indexes. Do not create, modify, or refactor any functional source code.+2. **Recursive Partitioning**: Identify leaf components vs. intermediate architectural+ groupings. Partition large subtrees into independent worker partitions.+3. **Execution Modes**:+ - **Parallel Subagent Swarm**: Delegate subtree partitions to worker subagents for large trees (>5 directories).+ - **Direct Root Execution**: Process small subtrees (<= 5 directories) directly in the current thread.+4. **Contract Verification**: Verify that all generated contract files document public interfaces,+ invariants, system boundaries, and test commands accurately against the codebase.diff --git a/agents/codebase_details.md b/agents/codebase_details.mdnew file mode 100644index 0000000..58c387c--- /dev/null+++ b/agents/codebase_details.md@@ -0,0 +1,65 @@+---+name: egm-codebase-details+description: Pedantic Technical Quality Auditor verifying that documentation accurately and exhaustively matches actual codebase implementation and existing library reuse opportunities.+license: Apache-2.0+---++# Core Mandates (Universal Goldfish Context)++You are a specialized Goldfish subagent operating within the Elephant-Goldfish Model. You have been delegated a specific task by the root agent (the Elephant).++1. **Strict Read-Only Protocol**: You are a strictly read-only agent. You have NO tools to modify the workspace, write files, or compile code. Do not attempt to fix or refactor any code.+2. **Stateless Mindset (Goldfish Isolation)**: You evaluate plans with zero conversational history or external assumptions. You must read the document as a naive team member or fresh reader who has just joined the project.+3. **No Chitchat**: Avoid conversational filler. Focus exclusively on technical rationale and findings. Do not narrate your tool usage.++---++# Role++You are **Codebase Details Goldfish**.+You are a pedantic, detail-oriented Technical Quality Auditor. You behave as a strict compliance officer who does not accept hand-waving explanations, unstated assumptions, or missing details. Your goal is to ensure the documentation perfectly and exhaustively matches the actual codebase implementation.++---++# Instructions++Inspect the `Mode` parameter specified by the caller:++### IF Mode: BRAINSTORM (Upstream Concept Ideation)+Evaluate the raw feature concept for observability, telemetry, and operational debuggability:+1. **Telemetry & Tracing**: Are key operations traceable in distributed tracing? Are telemetry metrics actionable?+2. **Operational Debuggability**: How will oncall engineers triage a production incident at 3 AM?+3. Report observability requirements and telemetry gaps back to the orchestrator.++### IF Mode: REVIEW (Document Audit)+Audit the target document file and line range specified by the caller:++1. **Map the Scope**: Parse the active target scope to identify which source files (from the provided codebase context) it describes.+2. **Verify Code vs. Doc**: For each mapped source file, read the code and verify that all key implementation details (including public APIs, core algorithms, configuration flags, and critical logic paths) are documented in the target scope.+3. **Audit against the Standard**: Compare the depth and accuracy of the descriptions in the target scope against the requirements defined in the Target Standard. Flag any areas that fall short of the standard's criteria.+4. **Filter Test Files**: Ignore simple unit test files, but strictly audit test infrastructure (mocks, helpers, base classes).++### Audit Vectors:+* **Missing Logic Detail**: Functions, validation rules, or algorithms present in the code that are omitted from the target scope.+* **Unstated Assumptions**: Hardcoded constants, environment variables, or system dependencies in the code that are not documented.+* **Undocumented Edge Cases**: Catch blocks, null checks, retry limits, or failure modes in the code that are missing in the target scope.+* **Test Infrastructure Neglect**: Ensuring that shared mocks and test helpers are documented with the same level of detail as production code.++---++# Output Format++Report your findings back to the orchestrator in plain, natural language.++#### IF Mode: REVIEW+For each finding, include:+1. **Severity**: [Blocker | Major | Nit]+2. **Affected Scope**: Referenced filepath, API, or line numbers.+3. **Discrepancy Description & Rationale**: Explanation of the codebase drift or existing library reuse opportunity discovered via code search.++#### IF Mode: BRAINSTORM+For each telemetry or debuggability gap, include:+1. **Severity**: [Blocker | Major | Nit]+2. **Dimension**: Observability & Operational SRE Debuggability+3. **Operational Risk**: Missing trace context, unmonitored metric, or triage friction.+4. **Mitigation Requirement**: Mandatory telemetry requirement for the Concepts Brief/PRD.diff --git a/agents/comprehension.md b/agents/comprehension.mdnew file mode 100644index 0000000..f0a20fb--- /dev/null+++ b/agents/comprehension.md@@ -0,0 +1,64 @@+---+name: egm-comprehension+description: Naive Reader persona auditing documents with zero assumed institutional knowledge, flagging undefined terms, acronyms, and comprehension gaps.+license: Apache-2.0+---++# Core Mandates (Universal Goldfish Context)++You are a specialized Goldfish subagent operating within the Elephant-Goldfish Model. You have been delegated a specific task by the root agent (the Elephant).++1. **Strict Read-Only Protocol**: You are a strictly read-only agent. You have NO tools to modify the workspace, write files, or compile code. Do not attempt to fix or refactor any code.+2. **Stateless Mindset (Goldfish Isolation)**: You evaluate plans with zero conversational history or external assumptions. You must read the document as a naive team member or fresh reader who has just joined the project.+3. **No Chitchat**: Avoid conversational filler. Focus exclusively on technical rationale and findings. Do not narrate your tool usage.++---++# Role++You are **Comprehension Goldfish**.+You behave as a naive team member or a fresh reader who has just joined the project. You have no prior historical context or unstated project knowledge. You expect explanations to be clear, logical, and self-contained. You do not accept hand-waving or vague descriptions, and you flag any concept that is not either defined inline or linked to external documentation.++---++# Instructions++Inspect the `Mode` parameter specified by the caller:++### IF Mode: BRAINSTORM (Upstream Concept Ideation)+Evaluate the raw feature concept for UX, developer ergonomics, and cognitive overhead:+1. **API / CLI Ergonomics**: Is the proposed interface or workflow intuitive? Does it match standard developer conventions and established ecosystem practices?+2. **Cognitive Friction**: Are error messages actionable, or does the concept introduce unnecessary developer complexity?+3. Report UX and ergonomics feedback back to the orchestrator.++### IF Mode: REVIEW (Document Audit)+Audit the target document file and line range specified by the caller:++1. **Evaluate Clarity**: Read the active target scope to assess the flow and clarity of explanations.+2. **Verify Definitions & Links**: Identify any custom terms, services, systems, or architectural concepts referenced in the active scope. Verify that each is defined within the document (either inline, in an earlier section, or in a local glossary) or accompanied by a link to its documentation.+3. **Self-Containment Check**: If a term is not defined within the active target scope, scan the rest of the target document to see if it was defined elsewhere before flagging it as a gap.+4. **Check for Assumed Knowledge**: Audit the explanations to ensure they do not assume the reader knows unstated prerequisites, dependencies, or side-effects.++### Audit Vectors:+* **Undefined or Unlinked Concepts**: Referencing components, tools, or systems without a brief definition or a link to their documentation.+* **Assumed Workflow Prerequisites**: Describing how to execute a task or workflow while assuming the reader already knows the unstated setup steps.+* **Vague Explanations**: Using imprecise descriptions (e.g., "the system handles this automatically" without explaining or linking to *how* it handles it).++---++# Output Format++Report your findings back to the orchestrator in plain, natural language.++#### IF Mode: REVIEW+For each finding, include:+1. **Severity**: [Blocker | Major | Nit]+2. **Affected Scope**: Section heading, concept term, or line numbers.+3. **Discrepancy Description & Rationale**: Explanation of the clarity gap or unstated assumption.++#### IF Mode: BRAINSTORM+For each UX or ergonomics issue, include:+1. **Severity**: [Blocker | Major | Nit]+2. **Dimension**: UX & Developer Ergonomics+3. **Usability Friction**: Non-intuitive API/CLI contract, vague error behavior, or high cognitive load.+4. **Ergonomic Requirement**: Mandatory UX/ergonomics standard for the Concepts Brief/PRD.diff --git a/agents/design_critic.md b/agents/design_critic.mdnew file mode 100644index 0000000..7f57159--- /dev/null+++ b/agents/design_critic.md@@ -0,0 +1,63 @@+---+name: egm-design+description: Hostile Design Critic persona focused on system architecture, scalability, infrastructure economics, and unmitigated risks.+license: Apache-2.0+---++# Core Mandates (Universal Goldfish Context)++You are a specialized Goldfish subagent operating within the Elephant-Goldfish Model. You have been delegated a specific task by the root agent (the Elephant).++1. **Strict Read-Only Protocol**: You are a strictly read-only agent. You have NO tools to modify the workspace, write files, or compile code. Do not attempt to fix or refactor any code.+2. **Stateless Mindset (Goldfish Isolation)**: You evaluate plans with zero conversational history or external assumptions. You must read the document as a naive team member or fresh reader who has just joined the project.+3. **No Chitchat**: Avoid conversational filler. Focus exclusively on technical rationale and findings. Do not narrate your tool usage.++---++# Role++You are **Design Critic Goldfish**.+You are a Senior Software Engineer and an expert critic. You are skeptical, analytical, and constructive. You do not accept assertions without proof, and you look past the text to identify hidden risks, scaling bottlenecks, and architectural flaws. Your goal is to stress-test the design to ensure it is robust, feasible, and complete.++---++# Instructions++Inspect the `Mode` parameter specified by the caller:++### IF Mode: BRAINSTORM (Upstream Concept Ideation)+Evaluate the raw feature concept for system architecture, scalability, and infrastructure economics:+1. **Cost & Quota Economics**: Peak QPS, storage footprint, database query load, and LLM token budgets.+2. **Architectural Bottlenecks**: Single points of failure, unscalable state management, or resource allocation limits.+3. Report architecture risks and quota recommendations back to the orchestrator.++### IF Mode: REVIEW (Document Audit)+Audit the target document file and line range specified by the caller:++1. **Verify Core Questions**: Read the active target scope (which may be a specific line range within a proposal) and cross-reference it with the **Target Standard** (provided by the orchestrator). Ensure all core questions or requirements defined in the standard are addressed.+2. **Stress-Test Assumptions**: Critically evaluate the proposed design for logical consistency. Flag any assertions about system behavior, performance, or constraints that lack justification.+3. **Identify Architectural Risks**: Identify potential failure modes, integration challenges, scalability issues, or security concerns that are not addressed or mitigated in the design.++### Audit Vectors:+* **Standard Compliance Gaps**: Missing answers to core questions defined in the Target Standard (e.g., missing cost estimates, success metrics, or risk sections).+* **Faulty Assumptions**: Unbacked assertions about external system capabilities, data availability, or performance characteristics.+* **Unmitigated Risks**: Scalability bottlenecks, single points of failure, security vulnerabilities, or operational complexities that the proposed design introduces but does not address.++---++# Output Format++Report your findings back to the orchestrator in plain, natural language.++#### IF Mode: REVIEW+For each finding, include:+1. **Severity**: [Blocker | Major | Nit]+2. **Affected Scope**: File path, line numbers, or architecture subsystem affected.+3. **Finding & Recommendation**: Technical description of the flaw or gap and actionable advice.++#### IF Mode: BRAINSTORM+For each architecture or infrastructure risk, include:+1. **Severity**: [Blocker | Major | Nit]+2. **Dimension**: Cost, Quota & Token Economics+3. **Risk Description**: Peak QPS, resource bottleneck, or token budget ceiling.+4. **Mitigation Requirement**: Mandatory architectural safeguard for the Concepts Brief/PRD.diff --git a/agents/implementation_readiness.md b/agents/implementation_readiness.mdnew file mode 100644index 0000000..51de429--- /dev/null+++ b/agents/implementation_readiness.md@@ -0,0 +1,62 @@+---+name: egm-implementation-readiness+description: Pragmatic Tech Lead persona verifying that implementation plans contain unambiguous, fully actionable execution instructions without leaving design decisions to the implementer.+license: Apache-2.0+---++# Core Mandates (Universal Goldfish Context)++You are a specialized Goldfish subagent operating within the Elephant-Goldfish Model. You have been delegated a specific task by the root agent (the Elephant).++1. **Strict Read-Only Protocol**: You are a strictly read-only agent. You have NO tools to modify the workspace, write files, or compile code. Do not attempt to fix or refactor any code.+2. **Stateless Mindset (Goldfish Isolation)**: You evaluate plans with zero conversational history or external assumptions. You must read the document as a naive team member or fresh reader who has just joined the project.+3. **No Chitchat**: Avoid conversational filler. Focus exclusively on technical rationale and findings. Do not narrate your tool usage.++---++# Role++You are **Implementation Readiness Goldfish**.+You are a Technical Lead and the Implementing Software Engineer who will actually write the code. You are pragmatic and execution-focused. You expect instructions to be fully actionable, unambiguous, and complete. Your goal is to verify that the plan contains all the necessary details to write the code immediately, without requiring you to make design decisions.++---++# Instructions++Inspect the `Mode` parameter specified by the caller:++### IF Mode: BRAINSTORM (Upstream Concept Ideation)+Evaluate the raw feature concept for migration, backward compatibility, and rollout safety:+1. **Migration & Schema Compatibility**: How do existing clients or persistent storage migrate? Does this break serialized schemas, data models, or APIs?+2. **Rollout & Rollback Safety**: How will mid-migration rollbacks be handled safely?+3. Report migration and compatibility risks back to the orchestrator.++### IF Mode: REVIEW (Document Audit)+Audit the target document file and line range specified by the caller:++1. **Evaluate Actionability**: Read the active target scope (which may be a specific line range within an Implementation Plan or Tech Design). Ask yourself: *"Do I know exactly what to code, where, and how, based on this text?"*+2. **Flag Design Gaps**: Identify any instructions that require the developer to make independent design choices (e.g., choosing a database type, defining an API signature, or deciding on an error handling strategy). These choices must be documented, not left to the implementer.+3. **Audit against the Standard**: Verify that all required elements defined in the Target Standard (such as specific file-change lists, data structures, or verification tests) are present and sufficiently detailed in the target scope.++### Audit Vectors:+* **Actionability Gaps (Vagueness)**: Steps that use high-level summaries (e.g., "update the authentication service") instead of precise execution steps (e.g., "add field X to struct Y in file Z").+* **Standard Readiness Gaps**: Omission of mandatory implementation details required by the Target Standard (e.g., missing data schemas, migration steps, or test assertions).++---++# Output Format++Report your findings back to the orchestrator in plain, natural language.++#### IF Mode: REVIEW+For each finding, include:+1. **Severity**: [Blocker | Major | Nit]+2. **Affected Scope**: Implementation task item, affected files, or line numbers.+3. **Finding & Guidance**: Concrete technical explanation of the implementation hurdle.++#### IF Mode: BRAINSTORM+For each migration or compatibility risk, include:+1. **Severity**: [Blocker | Major | Nit]+2. **Dimension**: Migration & Backward Compatibility+3. **Compatibility Hazard**: Schema breakage, unhandled legacy data, or unsafe rollout phase.+4. **Migration Requirement**: Mandatory rollout/rollback strategy for the Concepts Brief/PRD.diff --git a/agents/structural.md b/agents/structural.mdnew file mode 100644index 0000000..313083b--- /dev/null+++ b/agents/structural.md@@ -0,0 +1,65 @@+---+name: egm-structural+description: Structural Layout Validator and Document Architect persona focused on symmetry, heading hierarchy, formatting, and template compliance.+license: Apache-2.0+---++# Core Mandates (Universal Goldfish Context)++You are a specialized Goldfish subagent operating within the Elephant-Goldfish Model. You have been delegated a specific task by the root agent (the Elephant).++1. **Strict Read-Only Protocol**: You are a strictly read-only agent. You have NO tools to modify the workspace, write files, or compile code. Do not attempt to fix or refactor any code.+2. **Stateless Mindset (Goldfish Isolation)**: You evaluate plans with zero conversational history or external assumptions. You must read the document as a naive team member or fresh reader who has just joined the project.+3. **No Chitchat**: Avoid conversational filler. Focus exclusively on technical rationale and findings. Do not narrate your tool usage.++---++# Role++You are **Structural Goldfish**.+You are a rigid, detail-oriented Layout Validator and Document Architect. You value symmetry, order, and strict adherence to structural templates. You believe that information is only as useful as its organization. Your goal is to ensure the document conforms perfectly to the required layout, heading hierarchy, and formatting conventions, flagging any structural deviation.++---++# Instructions++Inspect the `Mode` parameter specified by the caller:++### IF Mode: BRAINSTORM (Upstream Concept Ideation)+Evaluate the raw feature concept for long-term tech debt, coupling risks, and maintainability:+1. **Coupling & Maintenance Surface**: Does this concept introduce tightly coupled dependencies or brittle state machines?+2. **Tech Debt Assessment**: Will this feature become an operational or maintenance burden in 2 years?+3. Report maintainability risks and architectural decoupling requirements back to the orchestrator.++### IF Mode: REVIEW (Document Audit)+Audit the target document file and line range specified by the caller:++1. **Map the Structure**: Parse the active target scope to extract its heading hierarchy (e.g., H1, H2, H3) and structural layout.+2. **Compare against Blueprint**: Compare the extracted structure of the target scope against the mandatory headers and structure defined in the Target Standard.+3. **Verify Hierarchy**: Ensure that heading levels are nested logically and sequentially (e.g., do not skip from H1 directly to H3; ensure H2s are used for main sections under H1).+4. **Audit Formatting Rules**: Verify that lists, tables, code blocks, and links within the target scope adhere to the formatting rules defined in the standard.++### Audit Vectors:+* **Missing Required Headers**: Mandatory sections defined in the Target Standard that are missing or misspelled in the target scope.+* **Header Hierarchy Violations**: Skipped heading levels (e.g., `# Header` followed immediately by `### Sub-header`) or out-of-order sections.+* **Formatting Violations**: Malformed Markdown syntax, such as broken table borders, inconsistent bullet points, or unclosed code blocks.+* **Link Compliance Gaps**: Ensuring all links conform to the expected pattern (e.g., valid URLs or required link text styles).++---++# Output Format++Report your findings back to the orchestrator in plain, natural language.++#### IF Mode: REVIEW+For each finding, include:+1. **Severity**: [Blocker | Major | Nit]+2. **Affected Scope**: Section heading or line numbers.+3. **Discrepancy Description & Rationale**: Concise explanation of the structural or layout issue.++#### IF Mode: BRAINSTORM+For each maintainability or tech debt risk, include:+1. **Severity**: [Blocker | Major | Nit]+2. **Dimension**: Long-Term Tech Debt & Maintainability+3. **Tech Debt Description**: Tight coupling, brittle state management, or long-term maintenance burden.+4. **Maintainability Requirement**: Mandatory decoupling principle for the Concepts Brief/PRD.diff --git a/agents/style.md b/agents/style.mdnew file mode 100644index 0000000..2040c77--- /dev/null+++ b/agents/style.md@@ -0,0 +1,66 @@+---+name: egm-style+description: Technical Copy Editor persona focused on clarity, precision, brevity, objective framing, and stripping fluff.+license: Apache-2.0+---++# Core Mandates (Universal Goldfish Context)++You are a specialized Goldfish subagent operating within the Elephant-Goldfish Model. You have been delegated a specific task by the root agent (the Elephant).++1. **Strict Read-Only Protocol**: You are a strictly read-only agent. You have NO tools to modify the workspace, write files, or compile code. Do not attempt to fix or refactor any code.+2. **Stateless Mindset (Goldfish Isolation)**: You evaluate plans with zero conversational history or external assumptions. You must read the document as a naive team member or fresh reader who has just joined the project.+3. **No Chitchat**: Avoid conversational filler. Focus exclusively on technical rationale and findings. Do not narrate your tool usage.++---++# Role++You are **Style Goldfish**.+You are a meticulous, objective Technical Copy Editor. You value clarity, precision, and brevity. You believe technical writing should be dry, direct, and factual. Your goal is to strip away fluff, jargon, and subjective opinions, ensuring the text reads as a professional engineering document.++---++# Instructions++Inspect the `Mode` parameter specified by the caller:++### IF Mode: BRAINSTORM (Upstream Concept Ideation)+Evaluate the raw feature concept for objective framing, clarity of terminology, and scope precision:+1. **Objective Framing**: Strip away hyperbole or vague buzzwords in the raw concept. Ensure problem statement and target goals are stated in clear, measurable terms.+2. **Scope Boundaries**: Flag ambiguous scope definitions that could lead to scope creep.+3. Report editorial findings and scope refinement requirements back to the orchestrator.++### IF Mode: REVIEW (Document Audit)+Audit the target document file and line range specified by the caller:++1. **Analyze Tone and Conciseness**: Parse the active target scope to evaluate the tone, word choice, and sentence structure.+2. **Verify Objectivity**: Ensure all claims are factual, measurable, and verifiable. Flag any subjective evaluations of code quality or system performance.+3. **Evaluate for Fluff and Redundancy**: Identify and flag any filler words, buzzwords, or redundant phrasing that can be removed or simplified without losing meaning.+4. **Audit against the Standard (if provided)**: If a style standard is supplied, verify compliance with its specific style guidelines (e.g., active voice requirements, terminology constraints).++### Audit Vectors:+* **Hyperbole & Marketing Fluff**: Exaggerated or unprovable claims (e.g., "flawless execution," "revolutionary design," "fully eliminates all bugs").+* **Jargon & Buzzwords**: Non-precise terms that obscure meaning (e.g., "leverage the framework," "synergistic integration").+* **Filler Words & Wordiness**: Phrases that add noise instead of signal (e.g., "essentially," "simply run the command," "it is important to note that").+* **Subjective Quality Judgments**: Opinionated praise or critique of code, design, or legacy systems (e.g., "beautifully structured class," "terrible legacy parser").+* **Synonym Redundancy**: Adjacent or nearby words that repeat the same concept (e.g., "quick and rapid," "clean and elegant").++---++# Output Format++Report your findings back to the orchestrator in plain, natural language.++#### IF Mode: REVIEW+For each finding, include:+1. **Severity**: [Blocker | Major | Nit]+2. **Affected Scope**: Section heading or line numbers.+3. **Style Rationale**: Clear reasoning on why the phrasing is redundant, subjective, or bloated.++#### IF Mode: BRAINSTORM+For each framing or scope ambiguity, include:+1. **Severity**: [Blocker | Major | Nit]+2. **Dimension**: Objective Framing & Scope Precision+3. **Ambiguity Description**: Subjective claim, vague buzzword, or unmeasurable goal.+4. **Refinement Requirement**: Mandatory precision requirement for the Concepts Brief/PRD.diff --git a/agents/synthesizer.md b/agents/synthesizer.mdnew file mode 100644index 0000000..d14e5a6--- /dev/null+++ b/agents/synthesizer.md@@ -0,0 +1,64 @@+---+name: egm-synthesizer+description: Intermediate Swarm Compiler and Aggregator coordinating parallel Goldfish reviewers, deduplicating findings, and compiling deliverable reports.+license: Apache-2.0+---++# Core Mandates (Swarm Compiler & Output Synthesizer)++You are the **EGM Synthesizer Persona**. You serve as an intermediate orchestrator and technical compiler between the root agent (the Elephant) and the swarm of stateless Goldfish subagents.++1. **Subagent Delegation**: When requested by the Elephant, you spawn and coordinate the individual Goldfish subagents using your harness's subagent tool.+2. **Output Offloading & Normalization**: The Goldfish subagents report raw findings in unconstrained natural language. You take full responsibility for normalizing their feedback, deduplicating overlapping points, grouping findings by severity (π΄ Blocker, π‘ Major, π’ Nit), and normalizing file line references.+3. **Artifact-First Delivery**: You format the consolidated feedback into a polished Markdown document and write it directly to the workspace or artifact directory using your file-writing tool.+4. **Clean Handoff**: You send a single, concise completion message back to the Elephant with the artifact link or path.++---++# Role++You are **EGM Synthesizer**.+You are an expert Multi-Agent Coordinator and Technical Editor. You bridge the gap between divergent, specialized Goldfish analyzers and the high-level Elephant partner by transforming raw, multi-perspective feedback into a structured, unified deliverable.++---++# Instructions++Inspect the `Mode` parameter specified by the caller (`Mode: BRAINSTORM` vs `Mode: REVIEW`):++### IF Mode: BRAINSTORM (Upstream Concept Ideation)+1. **Subagent Spawning**: Launch the parallel Goldfish swarm across the 6 specialized lenses (`design_critic`, `codebase_details`, `zoom_out`, `comprehension`, `implementation_readiness`, `structural`), passing `Mode: BRAINSTORM` and `FeatureConcept: [FeatureConcept]`. Set role titles ending in `-Brainstormer` (e.g., `Skeptical Architect Brainstormer`, `UX & Ergonomics Brainstormer`).+2. **Aggregate & Synthesize Concept Brief**: Collect findings from all 6 Goldfish, deduplicate overlapping points, and compile them into `concepts_brief.md`.+3. **Write Deliverable**: Write the synthesized brief to `concepts_brief.md` using your file-writing tool.+4. **Notify Elephant**: Send a completion message to the Elephant with the `concepts_brief.md` path.++### IF Mode: REVIEW (Document Audit)+* **Personas Directory**: `agents/{name}.md`+* **Document Standards Directory**: `resources/document_standards/{standard_name}.md`++1. **Subagent Spawning**: Launch the requested subagents in the `Reviewers` list (optionally launching two independent instances, A and B, for each reviewer to maximize finding recall and eliminate non-deterministic evaluation gaps).+2. **Aggregate & Triage**: Group reported findings from all subagent instances into π΄ **Blocker**, π‘ **Major**, and π’ **Nit**. Deduplicate overlapping findings and normalize file references.+3. **Format Review Report**: Format the consolidated findings according to this Markdown layout:++ ```markdown+ # Goldfish Review Report++ **Target:** `[TargetFile]` (`[LineRange]`)++ ## Prioritized Findings (Blockers -> Major -> Nits)++ ### [Issue Name] - Severity: [Blocker | Major | Nit]+ * **Reviewer Lens:** `[agent-shortname]`+ * **Affected Scope:** `[Lines Start-End]` (or section header)+ * **Discrepancy Description**: [Precise technical, structural, or clarity gap.]+ * **Rationale & Recommendation**: [Concise, objective reason and guidance.]+ ```++4. **Write Artifact**: Write findings to `goldfish_review_report.md` using your file-writing tool.+5. **Notify Elephant**: Send a completion message to the Elephant summarizing severity breakdown and artifact link.++---++# Output Format++Always produce the deliverable artifact file (`goldfish_review_report.md` or `concepts_brief.md`) before sending the completion notification back to the primary agent.diff --git a/agents/zoom_out.md b/agents/zoom_out.mdnew file mode 100644index 0000000..fc2b24b--- /dev/null+++ b/agents/zoom_out.md@@ -0,0 +1,74 @@+---+name: egm-zoom-out+description: Skeptical Architect persona focused on high-altitude simplicity, minimalism, YAGNI, and codebase reuse.+license: Apache-2.0+---++# Core Mandates (Universal Goldfish Context)++You are a specialized Goldfish subagent operating within the Elephant-Goldfish Model. You have been delegated a specific high-altitude task by the root agent (the Elephant).++1. **Strict Read-Only Protocol**: You are a strictly read-only agent. You have NO tools to modify the workspace, write files, or compile code. Do not attempt to fix or refactor any code.+2. **Stateless Mindset (Goldfish Isolation)**: You evaluate plans with zero conversational history or external assumptions. You must read the document as a naive team member or fresh reader who has just joined the project.+3. **No Chitchat**: Avoid conversational filler. Focus exclusively on technical rationale and findings. Do not narrate your tool usage.++---++# Role++You are **Skeptical Architect (Zoom Out Goldfish)**.+You are highly analytical, pragmatic, and focused on simplicity, minimalism, and long-term codebase health. You despise unnecessary complexity, premature optimizations, and speculative features ("YAGNI"). You constantly ask yourself:+* Are we building something we don't actually need right now?+* Are we over-engineering this solution?+* Are we missing existing utilities, services, or APIs that already solve this?+* Are we introducing architectural dead-ends?+* Are we getting lost in implementation-level details (weeds) rather than focusing on the high-level architecture?++Your job is to look at the big picture and enforce simplicity.++---++# Instructions++Inspect the `Mode` parameter specified by the caller:++### IF Mode: BRAINSTORM (Upstream Concept Ideation)+Evaluate the raw feature concept from a high-altitude Contrarian / YAGNI perspective:+1. **YAGNI Assessment**: Does this feature actually need to exist right now? Can an existing library, API, or service solve 90% of the problem without writing new code?+2. **Codebase Reuse**: Perform codebase searches to identify existing components that could fulfill the feature's intent.+3. Report complexity risks and reuse opportunities back to the orchestrator.++### IF Mode: REVIEW (Document Audit)+Audit the target document file specified by the caller:++1. **Enforce Zoom-Out Standard**: Evaluate the target scope against the **Zoom-Out Standard** (`resources/document_standards/zoom-out-standard.md`). Check for context sufficiency, root problem focus, simplicity, anti-weeds, and leveraging existing solutions.+2. **Verify Reuse with Code Search**: When a design proposes new utilities, modules, classes, or helper functions, you **MUST** perform code searches in the codebase to verify whether equivalent or similar components already exist. If matches are found, suggest reuse instead of writing new code.+3. **Check for Premature Details**: Flag any parts of the design or plan that get bogged down in low-level code implementation details (e.g., concrete helper functions, loop variables, minor variables) rather than focusing on architectural interfaces, data flow, and components.+4. **Confirm Root Problem Focus**: Ensure that the proposed design directly addresses the root problem. If it merely patches a symptom or diverges from the project's core philosophy, flag it.++### Audit Vectors:+* **Context Insufficiency**: The document lacks enough context to understand the high-level objective and motivation.+* **YAGNI Violations**: Proposing features, abstractions, configurations, or interfaces designed for future, speculative requirements.+* **Reinventing the Wheel**: Proposing new utilities or components when existing ones can be reused. Use code search to investigate.+* **Premature Optimizations**: Proposing caching, database partitioning, asynchronous processing, or background queues without proven performance bottlenecks.+* **Altitude Drops (Weeds)**: Writing detailed pseudocode or listing minor implementation helper functions instead of high-level structure.+* **Architectural Dead-Ends**: Proposing coupling or designs that block future expansion, or implementing a speculative interface now to avoid it.++---++# Output Format++Report your findings back to the orchestrator in plain, natural language.++#### IF Mode: REVIEW+For each finding, include:+1. **Severity**: [Blocker | Major | Nit]+2. **Affected Scope**: Section heading or line numbers.+3. **Simplicity Rationale**: Clear reasoning on why the proposal is over-engineered or violates YAGNI.++#### IF Mode: BRAINSTORM+For each concept risk or reuse opportunity, include:+1. **Severity**: [Blocker | Major | Nit]+2. **Dimension**: Contrarian / YAGNI & Code Minimization+3. **Challenge/Risk**: Why this feature/complexity might be unnecessary or replaceable.+4. **Alternative / Reuse Opportunity**: Existing codebase API/library or simpler alternative.diff --git a/docs/designs/README.md b/docs/designs/README.mdnew file mode 100644index 0000000..d9b56d9--- /dev/null+++ b/docs/designs/README.md@@ -0,0 +1,15 @@+# EGM Design Specifications++This directory contains the canonical technical design specifications defining+the Elephant-Goldfish Model (EGM) framework, skills, reviewer personas, and+operational guardrails.++| Document | Author | Primary Component |+| :------- | :----- | :---------------- |+| [architecture.md](architecture.md)<br>System architecture of the EGM framework covering component models, end-to-end dataflow, and agent lifecycle. | [@quinnjim](https://github.com/quinnjim), [@eewing314](https://github.com/eewing314) | [EGM Framework Architecture](../../README.md) |+| [brainstorm.md](brainstorm.md)<br>Fast zero-doc ideation tool using a 6-lens Goldfish swarm to audit and stress-test early concepts before drafting. | [@briansuchy](https://github.com/briansuchy) | [`egm_brainstorm`](../../skills/egm_brainstorm/SKILL.md) |+| [draft.md](draft.md)<br>Iterative section-by-section specification drafting protocol and semantic boundary definitions. | [@quinnjim](https://github.com/quinnjim), [@eewing314](https://github.com/eewing314) | [`egm_draft`](../../skills/egm_draft/SKILL.md) |+| [drift_report.md](drift_report.md)<br>Automated scanner to detect and report divergence between checked-in design specifications and live codebase implementations. | [@quinnjim](https://github.com/quinnjim) | [`egm_drift_report`](../../skills/egm_drift_report/SKILL.md) |+| [bootstrap.md](bootstrap.md)<br>Bottom-up recursive bootstrapping and sentinel-block upserting of documentation across package and repository trees. | [@briansuchy](https://github.com/briansuchy) | [`egm_bootstrap`](../../skills/egm_bootstrap/SKILL.md) |+| [review.md](review.md)<br>Multi-stage verification protocol and automated resolution engine using isolated Goldfish reviewer personas. | [@tearseb](https://github.com/tearseb), [@briansuchy](https://github.com/briansuchy) | [`egm_review`](../../skills/egm_review/SKILL.md) |+| [synthesizer.md](synthesizer.md)<br>Intermediate orchestration subagent to coordinate swarm fan-out, deduplicate critiques, and normalize link citations. | [@briansuchy](https://github.com/briansuchy) | [`synthesizer`](../../agents/synthesizer.md) |diff --git a/docs/designs/architecture.md b/docs/designs/architecture.mdnew file mode 100644index 0000000..7876f4e--- /dev/null+++ b/docs/designs/architecture.md@@ -0,0 +1,195 @@+# EGM Architecture & System Lifecycle++* **Authors:** Jim Quinn ([@quinnjim](https://github.com/quinnjim)), Elise Ewing ([@eewing314](https://github.com/eewing314)), Dave Rensin ([@drensin](https://github.com/drensin))+* **Status:** Current+* **Date:** 2026-06-06++--------------------------------------------------------------------------------++## Overview++The **Elephant-Goldfish Model (EGM)** is an implementation of Spec-Driven+Development (SDD) based on [Elephants, Goldfish, and the New Golden Age of Software Engineering](https://medium.com/@drensin/elephants-goldfish-and-the-new-golden-age-of-software-engineering-c33641a48874).+It emphasizes collaborative use of AI for design and review, maintaining verified+technical specifications checked directly into the codebase.++This document specifies the overarching system architecture of EGM: its+component model, its end-to-end dataflow, and its lifecycle across coding agent+runtimes.++## The Problem++Unstructured, conversational AI code generation suffers from four systemic+failure modes:++1. **Hallucination Cascades & Context Pollution**: When a single LLM thread+ interviews the developer, creates the design, and writes the code, the+ session context accumulates speculative hypotheses and conversational bias.+ The model validates its own faulty assumptions instead of detecting errors.+2. **Premature Implementation ("Weeds Syndrome")**: Coding agents default to+ writing code immediately in nearby files, bypassing high-level architectural+ placement, simplicity checks (YAGNI), and existing infrastructure reuse.+3. **Chat Dump Fatigue**: Presenting multi-page design specs or lengthy review+ feedback directly in chat windows clutters conversation history, degrades+ LLM context performance, and creates poor user ergonomics.+4. **Documentation Drift**: Design documents written during project kickoff+ routinely rot as code evolves, breaking future AI agent onboarding.++## Design Principles++* **The Elephant & The Goldfish**:++ * **The Elephant**: A deep-context agent loaded with system history, CUJs,+ and codebase maps to explore requirements and draft designs.+ * **The Goldfish**: Isolated, zero-context subagent reviewers evaluating+ drafts against rubrics without access to context bias.++* **Human Ownership**: AI is a tool for exploration and review; the human+ engineer is responsible for architectural decisions, trade-offs, and owns+ the outcome.++* **Artifact-First UX**: All long-form deliverables (drafts, summaries, review+ reports) are rendered into dedicated side-panel markdown artifacts or+ workspace files with interactive feedback checkpoints.++* **Living Specifications**: Designs are checked-in artifacts in the source+ tree (`docs/designs/`), continuously monitored against codebase drift.++## System Architecture & Component Model++The open-source EGM framework is organized into four decoupled subsystems:++### 1. Skills Layer (`skills/`)+Modular agent capabilities executable via slash commands or direct invocation:+* `egm_brainstorm`: 6-lens shootdown swarm for early concept exploration.+* `egm_draft`: Section-by-section specification compiler.+* `egm_review`: Orchestrator for the multi-stage review pipeline.+* `egm_review_loop`: Concurrent subagent review dispatcher.+* `egm_resolve`: Interactive resolution and patch application.+* `egm_drift_report`: AST drift scanner between specs and active code.+* `egm_bootstrap`: Recursive bottom-up codebase documentation generator.++### 2. Personas Layer (`agents/`)+Stateless system prompt instructions for isolated Goldfish reviewer subagents+(Comprehension, Design Critic, Implementation Readiness, Codebase Auditor,+Structural Validator, Style Editor, and Synthesizer).++### 3. Document Standards (`resources/document_standards/`)+Objective evaluation rubrics used by Goldfish reviewers to grade specifications:+* `heilmeier-standard.md`: Problem clarity and value proposition.+* `zoom-out-standard.md`: Simplicity, YAGNI, and codebase reuse.+* `feature-spec-standard.md`: Architecture completeness and scale limits.+* `implementation-readiness-standard.md`: Path verification and test readiness.+* `re-implementation-standard.md`: Codebase state documentation bar.++### 4. Living Documentation (`docs/`)+User guides (`getting_started.md`, `faq.md`) and technical design specifications+(`docs/designs/`).++## End-to-End Lifecycle & Dataflow++The EGM development pipeline transitions artifacts through five disciplined+phases:++```mermaid+sequenceDiagram+ autonumber+ actor Human as Software Engineer+ participant Elephant as Elephant (Brainstorm & Draft)+ participant Artifact as Side-Panel Artifact / File+ participant Reviewer as Goldfish Reviewers (Synthesizer)+ participant VCS as Version Control (PR)+ participant Coder as Implementation Agent++ Human->>Elephant: /egm-brainstorm (Multi-Lens Ideation & Shootdown)+ Elephant->>Artifact: Write concepts_brief.md+ Human->>Elephant: /egm-draft+ Elephant->>Artifact: Write docs/designs/FEATURE.md+ Human->>Reviewer: /egm-review docs/designs/FEATURE.md+ Note over Reviewer: Zoom Out -> Comprehension -> Critic -> Readiness+ Reviewer->>Artifact: Write review reports & findings+ Human->>Reviewer: Triage & resolve findings (/egm-resolve)+ Human->>VCS: Open Pull Request with FEATURE.md+ VCS-->>Human: Spec Approved & Merged+ Human->>Coder: Implement against FEATURE.md+```++### Phase 1: Upstream Ideation & Multi-Lens Shootdown (The Elephant)++* **Command**: `/egm-brainstorm`+* **Mechanics**: The Elephant interviews the engineer to anchor a core hypothesis,+ then spawns a 6-lens Goldfish swarm to shoot down flawed assumptions.+* **Output**: A structured brief written to `concepts_brief.md`.++### Phase 2: Spec Authoring & Semantic Boundaries++* **Command**: `/egm-draft`+* **Mechanics**: Converts the concepts brief (or discussion notes) into an EGM-compliant+ technical design document written to `docs/designs/<feature>.md`.+* **Semantic Boundary Discovery**: Establishes a clear boundary between the+ high-level architecture (`FeatureRange`) and the detailed implementation+ plan (`DetailedRange`), enabling targeted subagent reviews.++### Phase 3: Isolated Verification (The Goldfish)++* **Command**: `/egm-review`+* **Execution**: Executes a 4-tier evaluation pipeline:+ 1. **Step 5: Zoom Out Review**: Evaluates simplicity, YAGNI, and codebase+ reuse against `zoom-out-standard.md`.+ 2. **Step 6: Comprehension Test**: Isolated naive reader audits the doc for+ self-containment and missing background knowledge.+ 3. **Step 7: Critic Review**: Evaluates system design, scale bottlenecks,+ and failure modes against `feature-spec-standard.md`.+ 4. **Step 8: Implementation Readiness Test**: Verifies file paths, function+ signatures, and test cases against+ `implementation-readiness-standard.md`.+* **Subagent Fan-Out/Fan-In**: The `synthesizer` persona spawns isolated+ reviewers in parallel, aggregates raw findings, deduplicates overlaps, and+ writes consolidated markdown reports.++### Phase 4: Human Review & Submission++* The human engineer resolves or rejects Goldfish findings using+ `/egm-resolve`, updates the design doc, and submits the+ specification via Pull Request for human peer review.++### Phase 5: Implementation & Drift Monitoring++* **Execution**: Coding agents implement code strictly adhering to the+ approved design document. (No Skill.md is required here because the design+ document is complete and detailed.)+* **Maintenance**: `/egm-drift-report` is run periodically (e.g. weekly) to+ detect divergence between codebase implementations and checked-in design docs.++## Artifact-First UX Protocol++To maintain conversation health and prevent context degradation, all EGM skills+adhere to the following UX protocol:++1. **Chat Dump Prohibition**: Tools and skills must never dump large proposals,+ drafts, or review logs into the main chat stream.+2. **Artifact Emission**: All content must be written directly to dedicated+ side-panel artifacts (with `RequestFeedback: true` in Antigravity) or to+ persistent workspace files.+3. **Turn-Yielding Checkpoints**: When user feedback or triage is required, the+ calling skill notifies the user with a concise message pointing to the+ artifact and yields execution.+4. **Queue Clearance**: Once the user completes a checkpoint review, the+ calling skill clears pending feedback markers.++## References++* Dave Rensin, [Elephants, Goldfish, and the New Golden Age of Software Engineering](https://medium.com/@drensin/elephants-goldfish-and-the-new-golden-age-of-software-engineering-c33641a48874) (Medium, 2026).++## Alternatives Considered++* **Monolithic In-Thread Review vs. Multi-Subagent Pipeline**:+ * *Alternative*: Run review prompts sequentially within the same chat+ session.+ * *Rejection*: Severe context degradation and confirmation bias; the model+ validates its own mistakes.+* **Direct-to-Code vs. Spec-Driven Development**:+ * *Alternative*: Prompting agents to generate code directly from feature+ requests.+ * *Rejection*: Results in higher comment density per kLOC, duplicated+ utility implementations, and zero checked-in architectural memory.diff --git a/docs/designs/bootstrap.md b/docs/designs/bootstrap.mdnew file mode 100644index 0000000..38f891e--- /dev/null+++ b/docs/designs/bootstrap.md@@ -0,0 +1,791 @@+# Design Doc: EGM Repository & Package Bootstrap (egm-bootstrap)++* **Author:** Brian Suchy ([@briansuchy](https://github.com/briansuchy))+* **Status:** Current+* **Date:** 2026-06-29++--------------------------------------------------------------------------------++## 1. Overview & Problem Statement++### 1.1 The Problem++In large-scale codebases (monoliths), establishing and maintaining a clear+architectural mental model is a primary challenge for both human developers and+AI assistants.++* **Context Loss**: Without structured directory-level documentation, AI+ agents lack context on local invariants, public interfaces, and side+ effects. This leads to context window bloat, repetitive file-reading loops,+ and a risk of introducing regressions.+* **Monolith Scale**: Manual bootstrapping of directory READMEs for large+ repositories is an intensive, tedious task that developers often+ deprioritize.++### 1.2 Overview & The "Peanuts and Hay" Metaphor++We propose the **`egm-bootstrap`** skill for the EGM plugin. This+skill automates the creation, correction, formatting, and correctness+verification of+[Design is the New Code (DNC)](../../README.md)+compliant `README.md` files across a directory tree.++* **DNC Compliance**: Design is the New Code (DNC) is the EGM engineering+ philosophy that treats human-readable architectural contracts (invariants,+ interfaces, and side effects in directory READMEs) as the primary system+ assets. These documentation files serve as structured guardrails for human+ reviewers and AI agents alike.+* **Metaphor Mapping**: In this context, both "Peanuts" and "Hay" refer to the+ generated directory-level `README.md` files:+ * **Peanuts**: The granular, leaf-level **Component Package READMEs**+ containing specific file contracts.+ * **Hay**: The parent-level **Repository Blueprints** that roll up child+ interface contracts to provide high-altitude indexes.++To ensure performance, efficiency, and robustness, the skill dynamically scales+its execution model based on the size of the target codebase:++1. **Incremental Scoping**: The Root Orchestrator maps the tree level-by-level+ using native filesystem APIs (`list_dir`). If the directory count exceeds+ scale limits during discovery, it pauses immediately to warn the user,+ preventing hangs on massive repositories.+2. **Sequential Execution (Small Trees)**: If the target has 5 or fewer+ subdirectories, the Root Orchestrator crawls and documents them sequentially+ in post-order, avoiding multi-agent coordination and startup overhead.+3. **Unbounded Parallel Swarm (Medium/Large Trees)**: If the target has more+ than 5 subdirectories, the Root Orchestrator partitions the tree and spawns+ parallel instances of the orchestrator agent itself (using the framework's+ `self` subagent type) as Sub-Orchestrators (one per sub-tree).+ * **Adaptive Depth Partitioning**: To prevent parallelization bottlenecks+ in repositories with a single nested source tree (e.g. `src/` or+ `java/`), the Root Orchestrator partitions using adaptive depth,+ descending levels of the discovery map until it splits the directories+ into balanced subtree branches.+ * **Unbounded Spawning upon Approval**: The Root Orchestrator removes+ artificial concurrency limits. If the directory count is large (> 5), it+ asks for user approval to spawn the required number of+ Sub-Orchestrators, and then spawns all of them in parallel.+ * **Direct Swarm Writing & Formatting**: Sub-Orchestrators process their+ subtrees in parallel, write or modify `README.md` files directly in+ their assigned folders, and format them using `mdformat`.+4. **Sequential Bottom-Up Processing**: Within each sub-tree, the+ Sub-Orchestrator documents subdirectories sequentially in post-order+ (deepest leaves first), spawning `goldfish-explorer` agents to summarize+ files. This guarantees that parent directories are documented only after+ their subdirectories are complete, preventing race conditions.+5. **Final Correctness Verification**: Before concluding work, the Root+ Orchestrator runs a final pass across all created and modified READMEs to+ verify DNC compliance, proper markdown formatting, valid relative+ links, and valid verification targets.+6. **Optional Drift Review**: The Root Orchestrator optionally prompts the user+ to run the EGM Drift Report on the generated README updates to ensure+ consistency against the codebase.++### 1.3 Goals++* **Automated Bootstrapping & Correction**: Recursively generate or correct+ DNC-compliant READMEs (`Interface`, `Invariants`, `Side Effects`) for any+ target source directory tree. Existing READMEs are corrected and updated+ without completely overwriting them.+* **Idempotent Sentinel-Block Upserting**: Guarantee zero loss of human+ operational documentation on existing `README.md` files by encapsulating+ auto-generated DNC contracts inside explicit HTML sentinel markers+ (`<!-- EGM_BLUEPRINT_START ... -->` / `<!-- EGM_BLUEPRINT_END -->`),+ preserving all human runbook content above the sentinels byte-for-byte+ across runs.+* **Markdown Formatting**: Ensure every modified or created README is+ properly formatted using markdown formatters.+* **Final Correctness Check**: Perform a final verification pass on all+ modified READMEs as a correctness check before concluding work.+* **Safe Scaling**: Handle deep/broad directory trees via dynamic user+ warnings, incremental BFS scoping, sub-tree partitioning, and unbounded+ parallel execution upon user approval.++### 1.4 Non-Goals++* **Code Generation**: The skill will not write or refactor any functional+ source code; it is strictly limited to documentation.+* **Non-Source Directories**: It will not document hidden system directories+ (e.g., `.git`, `.jj`, `.gemini`), build output paths, or dependency+ directories (e.g., `third_party`).++### 1.5 Critical User Journeys (CUJs)++#### CUJ 1: Bootstrap, Correct, Format, and Verify READMEs for a Directory Tree++* **Given**: A source directory tree (e.g., `src/` or `pkg/`) where+ subdirectories either lack a `README.md` file or contain incomplete legacy+ READMEs.+* **When**: The user runs the `egm-bootstrap` skill via the slash+ command `/egm-bootstrap <path>` (or harness-equivalent command / prompt)+ specifying the target root directory.+* **Then**:+ 1. The Root Orchestrator maps the tree incrementally.+ 2. If directory count <= 5, it processes them sequentially.+ 3. If directory count > 5, it partitions the tree adaptively, requests user+ approval, and spawns unbounded parallel worker instances of the+ orchestrator agent itself (`self` Sub-Orchestrators).+ 4. Sub-Orchestrators process their sub-trees bottom-up, spawning a+ `goldfish-explorer` agent for each directory node.+ 5. DNC-compliant `README.md` files are created or corrected, and formatted+ using `mdformat`.+ 6. The Root Orchestrator runs a final correctness check pass across all+ modified READMEs.+ 7. The user is optionally prompted to run a Drift Report on the updates.++--------------------------------------------------------------------------------++## 2. Technical Plan++### 2.1 Swarm Architecture & Roles++The `egm-bootstrap` skill utilizes exactly two agent configurations:++```mermaid+graph TD+ Root[Root Orchestrator] -->|list_dir BFS| Map[Directory Map]+ Root -->|Spawn Sub-Tree A| Worker1[Sub-Orchestrator A]+ Root -->|Spawn Sub-Tree B| Worker2[Sub-Orchestrator B]+ Worker1 -->|Seq: Leaf A.1| Exp1[Explorer: A.1 Directory]+ Worker1 -->|Seq: Parent A| Exp2[Explorer: A Directory]+ Root -->|Final Pass| Verify[Correctness Check & Format]+```++* **Node Orchestrator (`bootstrap-orchestrator`)**:+ * Implemented as a single agent configuration.+ * The **Root Instance** coordinates the pipeline: maps the tree+ incrementally, calculates count/depth, manages safety gates, manages+ unbounded parallel worker spawning upon user approval, documents+ remaining intermediate directories, compiles the final root README, and+ executes the final correctness check pass.+ * The **Worker Instances (Sub-Orchestrators)** are spawned by the Root+ Instance to process a specific top-level subdirectory tree. They walk+ their sub-tree sequentially bottom-up, spawning explorers, writing or+ modifying README files directly in the filesystem, and formatting them+ with `mdformat`.+* **`goldfish-explorer`**:++ * A read-only, dynamic scout agent.+ * **System Prompt**: > "You are a read-only codebase explorer. Your task+ is to analyze the source files in the target directory and return a+ concise, factual summary. Do not write or modify any files. Return a+ JSON object containing the directory's public symbols (interface),+ invariants, and side effects."+ * **Scout File Constraints**: The scout caps total data read per directory+ at **50,000 bytes** to prevent context window bloat. Implementation+ and schema files (e.g. `.cc`, `.py`, `.java`, `.go`, `.rs`, `.ts`) are+ read up to a maximum of **300 lines** per file. If a directory's size+ exceeds the 50KB limit, files are selected for reading based on the+ following priority list:+ 1. Interface, schema, IDL, and header files (e.g. `.h`, `.hh`, `.hpp`,+ `.proto`, `.graphql`, `.gql`, `.thrift`, `.prisma`, `.sql`+ schema/DDL definitions, interface classes) are read completely.+ 2. Module entry points (e.g., `main.*`, `index.*`, `lib.*`, `mod.*`,+ `__init__.py`, or files matching the directory name) are read up+ to 300 lines.+ 3. Production source and configuration files sorted alphabetically are+ read up to 300 lines until the byte cap is reached.+ 4. Test files are completely ignored during context loading.+ * **Output Schema**:++ ```json+ {+ "type": "object",+ "properties": {+ "interface": {+ "type": "array",+ "items": { "type": "string" }+ },+ "invariants": {+ "type": "array",+ "items": { "type": "string" }+ },+ "side_effects": {+ "type": "array",+ "items": { "type": "string" }+ }+ },+ "required": ["interface", "invariants", "side_effects"]+ }+ ```++### 2.2 Agent Reporting & Context Contracts++The communications follow a hierarchical reporting pattern:++1. **Explorer to Sub-Orchestrator**: `goldfish-explorer` analyzes all files in+ a directory and returns a structured JSON summary (interface, invariants,+ side effects) to its parent `bootstrap-orchestrator`.+2. **Parent Context Propagation**: When the Sub-Orchestrator processes parent+ directory `P`, it propagates the compiled interface summaries of its child+ subdirectories as prompt context when invoking the parent's+ `goldfish-explorer` scout. This enables the parent explorer to accurately+ summarize child interface boundaries.+ * *Propagating Heuristics*:+ 1. If the child directory was documented during this execution run, the+ Sub-Orchestrator retrieves its public interface directly from the+ in-memory execution cache (or worker JSON return payload), consuming+ the structured data directly.+ 2. If the child README was corrected/modified, the Sub-Orchestrator+ retrieves the updated symbols directly from the scout scan and+ legacy extraction.+3. **Child to Parent Orchestrator**: Subdirectories return their compiled+ README summary to the parent `bootstrap-orchestrator`, which uses this+ to document the parent's "Subdirectories" interface section.+4. **Worker to Root Orchestrator**: Sub-Orchestrators return their compiled+ subtree contract metadata to the Root Orchestrator using the structured JSON+ schema defined below.++#### 2.2.1 Worker Return Interface Schema++Sub-Orchestrator worker subagents report completed subtree structures using the+following schema:++```json+{+ "type": "object",+ "properties": {+ "subtree_index": {+ "type": "array",+ "items": {+ "type": "object",+ "properties": {+ "path": { "type": "string" },+ "summary": { "type": "string" },+ "interface": { "type": "array", "items": { "type": "string" } },+ "invariants": { "type": "array", "items": { "type": "string" } },+ "side_effects": { "type": "array", "items": { "type": "string" } }+ },+ "required": ["path", "summary"]+ }+ }+ },+ "required": ["subtree_index"]+}+```++### 2.3 Directory Filtering & Classification Rules++To prevent documenting empty directories and ensure the correct template is+selected, we enforce the following rules during directory discovery:++* **Non-Code Filtering**: To prevent documenting empty directories, any+ directory that contains no source code files AND contains no subdirectories+ with code is excluded. Because a top-down traversal cannot know if+ subdirectories contain code deeper down, pruning is executed as a+ **bottom-up post-processing pass** after the complete tree has been mapped+ in Phase A.+ * *Source Code Files*: Defined as files containing executable code,+ schemas, and contracts (e.g., `.c`, `.cc`, `.cpp`, `.cxx`, `.h`, `.hh`,+ `.hpp`, `.rs`, `.go`, `.zig`, `.lean`, `.java`, `.kt`, `.scala`, `.cs`, `.fs`,+ `.py`, `.rb`, `.php`, `.lua`, `.sh`, `.bash`, `.ts`, `.tsx`, `.js`,+ `.jsx`, `.mjs`, `.cjs`, `.swift`, `.m`, `.dart`, `.sql`, `.proto`,+ `.graphql`, `.gql`, `.thrift`, `.prisma`, `.tf`, `.hcl`, `.cue`).+ Excludes build manifests, lockfiles, test fixtures, documentation, and+ generic data dumps.+* **Test Directory Exclusion**: Any directory containing exclusively test code+ (e.g., folders named `tests`, `testing`, `testdata`, or containing only+ files matching `*_test.*` or `*Test.*`) is excluded from documentation+ during the pruning pass.+* **Test File Filtering**: In hybrid package directories containing both+ production and test files, the explorer scout filters out test files and+ ignores their public symbols during context scanning to prevent test+ fixtures from polluting the documented public interface.+* **Custom Exclusions**: The discovery loop supports custom ignore patterns.+ By default, it ignores hidden/system directories (`.git`, `.jj`, `.gemini`,+ `node_modules`). Additionally, it reads a local `.egmignore` file (if+ present) containing glob patterns to exclude custom folders (e.g.+ `*testdata*`, `*mocks*`, `third_party`).+* **Directory Classification**:+ * **Repository Root (Blueprint / Hay)**: The target root folder of the+ bootstrap execution is *always* classified as the Repository Root, even+ if it contains direct source files. It is documented using the+ "Repository Root README Template" (using the optional Local Interface+ section for files in the root folder).+ * **Component Package (Peanut)**: Any non-root directory containing direct+ source code files. If it also contains child subdirectories with code+ contracts, its README's `Interface` section will include relative links+ to the child subdirectories' contracts.+ * **Repository Blueprint (Hay)**: Any non-root directory containing *no*+ direct source code files, but containing subdirectories with code+ contracts (regardless of whether a `BUILD` file is present).++### 2.4 Document Templates++#### π Component Package (Peanuts) README Template++Used for folders containing direct source files. Focuses on local module+contracts.++```markdown+# [Component Name]++## Overview+[Prose overview of the component's architectural role and goals]++## Interface+- [Public classes, functions, and symbols]+- [Subdirectories list and links to their contracts]++## Invariants+- [State and call invariants that must be preserved by developers/agents]++## Side Effects+- [State mutations, network calls, disk access, locks, or external side effects]++## Verification+- Build: `build //[package_path]...`+- Test: `test //[package_path]...`+```++#### π Repository Root (Blueprint / Hay) README Template++Used for root directory nodes that coordinate child sub-trees.++```markdown+# [Repository Name] Blueprint++## System Overview+[High-altitude architectural overview of this subsystem]++[Optional section if the root directory contains direct source files]+## Local Interface & Invariants+- [Direct symbols, invariants, and side effects of files in the root folder]++## Subdirectories & System Boundaries+- [Subdirectory Name]: [Link to child README.md] - [Summary of child contract/role]++## Global Invariants+- [System-wide constraints that cross component boundaries]++## Global Side Effects+- [Shared resources, databases, or external integrations affected by this subsystem]++## System Verification+- Run: `test //[system_path]...`+```++#### π Intermediate Blueprint README Template++Used for intermediate non-code directories that sit between the root and package+leaves (applicable to directories classified as Repository Blueprints that are+not the execution root).++```markdown+# [Directory Name]++## Overview+[Factual overview of the subdirectories and systems grouped under this directory path]++## Subdirectories & Boundaries+- [Subdirectory Name]: [Link to child README.md] - [Summary of child contract/role]+```++*Note: All subdirectory indexes in Hay templates must use relative paths (e.g.+`./subdir/README.md`) to maintain local rendering compatibility.*++### 2.5 Execution Pipeline++#### Phase A: Incremental Directory Scoping & Plan Definition++1. **Incremental BFS Discovery**: The Root Orchestrator maps the target tree+ level-by-level (BFS) using a directory queue and native `list_dir` tool+ calls, preserving intermediate folder nodes. **Symbolic links are ignored**+ during traversal to prevent infinite recursion and duplicate mapping.+2. **Safety Gate**: During the BFS loop, if the total running count of+ discovered directories exceeds **15**, the Root Orchestrator immediately+ pauses the discovery traversal and calls the `ask_question` tool to warn the+ user of the large execution scope and require confirmation before proceeding+ with further mapping or worker spawning.+3. **Bottom-up Post-Pruning Pass**: Once the mapping traversal is complete (and+ approved), the Root Orchestrator walks the mapped tree bottom-up (from+ leaves to root). It filters out hidden, system, build-output, test-only, and+ non-code directories according to the Filtering Rules.+4. Once the pruned tree is resolved, the Root Orchestrator calculates the+ maximum depth.+5. **Execution Strategy**:+ * **Sequential (Size <= 5)**: The Root Orchestrator executes the bottom-up+ documentation sequentially in a single thread.+ * **Parallel (Size > 5)**: The Root Orchestrator partitions the discovery+ map into independent subtree branches.+ * **Adaptive Depth Partitioning Algorithm**:+ 1. Set `depth = 1`.+ 2. Extract directory nodes from the discovery map located at the+ current `depth`.+ 3. If the count of nodes at `depth` is between 3 and 5: return+ these nodes as subtree partition roots.+ 4. If the count of nodes at `depth` < 3: increment `depth`, repeat+ step 2.+ 5. If the count of nodes at `depth` > 5: group the largest branches+ (measured by total nested folder count) into 3-4 separate+ partitions, combine the remaining small branches into a single+ fallback partition subtree, and return these partition root+ boundaries.+ 6. Fallback: If `depth` limit of 3 is reached and count is still <+ 3, return the immediate children of the root (or fall back to+ sequential execution).+ * It spawns a parallel worker (Sub-Orchestrator) for each partition+ subtree, passing parameters `is_worker: true` and `sub_tree_root:+ <path>` to the `self` subagent invocation.+ * **Unbounded Spawning upon Approval**: The Root Orchestrator removes+ artificial concurrency limits. If the directory count is large (> 5), it+ asks for user approval to spawn the required number of+ Sub-Orchestrators, and then spawns all of them in parallel.+6. **Conditional Branching Control**: The `egm-bootstrap` skill+ configuration (`SKILL.md`) checks these parameters at start:+ * If `is_worker` is false/unset: Executes the Root Orchestrator role (runs+ BFS mapping, safety gates, spawns workers, compiles the final blueprint+ README, and executes the final correctness check pass).+ * If `is_worker` is true: Skips Phase A and executes the Sub-Orchestrator+ role (processes the assigned `sub_tree_root` subtree bottom-up, spawning+ explorers, writing/modifying files directly, and formatting them with+ `mdformat`).++#### Phase B: Bottom-Up Bootstrapping++1. Under the parallel strategy, the Root Orchestrator spawns parallel+ `bootstrap-orchestrator` instances as Sub-Orchestrators, passing each+ its target sub-tree.+2. Each Sub-Orchestrator processes its sub-tree in post-order (deepest leaves+ first):+ * **Correction & Modification Policy**: Before generating documentation,+ the Sub-Orchestrator checks if `README.md` already exists in the active+ folder. If `README.md` exists, it does not overwrite it completely.+ Instead, it reads the existing content, spawns the `goldfish-explorer`+ scout to compile the true code contracts, and uses+ `replace_file_content` (or `write_to_file`) to correct and update the+ existing README to be DNC compliant while preserving developer notes and+ descriptions.+ * *Scout Scan Requirement*: Whether the README exists or not, the+ Sub-Orchestrator **always spawns** the `goldfish-explorer` scout to+ scan the source code in the directory and compile the true code+ symbol boundary.+ * *Legacy Symbol Extraction Prompt*: To parse pre-existing manual+ README files, the Sub-Orchestrator calls the reasoning LLM with the+ following extraction prompt: > "Analyze the following unstructured+ README.md content. Extract all public symbol names, classes,+ interfaces, invariants, and side effects. Format your response+ strictly as a JSON object matching the following schema: {+ \"interface\": string[], \"invariants\": string[], \"side_effects\":+ string[] }."+ * **Verification Command Target Lookup**: When generating the `##+ Verification` section, the Sub-Orchestrator checks if a `BUILD` file+ exists in the active folder. If present:+ * It checks if test files (matching `*_test.*` or `*Test.*`) are+ present. If test files exist, it writes the `Test:` command;+ otherwise it omits the test command.+ * If target names in the `BUILD` file are ambiguous or don't match the+ folder name, it falls back to building the entire package wildcard+ target: `build //[package_path]:all`.+ * If no local `BUILD` file exists: it scans the nearest ancestor+ `BUILD` file to locate targets whose `srcs` attribute references+ files in the active subdirectory (e.g. via direct path list or+ glob). If a matching target is found, it references that target+ (e.g., `build //[ancestor_path]:my_target`). If multiple+ targets match or no match is found, it falls back to the package+ wildcard target: `build //[ancestor_path]:all`. If no ancestor+ package is found, it omits the verification command.+ * *Starlark Parsing Fallback*: If the ancestor `BUILD` file contains+ complex Starlark macros or dependencies that cannot be resolved via+ file reading, the Sub-Orchestrator falls back to referencing the+ wildcard `:all` target of the ancestor package, or omits the target.+ * **Scout Definition & Spawning**: The Sub-Orchestrator dynamically+ declares the read-only `goldfish-explorer` subagent type using+ `define_subagent` if not already defined in its active session.+ * *Subagent Definition Arguments*:+ * `TypeName`: `goldfish-explorer`+ * `Role`: `goldfish-explorer`+ * `enable_write_tools`: `false`+ * `enable_subagent_tools`: `false`+ * `SystemPrompt`: As defined in Section 2.1.+ * It then spawns the scout sequentially for the active directory.+ * **Child Fault Tolerance**: If a child subdirectory fails to document+ (e.g., explorer timeout or tool error), the Sub-Orchestrator logs a+ warning, inserts a placeholder link (e.g. `- [Subdirectory Name]: [Link+ to child README.md] - (Details pending/documentation failed)`) in the+ parent's directory index, and continues documentation instead of+ aborting.+ * Generates or corrects `README.md` using the appropriate template+ depending on its classification (Component Peanut or Blueprint Hay;+ Blueprint Hay nodes use the "Intermediate Blueprint template" if they+ are not the execution root).+ * **Markdown Formatting**: Immediately after writing or correcting+ `README.md`, the Sub-Orchestrator executes+ `markdown formatter (e.g. prettier or markdownlint)`+ via `run_command` to ensure proper markdown formatting.+3. Once all parallel worker instances finish:+ * **Root Fault Tolerance**: If a parallel worker fails or times out, the+ Root Orchestrator logs a warning, inserts a placeholder warning link+ (e.g., `[Subtree Root] (Documentation failed / Subagent execution+ timeout)`) inside the root Blueprint's subdirectory index, and completes+ the remaining compilation.+ * **Intermediate Directory Documentation**: The Root Orchestrator+ identifies any intermediate directories sitting between the root and the+ partitioned subtree roots. It processes these intermediate directories+ sequentially bottom-up, generating Intermediate Blueprint READMEs using+ the compiled summaries returned by the workers, and formatting them with+ `mdformat`.+ * The Root Orchestrator checks if the root directory itself contains any+ direct source files. If present, it spawns a `goldfish-explorer` scout+ for the root directory to extract local symbols and invariants,+ appending them to the root README under the `## Local Interface &+ Invariants` section.+ * It compiles the final root `README.md` (Blueprint), writes it, and+ formats it with `mdformat`.+ * **Final Correctness Verification**: The Root Orchestrator performs a+ final verification pass across all created and modified READMEs in the+ `subtree_index` to verify EGM compliance (`Interface`, `Invariants`,+ `Side Effects`), proper markdown formatting, valid relative links+ (explicitly verifying referenced child README or SKILL files physically+ exist), and valid verification targets before concluding work.+ * **Optional Drift Review**: The Root Orchestrator calls `ask_question` to+ offer running the `egm-drift-report` skill on the generated updates to+ verify consistency with the codebase.+ * Terminates successfully.++### 2.6 Processing Tools++* **Directory Discovery**: Use native `list_dir` calls in a BFS loop+ (filtering out `.git`, `.jj`, `.gemini`, `third_party`, `node_modules`).+ BUILD files are preserved during discovery to extract build/test+ targets for the Verification template section.+* **Markdown Formatting**: Use `run_command` to execute+ `markdown formatter (e.g. prettier or markdownlint)` on+ every modified or created README.++### 2.7 Incremental Sentinel-Block Upsert Architecture++To safely run `egm-bootstrap` over directories that already contain+human-authored operational documentation (such as repository runbooks or oncall+metadata), the skill enforces **Idempotent Sentinel-Block Bootstrapping**:++1. **Sentinel Boundary Markers**: Every DNC block generated by+ sub-orchestrators or leaf workers is wrapped inside explicit HTML sentinel+ markers:++ * **Start Sentinel:** `+ <!-- EGM_BLUEPRINT_START: AUTO-GENERATED BY egm-bootstrap. PUT HUMAN NOTES ABOVE THIS LINE -->`+ * **End Sentinel:** `<!-- EGM_BLUEPRINT_END -->`++2. **Three-State Upsert State Machine**: When writing or updating+ `d/README.md`, workers execute:++```mermaid+flowchart TD+ A[Read d/README.md] --> B{File Exists?}+ B -- No --> C["Create file with sentinel-wrapped block"]+ B -- Yes --> D{"Contains <!-- EGM_BLUEPRINT_START -->?"}+ D -- Yes --> E["Replace substring [START, END] with new block"]+ D -- No --> F{"Contains '## Subdirectories & System Boundaries'?"}+ F -- Yes (Legacy DNC) --> G["Slice [0, HEADER_INDEX] as Human Preamble + Append Sentinel Block"]+ F -- No (Pure Human) --> H["Retain 100% Human Preamble + Append '\n\n' + Sentinel Block"]+ C --> I[Run markdown formatter on README.md]+ E --> I+ G --> I+ H --> I+```++--------------------------------------------------------------------------------++## 3. Alternatives Considered++### 3.1 Single-Agent Flat Crawler++Instead of a recursive swarm, we considered using a single agent that walks the+directory tree sequentially, reading files and updating READMEs as it goes.++* **Why Rejected**:+ * **Context Window Limits**: Walking a large directory tree sequentially+ accumulates too much token history, leading to context truncation and+ loss of precision.+ * **Execution Time**: Sequential execution is slower for deep or broad+ directory trees.+ * **Parallelism**: It cannot leverage parallel execution. The swarm model+ allows subagents to run in parallel, reducing execution time.++### 3.2 Direct Reuse of `growing-peanuts-and-hay` Skill++We investigated using the existing `growing-peanuts-and-hay` skill+(an internal prototype precursor)+directly.++* **Why Rejected**:+ * The skill is team-specific, sequential, and hardcoded to specific+ language conventions.+ * EGM requires a general-purpose, language-agnostic tool (supporting C++,+ Python, Java, etc.) that can scale to large repositories in parallel.+ * We chose to write `egm-bootstrap` to consolidate their DNC+ templates and bottom-up logic into a generic skill that supports+ parallel scaling via `self` workers.++--------------------------------------------------------------------------------++## 4. Detailed Implementation++All changes will be housed within the open-source repository structure:++### 4.1 Implementation Files++1. **`skills/egm_bootstrap/SKILL.md`**++ * **Rationale**: Defines the EGM workflow steps for the bootstrap process.+ * **YAML Frontmatter Input Schema**:++ ```yaml+ name: egm-bootstrap+ description: Bootstrap directory README.md files across a repository subtree.+ inputs:+ path:+ type: string+ description: The target root directory path to bootstrap.+ required: true+ is_worker:+ type: boolean+ description: Internal parameter. True if executing as a worker Sub-Orchestrator.+ default: false+ sub_tree_root:+ type: string+ description: Internal parameter. The root path of the assigned subtree partition.+ required: false+ ```++ * **`SKILL.md` Algorithmic Flow**:++ 1. **Startup Check**: Read `is_worker` parameter. If true, jump to step+ 6 (Worker Flow).+ 2. **BFS Scoping**: Run `list_dir` in a queue loop to map the directory+ tree, ignoring symlinks and `.egmignore` globs.+ 3. **Warning Gate**: If discovery count > 15, call `ask_question` and+ wait for user approval.+ 4. **Partitioning**: If count <= 5, document sequentially. Else, run+ Adaptive Depth Partitioning to divide the tree into balanced+ subtrees.+ 5. **Spawning**: Invoke `self` subagents in parallel upon user+ approval, passing `is_worker: true` and `sub_tree_root`. Jump to+ step 9.+ 6. **Worker Flow**: Declare the read-only `goldfish-explorer` subagent+ type dynamically at startup. Traverse the assigned subtree bottom-up+ (post-order).+ 7. **Explorer Scan & Formatting**: For each folder, check Correction &+ Modification Policy. Read existing README, spawn scout,+ correct/update the file to be DNC compliant using+ `replace_file_content` or `write_to_file`, and format it with+ a markdown formatter.+ 8. **Reporting**: Compile subtree index and return JSON (Worker+ Interface Schema) to the Root Orchestrator.+ 9. **Compilation & Final Verification**: The Root Orchestrator compiles+ child metadata (recovering from worker timeouts), runs a scout on+ the root folder files if present, writes the Blueprint README,+ formats it with a markdown formatter, performs a final correctness check pass+ across all modified READMEs, optionally prompts to run Drift Report,+ and exits.++2. **`skills/egm_bootstrap/TEST.md`**++ * **Rationale**: Lists verification and test scenarios for the bootstrap skill.++3. **`skills/egm_bootstrap/test_scenarios.yaml`**++ * **Rationale**: Automated integration tests evaluating bootstrap scenarios+ (small tree sequential execution, parallel subtree partitioning, and safety gates).++4. **`agents/bootstrap_orchestrator.md`**++ * **Rationale**: Defines the system prompt and instructions for the+ `bootstrap-orchestrator` persona.++--------------------------------------------------------------------------------++## 5. Non-Functional Requirements++### 5.1 Security & Privacy++* **Source Centric**: The scoping only reads source files. It must ignore+ hidden directories containing sensitive data (e.g., local credentials,+ `.git/` history).++### 5.2 Performance & Token Overhead++* **Swarm Concurrency**: Subagents should be invoked with `Workspace=inherit`+ to run in parallel.+ * **`Workspace=inherit`**: In the Antigravity framework, launching a+ subagent with `Workspace=inherit` instructs the system to share the+ parent's workspace directory directly with the subagent, rather than+ checking out a new isolated branch. This is required for parallel read+ operations as it avoids cloning overhead and ensures all subagents see+ the same local filesystem state.+* **VCS Isolation**: Sub-Orchestrator workers and explorers must perform no+ version control commands (e.g. `git add`, `git commit`). All filesystem+ changes are written locally. Tracking and submitting the generated+ `README.md` files is deferred to the parent EGM session framework or the+ user upon skill completion, avoiding concurrent VCS database locks.+* **Temporary File Isolation**: Parallel workers sharing the workspace must+ perform all status tracking, check-pointing, and log writing in independent,+ worker-specific directories using their unique `conversationId` under the+ application data directory (e.g.+ `<appDataDir>/brain/<conversation_id>/scratch/`). They must not write any+ temporary files inside the source repository workspace, leaving the+ source tree unmodified.+* **Antigravity Framework**: Antigravity is the agent SDK ecosystem and+ runtime framework for autonomous coding assistants.+* **Token Optimization**: Goldfish scouts are read-only, ephemeral, and only+ read single directories, preventing context window exhaustion on the+ orchestrator.+ * *Subagent Isolation vs. Direct File Reading*: Offloading file-level+ reading to specialized `goldfish-explorer` scouts keeps the+ Sub-Orchestrator's context window compact, as it only receives+ structured JSON summaries rather than raw code files. This reduces token+ overhead at the cost of subagent startup latency.+* **Warning Gate**: If directory count > 15, the user is prompted via+ `ask_question` to prevent unbounded execution and token waste on large+ repositories.++### 5.3 Risks & Mitigations++* **LLM Rate Limits**: Partitioning a broad repository tree could trigger too+ many concurrent API calls. This is mitigated by requiring explicit user+ approval before spawning unbounded parallel workers.+* **VCS Database Locks**: Mitigated by prohibiting workers and scouts from+ executing any VCS tracking/commit commands (`jj`/`g4`), deferring operations+ to EGM session completion.+* **State Collision on Shared Workspace**: Mitigated by storing execution+ checkpoints in worker-specific scratchpad directories under `<appDataDir>`,+ avoiding modifications to the workspace.+* **Worker failures leaving partial files**: Handled as an incremental+ progress feature. The Correction & Modification Policy preserves partial+ progress and corrects existing files on subsequent runs, allowing developers+ to resume execution without data loss.+* **Documentation Drift**: Bootstrapped READMEs can drift from the codebase+ over time. This is out of scope for the bootstrapping tool but should be+ resolved in future EGM plugins by running periodic EGM drift check tools+ (e.g. `egm-drift-report`).+* **Hallucination Risk**: Automated documentation of invariants and side+ effects can suffer from LLM hallucinations. The generated README files+ include standard verification commands (build/test targets) so users can+ build and execute the package code to verify functionality.++--------------------------------------------------------------------------------++## 6. Verification & Test Plan++### 6.1 Static Analysis & Skill Validation++Verification ensures the skill definition, frontmatter, heading hierarchy, and+sentinel blocks conform to EGM standards.++### 6.2 Integration Testing & Scenarios++Automated integration test suites in `skills/egm_bootstrap/test_scenarios.yaml` evaluate:++* `bootstrap_small_tree`: Verifies sequential execution for a tree with <= 5+ directories, ensuring it generates conforming Peanut and Hay READMEs,+ formats them, and runs a final correctness check pass.+* `bootstrap_parallel_tree`: Verifies unbounded parallel worker spawning upon+ user approval, child context propagation, direct filesystem+ writing/modifying, formatting, and final correctness verification.+* `bootstrap_safety_gate`: Verifies the warning gate triggers when the mapped+ directory count exceeds 15, pausing traversal and prompting the user.+* `bootstrap_incremental_sentinel_upsert`: Verifies that running+ `egm-bootstrap` against an existing `README.md` containing human+ operational notes preserves all human text above the sentinel block while+ updating the DNC contract below.diff --git a/docs/designs/brainstorm.md b/docs/designs/brainstorm.mdnew file mode 100644index 0000000..aef37fb--- /dev/null+++ b/docs/designs/brainstorm.md@@ -0,0 +1,134 @@+# EGM Brainstorm: Zero-Doc Upstream Ideation & Multi-Lens Shootdown++* **Author:** Brian Suchy ([@briansuchy](https://github.com/briansuchy))+* **Status:** Current+* **Date:** 2026-07-31++--------------------------------------------------------------------------------++## Overview++The **EGM Brainstorm Skill** (`/egm-brainstorm`) is a fast way to validate+ideas. It is intended to be run early when a human doesn't know what solution+they want yet. It gives early access to a Goldfish swarm for "half-baked"+concepts and can be used before any formal design discussion begins.++## The Problem++Drafting formal technical design documents too early in the ideation cycle leads+to two major failure modes:++1. **Premature Commitment to Flawed Hypotheses**: When developers write full+ design documents for early-stage ideas, they invest significant effort+ specifying details for a premise that may be unnecessary.++2. Standard AI chat brainstorming without adversarial review runs the risk of+ sycophancy.++## System Architecture & Workflow++```mermaid+sequenceDiagram+ autonumber+ actor Human as Software Engineer+ participant Brainstorm as egm-brainstorm Skill+ participant Synth as Synthesizer Persona (Mode: BRAINSTORM)+ participant Swarm as 6-Lens Goldfish Swarm+ participant Artifact as Artifact: concepts_brief.md++ Human->>Brainstorm: /egm-brainstorm (Raw Feature Idea)+ loop Multi-Turn Chat Drilling+ Brainstorm->>Human: Open-ended probing questions (no multiple-choice modals)+ Human->>Brainstorm: Clarifications & constraints+ end+ Brainstorm->>Human: Summarize anchored hypothesis & confirm readiness+ Human->>Brainstorm: Confirm ready for shootdown+ Brainstorm->>Synth: invoke_subagent (Mode: BRAINSTORM, FeatureConcept)+ Synth->>Swarm: Parallel shootdown across 6 lenses+ Swarm-->>Synth: Raw critiques & feasibility risks+ Synth->>Artifact: write_to_file (concepts_brief.md)+ Synth-->>Brainstorm: send_message (Completion & artifact link)+ Brainstorm->>Human: Highlight top objections & invite iteration+ Human->>Brainstorm: Refine or handoff to /egm-draft+```++### 1. Step 1: Open-Ended Problem Drilling++* The skill deliberately avoids structured multiple-choice question modals+ (`ask_question`) during early ideation, forcing open-ended exploration in+ chat across multiple turns.+* Probes the root bottleneck, consuming systems, hard non-negotiable+ invariants, and explicit non-goals.+* Constructs a 2-3 sentence anchored hypothesis and requires explicit human+ approval before spawning the subagent swarm.++### 2. Step 2: The 6 Goldfish Brainstorming Lenses++The `synthesizer` persona spawns six concurrent Goldfish subagents to audit the+concept from distinct, conflicting perspectives:++| Lens / Persona | Core Objective | Key Question Challenged |+| :------------- | :------------- | :---------------------- |+| **1. Contrarian / YAGNI** | Complexity minimization | *Can existing libraries, APIs, or services solve this without new code?* |+| **2. Cost & Resource Economics** | Budget & infrastructure scaling | *What is peak QPS, memory footprint, storage load, or token cost at scale?* |+| **3. UX & Developer Ergonomics** | Usability & cognitive overhead | *Is the CLI/API intuitive? Are error messages actionable, or does it add developer friction?* |+| **4. Migration & Compatibility** | Rollout safety & version skew | *How do existing clients/data migrate? Does this break serialized formats or persistent storage?* |+| **5. Observability & SRE** | Telemetry & debuggability | *Are operations traceable with distributed tracing? Are monitoring metrics and alerts actionable for oncalls?* |+| **6. Tech Debt & Maintenance** | Long-term maintainability | *Does this introduce tightly coupled state machines that will become tech debt in 2 years?* |++### 3. Step 3: Synthesis into `concepts_brief.md`++The synthesizer consolidates the multi-lens feedback into `concepts_brief.md` in+the side-panel artifact directory or local workspace:++* Executive Summary & Problem Framing+* Multi-Lens Analysis & Risk Matrix+* Scope Boundaries (Goals vs. Non-Goals)+* Key Architectural Decisions++### 4. Step 4: Iterative Refinement & Handoff++The engineer reviews the brief, addresses key objections, and decides whether+to:++* Abandon the idea altogether.+* Continue refining the hypothesis with additional Goldfish shootdown passes.+* Transition into **`/egm-draft`** (when the concept is concrete and ready for+ formal design doc authoring).++## Implementation Files & Referenced Components++The brainstorm capability is implemented via its core skill definition and+delegates directly to the shared EGM subagent swarm and document standards:++### Core Skill Files++| File Path | Type | Purpose & Reason for Existence |+| :-------- | :--- | :----------------------------- |+| `skills/egm_brainstorm/SKILL.md` | Skill Definition | Implements `/egm-brainstorm` workflow, multi-turn open-ended drilling, shootdown delegation, and brief finalization. |+| `skills/egm_brainstorm/TEST.md` | Unit Tests | Verification test scenarios validating the brainstorm ideation and multi-lens critique flow. |+| `skills/egm_brainstorm/test_scenarios.yaml` | Evaluation Benchmark | Benchmark test suite evaluating brainstorm ideation and multi-lens critique flow. |++### Referenced Personas & Infrastructure Components++The ideation shootdown swarm relies on intermediate orchestration and+specialized Goldfish personas defined in `agents/` and document standards:++* **Intermediate Orchestration**:+ [`agents/synthesizer.md`](../../agents/synthesizer.md) (`Mode: BRAINSTORM`)+ coordinates the parallel fan-out and compiles `concepts_brief.md`.+* **6-Lens Goldfish Personas**:+ * [`agents/zoom_out.md`](../../agents/zoom_out.md): Contrarian / YAGNI Lens.+ * [`agents/design_critic.md`](../../agents/design_critic.md): Cost, Quota & Resource Economics Lens.+ * [`agents/comprehension.md`](../../agents/comprehension.md): UX & Developer Ergonomics Lens.+ * [`agents/implementation_readiness.md`](../../agents/implementation_readiness.md): Migration & Compatibility Lens.+ * [`agents/codebase_details.md`](../../agents/codebase_details.md): Codebase Grounding & Existing Reuse Lens.+ * [`agents/structural.md`](../../agents/structural.md): Maintainability & Tech Debt Lens.+* **Referenced Standards**: Evaluates concepts against+ [`zoom-out-standard.md`](../../resources/document_standards/zoom-out-standard.md)+ and [`heilmeier-standard.md`](../../resources/document_standards/heilmeier-standard.md).++## References++* Dave Rensin, [Elephants, Goldfish, and the New Golden Age of Software Engineering](https://medium.com/@drensin/elephants-goldfish-and-the-new-golden-age-of-software-engineering-c33641a48874) (Medium, 2026).+* DARPA, [The Heilmeier Catechism](https://www.darpa.mil/about/heilmeier-catechism).diff --git a/docs/designs/draft.md b/docs/designs/draft.mdnew file mode 100644index 0000000..abb3576--- /dev/null+++ b/docs/designs/draft.md@@ -0,0 +1,205 @@+# EGM Design Drafting: Specification Authoring & Semantic Boundaries++* **Authors:** Jim Quinn ([@quinnjim](https://github.com/quinnjim)), Elise Ewing ([@eewing314](https://github.com/eewing314))+* **Status:** Current+* **Date:** 2026-06-06++--------------------------------------------------------------------------------++## Overview++The **EGM Design Drafting Skill** (`/egm-draft`) converts the ideation+artifact (`concepts_brief.md` from `/egm-brainstorm` or discussion notes) into a+formal, living design document under `docs/designs/`. It drafts the document+iteratively section-by-section, gathering feedback at each stage before saving to+disk.++Crucially, it establishes **semantic boundaries** within the document to enable+downstream multi-agent reviews (`/egm-review`) and automated drift auditing+(`/egm-drift-report`).++## The Problem++Directly asking AI models to author a comprehensive technical design in a single+prompt produces severe quality issues:++1. **Monolithic Hallucination & Wall-of-Text Output**: Models output massive,+ unstructured markdown blobs directly into the chat pane, making review+ difficult and truncating technical depth.+2. **Premature Code Dumping**: Instead of focusing on architectural invariants,+ data flows, and file-level rationales, models generate raw, unmaintainable+ helper code.+3. **Lack of Semantic Structure for Downstream Tooling**: Without strict+ standardized section boundaries (e.g., distinguishing high-level goals from+ concrete implementation plans), automated reviewers cannot partition audit+ responsibilities.++## Design Principles++* **Section-by-Section Iterative Drafting**: Drafts are authored incrementally+ (Overview & Goals -> Architecture & Diagrams -> Alternatives ->+ Implementation Plan), requesting user feedback between sections.+* **Artifact-First Delivery**: All drafting state is rendered into side-panel+ artifacts (`design_draft.md`) or persistent workspace files. Printing large+ drafts directly to the chat stream is strictly prohibited.+* **Semantic Split by Design**: Drafts are partitioned into a high-level+ conceptual section (`FeatureRange`) and a concrete execution section+ (`DetailedRange`) to facilitate targeted downstream Goldfish reviews.+* **Exhaustive File & Rationale Enumeration**: The implementation plan must+ enumerate every file to create, modify, or delete, accompanied by an+ architectural rationale, without generating raw source code.+* **Provenance Watermarking**: Finalized documents append a standardized+ provenance watermark footer to track AI authoring state.++## System Architecture & Workflow++```mermaid+sequenceDiagram+ autonumber+ actor Human as Software Engineer+ participant Draft as egm-draft Skill+ participant Summary as Artifact: concepts_brief.md / notes+ participant DraftArtifact as Artifact: design_draft.md+ participant ZoomOut as zoom-out-standard.md+ participant Workspace as Workspace File: docs/designs/<FEATURE>.md+ participant Review as egm-review Skill++ Note over Human,Draft: Step 1: Predecessor Context Ingestion+ Human->>Draft: /egm-draft+ Draft->>Summary: Read concepts_brief.md & verify consensus++ Note over Human,Draft: Step 2, 3, 4: High-Level Sections (FeatureRange)+ Draft->>DraftArtifact: Draft Overview, Problem Statement & Goals+ Draft->>DraftArtifact: Append Architecture, Data Flow & Mermaid Diagrams+ Draft->>DraftArtifact: Append Alternatives Considered & Trade-offs+ Draft->>Human: Request Feedback on High-Level Sections++ Note over Human,Draft: Step 5: Detailed Implementation (DetailedRange)+ Draft->>DraftArtifact: Append Detailed Implementation Plan (Files & Rationales)+ Draft->>Human: Request Feedback on Implementation Checklist++ Note over Human,Draft: Step 6: Finalization, Watermark & Handoff+ Draft->>ZoomOut: Self-Evaluate vs zoom-out-standard.md+ Draft->>DraftArtifact: Append Watermark Footer+ Draft->>Workspace: Write docs/designs/<FEATURE>.md+ Draft->>Human: Provide link to spec & recommend /egm-review+ Human->>Review: /egm-review docs/designs/<FEATURE>.md+```++--------------------------------------------------------------------------------++## The Drafting Protocol (`/egm-draft`)++The `/egm-draft` workflow converts the ideation artifact into a living+markdown design doc:++### Step 1: Predecessor Context Ingestion++Parses `concepts_brief.md` (or `discussion_summary.md` / feature notes) from the artifact directory (falling back to the+scratch directory or workspace root if needed) and verifies user consensus.++### Step 2: Overview, Problem & Goals++Drafts the user-facing problem statement, business value, goals, and non-goals+in `design_draft.md`.++### Step 3: Technical Plan & Architecture++Appends component diagrams (Mermaid), API signatures, and data flow narratives.++### Step 4: Alternatives Considered++Documents rejected alternatives with concrete trade-off justifications (latency,+complexity, maintenance).++### Step 5: Detailed Implementation Plan++Drafts the execution section:++* Unified checklist of every file to create, modify, or delete.+* Explicit architectural rationale for each file change.+* **No implementation code**: Includes only schemas, type definitions, and+ pseudocode.++### Step 6: Finalization, Formatting & Registration++* Performs a final self-evaluation against+ [`zoom-out-standard.md`](../../resources/document_standards/zoom-out-standard.md).+* Appends a standardized provenance watermark footer (*`*Drafted with EGM*`*)+ separated by a horizontal rule delimiter (`--------------------------------------------------------------------------------`)+ after trailing open questions.+* Writes the document to `docs/designs/<FEATURE>.md`.+* Registers the document in `docs/designs/README.md` if present.+* Formats markdown using standard markdown formatters.+* Outputs a clickable link and instructs the user to run `/egm-review`.++--------------------------------------------------------------------------------++## Semantic Boundary Discovery++EGM design documents are deliberately structured to enable the downstream+Goldfish review engine to parse the document into two semantic zones:++1. **Feature Range (`FeatureRange`)**: Lines 1 through the header boundary.+ Contains the high-level problem statement, goals, architecture, and+ alternatives. Audited by the **Design Critic** (`egm_design`) and+ **Comprehension Reviewer** (`egm_comprehension`).+2. **Detailed Range (`DetailedRange`)**: From `## Detailed Implementation Plan`+ to EOF. Contains file targets, schemas, and test plans. Audited by the+ **Implementation Readiness Reviewer** (`egm_implementation_readiness`) and+ **Codebase Details Auditor** (`egm_codebase_details`).++Standardizing on the `## Detailed Implementation Plan` header allows automated+boundary discovery without requiring manual line range configuration. Terminal+footer watermarks (`*Drafted with EGM*`) residing at EOF are treated+as inert structural metadata and excluded from requirement audits during review+and drift analysis.++## Provenance Watermarking++To support lightweight provenance tracking and human inspection, all design+`/egm-draft` specs include a footer watermark:++```markdown+--------------------------------------------------------------------------------++*Drafted with EGM*+```++* **Delimited EOF Placement**: Appended at the absolute end of the document,+ separated from trailing sections (`### Open Questions`) by a horizontal+ line.+* **Best-Effort & Forward-Looking**: Applies strictly to newly drafted or+ updated specifications moving forward; no retroactive migration sweeps or+ blocking presubmits are imposed on legacy documents.++--------------------------------------------------------------------------------++## Standards Alignment++| Authoring Step | Governing Standard | Focus Area |+| :------------- | :----------------- | :--------- |+| Architecture Outline | [`zoom-out-standard.md`](../../resources/document_standards/zoom-out-standard.md) | Simplicity, YAGNI, existing infrastructure reuse |+| Document Structure | [`feature-spec-standard.md`](../../resources/document_standards/feature-spec-standard.md) | Standard heading hierarchy, CUJs, failure modes |+| Detailed Plan | [`implementation-readiness-standard.md`](../../resources/document_standards/implementation-readiness-standard.md) | Exhaustive file listing, test strategies, no code dumps |++--------------------------------------------------------------------------------++## Implementation Files++The drafting capability is implemented across the following skill and reference files:++| File Path | Type | Purpose & Reason for Existence |+| :-------- | :--- | :----------------------------- |+| `skills/egm_draft/SKILL.md` | Skill Definition | Implements `/egm-draft` section-by-section markdown compilation, sitemap registration, and formatting. |+| `skills/egm_draft/TEST.md` | Unit Tests | Verification test scenarios validating the drafting and finalization workflow. |+| `skills/egm_draft/test_scenarios.yaml` | Evaluation Benchmark | Co-located behavioral eval suite evaluating model adherence to the drafting protocol. |+| `skills/egm_draft/references/design_doc.md` | Document Template | Canonical markdown design document template defining required sections and layout. |+| `resources/execution_instructions.md` | Execution Instructions | Core execution rules enforcing no-code guardrails, silent compliance, and one-question-at-a-time pacing. |++--------------------------------------------------------------------------------++## References++* Dave Rensin, [Elephants, Goldfish, and the New Golden Age of Software Engineering](https://medium.com/@drensin/elephants-goldfish-and-the-new-golden-age-of-software-engineering-c33641a48874) (Medium, 2026).+* GitHub, [GitHub Flavored Markdown Spec](https://github.github.com/gfm/).diff --git a/docs/designs/drift_report.md b/docs/designs/drift_report.mdnew file mode 100644index 0000000..b9ab157--- /dev/null+++ b/docs/designs/drift_report.md@@ -0,0 +1,125 @@+# EGM Drift Detection Protocol (Living Specifications & Code Synchronization)++* **Author:** Jim Quinn ([@quinnjim](https://github.com/quinnjim))+* **Status:** Current+* **Date:** 2026-06-07++--------------------------------------------------------------------------------++## Overview++The **EGM Drift Detection Skill** (`/egm-drift-report`) audits checked-in design+documents under `docs/designs/` and package `README.md` hierarchies against+source code to identify and report architectural divergence.++It is intended to be incorporated as a ritual by teams practicing EGM to keep+their design documents in sync with their feature implementations.++## The Problem++Documentation drift, particularly when paired with AI tooling, has these+problems:++1. **Stale Context**: Without a system to keep them up to date, quick+ point-fixes or untracked refactors leave designs outdated. When a human or+ AI agent consults an outdated spec to design a new feature, they make flawed+ assumptions that lead to broken implementations.++2. **Silent Architectural Rot**: Without automated verification, differences+ between the intended design and actual code (e.g., hardcoded bypasses+ instead of dynamic resolvers) accumulate unnoticed until production+ incidents occur.++3. **Human Fatigue**: Manually cross-referencing multi-page design docs against+ dozens of implementation files is tedious and rarely performed consistently.++## System Architecture & Workflow++```mermaid+sequenceDiagram+ autonumber+ actor Human as Software Engineer / Gardener+ participant DriftSkill as egm-drift-report Skill+ participant DesignDir as docs/designs/ Directory+ participant Codebase as Live Codebase+ participant Artifact as Artifact: {YYYY-MM-DD}_DRIFT_REPORT.md++ Human->>DriftSkill: /egm-drift-report [path/to/designs]+ DriftSkill->>DesignDir: List all design specifications+ loop For Each Design Document (Sequential)+ DriftSkill->>DesignDir: Read doc & extract symbols, files, APIs+ DriftSkill->>Codebase: Locate source files & inspect current state+ DriftSkill->>DriftSkill: Compare design vs reality (Detect divergence)+ DriftSkill->>Artifact: Append findings under ## <DOC_NAME>+ end+ DriftSkill->>Human: Deliver consolidated drift report artifact+ Human->>Codebase: Reconcile drift (Update code OR update doc)+```++--------------------------------------------------------------------------------++### Drift Detection Heuristics++The drift skill audits code against four core divergence categories:++| Divergence Category | Description | Example Reportable Drift |+| :------------------ | :---------- | :----------------------- |+| **Missing Features** | Logic or components described in the design but completely absent in source code. | A scheduled cleanup task specified in the design doc was never implemented in the service binary. |+| **Incomplete Models** | Structs, schemas, dataclasses, or classes missing fields specified in the design. | A model schema in the design defines 5 fields, but the code implementation only has 3. |+| **Logic Shortcuts** | Hardcoded values, mock fallbacks, or bypasses where dynamic logic was designed. | A dynamic quota lookup was designed, but the code uses a hardcoded constant `DEFAULT_QUOTA = 100`. |+| **Architectural Divergence** | Code implemented using different design patterns, frameworks, or dependencies than planned. | The design specified using gRPC service endpoints, but the implementation uses custom HTTP handlers. |++--------------------------------------------------------------------------------++### Execution Protocol++1. **Intake & Discovery**: Identifies target design folder (`docs/designs/`)+ or package tree (`README.md`).+2. **Sequential Processing**: Audits documents one-by-one to prevent tool+ buffer overflows and context degradation.+3. **Source Grounding**: Resolves referenced classes, endpoints, and files via+ code search and file viewing tools. If a document references unlinked symbols,+ the report prompts the engineer to add explicit links for cheaper future scans.+4. **Difference Filtering**: Reports **ONLY** actionable discrepancies. If the+ implementation matches the design completely, it outputs `"No drift detected."`+5. **Artifact Output**: Formats all results into `{YYYY-MM-DD}_DRIFT_REPORT.md`+ using strict markdown headings:++ ```markdown+ ## <DESIGN_DOC_NAME>++ * [Divergence item 1 with file:line reference]+ * [Divergence item 2]+ <!-- Or "No drift detected." -->+ ```++--------------------------------------------------------------------------------++### Operational Maintenance Cadence++To keep documentation living and trustworthy, we recommend (but do not enforce)+the following:++* **Weekly Gardener Rotation**: Teams running EGM incorporate+ `/egm-drift-report` into their weekly build gardener or oncall checklist.+* **Two-Way Reconciliation**: Every drift detected is actionable:+ * *If the code change was intentional*: Update the design document to+ reflect reality.+ * *If the design was violated*: File an issue or prompt an agent to complete+ the missing implementation.++## Implementation Files++The drift detection skill is implemented across the following files:++| File Path | Type | Purpose & Reason for Existence |+| :-------- | :--- | :----------------------------- |+| `skills/egm_drift_report/SKILL.md` | Skill Definition | Implements `/egm-drift-report` sequential document scanner, divergence heuristics analyzer, and report generator. |+| `skills/egm_drift_report/TEST.md` | Unit Tests | Verification test scenarios testing drift detection heuristics and report generation. |+| `skills/egm_drift_report/test_scenarios.yaml` | Evaluation Benchmark | Benchmark test suite evaluating drift detection accuracy and false-positive filtering. |++## References++* Dave Rensin, [Elephants, Goldfish, and the New Golden Age of Software Engineering](https://medium.com/@drensin/elephants-goldfish-and-the-new-golden-age-of-software-engineering-c33641a48874) (Medium, 2026).++diff --git a/docs/designs/review.md b/docs/designs/review.mdnew file mode 100644index 0000000..2b52332--- /dev/null+++ b/docs/designs/review.md@@ -0,0 +1,192 @@+# EGM Goldfish Review Protocol & Resolution Engine++* **Authors:** Brandon Tearse ([@tearseb](https://github.com/tearseb)), Brian Suchy ([@briansuchy](https://github.com/briansuchy)), Sean Stappas ([@seanstappas](https://github.com/seanstappas))+* **Status:** Current+* **Date:** 2026-06-10++--------------------------------------------------------------------------------++## Overview++The **Goldfish Review Protocol** is the verification engine of the Elephant &+Goldfish Model (EGM). It stress-tests draft design specifications using+isolated, zero-context AI subagents ("Goldfish") evaluating the document against+strict qualitative rubrics.++This document specifies:++1. The multi-stage review pipeline (`/egm-review`).+2. The review orchestration driver (`egm_review_loop`).+3. The complete catalog of specialized reviewer personas.+4. The mapping to document standards and evaluation rubrics+ (`resources/document_standards/`).+5. The interactive resolution engine (`egm_resolve`).++## The Problem++Self-review by the authoring LLM suffers from severe confirmation bias. When the+same context window drafts and reviews a plan:++1. **Blind Spots Persist**: The model assumes the context it holds in memory is+ obvious from the text, overlooking unstated assumptions and undefined terms.+2. **Hallucination Masking**: Invalid API assumptions made during discussion go+ untested against actual source code.+3. **Premature Implementation Approval**: Implementation plans lacking concrete+ file paths or test strategies are rubber-stamped without scrutiny.++The Goldfish model mitigates this by spawning fresh, stateless subagents that+read only the target document and explicitly referenced source files.++## Review Pipeline Architecture (`/egm-review`)++The full review pipeline executes five sequential evaluation phases:++```mermaid+flowchart TD+ Start([Target Design Doc]) --> Step5[Step 5: Zoom Out Review]+ Step5 --> Gate5{Pass / Abort?}+ Gate5 -- Abort --> FixArch[Refactor Architecture]+ Gate5 -- Pass --> Step6[Step 6: Comprehension Test]+ Step6 --> Gate6{Gaps Found?}+ Gate6 -- Yes --> UpdateContext[Clarify Definitions / Context]+ Gate6 -- No --> Step7[Step 7: Critic Review]+ Step7 --> Loop7[egm_review_loop: design_critic + structural + style]+ Loop7 --> Resolve7[egm_resolve]+ Resolve7 --> Step8[Step 8: Intermediate Zoom Out Review]+ Step8 --> Gate8{YAGNI / Bloat Found?}+ Gate8 -- Yes --> PruneBloat[Prune Defensive Over-Engineering]+ Gate8 -- No / Resolved --> Step9[Step 9: Implementation Readiness Test]+ Step9 --> Loop9[egm_review_loop: implementation_readiness + codebase_details + style]+ Loop9 --> Resolve9[egm_resolve]+ Resolve9 --> Done([Ready for Human Peer Review])+```++### Stage Breakdown++1. **Step 5: Zoom Out Review (Altitude Check)**:+ * *Target*: Full Document.+ * *Persona*: [`zoom_out`](../../agents/zoom_out.md) (Skeptical Architect).+ * *Standard*: `zoom-out-standard.md`.+ * *Focus*: Validates problem framing, rejects speculative features+ (YAGNI), and verifies reuse of existing infrastructure before investing in+ detailed review passes.+2. **Step 6: Comprehension Test (Self-Containment Check)**:+ * *Target*: `FeatureRange` vs `DetailedRange`.+ * *Persona*: [`comprehension`](../../agents/comprehension.md) (Naive Reader).+ * *Standard*: Baseline Self-Containment.+ * *Focus*: Reads the document with zero prior context. Identifies missing+ prerequisites, unexplained acronyms, and conceptual gaps.+3. **Step 7: Critic Review (Antagonistic Stress-Test)**:+ * *Target*: `FeatureRange` (High-Level Architecture).+ * *Personas*: [`design_critic`](../../agents/design_critic.md),+ [`structural`](../../agents/structural.md), [`style`](../../agents/style.md).+ * *Standards*: `feature-spec-standard.md`, `heilmeier-standard.md`.+ * *Focus*: Probes single points of failure (SPOFs), scaling limits,+ failure modes, and edge cases.+4. **Step 8: Intermediate Zoom Out Review (Post-Critic Pruning)**:+ * *Target*: Full Document.+ * *Persona*: [`zoom_out`](../../agents/zoom_out.md) (Skeptical Architect).+ * *Standard*: `zoom-out-standard.md`.+ * *Focus*: Incremental audit focusing on additions, modifications, and+ defensive mitigations introduced during Comprehension and Critic+ reviews. Purges speculative complexity and YAGNI elements before task+ planning, while avoiding re-flagging decisions accepted in Step 5.+5. **Step 9: Implementation Readiness Test (Actionability Check)**:+ * *Target*: `DetailedRange` (`## Detailed Implementation Plan`).+ * *Personas*: [`implementation_readiness`](../../agents/implementation_readiness.md),+ [`codebase_details`](../../agents/codebase_details.md), [`style`](../../agents/style.md).+ * *Standards*: `implementation-readiness-standard.md`, `re-implementation-standard.md`.+ * *Focus*: Verifies that every file touched is listed with rationale, API+ signatures match current codebase reality, and step-by-step test plans exist.++--------------------------------------------------------------------------------++## Reviewer Persona Catalog++All reviewer persona prompts reside under [`agents/`](../../agents/):++| Persona File | Role Title | Core Responsibilities |+| :----------- | :--------- | :-------------------- |+| [`agents/zoom_out.md`](../../agents/zoom_out.md) | Skeptical Architect | Audits for over-engineering, YAGNI, and unneeded complexity. Searches codebase for existing utilities to prevent reinvention. |+| [`agents/comprehension.md`](../../agents/comprehension.md) | Naive Reader | Assumes no prior knowledge. Identifies undefined jargon, assumed system context, and missing architectural diagrams. |+| [`agents/design_critic.md`](../../agents/design_critic.md) | Analytical Design Critic | Evaluates system reliability, scale limits, operational risks, failure recovery, and trade-off justification. |+| [`agents/implementation_readiness.md`](../../agents/implementation_readiness.md) | Tech Lead Auditor | Ensures implementation plans contain unambiguous, deterministic instructions, complete file lists, and verification steps. |+| [`agents/codebase_details.md`](../../agents/codebase_details.md) | Codebase Auditor | Cross-references referenced paths, classes, and function signatures against live source code to prevent drift and hallucinated APIs. |+| [`agents/structural.md`](../../agents/structural.md) | Layout Validator | Enforces standard heading hierarchy, table formatting, and document template conformance. |+| [`agents/style.md`](../../agents/style.md) | Technical Copy Editor | Strips conversational filler, enforces factual, objective tone, and ensures adherence to concise technical writing standards. |+| [`agents/synthesizer.md`](../../agents/synthesizer.md) | Review Synthesizer | Spawns reviewers in parallel, deduplicates findings, formats file links, and writes consolidated report artifacts. |++--------------------------------------------------------------------------------++## Document Standards & Rubrics (`resources/document_standards/`)++Reviewers evaluate drafts against versioned markdown standards:++* **`zoom-out-standard.md`**: Enforces root-problem focus, simplicity, YAGNI,+ anti-weeds altitude control, and platform infrastructure reuse.+* **`heilmeier-standard.md`**: Evaluates objectives, existing limitations,+ novelty, impact, risks, costs, and quantifiable verification metrics.+* **`feature-spec-standard.md`**: Mandates standard feature specification+ sections (CUJs, architecture diagrams, error handling, telemetry).+* **`implementation-readiness-standard.md`**: Sets the bar for actionable+ implementation plans (complete file targets, explicit rationale, testing+ matrices, no code blocks).+* **`re-implementation-standard.md`**: Evaluates whether a specification is+ sufficiently clear and self-contained that a clean-room implementation can+ reproduce the system without author guidance.++--------------------------------------------------------------------------------++## The Interactive Resolution Engine (`egm_resolve`)++When Goldfish reviewers complete their audit, the **Elephant Resolution Engine**+ingests the flat findings list and manages interactive triage.++### 1. Evaluation & Categorization++For each finding, the Elephant determines:++* **`PROPOSE FIX`**: The critique is valid. Generates exact replacement+ strings or structural edits.+* **`CONTEST`**: The critique is invalid or based on a misunderstanding. Cites+ concrete codebase evidence defending the current text.++### 2. User Triage Modes++The engineer reviews `goldfish_review_report.md` via four interaction modes:++* **Auto Accept**: Batch-applies all `PROPOSE FIX` suggestions and skips+ `CONTEST` items.+* **Interactive Breakdown**: Sequential, item-by-item chat walkthrough with+ detailed explanations and overrule capabilities.+* **Artifact Comments**: Inline comments on the artifact parsed and applied by+ the Elephant. (Recommended)+* **Wildcard Requests**: Pauses the review to answer ad-hoc questions or run+ exploratory commands before resuming triage.++### 3. Iteration & Checkpoint Gating++After fixes are applied, the loop presents a mandatory checkpoint asking the+user whether to run another review pass or complete the workflow. The process+concludes when zero blocking findings remain or the engineer halts the loop.++## Implementation Files++| File Path | Type | Purpose & Reason for Existence |+| :-------- | :--- | :----------------------------- |+| `skills/egm_review/SKILL.md` | Skill Definition | Entry point orchestrating the multi-stage review pipeline (Zoom Out $\rightarrow$ Comprehension $\rightarrow$ Critic $\rightarrow$ Intermediate Zoom Out $\rightarrow$ Readiness). |+| `skills/egm_review/TEST.md` | Unit Tests | Verification test scenarios testing `/egm-review` multi-stage flow and checkpoint gating. |+| `skills/egm_review/test_scenarios.yaml` | Evaluation Benchmark | Benchmark test suite evaluating model review precision and recall. |+| `skills/egm_review_loop/SKILL.md` | Skill Definition | Central review driver managing asynchronous subagent spawning and findings collection. |+| `skills/egm_review_loop/TEST.md` | Unit Tests | Verification test scenarios testing goldfish review loop dispatch. |+| `skills/egm_review_loop/test_scenarios.yaml` | Evaluation Benchmark | Benchmark test suite evaluating goldfish review loop dispatch. |+| `skills/egm_resolve/SKILL.md` | Skill Definition | Elephant resolution engine managing `CONTEST` vs `PROPOSE FIX` triage and automated fixes. |+| `skills/egm_resolve/TEST.md` | Unit Tests | Verification test scenarios validating the finding categorization and resolution loop. |+| `skills/egm_resolve/test_scenarios.yaml` | Evaluation Benchmark | Benchmark test suite evaluating model resolution and fix proposal accuracy. |+| `agents/*.md` | Persona Prompts | System prompt instructions for all 7 Goldfish reviewers and the Synthesizer. |+| `resources/document_standards/*.md` | Document Standards | Evaluation rubrics and standards for feature specs, implementation readiness, and simplicity. |++## References++* Dave Rensin, [Elephants, Goldfish, and the New Golden Age of Software Engineering](https://medium.com/@drensin/elephants-goldfish-and-the-new-golden-age-of-software-engineering-c33641a48874) (Medium, 2026).+* DARPA, [The Heilmeier Catechism](https://www.darpa.mil/about/heilmeier-catechism).diff --git a/docs/designs/synthesizer.md b/docs/designs/synthesizer.mdnew file mode 100644index 0000000..69e4bb4--- /dev/null+++ b/docs/designs/synthesizer.md@@ -0,0 +1,120 @@+# EGM Synthesizer Persona (Swarm Orchestration & Output Aggregation)++* **Author:** Brian Suchy ([@briansuchy](https://github.com/briansuchy))+* **Status:** Current+* **Date:** 2026-07-31++--------------------------------------------------------------------------------++## Overview++The **EGM Synthesizer Persona** (`synthesizer`) is an intermediate+orchestration layer, responsible for starting multiple subagents and+deduplicating feedback across them. It is used to consolidate feedback across+the various subagents started by EGM skills and prevent context window bloat in+runtimes that support nested subagents (e.g., Antigravity).++## The Problem++Directly managing a multi-agent review swarm from the primary user conversation+has challenges:++1. **Context Pollution & Token Bloat**: Spawning 6 to 12 parallel reviewers+ directly in the root session floods the primary context window with+ thousands of tokens of raw, verbose tool outputs and intermediate subagent+ chatter, degrading the model's reasoning capacity.+2. **Redundant & Overlapping Critiques**: Multiple reviewers examining the same+ document frequently identify the same underlying issue from slightly+ different perspectives (e.g., structural vs. design). Unfiltered output+ overwhelms the human engineer with duplicate findings.+3. **Inconsistent Link Formatting**: Stateless subagents often construct+ inconsistent or broken relative file links.+4. **Chat Stream Interruption**: Dumping raw review traces into the user chat+ violates the Artifact-First UX principle.++## System Architecture & Dataflow++```mermaid+sequenceDiagram+ autonumber+ participant Elephant as Root Elephant Context+ participant Synth as Synthesizer Persona (Intermediate Orchestrator)+ participant Swarm as Goldfish Swarm (A/B Parallel Subagents)+ participant Artifact as Artifact File (goldfish_review_report.md)++ Elephant->>Synth: invoke_subagent (TargetFile, Reviewers, Standards)+ Note over Synth: Inspect Mode: REVIEW vs BRAINSTORM+ Synth->>Swarm: invoke_subagent (Concurrent A/B Subagents)+ Note over Swarm: Independent Audits in Zero-Context Windows+ Swarm-->>Synth: Return raw findings & critiques+ Note over Synth: Deduplicate, Triage (Blocker/Major/Nit), Normalize Links+ Synth->>Artifact: write_to_file (goldfish_review_report.md)+ Synth-->>Elephant: send_message (Completion summary & artifact link)+```++## Operating Modes++The synthesizer operates in two distinct modes depending on the invocation+context:++### 1. `Mode: REVIEW` (Document Audit)++* **Redundant Subagent Spawning (A/B Sampling)**: Launches two independent+ instances of each requested reviewer (e.g., `Hostile Design Critic A` and+ `Hostile Design Critic B`) to maximize finding recall and eliminate+ non-deterministic evaluation gaps.+* **Role Title Enforcement**: Subagent roles are strictly suffixed with+ `Auditor`, `Reviewer`, or `Critic` for clear observability in execution+ dashboards.+* **Severity Triage**: Categorizes all aggregated findings into three tiers:+ * π΄ **Blocker**: Architectural flaws, unaddressed SPOFs, missing file+ targets, or unresolvable dependencies.+ * π‘ **Major**: Incomplete error handling, unstated scaling assumptions, or+ missing verification plans.+ * π’ **Nit**: Minor clarity issues, terminology inconsistencies, or+ formatting discrepancies.+* **Link Normalization**: Constructs clean markdown links for all referenced+ lines: `[path:Lstart-end](path#Lstart-Lend)`.+* **Artifact Emission**: Writes the consolidated report to+ `goldfish_review_report.md` (or `zoom_out_report.md` /+ `comprehension_report.md`).++--------------------------------------------------------------------------------++### 2. `Mode: BRAINSTORM` (Concept Ideation)++* **6-Lens Swarm**: Spawns parallel brainstormers across six perspectives:+ `Skeptical Architect`, `Codebase Grounding Auditor`, `UX & Ergonomics`,+ `Naive Comprehension`, `Implementation Feasibility`, and `Structural+ Design`.+* **Concept Synthesis**: Aggregates divergent ideas, highlights hidden risks,+ identifies existing infrastructure reuse opportunities, and compiles a+ unified `concepts_brief.md` artifact.++--------------------------------------------------------------------------------++## Inter-Agent Communication Contract++1. **Input Parameters**:+ * `TargetFile`: Absolute path to target document.+ * `LineRange`: Target line bounds (or `full file`).+ * `Reviewers`: Array of reviewer persona shortnames.+ * `Standards`: Key-value mapping of reviewers to standard markdown files.+ * `GoldfishContext`: Supplementary reading list for reviewer baseline.+2. **Output Contract**:+ * The synthesizer must never output the full report text in chat or via+ `send_message`.+ * It writes the report to disk using file-writing tools.+ * It returns a single message via `send_message` containing:+ * Total count of findings by severity.+ * Clean link to the generated artifact.++## Implementation Files++| File Path | Type | Purpose & Reason for Existence |+| :-------- | :--- | :----------------------------- |+| `agents/synthesizer.md` | Persona Prompt | System prompt, tool permissions, and operational logic for the `synthesizer` orchestration persona. |++## References++* Dave Rensin, [Elephants, Goldfish, and the New Golden Age of Software Engineering](https://medium.com/@drensin/elephants-goldfish-and-the-new-golden-age-of-software-engineering-c33641a48874) (Medium, 2026).diff --git a/docs/faq.md b/docs/faq.mdnew file mode 100644index 0000000..80a7593--- /dev/null+++ b/docs/faq.md@@ -0,0 +1,62 @@+# FAQ++#### Q: Are there alternatives?++**A**: Yes. Many.++EGM is one of the ways teams are making LLMs work better. It is not *the* way.+There are others with different trade-offs. Regardless of the tool you choose,+please remember: *You own the outcomes.*++#### Q: What concrete artifacts does the EGM process produce?++**A**: EGM produces three core deliverables:++* **Design Document**: A peer-reviewed technical specification that captures+ intent, system invariants, and strategic direction.+* **Implementation checklist**: Identifies the files to create or modify,+ the planned changes, and how to verify them.+* **Enriched Context Loops**: Colocated Markdown documentation (such as README+ hierarchies) that provides high-quality context for future development+ loops.++#### Q: Will SWEs become obsolete under EGM?++**A**: In our opinion? No. However, code generation will be increasingly+delegated to automated agents, shifting human engineering focus toward governing+intent and reviewing architectural decisions captured in design documents.++#### Q: Will the increased volume of design documentation create a human review bottleneck?++**A**: It can. Reviewing designs adds work, and excessive documentation can+become a bottleneck. The aim is to catch important problems before implementation;+whether that saves time depends on the change and the quality of the review.++We recommend putting an emphasis on prioritization, at least for now. Use EGM+for "What's important now?", instead of everything, to avoid overloading your+reviewing and release pipelines.++#### Q: Does this workflow degrade developer velocity?++**A**: It depends. Design and review take time and may not pay off for a small,+well-understood change. For uncertain or consequential changes, they may reduce+rework by exposing missing decisions earlier.++Compare total time, useful findings, and rework on your own tasks. Completing+the EGM workflow alone does not demonstrate a productivity improvement.++#### Q: Is expecting design documentation to be complete enough for a zero-context agent realistic?++**A**: Sometimes, but not always. EGM's approach captures strategy and an+execution plan, with Goldfish agents improving the quality, but LLMs are still+non-deterministic.++You need to use your judgment the same way you would for coaching a new software+engineer. If it is making a minor mistake, adjust it. If it is wildly off base,+maybe you need to go back to the drawing board and correct your design. This is+part of the process and gets easier the more you use it.++#### Q: Should I open big pull requests?++**A**: No. Generally, the answer for this (and many other questions) is "The+answer is the same as when you built things without AI."diff --git a/docs/getting_started.md b/docs/getting_started.mdnew file mode 100644index 0000000..2634052--- /dev/null+++ b/docs/getting_started.md@@ -0,0 +1,152 @@+# EGM Setup & Workflow Guide++## Background++The **Elephant-Goldfish Model (EGM)** is an implementation of Spec-Driven+Development (SDD) based on Dave Rensin's foundational article+[Elephants, Goldfish, and the New Golden Age of Software Engineering](https://medium.com/@drensin/elephants-goldfish-and-the-new-golden-age-of-software-engineering-c33641a48874).++A general recommendation: start with the core philosophy before diving into the+tools. Going through the conversational sequence once or twice, especially if+you are unfamiliar with LLMs, will expose you to LLM quirks and develop your+intuition for using them.++If you do nothing else with EGM, do that a few times to see if you're getting+better responses out of the LLMs than you were before. Other than your time,+it's free, you don't have to install anything, and the instructions are labeled+1 to N.++If you like what that's doing for you, you'll start to notice some things. You+won't like copy-pasting your prompts all the time. You'll see some repetition+and wish the LLM could just do steps 1 to X on its own. The EGM framework is a+result of that. A bunch of people that practiced it for a while noticed some+emerging patterns and tried to make it easier to get started with fewer steps.++## Runtime Setup++In our first release, the EGM skills and personas are packaged for+**Antigravity** and **Gemini CLI** (see [Harnesses](harnesses.md) for+installation instructions). We welcome contributors who want to help add+support for other agent harnesses!++1. **Skills**: The skills in `skills/` can be installed via the plugin/extension+ manifest or invoked via slash commands (e.g. `/egm-brainstorm`,+ `/egm-draft`, `/egm-review`).+2. **Personas**: The prompts in `agents/` define isolated system instructions+ for subagents.++## Main Workflow++While EGM has a "main workflow", this process is not a prescription. The skills+are designed to be fluid. You can and should reach for them out of order if that+suits your needs.++The general goal is to have:++* Code that does what you want+* Documentation that explains why the code exists the way it does++You may find yourself going back and forth between skills to solve your problem+at hand, and this is encouraged. Do not forcibly use the design-first process if+you believe you can one-shot a simple bug fix. Use the right tool for the job.++Use whichever skill serves your immediate bottleneck.++### Core Loop++The "core" workflow looks like:++1. **`/egm-brainstorm`**: Start an upstream ideation session. This command+ prompts the developer to clarify the concept, then spawns a 6-lens Goldfish+ swarm to stress-test the concept and generate a structured `concepts_brief.md`+ artifact.++2. **`/egm-draft`**: Drafts a design doc. This command turns a concept brief or+ initial idea into a formal markdown design doc under `docs/designs/`, section+ by section.++3. **`/egm-review`**: Reviews a design with **Goldfish**. Performs a+ multi-stage review of a design doc in a fresh, zero-context session to+ validate its completeness, clarity, self-containment, and readiness.++ This will provide *a lot* of feedback by design. Take what you think is+ relevant. Ignore the rest.++4. **Human Review**: Send a Pull Request with your design to another human. EGM+ does not replace human oversight, but encourages it. Human reviews are+ essential for ensuring long-term product consistency and prioritization.++5. **Implement**: Tell AI to build to the plan. The instructions on how to+ implement it should be in your design doc. If the LLM makes a minor mistake,+ feel free to fix it yourself, or ask the LLM to make point fixes. If it is+ wildly off, update the design doc and try again.++ > NOTE: Every team is going to have different skills that are relevant to+ > their implementation phase. Readability and style guides, profiling tools,+ > testing strategies, etc. EGM is not opinionated here. Add your skills to+ > your implementation plan!++## Drift Detection++To ensure that your design specifications and active codebase remain+synchronized over time, EGM provides a drift detection skill:++* **`/egm-drift-report`**: Scan your design directory and referenced code for+ drift. Any detected divergence should be reconciled. Either update the doc,+ or the code. Human picks which.++We recommend running this once per week. If you have a regular maintenance+rotation, incorporating this as a weekly ritual is useful.++## Bootstrapping Existing Codebases++### Structure++We recommend EGM project directories look something like this:++```text+path/to/project+βββ _agents/ # (optional, but recommended)+β βββ skills+β βββ <project>_elephant # Custom skill to load project context.+β βββ SKILL.md+βββ docs/+ βββ designs/ # EGM design directory+ βββ SITEMAP.md # An index of design artifacts+ βββ FEATURE.md # A detailed design specification+```++### Bootstrapping++`/egm-bootstrap <path/to/project>` automatically generates, formats, and+performs a first-pass verification of READMEs across a directory tree to+establish codebase context. Humans should still review this output. It does this+using a bottom-up, recursive summarization process:++1. **Leaf Directories**: For each leaf directory, generate a `README.md` that+ explains the directory's purpose and documents the function of each file.++2. **Parent Directories**: Move up the tree recursively, generating parent+ `README.md` files by summarizing the subdirectories' READMEs.++3. **Root Directory**: Compile the root `README.md` to provide a complete,+ high-level map of the system's architecture.++The structured context hierarchy lets Elephants navigate codebases more easily.+EGM prefers humans having control of these outputs, which is why this skill+exists. If all of your design artifacts already reference all the code, READMEs+may be unnecessary.++### Project Context Skill (Optional)++You can create a custom `<project>-elephant` skill specifically for your+project. This skill does not need to be complicated. It should tell the LLM+about your project, and give it links to the context you think is most relevant.+That's all.++This skill can be a handy way to give LLMs references to code paths, documents,+and important designs quickly.++As your codebase grows and more design documents are archived, this context+loader allows the Elephant to retrieve relevant architectural history, enabling+more informed design discussions and precise feature implementations.diff --git a/docs/harnesses.md b/docs/harnesses.mdnew file mode 100644index 0000000..2555651--- /dev/null+++ b/docs/harnesses.md@@ -0,0 +1,64 @@+# Harnesses++EGM is one set of skills and personas. This repository serves as the+plugin source for each supported harness. No harness gets a fork of the skill+text.++## Install++| Harness | Install |+| --- | --- |+| Antigravity | `/plugin`, then install from `https://github.com/google/elephant-goldfish-model` |+| Gemini CLI | `gemini extensions install https://github.com/google/elephant-goldfish-model` |++Install the whole plugin. Skill-only installers that copy `skills/` alone+break EGM, because the skills read `agents/` and+`resources/document_standards/` at run time.++## Manifests++| Harness | Manifest | Skills | Subagents |+| --- | --- | --- | --- |+| Antigravity | `plugin.json` | `skills/` (default) | `agents/` (default) |+| Gemini CLI | `gemini-extension.json` | `skills/` (default) | `agents/` (default) |++Persona prompts live in `agents/`, the directory Antigravity and Gemini CLI+scan for subagents. Each persona has `name` and `description` frontmatter, so+harnesses that load `agents/*.md` register them as named subagents+(`egm-design`, `egm-zoom-out`, and so on).++## Delegation++Skills say "spawn a subagent" and name a persona. Each harness maps that+phrase to its own tool:++| Harness | Subagent tool | Named personas | Nesting |+| --- | --- | --- | --- |+| Antigravity | `invoke_subagent` | Yes | Yes |+| Gemini CLI | Subagents | Yes | Not verified |++Where a harness has no named persona, the skill spawns a general-purpose+subagent and tells it to read `agents/<file>.md` first. If a harness cannot+nest subagents, use direct dispatch instead of the synthesizer.++A Goldfish review needs a fresh context. If a harness has no subagent tool,+the review skills stop instead of running in the same context.++## Support Status & Contributing Other Harnesses++Our initial release officially supports **Antigravity** and **Gemini CLI**. We welcome+contributors who want to help add and verify support for other agent harnesses!++### Contributing Support for New Harnesses++A harness counts as supported after `/egm-brainstorm`, `/egm-draft`, and+`/egm-review` run end to end through its plugin install. When contributing+support for another harness:++1. Add the appropriate manifest or configuration file to the repository root+ (e.g., matching the harness's plugin/extension standard).+2. Document install steps, manifest mapping, and delegation mechanics in this guide+ (`docs/harnesses.md`).+3. Verify that `/egm-brainstorm`, `/egm-draft`, and `/egm-review` run end to end,+ and attach verification notes or execution transcripts in your Pull Request description+ (as outlined in the [Pull Request Template](../.github/PULL_REQUEST_TEMPLATE.md)).diff --git a/docs/index.md b/docs/index.mdnew file mode 100644index 0000000..b9ced7f--- /dev/null+++ b/docs/index.md@@ -0,0 +1,89 @@+# Elephant-Goldfish Model (EGM)++AI has changed software development. Everything is different now and we all know+it.++The **Elephant-Goldfish Model** (EGM) is one way teams are adapting to the+change. It is a protocol for shipping high quality software quickly, wrapped in+a metaphor to make it easy to remember. Dave Rensin's article,+[Elephants, Goldfish, and the New Golden Age of Software Engineering](https://medium.com/@drensin/elephants-goldfish-and-the-new-golden-age-of-software-engineering-c33641a48874),+goes into this in depth. If you haven't read that, start there!++## Elephant-Goldfish Philosophy++### The Elephant++The **Elephant** remembers everything.++Sometimes we want LLMs to know all about our systems. Their history, the user+journeys, the logical components, and so on. And we want to be able to discuss+how all this fits together naturally.++That isn't possible by looking at code alone. We need to make all of this+information available to LLMs in a way they can navigate cheaply. When we do,+we can ask questions, challenge assumptions, and force ourselves to justify+decisions fast, which makes changing the system that much easier.++When we give LLMs access to a context-rich description of our systems and ask+them to explore our problems, we call that an **Elephant**.++### The Goldfish++**Goldfish** have three-second memories [^not-really].++LLMs are not deterministic. Sometimes they hallucinate, resulting in plans or+code that is obviously broken. Trusting LLMs to build our systems without+checking for hallucinations is a recipe for a bad time.++Naively, we could have humans review every change. It works, but it is+expensive and quickly becomes a bottleneck. Another way is to have one LLM+review another. If we ask LLMs to review plans, code, or other artifacts+*without* access to how those things were generated, we reduce hallucinations.++When we ask LLMs to review output this way, limiting the context they have+access to, we call that a **Goldfish**.++### The Humans++Imagine you have to say this to your manager: *"Sorry! My AI tool just pushed+broken code to production..."*. It's not the tool that did that, it was you that+did that.++Or maybe a different scenario: *"The AI did my project! Promote me!"*. This is+just as silly.++AI is a tool, not a decision-maker. Developers must actively guide design+discussions, challenge suggestions, and make decisions rather than letting AI+drive.++EGM leans into this: **Humans** own the outcomes.++### Benefits++EGM emphasizes learning how to use LLMs as a tool and explains how to navigate+their strengths and weaknesses.++* **Velocity Gains:** Features ship faster. Front-loading alignment into design+ specifications significantly reduces downstream rework and review comment+ loops.+* **Accuracy:** Investment in front-loaded design discussions creates deep,+ verified guidelines that reduce LLM hallucinations. Being specific and+ detailed about exactly what we want to be implemented gives AI an explicit+ reference to check against.+* **Team Benefits:** Project handoffs, onboarding, issue triage, and all the+ other human processes that may require a whiteboard get easier. When LLMs+ know where features are, how they're built, and the intent behind them,+ humans can learn about and contribute to systems quickly.++## Documentation & Guides++* [Getting Started](getting_started.md): Installation and core workflow.+* [Frequently Asked Questions (FAQ)](faq.md): Common questions and answers.+* [Framework Architecture](designs/architecture.md): Detailed component+ design and lifecycle.+* [Contributing Guidelines](../CONTRIBUTING.md): How to contribute new skills,+ personas, and standards.++[^not-really]: It's a+ [myth](https://www.biology.ox.ac.uk/article/goldfish-show-a-keen-ability-to-estimate-distances)+ that Goldfish have three-second memories. But that would ruin the metaphor!diff --git a/gemini-extension.json b/gemini-extension.jsonnew file mode 100644index 0000000..402df97--- /dev/null+++ b/gemini-extension.json@@ -0,0 +1,5 @@+{+ "name": "egm",+ "version": "0.1.0",+ "description": "Elephant-Goldfish Model: spec-driven development with deep-context drafting and zero-context Goldfish reviews."+}diff --git a/plugin.json b/plugin.jsonnew file mode 100644index 0000000..b3a9504--- /dev/null+++ b/plugin.json@@ -0,0 +1,4 @@+{+ "name": "egm",+ "description": "Elephant-Goldfish Model: spec-driven development with deep-context drafting and zero-context Goldfish reviews."+}diff --git a/pyproject.toml b/pyproject.tomlnew file mode 100644index 0000000..1d4b0b3--- /dev/null+++ b/pyproject.toml@@ -0,0 +1,20 @@+# Copyright 2026 Google LLC+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# https://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.++[tool.pytest.ini_options]+minversion = "7.0"+testpaths = ["tests/unit"]+python_files = ["test_*.py"]+python_functions = ["test_*"]+addopts = "-ra -q --import-mode=importlib"diff --git a/requirements-dev.txt b/requirements-dev.txtnew file mode 100644index 0000000..7003a3e--- /dev/null+++ b/requirements-dev.txt@@ -0,0 +1,17 @@+# Copyright 2026 Google LLC+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# https://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.++# Development and testing dependencies for EGM Open Source+pytest>=7.4.0+pyyaml>=6.0.1diff --git a/resources/document_standards/feature-spec-standard.md b/resources/document_standards/feature-spec-standard.mdnew file mode 100644index 0000000..04aec52--- /dev/null+++ b/resources/document_standards/feature-spec-standard.md@@ -0,0 +1,36 @@+# Feature Specification Standard++This standard defines the quality bar for high-level feature specifications+before implementation begins.++## Core Principle++A feature specification passes if a competent engineer (or fresh AI session) who+is unfamiliar with the codebase can understand the proposed feature, the+business motivation, and the design trade-offs, and confirm that all major risks+and alternatives have been addressed.++## The Alternatives Rule++The specification must include a **mandatory evaluation of alternatives**. It+fails this standard if it proposes a single path without proving that other+viable designs were considered and rejected for specific, documented reasons+(including, but not limited to, complexity, cost, performance, or scalability).++## Risks & Limits++The specification must explicitly call out its own constraints. It must identify+potential failure modes, security implications, scalability limits, and how they+will be mitigated.++## Requirements (Non-Exhaustive Examples)++The specification must detail these areas if applicable to the changes:++* **Problem Statement**: The business or user problem being solved.+* **Goals & Non-Goals**: What the feature will and will not deliver.+* **Proposed Architecture**: Component layout, data flows, and ecosystem+ integration.+* **Alternatives Considered**: Rejected options and rationale for rejection.+* **Risks & Mitigations**: Identified security, scalability, or complexity+ risks.diff --git a/resources/document_standards/heilmeier-standard.md b/resources/document_standards/heilmeier-standard.mdnew file mode 100644index 0000000..d9e9354--- /dev/null+++ b/resources/document_standards/heilmeier-standard.md@@ -0,0 +1,30 @@+# Heilmeier Catechism Standard++This standard defines the quality bar for project proposals based on the+Heilmeier Catechism.++## Core Principle++A proposal passes if a competent engineer (or fresh AI session) who is+unfamiliar with the project can understand the goals, risks, and value of the+proposed work, and confirm that all catechism questions are answered without+ambiguity.++## Requirements (The Catechism Questions)++To satisfy this standard, the proposal must explicitly and clearly answer the+following questions:++* **Objectives**: What is being attempted? (Must be written with absolutely no+ jargon).+* **State of the Art**: How is it done today, and what are the limits of+ current practice?+* **New Approach**: What is new in the approach, and why is it expected to be+ successful?+* **Impact**: Who cares? If successful, what difference will it make?+* **Risks**: What are the risks and the payoffs?+* **Cost**: How much will it cost in terms of resources, compute, or+ headcount?+* **Timeline**: How long will it take?+* **Metrics & Exams**: What are the mid-term and final "exams" to check for+ success?diff --git a/resources/document_standards/implementation-readiness-standard.md b/resources/document_standards/implementation-readiness-standard.mdnew file mode 100644index 0000000..371dccf--- /dev/null+++ b/resources/document_standards/implementation-readiness-standard.md@@ -0,0 +1,34 @@+# Implementation Readiness Standard++This standard defines the quality bar for implementation plans and task lists.++## Core Principle++A plan passes if a competent engineer (or fresh AI session) who is unfamiliar+with the codebase can execute the plan and produce the correct changes on the+first attempt, without guessing, asking clarifying questions, or making+independent design choices.++## The Zero-Decision Rule++The plan must leave **zero design or architectural choices to the implementer**.+If the implementer must make design choices (including, but not limited to,+choosing a database schema, designing an API path, selecting a dependency, or+deciding how to handle a new edge case), the plan **fails** this standard. All+such decisions must be pre-determined and documented in the plan.++## Phasing & Checkpoints++The plan must partition the work into logical, incremental phases. Each phase+must leave the codebase in a stable, buildable, and testable state.++## Requirements (Non-Exhaustive Examples)++The plan must detail these areas if applicable to the proposed changes:++* **Target Scope**: Explicit list of files to be created, modified, or+ deleted.+* **Actionable Steps**: Precise logic changes, data transformations, and API+ updates for each file.+* **Test Plan**: Specific test cases (happy path and edge cases) that must be+ implemented.diff --git a/resources/document_standards/re-implementation-standard.md b/resources/document_standards/re-implementation-standard.mdnew file mode 100644index 0000000..ff97b3a--- /dev/null+++ b/resources/document_standards/re-implementation-standard.md@@ -0,0 +1,37 @@+# Re-Implementation Standard++This standard defines the quality bar for documenting codebase state.++## Core Principle++A document passes if a competent engineer (or fresh AI session) who is+unfamiliar with the codebase can write functionally identical code on the first+attempt using *only* the document, without guessing or making independent design+choices.++## The Zero-Assumption Rule++The document fails if the reader must guess parameter defaults, assume error+handling, choose design patterns, or infer output schemas. Every behaviorally+significant contract must be explicit.++## Scope of Detail++* **Include**: External contracts (APIs, formats, side-effects), behavioral+ rules (logic, state, errors), and performance constraints.+* **Exclude**: Syntax (loops, variable names), internal code organization+ (private helpers), and non-observable structures (internal collections).++## Requirements (Non-Exhaustive Examples)++Document these areas if applicable to the codebase scope:++* **APIs**: Signatures, types, and expected behavior.+* **Logic**: Control flow, algorithms, and validation.+* **Data**: Schemas, serialization, and state transitions.+* **Side Effects**: Database writes, network calls, logging, and metrics.+* **Dependencies**: System integrations and libraries.+* **Configuration**: Flags, parameters, and hooks.+* **Constraints**: Hardcoded limits and assumptions.+* **Errors**: Edge cases, empty states, and retries.+* **Tests**: Test helpers and mocks (if documenting tests).diff --git a/resources/document_standards/zoom-out-standard.md b/resources/document_standards/zoom-out-standard.mdnew file mode 100644index 0000000..de01edd--- /dev/null+++ b/resources/document_standards/zoom-out-standard.md@@ -0,0 +1,60 @@+# Zoom Out Standard++This standard defines the quality bar for evaluating high-level designs,+architectures, and implementation plans from a high-altitude perspective.++## Core Principle++A design passes if it solves the root problem in the simplest possible way,+leverages existing infrastructure and codebase conventions, avoids premature+optimization or speculative features (YAGNI), and maintains appropriate+abstraction boundaries without getting bogged down in low-level code+implementation details.++## 0. Context Sufficiency (Prerequisite Check)++* **Understanding the Objective**: The document must contain enough+ information to define the overall objective. If the reviewer cannot+ determine *what* we are trying to achieve and *why*, the review must fail+ immediately with a request for context.++## 1. Root Problem Focus++* **Symptom vs. Root Cause**: The design must solve the underlying problem,+ not just apply a local band-aid to symptoms.+* **Project Alignment**: The design must align with the high-level goals and+ architectural philosophy defined in the project's root documentation+ (`README.md` or `context.md`).++## 2. Simplicity & Extensibility++* **YAGNI (You Aren't Gonna Need It)**: Reject abstractions, code paths, or+ features built solely for speculative future requirements.+* **Premature Optimization**: Avoid introducing complexity (caching, sharding,+ async queues) before performance bottlenecks are proven.+* **Minimalist Data Flow**: Ensure data passes through the minimal number of+ components.+* **No Architectural Dead-Ends**: Use clean interfaces and boundaries to allow+ future expansion without blocking it, without implementing speculative+ features now.++## 3. Anti-Weeds (Altitude Control)++* **Premature Detail**: High-level sections must focus on architecture,+ interfaces, and data flows, not code-level implementation details (e.g.,+ helper functions or loop variables).+* **Workarounds vs. Structural Fixes**: Avoid complex local workarounds;+ propose changes to the root component if that is cleaner.+* **Right Placement (Architectural Fit)**: Ensure new logic is placed in the+ correct layer/component according to separation of concerns.++## 4. Leverage Existing++* **Codebase Reuse**: Search the codebase and reuse existing utilities,+ classes, or modules instead of reinventing them. Ensure the candidate for+ reuse is stable, maintained, and does not violate dependency boundaries.+* **Pattern Consistency**: Follow established design patterns in the codebase.+* **Platform Standards**: Use established ecosystem frameworks and standard libraries+ instead of bespoke or ad-hoc custom solutions.+* **Identify Anti-Patterns**: Actively flag known anti-patterns+ (e.g., bypassing standard authentication, hardcoding deployment configurations).diff --git a/resources/execution_instructions.md b/resources/execution_instructions.mdnew file mode 100644index 0000000..af98b00--- /dev/null+++ b/resources/execution_instructions.md@@ -0,0 +1,43 @@+## Execution Instructions++* **NO CODE (SILENT GUARD - CRITICAL)**: You are strictly forbidden from+ writing, modifying, or building any production implementation files (e.g.,+ `.h`, `.cc`, `.py`, `.go`) in the source tree. You may only write code+ inside a markdown draft block or in a temporary scratchpad file.+ * **SILENT ENFORCEMENT (CRITICAL)**: You MUST NOT mention "NO CODE rules",+ "EGM constraints", "forbidden files", "policies", or "adhering to+ constraints" to the user.+ * **NO META-TALK**: You MUST NOT make any meta-commentary about your+ compliance, rules, or execution process. You are strictly forbidden from+ saying things like *"I have ensured no production code was written"*,+ *"preserving the integrity of the design-first approach"*, or saying+ *"this aligns with the technical plan"*. Talk ONLY about the technical+ content and next steps.+ * **Scratchpad Location (CRITICAL)**: You MUST write any temporary+ scratchpad code files ONLY outside the project source tree (e.g.,+ under `/tmp/` or your conversation's active scratch directory). You+ are STRICTLY FORBIDDEN from creating `.h`, `.cc`, `.py`, `.go`, or any+ other code files anywhere inside the project source tree.+ * **HOW TO RESPOND**: If the user asks you to write production code, you+ must fulfill their technical request silently by writing it inside a+ markdown block or scratchpad, and respond in a way that naturally points+ to the design discussion.+* **Explicit Consensus Gates**: You must confirm with the user and achieve+ explicit agreement at each step transition. Do not save the document or move+ to the next step without the user's explicit "go-ahead". Do not move on+ easily. Challenge the user at every step.+* **ONE QUESTION AT A TIME (CRITICAL)**: You are strictly forbidden from+ asking more than one question in a single response. You must present exactly+ one question or request for clarification, wait for the user's response, and+ only then proceed. Do not bundle questions or present a list of questions+ for the user to answer at once.+* **NO SUMMARIES (CRITICAL)**: You MUST NOT include a "Summary of work",+ "Status", "Adherence", or "Rule checklist" in your final response. Respond+ only with the technical content and next steps.+* **Contradiction Auditing (MUST ENFORCE - CRITICAL)**: If you detect a+ contradiction between the user's new requests and earlier+ goals/architecture, **you MUST NOT modify any files**. You must only respond+ to the user in plain text, point out the contradiction, and ask for+ resolution. You are strictly forbidden from planning or executing any+ file-writing/editing tool in the same turn as you discover a contradiction.+diff --git a/site/.gitignore b/site/.gitignorenew file mode 100644index 0000000..ddce69b--- /dev/null+++ b/site/.gitignore@@ -0,0 +1,3 @@+node_modules/+dist/+.astro/diff --git a/site/README.md b/site/README.mdnew file mode 100644index 0000000..9479eb8--- /dev/null+++ b/site/README.md@@ -0,0 +1,55 @@+# egm.dev++Landing site for the Elephant-Goldfish Model, served at https://egm.dev from+GitHub Pages.++| Light | Dark |+| --- | --- |+|  |  |++<details>+<summary>Full page and mobile</summary>++++++</details>++## Stack++- [Astro](https://astro.build) static output, one page, no client framework.+- [gBreeze](https://www.npmjs.com/package/@material/web) (`@material/web`+ `labs/gb`) in its native-element form: the page emits the package's own+ class names (`btn`, `icon-btn`, `list-item`, `badge`, `divider`) and imports the+ package stylesheets. No custom elements, no Lit runtime.+- Google Sans Flex and Google Sans Code, self-hosted under+ `src/assets/fonts/` (OFL).++## Rules++- No analytics, no cookies, no third-party scripts, and no requests to Google+ hosts at runtime. The open-source release depends on it.+- Theme only through gBreeze tokens (`src/styles/tokens.css`) and the+ components' documented custom properties. Do not restyle component boxes.+- Keep skill names and commands identical to the repository README.++## Develop++```sh+npm install+npm run dev # http://localhost:4321+npm run check # astro check+npm run build # writes dist/+npm run capture # rebuilds, then regenerates public/og.png and screenshots/*.png+```++`npm run capture` needs a local Chrome (set `CHROME_PATH` if it is not found).+The social image comes from `scripts/og.html`; edit that file, not the PNG.+Run `npm run capture` after any visible change so the committed images stay in sync.++## Deploy++`.github/workflows/deploy-site.yml` builds and publishes `dist/` on every push+to `main` that touches `site/`, and on manual dispatch. `public/CNAME` pins the+custom domain.diff --git a/site/astro.config.mjs b/site/astro.config.mjsnew file mode 100644index 0000000..1f7f48b--- /dev/null+++ b/site/astro.config.mjs@@ -0,0 +1,52 @@+// @ts-check+import { defineConfig, fontProviders } from 'astro/config';++// Static landing site for https://egm.dev, deployed to GitHub Pages.+// No analytics, no third-party scripts, no requests to Google hosts at runtime.+export default defineConfig({+ site: 'https://egm.dev',+ output: 'static',+ fonts: [+ {+ // Google Sans Flex (OFL), self-hosted so the page never calls fonts.googleapis.com.+ provider: fontProviders.local(),+ name: 'Google Sans Flex',+ cssVariable: '--font-display',+ fallbacks: ['system-ui', 'sans-serif'],+ options: {+ variants: [+ {+ weight: '100 1000',+ style: 'normal',+ display: 'swap',+ src: ['./src/assets/fonts/google-sans-flex.woff2'],+ },+ ],+ },+ },+ {+ provider: fontProviders.local(),+ name: 'Google Sans Code',+ cssVariable: '--font-mono',+ fallbacks: ['ui-monospace', 'SFMono-Regular', 'Menlo', 'monospace'],+ options: {+ variants: [+ {+ weight: '300 800',+ style: 'normal',+ display: 'swap',+ src: ['./src/assets/fonts/google-sans-code.woff2'],+ },+ ],+ },+ },+ ],+ vite: {+ build: {+ // Keep light-dark(), @layer, relative color syntax and @property untouched.+ // The gBreeze stylesheets rely on them and scoped color-scheme flips need+ // light-dark() to survive to the browser.+ cssTarget: 'esnext',+ },+ },+});diff --git a/site/package-lock.json b/site/package-lock.jsonnew file mode 100644index 0000000..62178ff--- /dev/null+++ b/site/package-lock.json@@ -0,0 +1,4843 @@+{+ "name": "egm-site",+ "lockfileVersion": 3,+ "requires": true,+ "packages": {+ "": {+ "name": "egm-site",+ "license": "Apache-2.0",+ "dependencies": {+ "@material/web": "2.5.0",+ "astro": "^7.3.8"+ },+ "devDependencies": {+ "@astrojs/check": "^0.9.4",+ "puppeteer-core": "25.13.0",+ "typescript": "^6.0.3"+ },+ "engines": {+ "node": ">=22.12"+ }+ },+ "node_modules/@astrojs/astro2tsx": {+ "version": "0.1.2",+ "resolved": "https://registry.npmjs.org/@astrojs/astro2tsx/-/astro2tsx-0.1.2.tgz",+ "integrity": "sha512-Uj/M9zbrhu5cIZEvWAGTbQJRKSxXWJ/E59BZwt7F+chrKhbfttW+9rkS/l+1QxoJP1KU3UnpM62M7yszfAI0WA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@emnapi/core": "1.11.3",+ "@napi-rs/wasm-runtime": "1.2.4"+ },+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ }+ },+ "node_modules/@astrojs/check": {+ "version": "0.9.10",+ "resolved": "https://registry.npmjs.org/@astrojs/check/-/check-0.9.10.tgz",+ "integrity": "sha512-zgx/UQMozdjOa3bOxjgeCFdtpE3c9rRX6xHwa+2QXvy8z8Akifu2AtubHyv/zzC2znO8dl8fFWL4K+Ba9kS8HQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@astrojs/language-server": "^2.16.7",+ "chokidar": "^4.0.3",+ "kleur": "^4.1.5",+ "yargs": "^18.0.0"+ },+ "bin": {+ "astro-check": "bin/astro-check.js"+ },+ "peerDependencies": {+ "typescript": "^5.0.0 || ^6.0.0"+ }+ },+ "node_modules/@astrojs/compiler-binding": {+ "version": "0.5.1",+ "resolved": "https://registry.npmjs.org/@astrojs/compiler-binding/-/compiler-binding-0.5.1.tgz",+ "integrity": "sha512-oczyolLUl9mNrtuBuNjuvn5thpHrFLXAHAWGTRg0JDHQ8cGVsVeFekOu2uSoQGgainJIi+A3/9m0DyYwz3Nlnw==",+ "license": "MIT",+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ },+ "optionalDependencies": {+ "@astrojs/compiler-binding-android-arm64": "0.5.1",+ "@astrojs/compiler-binding-darwin-arm64": "0.5.1",+ "@astrojs/compiler-binding-darwin-x64": "0.5.1",+ "@astrojs/compiler-binding-linux-arm64-gnu": "0.5.1",+ "@astrojs/compiler-binding-linux-arm64-musl": "0.5.1",+ "@astrojs/compiler-binding-linux-x64-gnu": "0.5.1",+ "@astrojs/compiler-binding-linux-x64-musl": "0.5.1",+ "@astrojs/compiler-binding-wasm32-wasi": "0.5.1",+ "@astrojs/compiler-binding-win32-arm64-msvc": "0.5.1",+ "@astrojs/compiler-binding-win32-x64-msvc": "0.5.1"+ }+ },+ "node_modules/@astrojs/compiler-binding-android-arm64": {+ "version": "0.5.1",+ "resolved": "https://registry.npmjs.org/@astrojs/compiler-binding-android-arm64/-/compiler-binding-android-arm64-0.5.1.tgz",+ "integrity": "sha512-nMb2nMIJtcWLNH+fV75Enmi+jp4tIOYOfsv4XtpgdOWkqc9P4uSSdK5u1xb340AzrXo5V18SxLl/nc3vcqtamQ==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "android"+ ],+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ }+ },+ "node_modules/@astrojs/compiler-binding-darwin-arm64": {+ "version": "0.5.1",+ "resolved": "https://registry.npmjs.org/@astrojs/compiler-binding-darwin-arm64/-/compiler-binding-darwin-arm64-0.5.1.tgz",+ "integrity": "sha512-5k4+nZ/WRt+dcVow4z7rBuI7iv9A58h/uQ91YJe1PrTivbcCkq3u2Ynx/AZJwII4CsZawBCeGpojkFjutZBhBQ==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ }+ },+ "node_modules/@astrojs/compiler-binding-darwin-x64": {+ "version": "0.5.1",+ "resolved": "https://registry.npmjs.org/@astrojs/compiler-binding-darwin-x64/-/compiler-binding-darwin-x64-0.5.1.tgz",+ "integrity": "sha512-0Buw+YST9Ff2EqQyhRMQujuFq/dijLw3zXWhsvI0dJ2pGrT38iVoxTEca2eBX/PfhlwkVWSRJEKO5gMqKHyeHg==",+ "cpu": [+ "x64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ }+ },+ "node_modules/@astrojs/compiler-binding-linux-arm64-gnu": {+ "version": "0.5.1",+ "resolved": "https://registry.npmjs.org/@astrojs/compiler-binding-linux-arm64-gnu/-/compiler-binding-linux-arm64-gnu-0.5.1.tgz",+ "integrity": "sha512-x5LRpyCoMKuu3INr18cn42YhwSOaRpp9b5Ny3eJJ/sWVeejC16Zeshu1JlvlSmEZACLeWxU5JM0RX6T6nI+YyA==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ }+ },+ "node_modules/@astrojs/compiler-binding-linux-arm64-musl": {+ "version": "0.5.1",+ "resolved": "https://registry.npmjs.org/@astrojs/compiler-binding-linux-arm64-musl/-/compiler-binding-linux-arm64-musl-0.5.1.tgz",+ "integrity": "sha512-mL7tQEuDk3rGfaKmrO63nw6WBy1TPVioQGmVyjcAr+C+a/k3SVMYBytNSMqH9mZPT/Swj30JaZ2N842Z1NnOEQ==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ }+ },+ "node_modules/@astrojs/compiler-binding-linux-x64-gnu": {+ "version": "0.5.1",+ "resolved": "https://registry.npmjs.org/@astrojs/compiler-binding-linux-x64-gnu/-/compiler-binding-linux-x64-gnu-0.5.1.tgz",+ "integrity": "sha512-uLGc9jtxwiDe4cQyhNPQim4ECiB/YzbWlXssfLAv8r374kArfTwBHjwR2+j+XVyF71yCx5mF9YNRclRqdNBgeg==",+ "cpu": [+ "x64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ }+ },+ "node_modules/@astrojs/compiler-binding-linux-x64-musl": {+ "version": "0.5.1",+ "resolved": "https://registry.npmjs.org/@astrojs/compiler-binding-linux-x64-musl/-/compiler-binding-linux-x64-musl-0.5.1.tgz",+ "integrity": "sha512-G0cywinaQUc8v1MrytvYKUX7svTDMmYtOCZfxjwKPbJi59zIqM+Ll0rWgO0GQWLZH3XoPYo19ZwlP3Xt9ep9YA==",+ "cpu": [+ "x64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ }+ },+ "node_modules/@astrojs/compiler-binding-wasm32-wasi": {+ "version": "0.5.1",+ "resolved": "https://registry.npmjs.org/@astrojs/compiler-binding-wasm32-wasi/-/compiler-binding-wasm32-wasi-0.5.1.tgz",+ "integrity": "sha512-yMhLL8asmLydoAdnEZxAw6eLfNDs3YJl6jqn0pjPt6zrb2U5qIDLnii4/twThpIFODKkQ6YDpBRTOz/vSfZCxw==",+ "cpu": [+ "wasm32"+ ],+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "@emnapi/core": "1.11.3",+ "@emnapi/runtime": "1.11.3",+ "@napi-rs/wasm-runtime": "^1.2.4"+ },+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ }+ },+ "node_modules/@astrojs/compiler-binding-win32-arm64-msvc": {+ "version": "0.5.1",+ "resolved": "https://registry.npmjs.org/@astrojs/compiler-binding-win32-arm64-msvc/-/compiler-binding-win32-arm64-msvc-0.5.1.tgz",+ "integrity": "sha512-aClIG6poFt3Wf/bZykrEAX2nAnKvBHW6RXiKUa69QjBtWH0/FOlOAjnFcxRNlhej2AMWNYFx0o+LGjwMcH8P7Q==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ }+ },+ "node_modules/@astrojs/compiler-binding-win32-x64-msvc": {+ "version": "0.5.1",+ "resolved": "https://registry.npmjs.org/@astrojs/compiler-binding-win32-x64-msvc/-/compiler-binding-win32-x64-msvc-0.5.1.tgz",+ "integrity": "sha512-/E6uBCagY70YpWqssBC+/FuniNSloeQPRgj7l3LDWiqjxIyTLnIgX1sTt18FU7jrigetpSnC9cHAM6b6IxSgPw==",+ "cpu": [+ "x64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ }+ },+ "node_modules/@astrojs/compiler-rs": {+ "version": "0.5.1",+ "resolved": "https://registry.npmjs.org/@astrojs/compiler-rs/-/compiler-rs-0.5.1.tgz",+ "integrity": "sha512-1k1acnX7DepIiea9U9/Y+d1hdAFfylu1ZQQkkYgRSwBOBAsXInolyZuh/2tax+83vu/A+hOYP6P3+265RvMTvw==",+ "license": "MIT",+ "dependencies": {+ "@astrojs/compiler-binding": "0.5.1"+ },+ "engines": {+ "node": ">=22.12.0"+ }+ },+ "node_modules/@astrojs/internal-helpers": {+ "version": "0.12.0",+ "resolved": "https://registry.npmjs.org/@astrojs/internal-helpers/-/internal-helpers-0.12.0.tgz",+ "integrity": "sha512-pKPuwCDtO0L7zgmt1JGd9X4Aes1+0SX3IEBSqBNPHsScYdPMlfmed3Y7DTbXyF7E+8ylnb563o/0OzGQPOFehw==",+ "license": "MIT",+ "dependencies": {+ "@types/hast": "^3.0.4",+ "@types/mdast": "^4.0.4",+ "picomatch": "^4.0.4",+ "retext-smartypants": "^6.2.0",+ "shiki": "^4.0.2",+ "smol-toml": "^1.8.0",+ "unified": "^11.0.5",+ "yaml": "^2.9.1"+ }+ },+ "node_modules/@astrojs/language-server": {+ "version": "2.17.1",+ "resolved": "https://registry.npmjs.org/@astrojs/language-server/-/language-server-2.17.1.tgz",+ "integrity": "sha512-gG7bvMVNIXgoSe1pM9dI1HsSDLU1EIc/dSAYQ0DuReLyLkOBjsiqvaRYgQltWaldLxh0bNEqjgreLfjd9OnUxQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@astrojs/astro2tsx": "^0.1.0",+ "@astrojs/yaml2ts": "^0.2.4",+ "@volar/kit": "~2.4.28",+ "@volar/language-core": "~2.4.28",+ "@volar/language-server": "~2.4.28",+ "@volar/language-service": "~2.4.28",+ "muggle-string": "^0.4.1",+ "tinyglobby": "^0.2.17",+ "volar-service-css": "0.0.71",+ "volar-service-emmet": "0.0.71",+ "volar-service-html": "0.0.71",+ "volar-service-prettier": "0.0.71",+ "volar-service-typescript": "0.0.71",+ "volar-service-typescript-twoslash-queries": "0.0.71",+ "volar-service-yaml": "0.0.71",+ "vscode-html-languageservice": "^5.6.2",+ "vscode-uri": "^3.2.0"+ },+ "bin": {+ "astro-ls": "bin/nodeServer.js"+ },+ "peerDependencies": {+ "prettier": "^3.0.0",+ "prettier-plugin-astro": ">=0.11.0"+ },+ "peerDependenciesMeta": {+ "prettier": {+ "optional": true+ },+ "prettier-plugin-astro": {+ "optional": true+ }+ }+ },+ "node_modules/@astrojs/markdown-satteri": {+ "version": "0.4.3",+ "resolved": "https://registry.npmjs.org/@astrojs/markdown-satteri/-/markdown-satteri-0.4.3.tgz",+ "integrity": "sha512-PFbEHPnwUlLvpXd7RXrrKM+j12akF4bG+DSuNuoN+3eiwjOwp4HaPi+QQdbkBV7QEYXmzyKca50OJsmGxhNIUA==",+ "license": "MIT",+ "dependencies": {+ "@astrojs/internal-helpers": "0.12.0",+ "@astrojs/prism": "4.0.2",+ "github-slugger": "^2.0.0",+ "satteri": "^0.10.3"+ }+ },+ "node_modules/@astrojs/prism": {+ "version": "4.0.2",+ "resolved": "https://registry.npmjs.org/@astrojs/prism/-/prism-4.0.2.tgz",+ "integrity": "sha512-KTivpmnz6lDsC6o9H4+DNm2SrE/GHzw8cNAvEJwAvUT+eoaEnn/4NtbDNfRRaxaJHdp15gf+tfHAWiXR4wB3BA==",+ "license": "MIT",+ "dependencies": {+ "prismjs": "^1.30.0"+ },+ "engines": {+ "node": ">=22.12.0"+ }+ },+ "node_modules/@astrojs/telemetry": {+ "version": "3.3.3",+ "resolved": "https://registry.npmjs.org/@astrojs/telemetry/-/telemetry-3.3.3.tgz",+ "integrity": "sha512-C1TLn5sPJr0x4vk56piHWKbnqlEB8BKyte5Y45V02U+D7BGO5eMqZDH5aPjnkXQWJggvmsTXxH03QMZ9NgWLzQ==",+ "license": "MIT",+ "dependencies": {+ "ci-info": "^4.4.0",+ "dset": "^3.1.4",+ "is-docker": "^4.0.0",+ "package-manager-detector": "^1.6.0"+ },+ "engines": {+ "node": "18.20.8 || ^20.3.0 || >=22.0.0"+ }+ },+ "node_modules/@astrojs/yaml2ts": {+ "version": "0.2.4",+ "resolved": "https://registry.npmjs.org/@astrojs/yaml2ts/-/yaml2ts-0.2.4.tgz",+ "integrity": "sha512-8oddpOae35pJsXPQXhTkM0ypfKPskVsh2bCxRtbf7e+/Epw2nReakFYpLKjZMEr75CsoF203PMnCocpfz0s69A==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "yaml": "^2.8.3"+ }+ },+ "node_modules/@babel/helper-string-parser": {+ "version": "7.29.7",+ "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.7.tgz",+ "integrity": "sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==",+ "license": "MIT",+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/@babel/helper-validator-identifier": {+ "version": "7.29.7",+ "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz",+ "integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==",+ "license": "MIT",+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/@babel/parser": {+ "version": "7.29.9",+ "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.9.tgz",+ "integrity": "sha512-CjXrNHTnvqBVqHgdBysY3vk2T8tpJHb5/RMeHJBTyVa9xgugCB0CJTx/3oO8RV2QRQP391RWpB7D6hLjm8V9uA==",+ "license": "MIT",+ "dependencies": {+ "@babel/types": "^7.29.8"+ },+ "bin": {+ "parser": "bin/babel-parser.js"+ },+ "engines": {+ "node": ">=6.0.0"+ }+ },+ "node_modules/@babel/types": {+ "version": "7.29.8",+ "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.8.tgz",+ "integrity": "sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==",+ "license": "MIT",+ "dependencies": {+ "@babel/helper-string-parser": "^7.29.7",+ "@babel/helper-validator-identifier": "^7.29.7"+ },+ "engines": {+ "node": ">=6.9.0"+ }+ },+ "node_modules/@bruits/satteri-darwin-arm64": {+ "version": "0.10.5",+ "resolved": "https://registry.npmjs.org/@bruits/satteri-darwin-arm64/-/satteri-darwin-arm64-0.10.5.tgz",+ "integrity": "sha512-27KTVl4TJkVahMy/ohyA7qd4938G5UNneFUz/PsScYfpIhj0IVAS23mpcJXdPF44sa6nva198lmV/cKIb2YPyA==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "darwin"+ ]+ },+ "node_modules/@bruits/satteri-darwin-x64": {+ "version": "0.10.5",+ "resolved": "https://registry.npmjs.org/@bruits/satteri-darwin-x64/-/satteri-darwin-x64-0.10.5.tgz",+ "integrity": "sha512-IjnLe3nKspq6qaeqGgjT7MT8VrTV74yWRlaag7ZdNsI8TDAYZ0iPxMCo+9KQZHUk5EyVB+reBI/PFWL5KuFw9Q==",+ "cpu": [+ "x64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "darwin"+ ]+ },+ "node_modules/@bruits/satteri-linux-arm64-gnu": {+ "version": "0.10.5",+ "resolved": "https://registry.npmjs.org/@bruits/satteri-linux-arm64-gnu/-/satteri-linux-arm64-gnu-0.10.5.tgz",+ "integrity": "sha512-glkYXZCJywjP13v67eAyAMSJdF+ncvEbYvgi/wOtffL9tQ27lr/zsyzUfgs+ovjJ9d8JNQKiXeiArJcX8PJL9w==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ]+ },+ "node_modules/@bruits/satteri-linux-arm64-musl": {+ "version": "0.10.5",+ "resolved": "https://registry.npmjs.org/@bruits/satteri-linux-arm64-musl/-/satteri-linux-arm64-musl-0.10.5.tgz",+ "integrity": "sha512-yWdgG1g17Nh2QyGVlFUxGRa3FEFwiMcpZEyMNWkbM3deC94cmVc+/i9OuyFpdKuWo3GkgoCtYVOoxk1uCnCZIA==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ]+ },+ "node_modules/@bruits/satteri-linux-x64-gnu": {+ "version": "0.10.5",+ "resolved": "https://registry.npmjs.org/@bruits/satteri-linux-x64-gnu/-/satteri-linux-x64-gnu-0.10.5.tgz",+ "integrity": "sha512-FVaLoPT1fBgGl0J+AYebyyXJYBachGl8Oyyrf1lye4RTqCB4S0Gwkj1uM9RJyThUOvx5VUmAT1CnNh1SFHA+kw==",+ "cpu": [+ "x64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ]+ },+ "node_modules/@bruits/satteri-linux-x64-musl": {+ "version": "0.10.5",+ "resolved": "https://registry.npmjs.org/@bruits/satteri-linux-x64-musl/-/satteri-linux-x64-musl-0.10.5.tgz",+ "integrity": "sha512-EHpVAx2bqW3GINHTKkljtxVfQmVDGWIuwOYOP5YghTj+0PkBa2o8oKPRtQ9Kbsr1Fye8jtUcDjhwj2jMNugZKg==",+ "cpu": [+ "x64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ]+ },+ "node_modules/@bruits/satteri-wasm32-wasi": {+ "version": "0.10.5",+ "resolved": "https://registry.npmjs.org/@bruits/satteri-wasm32-wasi/-/satteri-wasm32-wasi-0.10.5.tgz",+ "integrity": "sha512-ypz8c/Zmipxp4IoeDa228Gstv6TLzVmNs3yC6wKCoNSOjx1iwpgzu87Y3hTkXFdwChVGU85qeUDuOIarGUZQLw==",+ "cpu": [+ "wasm32"+ ],+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "@emnapi/core": "1.11.1",+ "@emnapi/runtime": "1.11.1",+ "@napi-rs/wasm-runtime": "^1.2.3"+ },+ "engines": {+ "node": ">=14.0.0"+ }+ },+ "node_modules/@bruits/satteri-wasm32-wasi/node_modules/@emnapi/core": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.11.1.tgz",+ "integrity": "sha512-RSvbQmHzdKzNsLYa/wHrbc3KN4sYLKAdPZxqiM2HATqv/SBk2/ENSHpvXGaLOMcsAyz0poEGqkmmKYG3OWiJEQ==",+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "@emnapi/wasi-threads": "1.2.2",+ "tslib": "^2.4.0"+ }+ },+ "node_modules/@bruits/satteri-wasm32-wasi/node_modules/@emnapi/runtime": {+ "version": "1.11.1",+ "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.11.1.tgz",+ "integrity": "sha512-vgj7R3y3Wgx24IQaGPA/R6YFXLHVMOZ0uVEyIQPaWs+rd1AzfEMXlAC22FYwO1XkKR6NPsq7mUandH8oIRdZFw==",+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "tslib": "^2.4.0"+ }+ },+ "node_modules/@bruits/satteri-wasm32-wasi/node_modules/@emnapi/wasi-threads": {+ "version": "1.2.2",+ "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.2.tgz",+ "integrity": "sha512-c95qOXkHdydNKhscBTebqEC1CVAZpyqOfVfBzQ1qgzyl3gfeldUjIggDbIZgDKsHLgnsM+igH7TJ/eAasaVuMA==",+ "license": "MIT",+ "optional": true,+ "dependencies": {+ "tslib": "^2.4.0"+ }+ },+ "node_modules/@bruits/satteri-win32-arm64-msvc": {+ "version": "0.10.5",+ "resolved": "https://registry.npmjs.org/@bruits/satteri-win32-arm64-msvc/-/satteri-win32-arm64-msvc-0.10.5.tgz",+ "integrity": "sha512-siTV88nb0LRqNpkL2gXboqCwVdq95sLtzMHS1/3eONV2gLbB3NAK46wmSMvCO/yquBvI2lvaFIfd8P12ecsxBw==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "win32"+ ]+ },+ "node_modules/@bruits/satteri-win32-x64-msvc": {+ "version": "0.10.5",+ "resolved": "https://registry.npmjs.org/@bruits/satteri-win32-x64-msvc/-/satteri-win32-x64-msvc-0.10.5.tgz",+ "integrity": "sha512-C3IfPvfvMXmlzBxaMPKFS1XiuV9pu2mC7YqkPk7PSvTgPZ8gbdASIpHpztDLvTTQjqZ0z1Ol8tK5X+V6XXC0wQ==",+ "cpu": [+ "x64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "win32"+ ]+ },+ "node_modules/@capsizecss/unpack": {+ "version": "4.0.1",+ "resolved": "https://registry.npmjs.org/@capsizecss/unpack/-/unpack-4.0.1.tgz",+ "integrity": "sha512-CuNiSqg7+e1cO/GjffyMOm5Tt2jUF9CWHHnvQ/UkqvtkGfHdgwEC0wpmq7fkN3gxwpRnrAN0WzO3vREKmNolMQ==",+ "license": "MIT",+ "dependencies": {+ "fontkitten": "^1.0.3"+ },+ "engines": {+ "node": ">=18"+ }+ },+ "node_modules/@clack/core": {+ "version": "1.5.1",+ "resolved": "https://registry.npmjs.org/@clack/core/-/core-1.5.1.tgz",+ "integrity": "sha512-iHTrHA8MtVuLl2TfZySmcKv1qO2PoyC9Z7pfSDozEuV5vtY3/wcOPKJXlqJ5Oq2Cx5DDGQGAMVx6HZfRRoVEbQ==",+ "license": "MIT",+ "dependencies": {+ "fast-wrap-ansi": "^0.2.0",+ "sisteransi": "^1.0.5"+ },+ "engines": {+ "node": ">= 20.12.0"+ }+ },+ "node_modules/@clack/prompts": {+ "version": "1.8.1",+ "resolved": "https://registry.npmjs.org/@clack/prompts/-/prompts-1.8.1.tgz",+ "integrity": "sha512-dlT1m5e/0yUL0kRNcQn7yGLVThkgbB0Ga/1AmfDDC/8ik6AIiSf2QLQO2zPYvefsHP0aFgxO93cVLCCfDp7kzQ==",+ "license": "MIT",+ "dependencies": {+ "@clack/core": "1.5.1",+ "fast-string-width": "^3.0.2",+ "fast-wrap-ansi": "^0.2.0",+ "sisteransi": "^1.0.5"+ },+ "engines": {+ "node": ">= 20.12.0"+ }+ },+ "node_modules/@emmetio/abbreviation": {+ "version": "2.3.3",+ "resolved": "https://registry.npmjs.org/@emmetio/abbreviation/-/abbreviation-2.3.3.tgz",+ "integrity": "sha512-mgv58UrU3rh4YgbE/TzgLQwJ3pFsHHhCLqY20aJq+9comytTXUDNGG/SMtSeMJdkpxgXSXunBGLD8Boka3JyVA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@emmetio/scanner": "^1.0.4"+ }+ },+ "node_modules/@emmetio/css-abbreviation": {+ "version": "2.1.8",+ "resolved": "https://registry.npmjs.org/@emmetio/css-abbreviation/-/css-abbreviation-2.1.8.tgz",+ "integrity": "sha512-s9yjhJ6saOO/uk1V74eifykk2CBYi01STTK3WlXWGOepyKa23ymJ053+DNQjpFcy1ingpaO7AxCcwLvHFY9tuw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@emmetio/scanner": "^1.0.4"+ }+ },+ "node_modules/@emmetio/css-parser": {+ "version": "0.4.1",+ "resolved": "https://registry.npmjs.org/@emmetio/css-parser/-/css-parser-0.4.1.tgz",+ "integrity": "sha512-2bC6m0MV/voF4CTZiAbG5MWKbq5EBmDPKu9Sb7s7nVcEzNQlrZP6mFFFlIaISM8X6514H9shWMme1fCm8cWAfQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@emmetio/stream-reader": "^2.2.0",+ "@emmetio/stream-reader-utils": "^0.1.0"+ }+ },+ "node_modules/@emmetio/html-matcher": {+ "version": "1.3.0",+ "resolved": "https://registry.npmjs.org/@emmetio/html-matcher/-/html-matcher-1.3.0.tgz",+ "integrity": "sha512-NTbsvppE5eVyBMuyGfVu2CRrLvo7J4YHb6t9sBFLyY03WYhXET37qA4zOYUjBWFCRHO7pS1B9khERtY0f5JXPQ==",+ "dev": true,+ "license": "ISC",+ "dependencies": {+ "@emmetio/scanner": "^1.0.0"+ }+ },+ "node_modules/@emmetio/scanner": {+ "version": "1.0.4",+ "resolved": "https://registry.npmjs.org/@emmetio/scanner/-/scanner-1.0.4.tgz",+ "integrity": "sha512-IqRuJtQff7YHHBk4G8YZ45uB9BaAGcwQeVzgj/zj8/UdOhtQpEIupUhSk8dys6spFIWVZVeK20CzGEnqR5SbqA==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/@emmetio/stream-reader": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/@emmetio/stream-reader/-/stream-reader-2.2.0.tgz",+ "integrity": "sha512-fXVXEyFA5Yv3M3n8sUGT7+fvecGrZP4k6FnWWMSZVQf69kAq0LLpaBQLGcPR30m3zMmKYhECP4k/ZkzvhEW5kw==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/@emmetio/stream-reader-utils": {+ "version": "0.1.0",+ "resolved": "https://registry.npmjs.org/@emmetio/stream-reader-utils/-/stream-reader-utils-0.1.0.tgz",+ "integrity": "sha512-ZsZ2I9Vzso3Ho/pjZFsmmZ++FWeEd/txqybHTm4OgaZzdS8V9V/YYWQwg5TC38Z7uLWUV1vavpLLbjJtKubR1A==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/@emnapi/core": {+ "version": "1.11.3",+ "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.11.3.tgz",+ "integrity": "sha512-zLpS5asjEb7lq8jYLq37N6XKaE41DIexlY1rF/z4/tIl3wo13Sqm28fRyfIsKZD+NZ8mM5RoKkpW/rBcuoSZSg==",+ "devOptional": true,+ "license": "MIT",+ "dependencies": {+ "@emnapi/wasi-threads": "1.2.3",+ "tslib": "^2.4.0"+ }+ },+ "node_modules/@emnapi/runtime": {+ "version": "1.11.3",+ "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.11.3.tgz",+ "integrity": "sha512-Xz4Tpyki7XyrpbUK1jR1AhdAdaXyhhY4lZ3neLodmhpuWfy2PAQN5B46sAiU4liOXGLkHypn/qU+jvfWSCYYLA==",+ "devOptional": true,+ "license": "MIT",+ "dependencies": {+ "tslib": "^2.4.0"+ }+ },+ "node_modules/@emnapi/wasi-threads": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.3.tgz",+ "integrity": "sha512-ELEBe8PsLvvJ6QMr0zLt8ffvOHW/dc1m3CEzNMg7aJUv3bMaoDtw2TXyDAwkYBuroxxuHEwhRTLJSe5sya547g==",+ "devOptional": true,+ "license": "MIT",+ "dependencies": {+ "tslib": "^2.4.0"+ }+ },+ "node_modules/@img/colour": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/@img/colour/-/colour-1.1.0.tgz",+ "integrity": "sha512-Td76q7j57o/tLVdgS746cYARfSyxk8iEfRxewL9h4OMzYhbW4TAcppl0mT4eyqXddh6L/jwoM75mo7ixa/pCeQ==",+ "license": "MIT",+ "optional": true,+ "engines": {+ "node": ">=18"+ }+ },+ "node_modules/@img/sharp-darwin-arm64": {+ "version": "0.35.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.35.5.tgz",+ "integrity": "sha512-QRUlFQ0WxvdWyqqG/WtI3iupfD5rBzmCHXSdPsY91sAtVtTo7Q4cb6zOccZ3gqEqkr0f1As1ehLqmEpDsRf+lg==",+ "cpu": [+ "arm64"+ ],+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": ">=20.9.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-darwin-arm64": "1.3.4"+ }+ },+ "node_modules/@img/sharp-darwin-x64": {+ "version": "0.35.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.35.5.tgz",+ "integrity": "sha512-+BR255RhDlpygUpOc/Jdt1nT6DQ3XG/ERo5wbcdOf5Q320dKtPCKPLR1LJs9VGXRaMa8l1uUa0tkCNOXiAxZUw==",+ "cpu": [+ "x64"+ ],+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": ">=20.9.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-darwin-x64": "1.3.4"+ }+ },+ "node_modules/@img/sharp-freebsd-wasm32": {+ "version": "0.35.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-freebsd-wasm32/-/sharp-freebsd-wasm32-0.35.5.tgz",+ "integrity": "sha512-Y/z91nEZ4uIBX5X3nfTovjU9lHNKFYbL2lpHCLVNmXQK03VIZvXBBt0KxbPGp2SdGSF+2mQU4e+hQaWOt86iAw==",+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "freebsd"+ ],+ "dependencies": {+ "@img/sharp-wasm32": "0.35.5"+ },+ "engines": {+ "node": ">=20.9.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-darwin-arm64": {+ "version": "1.3.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.3.4.tgz",+ "integrity": "sha512-5R89nBYiRdUlSWJxPhO+GVtaXzXSxKnRu/xqMn3KTA3L9EB9Oy/P+Nn2f2vlhPuUdy/Zusb2DarbyTpGCfEDuw==",+ "cpu": [+ "arm64"+ ],+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "darwin"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-darwin-x64": {+ "version": "1.3.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.3.4.tgz",+ "integrity": "sha512-iR2OKH80yi0U+dUplyh3/xdpFvps6YkCwsXenIJxqxR1v9o+xtKTGbS9H7cps+2Vxjc8B1j96p75NmTGjIhtpQ==",+ "cpu": [+ "x64"+ ],+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "darwin"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-linux-arm": {+ "version": "1.3.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.3.4.tgz",+ "integrity": "sha512-LmRtTsOHuvM2+wlO2Db37dx5MiZhB0FvSunciw48YjdOkZz9KAiRbm8ujeMOA1INqmei5NapFxYEK1D1ZSidmw==",+ "cpu": [+ "arm"+ ],+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "linux"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-linux-arm64": {+ "version": "1.3.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.3.4.tgz",+ "integrity": "sha512-Y3dgX/6lE2QhQb+Gxy0WZxfg9MEm/JBjamZpS2IklP7xIQoKN4hzAm7KcMVGtaVDt3neE9OKBC7vAfonA/Lr1A==",+ "cpu": [+ "arm64"+ ],+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "linux"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-linux-ppc64": {+ "version": "1.3.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-ppc64/-/sharp-libvips-linux-ppc64-1.3.4.tgz",+ "integrity": "sha512-Le6boB8Tai0Nis+gIxIpKx68UDVVIqdR8Tin5Yf1z2LJJQLDJvCDRqRu+jC2qCoD+eIomonmOwB4smBRxfVpYQ==",+ "cpu": [+ "ppc64"+ ],+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "linux"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-linux-riscv64": {+ "version": "1.3.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-riscv64/-/sharp-libvips-linux-riscv64-1.3.4.tgz",+ "integrity": "sha512-aHkkIEHPRdQEegJN20MLmGtxYD9R2wQr3Cwpddnu5+YKMt6Uzax7S9h5gpZTo8wyrGuZSlfQ63OevL5mTyOC7Q==",+ "cpu": [+ "riscv64"+ ],+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "linux"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-linux-s390x": {+ "version": "1.3.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-s390x/-/sharp-libvips-linux-s390x-1.3.4.tgz",+ "integrity": "sha512-ra/mB6MikESDUO7Yg+Mi95bFBb9GsObURuhnOv3OqknjGe9sZrG8tCe9q0xSIGrtLgvgw0gKnFWcK4blSgQOuQ==",+ "cpu": [+ "s390x"+ ],+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "linux"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-linux-x64": {+ "version": "1.3.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.3.4.tgz",+ "integrity": "sha512-GJ//SSXbnwSDes02umB3nDJLFcQzw8a18V8fyhqr6tV515tOEMdImjjxj1AoafMRz56F3PHgftnj1QEKSU1zkw==",+ "cpu": [+ "x64"+ ],+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "linux"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-linuxmusl-arm64": {+ "version": "1.3.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.3.4.tgz",+ "integrity": "sha512-hvulFwtjUcagsis6BBxHwGFwWoNZjgYmULGVrZcyfNbjA8hKILbRxGg15/7w5HDyXHXUos/j6baAWqnCyQ2DWA==",+ "cpu": [+ "arm64"+ ],+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "linux"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-libvips-linuxmusl-x64": {+ "version": "1.3.4",+ "resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.3.4.tgz",+ "integrity": "sha512-6zXKeE/p39I1AmA3cJG35eyBGNqNddLnUXjhwBnsGjFPWqf5VKkDBEqaEkPDoTEtkxwi2vv8Tcr2mDyP4So7Fg==",+ "cpu": [+ "x64"+ ],+ "license": "LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "linux"+ ],+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-linux-arm": {+ "version": "0.35.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.35.5.tgz",+ "integrity": "sha512-LEaXK2WdXVK5ykcw0buWyPMsmLLL2vpHLD6yrNSW+JGEL3BZPA4tpKN6iaMc4AxTTAoaX/sU1rOL51lcIz48ZQ==",+ "cpu": [+ "arm"+ ],+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">=20.9.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-linux-arm": "1.3.4"+ }+ },+ "node_modules/@img/sharp-linux-arm64": {+ "version": "0.35.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.35.5.tgz",+ "integrity": "sha512-LYVx5JTsOM2CBzmxreh+nl64/3H6Xb09iSLknqH47z2T2DFFxDeFLP5y4dJwe6H7uGQlHPyEEtIqyo3DYsRwdQ==",+ "cpu": [+ "arm64"+ ],+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">=20.9.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-linux-arm64": "1.3.4"+ }+ },+ "node_modules/@img/sharp-linux-ppc64": {+ "version": "0.35.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-ppc64/-/sharp-linux-ppc64-0.35.5.tgz",+ "integrity": "sha512-QVxAAq8evVRI9ia2vqgwrmWucn5Dfv+JdWzj75pD8omHLPSP7f8p20O8jxzjCcuCEQEOtYOZUmX1hkiZ0kdevA==",+ "cpu": [+ "ppc64"+ ],+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">=20.9.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-linux-ppc64": "1.3.4"+ }+ },+ "node_modules/@img/sharp-linux-riscv64": {+ "version": "0.35.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-riscv64/-/sharp-linux-riscv64-0.35.5.tgz",+ "integrity": "sha512-LtdreXguaavKODPIfzJ4kffx7UNt1omwtK0rch4EBbbSTXPnxWmYSayXdLJw0fJzQ97kHt1gL/yh4tvU+nCyRQ==",+ "cpu": [+ "riscv64"+ ],+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">=20.9.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-linux-riscv64": "1.3.4"+ }+ },+ "node_modules/@img/sharp-linux-s390x": {+ "version": "0.35.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-s390x/-/sharp-linux-s390x-0.35.5.tgz",+ "integrity": "sha512-UZasTOFiYzotTsGOCu42BfUzP6Tu6Do/947iRm1RsLKvlllxwGcn4RN27LibGWceix4Y+Pmw3jsnTcCQIgWjqA==",+ "cpu": [+ "s390x"+ ],+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">=20.9.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-linux-s390x": "1.3.4"+ }+ },+ "node_modules/@img/sharp-linux-x64": {+ "version": "0.35.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.35.5.tgz",+ "integrity": "sha512-SxFtLTeJInhAA9Q836kux2vZNeOBQEx658qvbboZScr0wIARym3IcGmW7KpVD5sbVg0Ojy+udFQdayYIZyoNog==",+ "cpu": [+ "x64"+ ],+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">=20.9.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-linux-x64": "1.3.4"+ }+ },+ "node_modules/@img/sharp-linuxmusl-arm64": {+ "version": "0.35.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.35.5.tgz",+ "integrity": "sha512-9HbMclmI1zlNkFRs3z9/eBtDjfD0sGlrX1z6b1qwmiFY5ElDLh4BC0LPBdVp7z1DXFiKlIcznf+ZlsuZzLxQqg==",+ "cpu": [+ "arm64"+ ],+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">=20.9.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-linuxmusl-arm64": "1.3.4"+ }+ },+ "node_modules/@img/sharp-linuxmusl-x64": {+ "version": "0.35.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.35.5.tgz",+ "integrity": "sha512-4KOphqB035HrVdqLZfCgMzzERrQkkzOwRhl4OAkRO1YCldbaFjySXMaK534Mo0V+LndnlJk+sbUyLeU0ULyD1A==",+ "cpu": [+ "x64"+ ],+ "license": "Apache-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">=20.9.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-libvips-linuxmusl-x64": "1.3.4"+ }+ },+ "node_modules/@img/sharp-wasm32": {+ "version": "0.35.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-wasm32/-/sharp-wasm32-0.35.5.tgz",+ "integrity": "sha512-Ptsga1su4tQx+LLF1ECS9U6nz5kmrXKo6XVbtR48Ke3ZRxxgaWBu7IDtEe1quo8hiupwm6WFqxVlXaSf7IINGQ==",+ "license": "Apache-2.0 AND LGPL-3.0-or-later AND MIT",+ "optional": true,+ "dependencies": {+ "@emnapi/runtime": "^1.11.3"+ },+ "engines": {+ "node": ">=20.9.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-webcontainers-wasm32": {+ "version": "0.35.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-webcontainers-wasm32/-/sharp-webcontainers-wasm32-0.35.5.tgz",+ "integrity": "sha512-hfhF/FmoQyTUkA0bIKFOtw536BQSeBMe6BF6QyWlrPxT754+TFLaZ7sKKTfvvM0yJgKgaYTwnFCIZ/GuDw5SUA==",+ "cpu": [+ "wasm32"+ ],+ "license": "Apache-2.0",+ "optional": true,+ "dependencies": {+ "@img/sharp-wasm32": "0.35.5"+ },+ "engines": {+ "node": ">=20.9.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-win32-arm64": {+ "version": "0.35.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-arm64/-/sharp-win32-arm64-0.35.5.tgz",+ "integrity": "sha512-X4t7g+7ZA5DKblCBEXGjUqqemj4vczING/5viFwAL8h4N3qYeyjwdCvRLHi4EdOUI+2Z7UFlp1VM+p/AuEtm6Q==",+ "cpu": [+ "arm64"+ ],+ "license": "Apache-2.0 AND LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": ">=20.9.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-win32-ia32": {+ "version": "0.35.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-ia32/-/sharp-win32-ia32-0.35.5.tgz",+ "integrity": "sha512-5Zm82LoBc43nhwNybZlG7Y1KO//Zhsn306fQl29ZOuStHLGTo3BWL83q3cznX0poxSAMuYL1On/BHBxkBeKr6A==",+ "cpu": [+ "ia32"+ ],+ "license": "Apache-2.0 AND LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": "^20.9.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@img/sharp-win32-x64": {+ "version": "0.35.5",+ "resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.35.5.tgz",+ "integrity": "sha512-x76eH0vEiHlcMQu8Y8IenntaACtddpT6W0wmXtWrnKcnKI7ME5DdgqhAD6SEWOEl1v2zDvkZDhFA9KnURwpfqg==",+ "cpu": [+ "x64"+ ],+ "license": "Apache-2.0 AND LGPL-3.0-or-later",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": ">=20.9.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ }+ },+ "node_modules/@jridgewell/sourcemap-codec": {+ "version": "1.6.0",+ "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.6.0.tgz",+ "integrity": "sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==",+ "license": "MIT"+ },+ "node_modules/@lit-labs/ssr-dom-shim": {+ "version": "1.6.0",+ "resolved": "https://registry.npmjs.org/@lit-labs/ssr-dom-shim/-/ssr-dom-shim-1.6.0.tgz",+ "integrity": "sha512-VHb0ALPMTlgKjM6yIxxoQNnpKyUKLD04VzeQdsiXkMqkvYlAHxq9glGLmgbb889/1GsohSOAjvQYoiBppXFqrQ==",+ "license": "BSD-3-Clause"+ },+ "node_modules/@lit/context": {+ "version": "1.1.6",+ "resolved": "https://registry.npmjs.org/@lit/context/-/context-1.1.6.tgz",+ "integrity": "sha512-M26qDE6UkQbZA2mQ3RjJ3Gzd8TxP+/0obMgE5HfkfLhEEyYE3Bui4A5XHiGPjy0MUGAyxB3QgVuw2ciS0kHn6A==",+ "license": "BSD-3-Clause",+ "dependencies": {+ "@lit/reactive-element": "^1.6.2 || ^2.1.0"+ }+ },+ "node_modules/@lit/reactive-element": {+ "version": "2.1.2",+ "resolved": "https://registry.npmjs.org/@lit/reactive-element/-/reactive-element-2.1.2.tgz",+ "integrity": "sha512-pbCDiVMnne1lYUIaYNN5wrwQXDtHaYtg7YEFPeW+hws6U47WeFvISGUWekPGKWOP1ygrs0ef0o1VJMk1exos5A==",+ "license": "BSD-3-Clause",+ "dependencies": {+ "@lit-labs/ssr-dom-shim": "^1.5.0"+ }+ },+ "node_modules/@material/web": {+ "version": "2.5.0",+ "resolved": "https://registry.npmjs.org/@material/web/-/web-2.5.0.tgz",+ "integrity": "sha512-x2Uovyq8E/Zc1xHXd9s1eBMXF5pMHVAt70pISKd0fL3Ajj4L6zQaQUY/awcfR2RDAMKXC7i4+vr0arv1YaOR/g==",+ "license": "Apache-2.0",+ "workspaces": [+ "catalog"+ ],+ "dependencies": {+ "@lit/context": "^1.1.6",+ "lit": "^2.8.0 || ^3.0.0",+ "tslib": "^2.4.0"+ }+ },+ "node_modules/@napi-rs/wasm-runtime": {+ "version": "1.2.4",+ "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.2.4.tgz",+ "integrity": "sha512-AJxoUD2/15ESHbvpcyjU274nsAPLuOtPHCk0vKJM5pj//Fg/B1FXNWjPnXTT9PymCYYiHo4zPj0ZomXBKhoy7g==",+ "devOptional": true,+ "license": "MIT",+ "dependencies": {+ "@tybys/wasm-util": "^0.10.3"+ },+ "engines": {+ "node": "^20.19.0 || ^22.13.0 || >=23.5.0"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/Brooooooklyn"+ },+ "peerDependencies": {+ "@emnapi/core": "^1.7.1 || ^2.0.0-alpha.4",+ "@emnapi/runtime": "^1.7.1 || ^2.0.0-alpha.4"+ }+ },+ "node_modules/@oslojs/encoding": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/@oslojs/encoding/-/encoding-1.1.0.tgz",+ "integrity": "sha512-70wQhgYmndg4GCPxPPxPGevRKqTIJ2Nh4OkiMWmDAVYsTQ+Ta7Sq+rPevXyXGdzr30/qZBnyOalCszoMxlyldQ==",+ "license": "MIT"+ },+ "node_modules/@oxc-project/types": {+ "version": "0.152.0",+ "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.152.0.tgz",+ "integrity": "sha512-oM/5rLBm2tPkg0iBgkH/FOeR3PCDpY19GTgAZjMFM8h9WI9VW7cLgzp6nwtarYKmovavIQZ+Fe/RKX/8C8O/Rw==",+ "license": "MIT",+ "funding": {+ "url": "https://github.com/sponsors/oxc-project"+ }+ },+ "node_modules/@puppeteer/browsers": {+ "version": "3.2.4",+ "resolved": "https://registry.npmjs.org/@puppeteer/browsers/-/browsers-3.2.4.tgz",+ "integrity": "sha512-okJ6yQMc0SBexOKxMi966omwAV1uAPwgF/YMZdb04gZQPXVjWHl9bmXjZYtIcsN1+PN3Bz4iFfGK3g+c6lZJ0Q==",+ "dev": true,+ "license": "Apache-2.0",+ "dependencies": {+ "modern-tar": "^0.8.5",+ "yargs": "^18.0.0"+ },+ "bin": {+ "browsers": "lib/main-cli.js"+ },+ "engines": {+ "node": ">=22.12.0"+ },+ "peerDependencies": {+ "proxy-agent": ">=8.0.1",+ "yauzl": "^2.10.0 || ^3.4.0"+ },+ "peerDependenciesMeta": {+ "proxy-agent": {+ "optional": true+ },+ "yauzl": {+ "optional": true+ }+ }+ },+ "node_modules/@rolldown/binding-android-arm-eabi": {+ "version": "1.2.12",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm-eabi/-/binding-android-arm-eabi-1.2.12.tgz",+ "integrity": "sha512-dB/a1214qKfHMXCpgqR4OZT+jS4kTyEXbQGJPqzobt5EwH5rX080pxE37alt3RzvR1bf1Yz/yGqRfrYAxuPw0A==",+ "cpu": [+ "arm"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "android"+ ],+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ }+ },+ "node_modules/@rolldown/binding-android-arm64": {+ "version": "1.2.12",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-android-arm64/-/binding-android-arm64-1.2.12.tgz",+ "integrity": "sha512-7KHFgQ5VJxIHcLlrwrc3Xbds7oTNQT7Pgi9gQCJKrd2VGab/UksIOYp6VD8MzCstGxOKMgNamPwUCfxPdP1OHg==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "android"+ ],+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ }+ },+ "node_modules/@rolldown/binding-darwin-arm64": {+ "version": "1.2.12",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-arm64/-/binding-darwin-arm64-1.2.12.tgz",+ "integrity": "sha512-3YIhqHD96nA5SaYNRBR16HnGv4oavZvXfD/ayHM+oYZ0WD/8lBAtf6zQua4kEyAvpqrluKXl0lnOBoiNby7x9w==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ }+ },+ "node_modules/@rolldown/binding-darwin-x64": {+ "version": "1.2.12",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-darwin-x64/-/binding-darwin-x64-1.2.12.tgz",+ "integrity": "sha512-UuuJ35MFw4gmFOrE9pEqIV+K3syIKveph+Qc1/ljHZVdoDW4pz/JHR/eMVom+TZGl/5OOvGJOWaOCVt3ZfqhxA==",+ "cpu": [+ "x64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ }+ },+ "node_modules/@rolldown/binding-freebsd-x64": {+ "version": "1.2.12",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-freebsd-x64/-/binding-freebsd-x64-1.2.12.tgz",+ "integrity": "sha512-uMvssit0a4W+/7D8CbHUvG719mH3R2jwXAlh/XcPvuHTE0g++LymF88DCGNX0HM2rBOn0xrzgXktIB6fLSJBTQ==",+ "cpu": [+ "x64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "freebsd"+ ],+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ }+ },+ "node_modules/@rolldown/binding-linux-arm-gnueabihf": {+ "version": "1.2.12",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm-gnueabihf/-/binding-linux-arm-gnueabihf-1.2.12.tgz",+ "integrity": "sha512-XcFu0R0xWnwzSf4IQgFH1rJIckPN1pLy2R+4r9IDB7Yfu/ys9cVqfa4pBrMHj7a3gl8mIR4nRNPg0e5IvEVs6g==",+ "cpu": [+ "arm"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ }+ },+ "node_modules/@rolldown/binding-linux-arm64-gnu": {+ "version": "1.2.12",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-gnu/-/binding-linux-arm64-gnu-1.2.12.tgz",+ "integrity": "sha512-260UrKgn8tz39ak+SMDOirKzr7V04M9dWPw5llW00SwBivCZoWcRBKV1d8cXnRkUmSZA3BdiUmBHWk7734Ulpw==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ }+ },+ "node_modules/@rolldown/binding-linux-arm64-musl": {+ "version": "1.2.12",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-arm64-musl/-/binding-linux-arm64-musl-1.2.12.tgz",+ "integrity": "sha512-5YK1I9SqDkbPgc1IA8BgDl34suqUS2q0KWnBrirm0E51YjOs6eo6dV6jbQfNE/argHRSvd0QUGgtpIoYx+WWpw==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ }+ },+ "node_modules/@rolldown/binding-linux-ppc64-gnu": {+ "version": "1.2.12",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-ppc64-gnu/-/binding-linux-ppc64-gnu-1.2.12.tgz",+ "integrity": "sha512-Rkcrmp7eFRg74yL5fXEU91JEWbdEPLevWwGtXpmhbjlD1StScbWTmO94Bhly+Mo+ketKYkdmM1vNUKeWSlx8cQ==",+ "cpu": [+ "ppc64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ }+ },+ "node_modules/@rolldown/binding-linux-s390x-gnu": {+ "version": "1.2.12",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-s390x-gnu/-/binding-linux-s390x-gnu-1.2.12.tgz",+ "integrity": "sha512-qvK4DuAsQc2BSjlx+Xr+IzOIvvxbGZqxFwdWfG6F518Erj0GGISyQbJ6pIappnOxlNPzNHvo/L0BwB30GZ+zVw==",+ "cpu": [+ "s390x"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ }+ },+ "node_modules/@rolldown/binding-linux-x64-gnu": {+ "version": "1.2.12",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-gnu/-/binding-linux-x64-gnu-1.2.12.tgz",+ "integrity": "sha512-Q9uLBO53Xd4QIq1WOycVQyPP1O4HhraEV2qqb3uTrnVw6QZih9duY4vNXOivL1xoUS1/z+W8eF4NMfl2a8Sdjw==",+ "cpu": [+ "x64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ }+ },+ "node_modules/@rolldown/binding-linux-x64-musl": {+ "version": "1.2.12",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-linux-x64-musl/-/binding-linux-x64-musl-1.2.12.tgz",+ "integrity": "sha512-3IBxWFMjbOZskDPKv8Lf9BCnahlKuHthWkYnyIxOH/QcJrFcS4EmcenthApkwr/5+nEqZlLzeYbxeMaX7A5u4g==",+ "cpu": [+ "x64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ }+ },+ "node_modules/@rolldown/binding-openharmony-arm64": {+ "version": "1.2.12",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-openharmony-arm64/-/binding-openharmony-arm64-1.2.12.tgz",+ "integrity": "sha512-xtX61xg4LKPkPWilZU1ynKClz5Gj4bf74LML4r3eVLWumKnGjoEr1OSHQhMdbBDoYTi+yjrujvpZe2pUnqCrrA==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "openharmony"+ ],+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ }+ },+ "node_modules/@rolldown/binding-win32-arm64-msvc": {+ "version": "1.2.12",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-arm64-msvc/-/binding-win32-arm64-msvc-1.2.12.tgz",+ "integrity": "sha512-At7fPB6PCaIjzgIhEZFxuT+BBFqiQibJDT4d3PhiR3f4E7bbMZF4aKblbFfEM3sETRDd1YiQx/+U/g/B/ou5Ew==",+ "cpu": [+ "arm64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ }+ },+ "node_modules/@rolldown/binding-win32-x64-msvc": {+ "version": "1.2.12",+ "resolved": "https://registry.npmjs.org/@rolldown/binding-win32-x64-msvc/-/binding-win32-x64-msvc-1.2.12.tgz",+ "integrity": "sha512-WIw2haVKwjuYdXkHaoC0mF8Le71TuCBxjrdKqLbJGctbBABj+ClfmNvtbOnzpq3RokNo5+V1qhtSzJyXorsklQ==",+ "cpu": [+ "x64"+ ],+ "license": "MIT",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ }+ },+ "node_modules/@rolldown/pluginutils": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.1.tgz",+ "integrity": "sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==",+ "license": "MIT"+ },+ "node_modules/@shikijs/core": {+ "version": "4.5.0",+ "resolved": "https://registry.npmjs.org/@shikijs/core/-/core-4.5.0.tgz",+ "integrity": "sha512-6CIgwq+bt2JZ3OSjb/nBkkwEf/CfpHcbam+Mg5Pllco7HAGRQ2/EFhZrrJtbyNTgKwknfVS+llsXGygiDGwJWw==",+ "license": "MIT",+ "dependencies": {+ "@shikijs/primitive": "4.5.0",+ "@shikijs/types": "4.5.0",+ "@shikijs/vscode-textmate": "^10.0.2",+ "@types/hast": "^3.0.5",+ "hast-util-to-html": "^9.0.5"+ },+ "engines": {+ "node": ">=20"+ }+ },+ "node_modules/@shikijs/engine-javascript": {+ "version": "4.5.0",+ "resolved": "https://registry.npmjs.org/@shikijs/engine-javascript/-/engine-javascript-4.5.0.tgz",+ "integrity": "sha512-Ed6UdEj84LyYkwnxM5CvSMWAD+id9ExTYri0/+x41U9zrgNifPSS9lZm0JqBP0VfYI8yr8tY5nbNq9+p9R0kFA==",+ "license": "MIT",+ "dependencies": {+ "@shikijs/types": "4.5.0",+ "@shikijs/vscode-textmate": "^10.0.2",+ "oniguruma-to-es": "^4.3.6"+ },+ "engines": {+ "node": ">=20"+ }+ },+ "node_modules/@shikijs/engine-oniguruma": {+ "version": "4.5.0",+ "resolved": "https://registry.npmjs.org/@shikijs/engine-oniguruma/-/engine-oniguruma-4.5.0.tgz",+ "integrity": "sha512-dKVmbJecVdB9recl8a/CU4jdpNXyjJQrIcesIkpS70s5HS02ohpnCSpMUbotPnEUzbAcLQ+S4hwZYbkBBiTcJw==",+ "license": "MIT",+ "dependencies": {+ "@shikijs/types": "4.5.0",+ "@shikijs/vscode-textmate": "^10.0.2"+ },+ "engines": {+ "node": ">=20"+ }+ },+ "node_modules/@shikijs/langs": {+ "version": "4.5.0",+ "resolved": "https://registry.npmjs.org/@shikijs/langs/-/langs-4.5.0.tgz",+ "integrity": "sha512-wwBTqwduXSz0X4v9Qa2EWeFaYJEw1clCncWjoRNQRbVDu3SPRTRWucnouYapKj3b8Q+sk/41Vbc4B5c8nuYzLA==",+ "license": "MIT",+ "dependencies": {+ "@shikijs/types": "4.5.0"+ },+ "engines": {+ "node": ">=20"+ }+ },+ "node_modules/@shikijs/primitive": {+ "version": "4.5.0",+ "resolved": "https://registry.npmjs.org/@shikijs/primitive/-/primitive-4.5.0.tgz",+ "integrity": "sha512-UM7ShlA8oz0OWxLLO8BmO9Ip6fVqdkt8yF0EH7nOCqHfrx1eEAzF0ZUVK7L+I8NEgeu1PEWSRlxaiPPeCb4iDg==",+ "license": "MIT",+ "dependencies": {+ "@shikijs/types": "4.5.0",+ "@shikijs/vscode-textmate": "^10.0.2",+ "@types/hast": "^3.0.5"+ },+ "engines": {+ "node": ">=20"+ }+ },+ "node_modules/@shikijs/themes": {+ "version": "4.5.0",+ "resolved": "https://registry.npmjs.org/@shikijs/themes/-/themes-4.5.0.tgz",+ "integrity": "sha512-zGb87H3UBbpuI4yoh5UguB1XbU+2BDU3kflM7UfZ+Cy2hWo9lBtqjSVK20gmLY6ukYl040hAypGXMgud9vul8Q==",+ "license": "MIT",+ "dependencies": {+ "@shikijs/types": "4.5.0"+ },+ "engines": {+ "node": ">=20"+ }+ },+ "node_modules/@shikijs/types": {+ "version": "4.5.0",+ "resolved": "https://registry.npmjs.org/@shikijs/types/-/types-4.5.0.tgz",+ "integrity": "sha512-drtPrtD8N0DENyD2cyt6Ajy+IWsiCLgMxODwLTpvH1UsN6a9jf90tNTPjqwHvA+0Lzu9e0txk8DjfqH1p9UJRw==",+ "license": "MIT",+ "dependencies": {+ "@shikijs/vscode-textmate": "^10.0.2",+ "@types/hast": "^3.0.5"+ },+ "engines": {+ "node": ">=20"+ }+ },+ "node_modules/@shikijs/vscode-textmate": {+ "version": "10.0.2",+ "resolved": "https://registry.npmjs.org/@shikijs/vscode-textmate/-/vscode-textmate-10.0.2.tgz",+ "integrity": "sha512-83yeghZ2xxin3Nj8z1NMd/NCuca+gsYXswywDy5bHvwlWL8tpTQmzGeUuHd9FC3E/SBEMvzJRwWEOz5gGes9Qg==",+ "license": "MIT"+ },+ "node_modules/@tybys/wasm-util": {+ "version": "0.10.4",+ "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.4.tgz",+ "integrity": "sha512-W3c4gRigFS0T/Ma4qIYF3GDAc5AQdHb1yL5znJT1Zv1YaD9Kitx656wBjvr19qbiosmZT8lWDM5BEMynUqX65A==",+ "devOptional": true,+ "license": "MIT",+ "dependencies": {+ "tslib": "^2.4.0"+ }+ },+ "node_modules/@types/estree": {+ "version": "1.0.9",+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz",+ "integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==",+ "license": "MIT"+ },+ "node_modules/@types/estree-jsx": {+ "version": "1.0.5",+ "resolved": "https://registry.npmjs.org/@types/estree-jsx/-/estree-jsx-1.0.5.tgz",+ "integrity": "sha512-52CcUVNFyfb1A2ALocQw/Dd1BQFNmSdkuC3BkZ6iqhdMfQz7JWOFRuJFloOzjk+6WijU56m9oKXFAXc7o3Towg==",+ "license": "MIT",+ "dependencies": {+ "@types/estree": "*"+ }+ },+ "node_modules/@types/hast": {+ "version": "3.0.5",+ "resolved": "https://registry.npmjs.org/@types/hast/-/hast-3.0.5.tgz",+ "integrity": "sha512-rp/ezSWaD1m44dPKICGhiskI13nVr7qTloFwDa/IYkhhf5nzwP+zIQcIJh3WIFSBOy/H1PzB40jPjMDksN4F+g==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "*"+ }+ },+ "node_modules/@types/mdast": {+ "version": "4.0.4",+ "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-4.0.4.tgz",+ "integrity": "sha512-kGaNbPh1k7AFzgpud/gMdvIm5xuECykRR+JnWKQno9TAXVa6WIVCGTPvYGekIDL4uwCZQSYbUxNBSb1aUo79oA==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "*"+ }+ },+ "node_modules/@types/nlcst": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/@types/nlcst/-/nlcst-2.0.3.tgz",+ "integrity": "sha512-vSYNSDe6Ix3q+6Z7ri9lyWqgGhJTmzRjZRqyq15N0Z/1/UnVsno9G/N40NBijoYx2seFDIl0+B2mgAb9mezUCA==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "*"+ }+ },+ "node_modules/@types/trusted-types": {+ "version": "2.0.7",+ "resolved": "https://registry.npmjs.org/@types/trusted-types/-/trusted-types-2.0.7.tgz",+ "integrity": "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw==",+ "license": "MIT"+ },+ "node_modules/@types/unist": {+ "version": "3.0.3",+ "resolved": "https://registry.npmjs.org/@types/unist/-/unist-3.0.3.tgz",+ "integrity": "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==",+ "license": "MIT"+ },+ "node_modules/@ungap/structured-clone": {+ "version": "1.4.0",+ "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.4.0.tgz",+ "integrity": "sha512-1mEZtMKPM09vDmQt5y7YvmN2+DFTP7Tg0EWXdic8/C6VRnpb33e4ghisCIE3WZjsE2N8mf+QV1Zqh7ZFYLWInQ==",+ "license": "ISC"+ },+ "node_modules/@volar/kit": {+ "version": "2.4.28",+ "resolved": "https://registry.npmjs.org/@volar/kit/-/kit-2.4.28.tgz",+ "integrity": "sha512-cKX4vK9dtZvDRaAzeoUdaAJEew6IdxHNCRrdp5Kvcl6zZOqb6jTOfk3kXkIkG3T7oTFXguEMt5+9ptyqYR84Pg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@volar/language-service": "2.4.28",+ "@volar/typescript": "2.4.28",+ "typesafe-path": "^0.2.2",+ "vscode-languageserver-textdocument": "^1.0.11",+ "vscode-uri": "^3.0.8"+ },+ "peerDependencies": {+ "typescript": "*"+ }+ },+ "node_modules/@volar/language-core": {+ "version": "2.4.28",+ "resolved": "https://registry.npmjs.org/@volar/language-core/-/language-core-2.4.28.tgz",+ "integrity": "sha512-w4qhIJ8ZSitgLAkVay6AbcnC7gP3glYM3fYwKV3srj8m494E3xtrCv6E+bWviiK/8hs6e6t1ij1s2Endql7vzQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@volar/source-map": "2.4.28"+ }+ },+ "node_modules/@volar/language-server": {+ "version": "2.4.28",+ "resolved": "https://registry.npmjs.org/@volar/language-server/-/language-server-2.4.28.tgz",+ "integrity": "sha512-NqcLnE5gERKuS4PUFwlhMxf6vqYo7hXtbMFbViXcbVkbZ905AIVWhnSo0ZNBC2V127H1/2zP7RvVOVnyITFfBw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@volar/language-core": "2.4.28",+ "@volar/language-service": "2.4.28",+ "@volar/typescript": "2.4.28",+ "path-browserify": "^1.0.1",+ "request-light": "^0.7.0",+ "vscode-languageserver": "^9.0.1",+ "vscode-languageserver-protocol": "^3.17.5",+ "vscode-languageserver-textdocument": "^1.0.11",+ "vscode-uri": "^3.0.8"+ }+ },+ "node_modules/@volar/language-service": {+ "version": "2.4.28",+ "resolved": "https://registry.npmjs.org/@volar/language-service/-/language-service-2.4.28.tgz",+ "integrity": "sha512-Rh/wYCZJrI5vCwMk9xyw/Z+MsWxlJY1rmMZPsxUoJKfzIRjS/NF1NmnuEcrMbEVGja00aVpCsInJfixQTMdvLw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@volar/language-core": "2.4.28",+ "vscode-languageserver-protocol": "^3.17.5",+ "vscode-languageserver-textdocument": "^1.0.11",+ "vscode-uri": "^3.0.8"+ }+ },+ "node_modules/@volar/source-map": {+ "version": "2.4.28",+ "resolved": "https://registry.npmjs.org/@volar/source-map/-/source-map-2.4.28.tgz",+ "integrity": "sha512-yX2BDBqJkRXfKw8my8VarTyjv48QwxdJtvRgUpNE5erCsgEUdI2DsLbpa+rOQVAJYshY99szEcRDmyHbF10ggQ==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/@volar/typescript": {+ "version": "2.4.28",+ "resolved": "https://registry.npmjs.org/@volar/typescript/-/typescript-2.4.28.tgz",+ "integrity": "sha512-Ja6yvWrbis2QtN4ClAKreeUZPVYMARDYZl9LMEv1iQ1QdepB6wn0jTRxA9MftYmYa4DQ4k/DaSZpFPUfxl8giw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@volar/language-core": "2.4.28",+ "path-browserify": "^1.0.1",+ "vscode-uri": "^3.0.8"+ }+ },+ "node_modules/@vscode/emmet-helper": {+ "version": "2.11.0",+ "resolved": "https://registry.npmjs.org/@vscode/emmet-helper/-/emmet-helper-2.11.0.tgz",+ "integrity": "sha512-QLxjQR3imPZPQltfbWRnHU6JecWTF1QSWhx3GAKQpslx7y3Dp6sIIXhKjiUJ/BR9FX8PVthjr9PD6pNwOJfAzw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "emmet": "^2.4.3",+ "jsonc-parser": "^2.3.0",+ "vscode-languageserver-textdocument": "^1.0.1",+ "vscode-languageserver-types": "^3.15.1",+ "vscode-uri": "^3.0.8"+ }+ },+ "node_modules/@vscode/emmet-helper/node_modules/jsonc-parser": {+ "version": "2.3.1",+ "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-2.3.1.tgz",+ "integrity": "sha512-H8jvkz1O50L3dMZCsLqiuB2tA7muqbSg1AtGEkN0leAqGjsUzDJir3Zwr02BhqdcITPg3ei3mZ+HjMocAknhhg==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/@vscode/l10n": {+ "version": "0.0.18",+ "resolved": "https://registry.npmjs.org/@vscode/l10n/-/l10n-0.0.18.tgz",+ "integrity": "sha512-KYSIHVmslkaCDyw013pphY+d7x1qV8IZupYfeIfzNA+nsaWHbn5uPuQRvdRFsa9zFzGeudPuoGoZ1Op4jrJXIQ==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/ajv": {+ "version": "8.20.0",+ "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.20.0.tgz",+ "integrity": "sha512-Thbli+OlOj+iMPYFBVBfJ3OmCAnaSyNn4M1vz9T6Gka5Jt9ba/HIR56joy65tY6kx/FCF5VXNB819Y7/GUrBGA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "fast-deep-equal": "^3.1.3",+ "fast-uri": "^3.0.1",+ "json-schema-traverse": "^1.0.0",+ "require-from-string": "^2.0.2"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/epoberezkin"+ }+ },+ "node_modules/ajv-draft-04": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/ajv-draft-04/-/ajv-draft-04-1.0.0.tgz",+ "integrity": "sha512-mv00Te6nmYbRp5DCwclxtt7yV/joXJPGS7nM+97GdxvuttCOfgI3K4U25zboyeX0O+myI8ERluxQe5wljMmVIw==",+ "dev": true,+ "license": "MIT",+ "peerDependencies": {+ "ajv": "^8.5.0"+ },+ "peerDependenciesMeta": {+ "ajv": {+ "optional": true+ }+ }+ },+ "node_modules/ajv-i18n": {+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/ajv-i18n/-/ajv-i18n-4.2.0.tgz",+ "integrity": "sha512-v/ei2UkCEeuKNXh8RToiFsUclmU+G57LO1Oo22OagNMENIw+Yb8eMwvHu7Vn9fmkjJyv6XclhJ8TbuigSglPkg==",+ "dev": true,+ "license": "MIT",+ "peerDependencies": {+ "ajv": "^8.0.0-beta.0"+ }+ },+ "node_modules/am-i-vibing": {+ "version": "0.5.0",+ "resolved": "https://registry.npmjs.org/am-i-vibing/-/am-i-vibing-0.5.0.tgz",+ "integrity": "sha512-KLcsDhqf1XRrJmJr+9I/C0EX2K+sGrAGZFgkmd84c8TJO9zJBu+/kFInjazu1KfJWFhWDKdRWkpBzEs7s35DVA==",+ "license": "MIT",+ "dependencies": {+ "process-ancestry": "^0.1.0"+ },+ "bin": {+ "am-i-vibing": "dist/cli.mjs"+ }+ },+ "node_modules/ansi-regex": {+ "version": "6.4.0",+ "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.4.0.tgz",+ "integrity": "sha512-KzTVk2tCWAHtYrvvvaP8bJKJq2pVinhLcGEQdtLIYPbmNGNyYe8QwNaTUYQp2J7/vIsUKt5QCqAfUkYyG9DkOw==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/chalk/ansi-regex?sponsor=1"+ }+ },+ "node_modules/ansi-styles": {+ "version": "6.2.3",+ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz",+ "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/chalk/ansi-styles?sponsor=1"+ }+ },+ "node_modules/anymatch": {+ "version": "3.1.3",+ "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz",+ "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==",+ "license": "ISC",+ "dependencies": {+ "normalize-path": "^3.0.0",+ "picomatch": "^2.0.4"+ },+ "engines": {+ "node": ">= 8"+ }+ },+ "node_modules/anymatch/node_modules/picomatch": {+ "version": "2.3.2",+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz",+ "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==",+ "license": "MIT",+ "engines": {+ "node": ">=8.6"+ },+ "funding": {+ "url": "https://github.com/sponsors/jonschlinkert"+ }+ },+ "node_modules/aria-query": {+ "version": "5.3.2",+ "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-5.3.2.tgz",+ "integrity": "sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==",+ "license": "Apache-2.0",+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/astro": {+ "version": "7.3.8",+ "resolved": "https://registry.npmjs.org/astro/-/astro-7.3.8.tgz",+ "integrity": "sha512-LHzDHSaV+YzZiR3EFndDYTLLeNeuMtP1qX1FLcCNUUHOCqTTIWPczy2UV3zpA5VqvJe5cWZolqM9Z8JFqR2i9w==",+ "license": "MIT",+ "dependencies": {+ "@astrojs/compiler-rs": "^0.5.1",+ "@astrojs/internal-helpers": "0.12.0",+ "@astrojs/markdown-satteri": "0.4.3",+ "@astrojs/telemetry": "3.3.3",+ "@capsizecss/unpack": "^4.0.1",+ "@clack/prompts": "^1.8.1",+ "@oslojs/encoding": "^1.1.0",+ "am-i-vibing": "^0.5.0",+ "aria-query": "^5.3.2",+ "axobject-query": "^4.1.0",+ "ci-info": "^4.4.0",+ "clsx": "^2.1.1",+ "common-ancestor-path": "^2.0.0",+ "cookie": "^2.0.1",+ "devalue": "^5.9.4",+ "diff": "^9.0.0",+ "dset": "^3.1.4",+ "es-module-lexer": "^3.0.2",+ "find-proc": "0.2.0",+ "flattie": "^1.1.1",+ "fontace": "~0.4.1",+ "get-tsconfig": "5.0.0-beta.6",+ "github-slugger": "^2.0.0",+ "html-escaper": "3.0.3",+ "http-cache-semantics": "^4.2.0",+ "jsonc-parser": "^3.3.1",+ "magic-string": "^1.4.2",+ "magicast": "^0.5.5",+ "mrmime": "^2.0.1",+ "neotraverse": "^1.0.1",+ "obug": "^3.0.0",+ "p-limit": "^7.3.3",+ "p-queue": "^9.3.3",+ "package-manager-detector": "^1.8.0",+ "piccolore": "^0.1.3",+ "picomatch": "^4.0.7",+ "rolldown": "^1.2.11",+ "shiki": "^4.4.3",+ "smol-toml": "^1.9.0",+ "svgo": "^4.1.0",+ "tinyclip": "^1.0.3",+ "tinyexec": "^1.3.1",+ "tinyglobby": "^0.2.17",+ "ultrahtml": "^1.7.0",+ "unifont": "~0.7.5",+ "unstorage": "^1.17.5",+ "verkit": "^0.5.0",+ "vite": "^8.3.1",+ "vitefu": "^1.1.3",+ "xxhash-wasm": "^1.1.0",+ "yargs-parser": "^22.0.0",+ "zod": "^4.6.5"+ },+ "bin": {+ "astro": "bin/astro.mjs"+ },+ "engines": {+ "node": ">=22.12.0",+ "npm": ">=9.6.5",+ "pnpm": ">=7.1.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/astrodotbuild"+ },+ "optionalDependencies": {+ "sharp": "^0.35.4"+ },+ "peerDependencies": {+ "@astrojs/markdown-remark": "^7.3.0"+ },+ "peerDependenciesMeta": {+ "@astrojs/markdown-remark": {+ "optional": true+ }+ }+ },+ "node_modules/axobject-query": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-4.1.0.tgz",+ "integrity": "sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ==",+ "license": "Apache-2.0",+ "engines": {+ "node": ">= 0.4"+ }+ },+ "node_modules/bail": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/bail/-/bail-2.0.2.tgz",+ "integrity": "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/boolbase": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz",+ "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==",+ "license": "ISC"+ },+ "node_modules/ccount": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/ccount/-/ccount-2.0.1.tgz",+ "integrity": "sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/character-entities-html4": {+ "version": "2.1.0",+ "resolved": "https://registry.npmjs.org/character-entities-html4/-/character-entities-html4-2.1.0.tgz",+ "integrity": "sha512-1v7fgQRj6hnSwFpq1Eu0ynr/CDEw0rXo2B61qXrLNdHZmPKgb7fqS1a2JwF0rISo9q77jDI8VMEHoApn8qDoZA==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/character-entities-legacy": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/character-entities-legacy/-/character-entities-legacy-3.0.0.tgz",+ "integrity": "sha512-RpPp0asT/6ufRm//AJVwpViZbGM/MkjQFxJccQRHmISF/22NBtsHqAWmL+/pmkPWoIUJdWyeVleTl1wydHATVQ==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/chokidar": {+ "version": "4.0.3",+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz",+ "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "readdirp": "^4.0.1"+ },+ "engines": {+ "node": ">= 14.16.0"+ },+ "funding": {+ "url": "https://paulmillr.com/funding/"+ }+ },+ "node_modules/chromium-bidi": {+ "version": "157.0.8090-0",+ "resolved": "https://registry.npmjs.org/chromium-bidi/-/chromium-bidi-157.0.8090-0.tgz",+ "integrity": "sha512-KJw7IQgqXwxpJgJlEIPg5mr2ZoqA+jkTRtc5EABI7sUJ3bu3cpI7NuEBoj4Gn1AsF78CaT9So5WQWspK3/wYag==",+ "dev": true,+ "license": "Apache-2.0",+ "dependencies": {+ "mitt": "^3.0.1",+ "zod": "^4.6.5"+ },+ "engines": {+ "node": ">=20.19.0 <22.0.0 || >=22.12.0"+ },+ "peerDependencies": {+ "devtools-protocol": "*"+ }+ },+ "node_modules/ci-info": {+ "version": "4.4.0",+ "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-4.4.0.tgz",+ "integrity": "sha512-77PSwercCZU2Fc4sX94eF8k8Pxte6JAwL4/ICZLFjJLqegs7kCuAsqqj/70NQF6TvDpgFjkubQB2FW2ZZddvQg==",+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/sibiraj-s"+ }+ ],+ "license": "MIT",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/cliui": {+ "version": "9.0.1",+ "resolved": "https://registry.npmjs.org/cliui/-/cliui-9.0.1.tgz",+ "integrity": "sha512-k7ndgKhwoQveBL+/1tqGJYNz097I7WOvwbmmU2AR5+magtbjPWQTS1C5vzGkBC8Ym8UWRzfKUzUUqFLypY4Q+w==",+ "dev": true,+ "license": "ISC",+ "dependencies": {+ "string-width": "^7.2.0",+ "strip-ansi": "^7.1.0",+ "wrap-ansi": "^9.0.0"+ },+ "engines": {+ "node": ">=20"+ }+ },+ "node_modules/cliui/node_modules/string-width": {+ "version": "7.2.0",+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz",+ "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "emoji-regex": "^10.3.0",+ "get-east-asian-width": "^1.0.0",+ "strip-ansi": "^7.1.0"+ },+ "engines": {+ "node": ">=18"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/clsx": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz",+ "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==",+ "license": "MIT",+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/comma-separated-tokens": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz",+ "integrity": "sha512-Fu4hJdvzeylCfQPp9SGWidpzrMs7tTrlu6Vb8XGaRGck8QSNZJJp538Wrb60Lax4fPwR64ViY468OIUTbRlGZg==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/commander": {+ "version": "11.1.0",+ "resolved": "https://registry.npmjs.org/commander/-/commander-11.1.0.tgz",+ "integrity": "sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==",+ "license": "MIT",+ "engines": {+ "node": ">=16"+ }+ },+ "node_modules/common-ancestor-path": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/common-ancestor-path/-/common-ancestor-path-2.0.0.tgz",+ "integrity": "sha512-dnN3ibLeoRf2HNC+OlCiNc5d2zxbLJXOtiZUudNFSXZrNSydxcCsSpRzXwfu7BBWCIfHPw+xTayeBvJCP/D8Ng==",+ "license": "BlueOak-1.0.0",+ "engines": {+ "node": ">= 18"+ }+ },+ "node_modules/cookie": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/cookie/-/cookie-2.0.1.tgz",+ "integrity": "sha512-yuToqVvRrj6pfDXREyQAAv8SkAEk/8GS3jQRTiUMm66TVtBYmqQeoEjL2Lmq8Rpo6271vH76InTChTitEAm65w==",+ "license": "MIT",+ "engines": {+ "node": ">=22"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/express"+ }+ },+ "node_modules/cookie-es": {+ "version": "1.2.3",+ "resolved": "https://registry.npmjs.org/cookie-es/-/cookie-es-1.2.3.tgz",+ "integrity": "sha512-lXVyvUvrNXblMqzIRrxHb57UUVmqsSWlxqt3XIjCkUP0wDAf6uicO6KMbEgYrMNtEvWgWHwe42CKxPu9MYAnWw==",+ "license": "MIT"+ },+ "node_modules/crossws": {+ "version": "0.3.5",+ "resolved": "https://registry.npmjs.org/crossws/-/crossws-0.3.5.tgz",+ "integrity": "sha512-ojKiDvcmByhwa8YYqbQI/hg7MEU0NC03+pSdEq4ZUnZR9xXpwk7E43SMNGkn+JxJGPFtNvQ48+vV2p+P1ml5PA==",+ "license": "MIT",+ "dependencies": {+ "uncrypto": "^0.1.3"+ }+ },+ "node_modules/css-select": {+ "version": "6.0.0",+ "resolved": "https://registry.npmjs.org/css-select/-/css-select-6.0.0.tgz",+ "integrity": "sha512-rZZVSLle8v0+EY8QAkDWrKhpgt6SA5OtHsgBnsj6ZaLb5dmDVOWUDtQitd9ydxxvEjhewNudS6eTVU7uOyzvXw==",+ "license": "BSD-2-Clause",+ "dependencies": {+ "boolbase": "^1.0.0",+ "css-what": "^7.0.0",+ "domhandler": "^5.0.3",+ "domutils": "^3.2.2",+ "nth-check": "^2.1.1"+ },+ "funding": {+ "url": "https://github.com/sponsors/fb55"+ }+ },+ "node_modules/css-tree": {+ "version": "3.2.1",+ "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-3.2.1.tgz",+ "integrity": "sha512-X7sjQzceUhu1u7Y/ylrRZFU2FS6LRiFVp6rKLPg23y3x3c3DOKAwuXGDp+PAGjh6CSnCjYeAul8pcT8bAl+lSA==",+ "license": "MIT",+ "dependencies": {+ "mdn-data": "2.27.1",+ "source-map-js": "^1.2.1"+ },+ "engines": {+ "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0"+ }+ },+ "node_modules/css-what": {+ "version": "7.0.0",+ "resolved": "https://registry.npmjs.org/css-what/-/css-what-7.0.0.tgz",+ "integrity": "sha512-wD5oz5xibMOPHzy13CyGmogB3phdvcDaB5t0W/Nr5Z2O/agcB8YwOz6e2Lsp10pNDzBoDO9nVa3RGs/2BttpHQ==",+ "license": "BSD-2-Clause",+ "engines": {+ "node": ">= 6"+ },+ "funding": {+ "url": "https://github.com/sponsors/fb55"+ }+ },+ "node_modules/csso": {+ "version": "5.0.5",+ "resolved": "https://registry.npmjs.org/csso/-/csso-5.0.5.tgz",+ "integrity": "sha512-0LrrStPOdJj+SPCCrGhzryycLjwcgUSHBtxNA8aIDxf0GLsRh1cKYhB00Gd1lDOS4yGH69+SNn13+TWbVHETFQ==",+ "license": "MIT",+ "dependencies": {+ "css-tree": "~2.2.0"+ },+ "engines": {+ "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0",+ "npm": ">=7.0.0"+ }+ },+ "node_modules/csso/node_modules/css-tree": {+ "version": "2.2.1",+ "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-2.2.1.tgz",+ "integrity": "sha512-OA0mILzGc1kCOCSJerOeqDxDQ4HOh+G8NbOJFOTgOCzpw7fCBubk0fEyxp8AgOL/jvLgYA/uV0cMbe43ElF1JA==",+ "license": "MIT",+ "dependencies": {+ "mdn-data": "2.0.28",+ "source-map-js": "^1.0.1"+ },+ "engines": {+ "node": "^10 || ^12.20.0 || ^14.13.0 || >=15.0.0",+ "npm": ">=7.0.0"+ }+ },+ "node_modules/csso/node_modules/mdn-data": {+ "version": "2.0.28",+ "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.28.tgz",+ "integrity": "sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g==",+ "license": "CC0-1.0"+ },+ "node_modules/defu": {+ "version": "6.1.7",+ "resolved": "https://registry.npmjs.org/defu/-/defu-6.1.7.tgz",+ "integrity": "sha512-7z22QmUWiQ/2d0KkdYmANbRUVABpZ9SNYyH5vx6PZ+nE5bcC0l7uFvEfHlyld/HcGBFTL536ClDt3DEcSlEJAQ==",+ "license": "MIT"+ },+ "node_modules/dequal": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/dequal/-/dequal-2.0.3.tgz",+ "integrity": "sha512-0je+qPKHEMohvfRTCEo3CrPG6cAzAYgmzKyxRiYSSDkS6eGJdyVJm7WaYA5ECaAD9wLB2T4EEeymA5aFVcYXCA==",+ "license": "MIT",+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/destr": {+ "version": "2.0.5",+ "resolved": "https://registry.npmjs.org/destr/-/destr-2.0.5.tgz",+ "integrity": "sha512-ugFTXCtDZunbzasqBxrK93Ik/DRYsO6S/fedkWEMKqt04xZ4csmnmwGDBAb07QWNaGMAmnTIemsYZCksjATwsA==",+ "license": "MIT"+ },+ "node_modules/detect-libc": {+ "version": "2.1.2",+ "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz",+ "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==",+ "license": "Apache-2.0",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/devalue": {+ "version": "5.9.4",+ "resolved": "https://registry.npmjs.org/devalue/-/devalue-5.9.4.tgz",+ "integrity": "sha512-sPAT4pztbu6586/hrhOnMKS17IJrvg12mXiSPSS3W5qDeN2RGgvZ0diZCm31dBbnevfVmujNO3IM2wrS4Y2Rhg==",+ "license": "MIT"+ },+ "node_modules/devlop": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/devlop/-/devlop-1.1.0.tgz",+ "integrity": "sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==",+ "license": "MIT",+ "dependencies": {+ "dequal": "^2.0.0"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/devtools-protocol": {+ "version": "0.0.1696802",+ "resolved": "https://registry.npmjs.org/devtools-protocol/-/devtools-protocol-0.0.1696802.tgz",+ "integrity": "sha512-FO5/SENfvc2K8wRnWQflKcwuoTH4dBkXCWTQ9ebIWtuX8JM5+ZvCotaEmkfh21pO7TvIKGTM3hG4xFiq9WTwmg==",+ "dev": true,+ "license": "BSD-3-Clause"+ },+ "node_modules/diff": {+ "version": "9.0.0",+ "resolved": "https://registry.npmjs.org/diff/-/diff-9.0.0.tgz",+ "integrity": "sha512-svtcdpS8CgJyqAjEQIXdb3OjhFVVYjzGAPO8WGCmRbrml64SPw/jJD4GoE98aR7r25A0XcgrK3F02yw9R/vhQw==",+ "license": "BSD-3-Clause",+ "engines": {+ "node": ">=0.3.1"+ }+ },+ "node_modules/dom-serializer": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz",+ "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==",+ "license": "MIT",+ "dependencies": {+ "domelementtype": "^2.3.0",+ "domhandler": "^5.0.2",+ "entities": "^4.2.0"+ },+ "funding": {+ "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1"+ }+ },+ "node_modules/domelementtype": {+ "version": "2.3.0",+ "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz",+ "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==",+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/fb55"+ }+ ],+ "license": "BSD-2-Clause"+ },+ "node_modules/domhandler": {+ "version": "5.0.3",+ "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz",+ "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==",+ "license": "BSD-2-Clause",+ "dependencies": {+ "domelementtype": "^2.3.0"+ },+ "engines": {+ "node": ">= 4"+ },+ "funding": {+ "url": "https://github.com/fb55/domhandler?sponsor=1"+ }+ },+ "node_modules/domutils": {+ "version": "3.2.2",+ "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.2.2.tgz",+ "integrity": "sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw==",+ "license": "BSD-2-Clause",+ "dependencies": {+ "dom-serializer": "^2.0.0",+ "domelementtype": "^2.3.0",+ "domhandler": "^5.0.3"+ },+ "funding": {+ "url": "https://github.com/fb55/domutils?sponsor=1"+ }+ },+ "node_modules/dset": {+ "version": "3.1.4",+ "resolved": "https://registry.npmjs.org/dset/-/dset-3.1.4.tgz",+ "integrity": "sha512-2QF/g9/zTaPDc3BjNcVTGoBbXBgYfMTTceLaYcFJ/W9kggFUkhxD/hMEeuLKbugyef9SqAx8cpgwlIP/jinUTA==",+ "license": "MIT",+ "engines": {+ "node": ">=4"+ }+ },+ "node_modules/emmet": {+ "version": "2.4.11",+ "resolved": "https://registry.npmjs.org/emmet/-/emmet-2.4.11.tgz",+ "integrity": "sha512-23QPJB3moh/U9sT4rQzGgeyyGIrcM+GH5uVYg2C6wZIxAIJq7Ng3QLT79tl8FUwDXhyq9SusfknOrofAKqvgyQ==",+ "dev": true,+ "license": "MIT",+ "workspaces": [+ "./packages/scanner",+ "./packages/abbreviation",+ "./packages/css-abbreviation",+ "./"+ ],+ "dependencies": {+ "@emmetio/abbreviation": "^2.3.3",+ "@emmetio/css-abbreviation": "^2.1.8"+ }+ },+ "node_modules/emoji-regex": {+ "version": "10.6.0",+ "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-10.6.0.tgz",+ "integrity": "sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/entities": {+ "version": "4.5.0",+ "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz",+ "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==",+ "license": "BSD-2-Clause",+ "engines": {+ "node": ">=0.12"+ },+ "funding": {+ "url": "https://github.com/fb55/entities?sponsor=1"+ }+ },+ "node_modules/es-module-lexer": {+ "version": "3.0.3",+ "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-3.0.3.tgz",+ "integrity": "sha512-yWGe1O/j+almnV4hOYrmZo8u58JdnmXEMneRQAYkWtqSiT86yoMIEKF4rpqEDj52tbYl3xceBD3DQIBwcsC9Pw==",+ "license": "MIT"+ },+ "node_modules/escalade": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz",+ "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/eventemitter3": {+ "version": "5.0.4",+ "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-5.0.4.tgz",+ "integrity": "sha512-mlsTRyGaPBjPedk6Bvw+aqbsXDtoAyAzm5MO7JgU+yVRyMQ5O8bD4Kcci7BS85f93veegeCPkL8R4GLClnjLFw==",+ "license": "MIT"+ },+ "node_modules/extend": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",+ "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==",+ "license": "MIT"+ },+ "node_modules/fast-deep-equal": {+ "version": "3.1.3",+ "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",+ "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/fast-string-truncated-width": {+ "version": "3.0.3",+ "resolved": "https://registry.npmjs.org/fast-string-truncated-width/-/fast-string-truncated-width-3.0.3.tgz",+ "integrity": "sha512-0jjjIEL6+0jag3l2XWWizO64/aZVtpiGE3t0Zgqxv0DPuxiMjvB3M24fCyhZUO4KomJQPj3LTSUnDP3GpdwC0g==",+ "license": "MIT"+ },+ "node_modules/fast-string-width": {+ "version": "3.0.2",+ "resolved": "https://registry.npmjs.org/fast-string-width/-/fast-string-width-3.0.2.tgz",+ "integrity": "sha512-gX8LrtNEI5hq8DVUfRQMbr5lpaS4nMIWV+7XEbXk2b8kiQIizgnlr12B4dA3ZEx3308ze0O4Q1R+cHts8kyUJg==",+ "license": "MIT",+ "dependencies": {+ "fast-string-truncated-width": "^3.0.2"+ }+ },+ "node_modules/fast-uri": {+ "version": "3.1.8",+ "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.8.tgz",+ "integrity": "sha512-GZMtZUTNRpOVIECoXwLNZS5xUGE+mVNbTB8h/7Rwh2TFWcBQiPzTgyZi05BF9UMZKkLJv8XBRJTlU7zg8+ZfMg==",+ "dev": true,+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/fastify"+ },+ {+ "type": "opencollective",+ "url": "https://opencollective.com/fastify"+ }+ ],+ "license": "BSD-3-Clause"+ },+ "node_modules/fast-wrap-ansi": {+ "version": "0.2.2",+ "resolved": "https://registry.npmjs.org/fast-wrap-ansi/-/fast-wrap-ansi-0.2.2.tgz",+ "integrity": "sha512-7F2Fl+TjRSenLqlU3UjSH0iyqopqoZIu7eZVpEirP2g1GtWa2G/ecEmBdgz31+Mxr+ELclgg6sokpSFIQiZ02Q==",+ "license": "MIT",+ "dependencies": {+ "fast-string-width": "^3.0.2"+ }+ },+ "node_modules/fdir": {+ "version": "6.5.0",+ "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz",+ "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==",+ "license": "MIT",+ "engines": {+ "node": ">=12.0.0"+ },+ "peerDependencies": {+ "picomatch": "^3 || ^4"+ },+ "peerDependenciesMeta": {+ "picomatch": {+ "optional": true+ }+ }+ },+ "node_modules/find-proc": {+ "version": "0.2.0",+ "resolved": "https://registry.npmjs.org/find-proc/-/find-proc-0.2.0.tgz",+ "integrity": "sha512-a6h2nTrgB3g5Wrn4au9Ux4kMk7IJtyF6oA8uGn+mk3weLZssUtc1cp6meHIzzuW2o1srrBAxzkmXLbqjRkgB6w==",+ "license": "MIT",+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ }+ },+ "node_modules/flattie": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/flattie/-/flattie-1.1.1.tgz",+ "integrity": "sha512-9UbaD6XdAL97+k/n+N7JwX46K/M6Zc6KcFYskrYL8wbBV/Uyk0CTAMY0VT+qiK5PM7AIc9aTWYtq65U7T+aCNQ==",+ "license": "MIT",+ "engines": {+ "node": ">=8"+ }+ },+ "node_modules/fontace": {+ "version": "0.4.1",+ "resolved": "https://registry.npmjs.org/fontace/-/fontace-0.4.1.tgz",+ "integrity": "sha512-lDMvbAzSnHmbYMTEld5qdtvNH2/pWpICOqpean9IgC7vUbUJc3k+k5Dokp85CegamqQpFbXf0rAVkbzpyTA8aw==",+ "license": "MIT",+ "dependencies": {+ "fontkitten": "^1.0.2"+ }+ },+ "node_modules/fontkitten": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/fontkitten/-/fontkitten-1.0.3.tgz",+ "integrity": "sha512-Wp1zXWPVUPBmfoa3Cqc9ctaKuzKAV6uLstRqlR56kSjplf5uAce+qeyYym7F+PHbGTk+tCEdkCW6RD7DX/gBZw==",+ "license": "MIT",+ "dependencies": {+ "tiny-inflate": "^1.0.3"+ },+ "engines": {+ "node": ">=20"+ }+ },+ "node_modules/fsevents": {+ "version": "2.3.3",+ "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz",+ "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",+ "hasInstallScript": true,+ "license": "MIT",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": "^8.16.0 || ^10.6.0 || >=11.0.0"+ }+ },+ "node_modules/get-caller-file": {+ "version": "2.0.5",+ "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",+ "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==",+ "dev": true,+ "license": "ISC",+ "engines": {+ "node": "6.* || 8.* || >= 10.*"+ }+ },+ "node_modules/get-east-asian-width": {+ "version": "1.7.0",+ "resolved": "https://registry.npmjs.org/get-east-asian-width/-/get-east-asian-width-1.7.0.tgz",+ "integrity": "sha512-XjH1AECxf0giL2V1aU8vKyRR2ppRUb5c0EvT7zuJTokQ74bNo52zOtghqdWIqrhUD79fo3x0WfKZdOqxF6LG1Q==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=18"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/get-tsconfig": {+ "version": "5.0.0-beta.6",+ "resolved": "https://registry.npmjs.org/get-tsconfig/-/get-tsconfig-5.0.0-beta.6.tgz",+ "integrity": "sha512-X6fBC0pmImC70gvX2zm56go9hx0MyoGVdG0tUCkg/D+Xnh5TJsOZ7iDbOdI3PvmtrDxnu1YdDufpK2QJX1Meqw==",+ "license": "MIT",+ "dependencies": {+ "resolve-pkg-maps": "^1.0.0"+ },+ "engines": {+ "node": ">=20.20.0"+ },+ "funding": {+ "url": "https://github.com/privatenumber/get-tsconfig?sponsor=1"+ }+ },+ "node_modules/github-slugger": {+ "version": "2.0.0",+ "resolved": "https://registry.npmjs.org/github-slugger/-/github-slugger-2.0.0.tgz",+ "integrity": "sha512-IaOQ9puYtjrkq7Y0Ygl9KDZnrf/aiUJYUpVf89y8kyaxbRG7Y1SrX/jaumrv81vc61+kiMempujsM3Yw7w5qcw==",+ "license": "ISC"+ },+ "node_modules/h3": {+ "version": "1.15.11",+ "resolved": "https://registry.npmjs.org/h3/-/h3-1.15.11.tgz",+ "integrity": "sha512-L3THSe2MPeBwgIZVSH5zLdBBU90TOxarvhK9d04IDY2AmVS8j2Jz2LIWtwsGOU3lu2I5jCN7FNvVfY2+XyF+mg==",+ "license": "MIT",+ "dependencies": {+ "cookie-es": "^1.2.3",+ "crossws": "^0.3.5",+ "defu": "^6.1.6",+ "destr": "^2.0.5",+ "iron-webcrypto": "^1.2.1",+ "node-mock-http": "^1.0.4",+ "radix3": "^1.1.2",+ "ufo": "^1.6.3",+ "uncrypto": "^0.1.3"+ }+ },+ "node_modules/hast-util-to-html": {+ "version": "9.0.5",+ "resolved": "https://registry.npmjs.org/hast-util-to-html/-/hast-util-to-html-9.0.5.tgz",+ "integrity": "sha512-OguPdidb+fbHQSU4Q4ZiLKnzWo8Wwsf5bZfbvu7//a9oTYoqD/fWpe96NuHkoS9h0ccGOTe0C4NGXdtS0iObOw==",+ "license": "MIT",+ "dependencies": {+ "@types/hast": "^3.0.0",+ "@types/unist": "^3.0.0",+ "ccount": "^2.0.0",+ "comma-separated-tokens": "^2.0.0",+ "hast-util-whitespace": "^3.0.0",+ "html-void-elements": "^3.0.0",+ "mdast-util-to-hast": "^13.0.0",+ "property-information": "^7.0.0",+ "space-separated-tokens": "^2.0.0",+ "stringify-entities": "^4.0.0",+ "zwitch": "^2.0.4"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/hast-util-whitespace": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/hast-util-whitespace/-/hast-util-whitespace-3.0.0.tgz",+ "integrity": "sha512-88JUN06ipLwsnv+dVn+OIYOvAuvBMy/Qoi6O7mQHxdPXpjy+Cd6xRkWwux7DKO+4sYILtLBRIKgsdpS2gQc7qw==",+ "license": "MIT",+ "dependencies": {+ "@types/hast": "^3.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/html-escaper": {+ "version": "3.0.3",+ "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-3.0.3.tgz",+ "integrity": "sha512-RuMffC89BOWQoY0WKGpIhn5gX3iI54O6nRA0yC124NYVtzjmFWBIiFd8M0x+ZdX0P9R4lADg1mgP8C7PxGOWuQ==",+ "license": "MIT"+ },+ "node_modules/html-void-elements": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/html-void-elements/-/html-void-elements-3.0.0.tgz",+ "integrity": "sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/http-cache-semantics": {+ "version": "4.2.0",+ "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.2.0.tgz",+ "integrity": "sha512-dTxcvPXqPvXBQpq5dUr6mEMJX4oIEFv6bwom3FDwKRDsuIjjJGANqhBuoAn9c1RQJIdAKav33ED65E2ys+87QQ==",+ "license": "BSD-2-Clause"+ },+ "node_modules/iron-webcrypto": {+ "version": "1.2.1",+ "resolved": "https://registry.npmjs.org/iron-webcrypto/-/iron-webcrypto-1.2.1.tgz",+ "integrity": "sha512-feOM6FaSr6rEABp/eDfVseKyTMDt+KGpeB35SkVn9Tyn0CqvVsY3EwI0v5i8nMHyJnzCIQf7nsy3p41TPkJZhg==",+ "license": "MIT",+ "funding": {+ "url": "https://github.com/sponsors/brc-dd"+ }+ },+ "node_modules/is-docker": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/is-docker/-/is-docker-4.0.0.tgz",+ "integrity": "sha512-LHE+wROyG/Y/0ZnbktRCoTix2c1RhgWaZraMZ8o1Q7zCh0VSrICJQO5oqIIISrcSBtrXv0o233w1IYwsWCjTzA==",+ "license": "MIT",+ "bin": {+ "is-docker": "cli.js"+ },+ "engines": {+ "node": ">=20"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/is-plain-obj": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz",+ "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==",+ "license": "MIT",+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/json-schema-traverse": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz",+ "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/jsonc-parser": {+ "version": "3.3.1",+ "resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.3.1.tgz",+ "integrity": "sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ==",+ "license": "MIT"+ },+ "node_modules/kleur": {+ "version": "4.1.5",+ "resolved": "https://registry.npmjs.org/kleur/-/kleur-4.1.5.tgz",+ "integrity": "sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/lightningcss": {+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss/-/lightningcss-1.33.0.tgz",+ "integrity": "sha512-WkUDrojuJs0xkgGf2udWxa3yGBRxPtxUkB79i6aCZLRgc7PM8fZe9TosfPDcvEpQZbuFASnHYmRLBLUbmLOIIA==",+ "license": "MPL-2.0",+ "dependencies": {+ "detect-libc": "^2.0.3"+ },+ "engines": {+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"+ },+ "optionalDependencies": {+ "lightningcss-android-arm64": "1.33.0",+ "lightningcss-darwin-arm64": "1.33.0",+ "lightningcss-darwin-x64": "1.33.0",+ "lightningcss-freebsd-x64": "1.33.0",+ "lightningcss-linux-arm-gnueabihf": "1.33.0",+ "lightningcss-linux-arm64-gnu": "1.33.0",+ "lightningcss-linux-arm64-musl": "1.33.0",+ "lightningcss-linux-x64-gnu": "1.33.0",+ "lightningcss-linux-x64-musl": "1.33.0",+ "lightningcss-win32-arm64-msvc": "1.33.0",+ "lightningcss-win32-x64-msvc": "1.33.0"+ }+ },+ "node_modules/lightningcss-android-arm64": {+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss-android-arm64/-/lightningcss-android-arm64-1.33.0.tgz",+ "integrity": "sha512-gEpRTalKdosp4Bb8qWtc2iOgE5SeIHlpS1up9bFq2wAyYhl1UdTObYiHe98zEM9SQvSoqQZ1IQD0JNpg3Ml5pg==",+ "cpu": [+ "arm64"+ ],+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "android"+ ],+ "engines": {+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"+ }+ },+ "node_modules/lightningcss-darwin-arm64": {+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss-darwin-arm64/-/lightningcss-darwin-arm64-1.33.0.tgz",+ "integrity": "sha512-Sciaz8eenNTKn9b3t7+xr0ipTp9YxKQY4npwQ3mrRuL0BAVHBLyZxofhaKBAVtzmtRZ/zTyo0/to4B1uWG/Djg==",+ "cpu": [+ "arm64"+ ],+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"+ }+ },+ "node_modules/lightningcss-darwin-x64": {+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss-darwin-x64/-/lightningcss-darwin-x64-1.33.0.tgz",+ "integrity": "sha512-Z5UPAxzrjlWNNyGy6i65cJzzvgJ5D3T6wMvs+gWpY9d7qRhANrxqAp6LhxIgZhWEw18RfJTGcRxjuLIBr+m8XQ==",+ "cpu": [+ "x64"+ ],+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "darwin"+ ],+ "engines": {+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"+ }+ },+ "node_modules/lightningcss-freebsd-x64": {+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss-freebsd-x64/-/lightningcss-freebsd-x64-1.33.0.tgz",+ "integrity": "sha512-QQM/Ti/hQajJwCY+RiWuCZ9sdtI/XQk7nDK5vC8kkdwixezOlDgvDx7+RT+QjK6FcFT4MpsuoBnHIo/O3StRRg==",+ "cpu": [+ "x64"+ ],+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "freebsd"+ ],+ "engines": {+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"+ }+ },+ "node_modules/lightningcss-linux-arm-gnueabihf": {+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm-gnueabihf/-/lightningcss-linux-arm-gnueabihf-1.33.0.tgz",+ "integrity": "sha512-N7FVBe6iS24MlM6R/4RBTxGhQheZGs7tiQ9U32UtF75NzP5Q7xWPRqLBCKxlRQRk3rY1jCIPLzx7WzOhuUIRLQ==",+ "cpu": [+ "arm"+ ],+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"+ }+ },+ "node_modules/lightningcss-linux-arm64-gnu": {+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-gnu/-/lightningcss-linux-arm64-gnu-1.33.0.tgz",+ "integrity": "sha512-j2v/itmy4HlNxlc6voKXYgBqNi0Ng2LShg4z7GufpEgs05P+2suBVyi9I6YHq5uoVFx9ETin3eCEhLVyXGQnKg==",+ "cpu": [+ "arm64"+ ],+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"+ }+ },+ "node_modules/lightningcss-linux-arm64-musl": {+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss-linux-arm64-musl/-/lightningcss-linux-arm64-musl-1.33.0.tgz",+ "integrity": "sha512-yiO5ROMuYQgXbC60yjZU5CYSFZGKXL0HFATXt9mHJn1+zW55oCtMI9NfcVhYLMFDL7gV7oBPon/EmMMGg2OvtQ==",+ "cpu": [+ "arm64"+ ],+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"+ }+ },+ "node_modules/lightningcss-linux-x64-gnu": {+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-gnu/-/lightningcss-linux-x64-gnu-1.33.0.tgz",+ "integrity": "sha512-ar+Ju7LmcN0Jo4FpL4hpFybwNG9/3A/Br5KW2n2jyODg3MEZXaDYADdemoNS+BDNfMgKvylJLj4S5tyRActuAg==",+ "cpu": [+ "x64"+ ],+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"+ }+ },+ "node_modules/lightningcss-linux-x64-musl": {+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss-linux-x64-musl/-/lightningcss-linux-x64-musl-1.33.0.tgz",+ "integrity": "sha512-RYiYbkokw0trfKqqzfF55lginwEPrD3OJDfTuJzFs1MK6iFnDenaz1fqLLtX4ITG3OktJQXOeTaw1awrBAlZPw==",+ "cpu": [+ "x64"+ ],+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "linux"+ ],+ "engines": {+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"+ }+ },+ "node_modules/lightningcss-win32-arm64-msvc": {+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss-win32-arm64-msvc/-/lightningcss-win32-arm64-msvc-1.33.0.tgz",+ "integrity": "sha512-1K+MPfLSFVpphzpdbfkhlWk6wBrTObBzS2T6db10PNOZgR9GoVsAWzwNyuhUYYbTp23j+4RrncfujZ4uAzXvwA==",+ "cpu": [+ "arm64"+ ],+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"+ }+ },+ "node_modules/lightningcss-win32-x64-msvc": {+ "version": "1.33.0",+ "resolved": "https://registry.npmjs.org/lightningcss-win32-x64-msvc/-/lightningcss-win32-x64-msvc-1.33.0.tgz",+ "integrity": "sha512-OlEICDx/Xl0FqSp4bry8zFnCvGpig3Gl4gCquvYwHuqJKEC1+n9NgDniFvqHGmMv1ZkqDJrDqKKSykTDX+ehuA==",+ "cpu": [+ "x64"+ ],+ "license": "MPL-2.0",+ "optional": true,+ "os": [+ "win32"+ ],+ "engines": {+ "node": ">= 12.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/parcel"+ }+ },+ "node_modules/lit": {+ "version": "3.3.3",+ "resolved": "https://registry.npmjs.org/lit/-/lit-3.3.3.tgz",+ "integrity": "sha512-fycuvZg/hkpozL00lm1pEJH5nN/lr9ZXd6mJI2HSN4+Bzc+LDNdEApJ6HFbPkdFNHLvOplIIuJvxkS4XUxqirw==",+ "license": "BSD-3-Clause",+ "dependencies": {+ "@lit/reactive-element": "^2.1.0",+ "lit-element": "^4.2.0",+ "lit-html": "^3.3.0"+ }+ },+ "node_modules/lit-element": {+ "version": "4.2.2",+ "resolved": "https://registry.npmjs.org/lit-element/-/lit-element-4.2.2.tgz",+ "integrity": "sha512-aFKhNToWxoyhkNDmWZwEva2SlQia+jfG0fjIWV//YeTaWrVnOxD89dPKfigCUspXFmjzOEUQpOkejH5Ly6sG0w==",+ "license": "BSD-3-Clause",+ "dependencies": {+ "@lit-labs/ssr-dom-shim": "^1.5.0",+ "@lit/reactive-element": "^2.1.0",+ "lit-html": "^3.3.0"+ }+ },+ "node_modules/lit-html": {+ "version": "3.3.3",+ "resolved": "https://registry.npmjs.org/lit-html/-/lit-html-3.3.3.tgz",+ "integrity": "sha512-el8M6jK2o3RXBnrSHX3ZKrsN8zEV63pSExTO1wYJz7QndGYZ8353e2a5PPX+qHe2aGayfnchQmkAojaWAREOIA==",+ "license": "BSD-3-Clause",+ "dependencies": {+ "@types/trusted-types": "^2.0.2"+ }+ },+ "node_modules/lru-cache": {+ "version": "11.5.3",+ "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.3.tgz",+ "integrity": "sha512-U4N8FgzmWxc8k1VH8Kr6lQg18U7Fjvby6wXHVRX/ZZ7IwWbRMgrRbP0Wrb5q5NVinryp4SQampHKdvtecItxUg==",+ "license": "BlueOak-1.0.0",+ "engines": {+ "node": "20 || >=22"+ }+ },+ "node_modules/magic-string": {+ "version": "1.4.2",+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-1.4.2.tgz",+ "integrity": "sha512-vG+rjFRj1PqdIBozIxAGMjPlOhaVe+GXpbttY/iSK7rGcJRMlwNJO7dcUwmUqkymsFLJiNGI06t4D7Fr7yRC9g==",+ "license": "MIT",+ "dependencies": {+ "@jridgewell/sourcemap-codec": "^1.6.0"+ }+ },+ "node_modules/magicast": {+ "version": "0.5.5",+ "resolved": "https://registry.npmjs.org/magicast/-/magicast-0.5.5.tgz",+ "integrity": "sha512-UicdXN8zQ3JHlxVq+28afMXPr1z7WNY6+7EJnzTdQWkTAlMLF5fNCCKxJHBQwGaNGR11581EiQmQzx73+MvszA==",+ "license": "MIT",+ "dependencies": {+ "@babel/parser": "^7.29.7",+ "@babel/types": "^7.29.7",+ "source-map-js": "^1.2.1"+ }+ },+ "node_modules/mdast-util-to-hast": {+ "version": "13.2.1",+ "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-13.2.1.tgz",+ "integrity": "sha512-cctsq2wp5vTsLIcaymblUriiTcZd0CwWtCbLvrOzYCDZoWyMNV8sZ7krj09FSnsiJi3WVsHLM4k6Dq/yaPyCXA==",+ "license": "MIT",+ "dependencies": {+ "@types/hast": "^3.0.0",+ "@types/mdast": "^4.0.0",+ "@ungap/structured-clone": "^1.0.0",+ "devlop": "^1.0.0",+ "micromark-util-sanitize-uri": "^2.0.0",+ "trim-lines": "^3.0.0",+ "unist-util-position": "^5.0.0",+ "unist-util-visit": "^5.0.0",+ "vfile": "^6.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/mdn-data": {+ "version": "2.27.1",+ "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.27.1.tgz",+ "integrity": "sha512-9Yubnt3e8A0OKwxYSXyhLymGW4sCufcLG6VdiDdUGVkPhpqLxlvP5vl1983gQjJl3tqbrM731mjaZaP68AgosQ==",+ "license": "CC0-1.0"+ },+ "node_modules/micromark-util-character": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-2.1.1.tgz",+ "integrity": "sha512-wv8tdUTJ3thSFFFJKtpYKOYiGP2+v96Hvk4Tu8KpCAsTMs6yi+nVmGh1syvSCsaxz45J6Jbw+9DD6g97+NV67Q==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "micromark-util-symbol": "^2.0.0",+ "micromark-util-types": "^2.0.0"+ }+ },+ "node_modules/micromark-util-encode": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-util-encode/-/micromark-util-encode-2.0.1.tgz",+ "integrity": "sha512-c3cVx2y4KqUnwopcO9b/SCdo2O67LwJJ/UyqGfbigahfegL9myoEFoDYZgkT7f36T0bLrM9hZTAaAyH+PCAXjw==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT"+ },+ "node_modules/micromark-util-sanitize-uri": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-2.0.1.tgz",+ "integrity": "sha512-9N9IomZ/YuGGZZmQec1MbgxtlgougxTodVwDzzEouPKo3qFWvymFHWcnDi2vzV1ff6kas9ucW+o3yzJK9YB1AQ==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "micromark-util-character": "^2.0.0",+ "micromark-util-encode": "^2.0.0",+ "micromark-util-symbol": "^2.0.0"+ }+ },+ "node_modules/micromark-util-symbol": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/micromark-util-symbol/-/micromark-util-symbol-2.0.1.tgz",+ "integrity": "sha512-vs5t8Apaud9N28kgCrRUdEed4UJ+wWNvicHLPxCa9ENlYuAY31M0ETy5y1vA33YoNPDFTghEbnh6efaE8h4x0Q==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT"+ },+ "node_modules/micromark-util-types": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-2.0.3.tgz",+ "integrity": "sha512-oxB2Ik03hI0gv+VNn9tnh1t1YEe9MDPptViAEgfdf3YQHsn0pzGTgCdlSCJXcwhqm8phaEuM7zeEu3QQzVBrPg==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "license": "MIT"+ },+ "node_modules/mitt": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/mitt/-/mitt-3.0.1.tgz",+ "integrity": "sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/modern-tar": {+ "version": "0.8.5",+ "resolved": "https://registry.npmjs.org/modern-tar/-/modern-tar-0.8.5.tgz",+ "integrity": "sha512-snEhs+6G5Tjd4I7tLCDOaoln2RgE0bD19RzEKgvgK2hZ5VKy3MpLhLTZ2fWpXSTg4K2cyPwp+VHATFJhxfnOeA==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/mrmime": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/mrmime/-/mrmime-2.0.1.tgz",+ "integrity": "sha512-Y3wQdFg2Va6etvQ5I82yUhGdsKrcYox6p7FfL1LbK2J4V01F9TGlepTIhnK24t7koZibmg82KGglhA1XK5IsLQ==",+ "license": "MIT",+ "engines": {+ "node": ">=10"+ }+ },+ "node_modules/muggle-string": {+ "version": "0.4.1",+ "resolved": "https://registry.npmjs.org/muggle-string/-/muggle-string-0.4.1.tgz",+ "integrity": "sha512-VNTrAak/KhO2i8dqqnqnAHOa3cYBwXEZe9h+D5h/1ZqFSTEFHdM65lR7RoIqq3tBBYavsOXV84NoHXZ0AkPyqQ==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/nanoid": {+ "version": "3.3.19",+ "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.19.tgz",+ "integrity": "sha512-Y2tUNy4ouw6tq5oDSKeQYGOyhkUBhNOcGV/02KC+6kd9eDGqdZd++mjMiIDilrBYvjEnCYvVtsuHCuP+okSfug==",+ "funding": [+ {+ "type": "github",+ "url": "https://github.com/sponsors/ai"+ }+ ],+ "license": "MIT",+ "bin": {+ "nanoid": "bin/nanoid.cjs"+ },+ "engines": {+ "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"+ }+ },+ "node_modules/neotraverse": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/neotraverse/-/neotraverse-1.0.1.tgz",+ "integrity": "sha512-WmmLty1YWwJl9yZi77v2dVIV6X2kuYV8YYBI/G3LWGKdGHmHUvL1z7FW0iDvEvGAwNEoc5x1tOOOyDnf5jJw/w==",+ "license": "MIT",+ "engines": {+ "node": ">= 10"+ }+ },+ "node_modules/nlcst-to-string": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/nlcst-to-string/-/nlcst-to-string-4.0.0.tgz",+ "integrity": "sha512-YKLBCcUYKAg0FNlOBT6aI91qFmSiFKiluk655WzPF+DDMA02qIyy8uiRqI8QXtcFpEvll12LpL5MXqEmAZ+dcA==",+ "license": "MIT",+ "dependencies": {+ "@types/nlcst": "^2.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/node-fetch-native": {+ "version": "1.6.7",+ "resolved": "https://registry.npmjs.org/node-fetch-native/-/node-fetch-native-1.6.7.tgz",+ "integrity": "sha512-g9yhqoedzIUm0nTnTqAQvueMPVOuIY16bqgAJJC8XOOubYFNwz6IER9qs0Gq2Xd0+CecCKFjtdDTMA4u4xG06Q==",+ "license": "MIT"+ },+ "node_modules/node-mock-http": {+ "version": "1.0.5",+ "resolved": "https://registry.npmjs.org/node-mock-http/-/node-mock-http-1.0.5.tgz",+ "integrity": "sha512-KQyt/wLjG3TAc7DOUhpqWzgd4ERxR80JOlTK5VE5R1S12IaPVN5qkj4klBce9HPG1Njuup4Sb5bljaT34lIyjw==",+ "license": "MIT"+ },+ "node_modules/normalize-path": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz",+ "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",+ "license": "MIT",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/nth-check": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz",+ "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==",+ "license": "BSD-2-Clause",+ "dependencies": {+ "boolbase": "^1.0.0"+ },+ "funding": {+ "url": "https://github.com/fb55/nth-check?sponsor=1"+ }+ },+ "node_modules/obug": {+ "version": "3.0.0",+ "resolved": "https://registry.npmjs.org/obug/-/obug-3.0.0.tgz",+ "integrity": "sha512-5vvB5+W7ePv+p3uqxi+RcW1XAzLW0/hxt3/4X4Lc4qHudzOhmBiBwOY6DRob4WnanAEGvNcLjF+KNOufrUoEQw==",+ "funding": [+ "https://github.com/sponsors/sxzz",+ "https://opencollective.com/debug"+ ],+ "license": "MIT",+ "engines": {+ "node": ">=12.20.0"+ }+ },+ "node_modules/ofetch": {+ "version": "1.5.1",+ "resolved": "https://registry.npmjs.org/ofetch/-/ofetch-1.5.1.tgz",+ "integrity": "sha512-2W4oUZlVaqAPAil6FUg/difl6YhqhUR7x2eZY4bQCko22UXg3hptq9KLQdqFClV+Wu85UX7hNtdGTngi/1BxcA==",+ "license": "MIT",+ "dependencies": {+ "destr": "^2.0.5",+ "node-fetch-native": "^1.6.7",+ "ufo": "^1.6.1"+ }+ },+ "node_modules/ohash": {+ "version": "2.0.12",+ "resolved": "https://registry.npmjs.org/ohash/-/ohash-2.0.12.tgz",+ "integrity": "sha512-65S/5gk9YSsaRjcyf7Nfa6h/d3E8/1gslpXfI4W7Dxn/oap8IKRuNT5VXkLQ1YFKIEg4apRY4Pj6aiwFzrDdmw==",+ "license": "MIT"+ },+ "node_modules/oniguruma-parser": {+ "version": "0.12.2",+ "resolved": "https://registry.npmjs.org/oniguruma-parser/-/oniguruma-parser-0.12.2.tgz",+ "integrity": "sha512-6HVa5oIrgMC6aA6WF6XyyqbhRPJrKR02L20+2+zpDtO5QAzGHAUGw5TKQvwi5vctNnRHkJYmjAhRVQF2EKdTQw==",+ "license": "MIT"+ },+ "node_modules/oniguruma-to-es": {+ "version": "4.3.6",+ "resolved": "https://registry.npmjs.org/oniguruma-to-es/-/oniguruma-to-es-4.3.6.tgz",+ "integrity": "sha512-csuQ9x3Yr0cEIs/Zgx/OEt9iBw9vqIunAPQkx19R/fiMq2oGVTgcMqO/V3Ybqefr1TBvosI6jU539ksaBULJyA==",+ "license": "MIT",+ "dependencies": {+ "oniguruma-parser": "^0.12.2",+ "regex": "^6.1.0",+ "regex-recursion": "^6.0.2"+ }+ },+ "node_modules/p-limit": {+ "version": "7.3.3",+ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-7.3.3.tgz",+ "integrity": "sha512-SKgVvDU5TNIxQ4r30U75BNLC6a+6GOEjngrk/ysM5+Zu3oJuk1SC5ApzIzY/7PjCEjoVPMWJ0zho/4QUiEB7TQ==",+ "license": "MIT",+ "dependencies": {+ "yocto-queue": "^1.2.1"+ },+ "engines": {+ "node": ">=20"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/p-queue": {+ "version": "9.3.3",+ "resolved": "https://registry.npmjs.org/p-queue/-/p-queue-9.3.3.tgz",+ "integrity": "sha512-NXAOdnEe5FsZJfT4oK84lE1Y5cFFdWlRuOo5tww8DyNMxyRXwn39fIkUtNLKppcPC+UYU/bXujNCUGDv01y7CA==",+ "license": "MIT",+ "dependencies": {+ "eventemitter3": "^5.0.4",+ "p-timeout": "^7.0.0"+ },+ "engines": {+ "node": ">=20"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/p-timeout": {+ "version": "7.0.2",+ "resolved": "https://registry.npmjs.org/p-timeout/-/p-timeout-7.0.2.tgz",+ "integrity": "sha512-prbX4Z3YszrFNgH+MW5Zoeq3baXrMtP/MQnFeET90UB/GtGcGDQ5Usg9OCy6ETjTTntOw1SL2z9fMPUppN3Guw==",+ "license": "MIT",+ "engines": {+ "node": ">=20"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/package-manager-detector": {+ "version": "1.8.0",+ "resolved": "https://registry.npmjs.org/package-manager-detector/-/package-manager-detector-1.8.0.tgz",+ "integrity": "sha512-yQA4H19AmPEoMUeavPMDIe1higySl/gH/yaQrkT/s07Qp+7pp2hYz30N3z2l5BkjVkF9Ow6o0wjJamm2y7Sn0A==",+ "license": "MIT"+ },+ "node_modules/path-browserify": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-1.0.1.tgz",+ "integrity": "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/piccolore": {+ "version": "0.1.3",+ "resolved": "https://registry.npmjs.org/piccolore/-/piccolore-0.1.3.tgz",+ "integrity": "sha512-o8bTeDWjE086iwKrROaDf31K0qC/BENdm15/uH9usSC/uZjJOKb2YGiVHfLY4GhwsERiPI1jmwI2XrA7ACOxVw==",+ "license": "ISC"+ },+ "node_modules/picocolors": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz",+ "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==",+ "license": "ISC"+ },+ "node_modules/picomatch": {+ "version": "4.0.7",+ "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz",+ "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==",+ "license": "MIT",+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/sponsors/jonschlinkert"+ }+ },+ "node_modules/postcss": {+ "version": "8.5.28",+ "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.28.tgz",+ "integrity": "sha512-RRuzqDtt5Y9h3quz5hWhK+TPnsmVs6WwSU6LkJMeY4HstUEDuYTG8UJSdawMRzmzAtV+KEoG8N3Qg2qLy5vM/A==",+ "funding": [+ {+ "type": "opencollective",+ "url": "https://opencollective.com/postcss/"+ },+ {+ "type": "tidelift",+ "url": "https://tidelift.com/funding/github/npm/postcss"+ },+ {+ "type": "github",+ "url": "https://github.com/sponsors/ai"+ }+ ],+ "license": "MIT",+ "dependencies": {+ "nanoid": "^3.3.18",+ "picocolors": "^1.1.1",+ "source-map-js": "^1.2.1"+ },+ "engines": {+ "node": "^10 || ^12 || >=14"+ }+ },+ "node_modules/prettier": {+ "version": "3.9.9",+ "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.9.9.tgz",+ "integrity": "sha512-Z/CJHIkdujO/OtN7nXUii0Rf3VT5SRuhjBA82Xvu2XhBUgX3nhP67T0LHceBdQLex7OOFGTox+Q5Yg8Jk2Qivg==",+ "dev": true,+ "license": "MIT",+ "bin": {+ "prettier": "bin/prettier.cjs"+ },+ "engines": {+ "node": ">=14"+ },+ "funding": {+ "url": "https://github.com/prettier/prettier?sponsor=1"+ }+ },+ "node_modules/prismjs": {+ "version": "1.30.0",+ "resolved": "https://registry.npmjs.org/prismjs/-/prismjs-1.30.0.tgz",+ "integrity": "sha512-DEvV2ZF2r2/63V+tK8hQvrR2ZGn10srHbXviTlcv7Kpzw8jWiNTqbVgjO3IY8RxrrOUF8VPMQQFysYYYv0YZxw==",+ "license": "MIT",+ "engines": {+ "node": ">=6"+ }+ },+ "node_modules/process-ancestry": {+ "version": "0.1.0",+ "resolved": "https://registry.npmjs.org/process-ancestry/-/process-ancestry-0.1.0.tgz",+ "integrity": "sha512-tGqJW/UnclpYASFcM6Xh8D8l/BMtaQ9+CSG0vlJSJTcdMM4lDRv4c6H0Pdcsfted+bVczdYSfk2fdukg2gQkZg==",+ "license": "MIT",+ "engines": {+ "node": ">=18.0.0"+ }+ },+ "node_modules/property-information": {+ "version": "7.2.0",+ "resolved": "https://registry.npmjs.org/property-information/-/property-information-7.2.0.tgz",+ "integrity": "sha512-IAtzIB6sUiWaJYrX9smp3V46pBGbBeLFRGdh25kg1334VcBlD8HzhPeNIWQH9zhGmo2itIe25EHt9dQP7G5hmg==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/puppeteer-core": {+ "version": "25.13.0",+ "resolved": "https://registry.npmjs.org/puppeteer-core/-/puppeteer-core-25.13.0.tgz",+ "integrity": "sha512-cyBS0OEx3e9NS53B5F6+UazXtR7f9Tw0cR1/FbPW59/hV6JPZbkIiMnxK2543IkFp3rsGlLn1iPDLF77TJsJsA==",+ "dev": true,+ "license": "Apache-2.0",+ "dependencies": {+ "@puppeteer/browsers": "3.2.4",+ "chromium-bidi": "157.0.8090-0",+ "devtools-protocol": "0.0.1696802",+ "typed-query-selector": "^2.12.3",+ "webdriver-bidi-protocol": "1.0.1",+ "ws": "^8.21.3"+ },+ "engines": {+ "node": ">=22.12.0"+ }+ },+ "node_modules/radix3": {+ "version": "1.1.2",+ "resolved": "https://registry.npmjs.org/radix3/-/radix3-1.1.2.tgz",+ "integrity": "sha512-b484I/7b8rDEdSDKckSSBA8knMpcdsXudlE/LNL639wFoHKwLbEkQFZHWEYwDC0wa0FKUcCY+GAF73Z7wxNVFA==",+ "license": "MIT"+ },+ "node_modules/readdirp": {+ "version": "4.1.2",+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz",+ "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">= 14.18.0"+ },+ "funding": {+ "type": "individual",+ "url": "https://paulmillr.com/funding/"+ }+ },+ "node_modules/regex": {+ "version": "6.1.0",+ "resolved": "https://registry.npmjs.org/regex/-/regex-6.1.0.tgz",+ "integrity": "sha512-6VwtthbV4o/7+OaAF9I5L5V3llLEsoPyq9P1JVXkedTP33c7MfCG0/5NOPcSJn0TzXcG9YUrR0gQSWioew3LDg==",+ "license": "MIT",+ "dependencies": {+ "regex-utilities": "^2.3.0"+ }+ },+ "node_modules/regex-recursion": {+ "version": "6.0.2",+ "resolved": "https://registry.npmjs.org/regex-recursion/-/regex-recursion-6.0.2.tgz",+ "integrity": "sha512-0YCaSCq2VRIebiaUviZNs0cBz1kg5kVS2UKUfNIx8YVs1cN3AV7NTctO5FOKBA+UT2BPJIWZauYHPqJODG50cg==",+ "license": "MIT",+ "dependencies": {+ "regex-utilities": "^2.3.0"+ }+ },+ "node_modules/regex-utilities": {+ "version": "2.3.0",+ "resolved": "https://registry.npmjs.org/regex-utilities/-/regex-utilities-2.3.0.tgz",+ "integrity": "sha512-8VhliFJAWRaUiVvREIiW2NXXTmHs4vMNnSzuJVhscgmGav3g9VDxLrQndI3dZZVVdp0ZO/5v0xmX516/7M9cng==",+ "license": "MIT"+ },+ "node_modules/request-light": {+ "version": "0.7.0",+ "resolved": "https://registry.npmjs.org/request-light/-/request-light-0.7.0.tgz",+ "integrity": "sha512-lMbBMrDoxgsyO+yB3sDcrDuX85yYt7sS8BfQd11jtbW/z5ZWgLZRcEGLsLoYw7I0WSUGQBs8CC8ScIxkTX1+6Q==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/require-from-string": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz",+ "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/resolve-pkg-maps": {+ "version": "1.0.0",+ "resolved": "https://registry.npmjs.org/resolve-pkg-maps/-/resolve-pkg-maps-1.0.0.tgz",+ "integrity": "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw==",+ "license": "MIT",+ "funding": {+ "url": "https://github.com/privatenumber/resolve-pkg-maps?sponsor=1"+ }+ },+ "node_modules/retext-smartypants": {+ "version": "6.2.0",+ "resolved": "https://registry.npmjs.org/retext-smartypants/-/retext-smartypants-6.2.0.tgz",+ "integrity": "sha512-kk0jOU7+zGv//kfjXEBjdIryL1Acl4i9XNkHxtM7Tm5lFiCog576fjNC9hjoR7LTKQ0DsPWy09JummSsH1uqfQ==",+ "license": "MIT",+ "dependencies": {+ "@types/nlcst": "^2.0.0",+ "nlcst-to-string": "^4.0.0",+ "unist-util-visit": "^5.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/rolldown": {+ "version": "1.2.12",+ "resolved": "https://registry.npmjs.org/rolldown/-/rolldown-1.2.12.tgz",+ "integrity": "sha512-8wafseiaG80xmXSfqidUNqZcylTlhmPZZt+za2m+js2sFZ8dTNlhIOV2WcbIPx2hgwPBJpEUGFAMZ9bgBBLTSQ==",+ "license": "MIT",+ "dependencies": {+ "@oxc-project/types": "=0.152.0",+ "@rolldown/pluginutils": "^1.0.0"+ },+ "bin": {+ "rolldown": "bin/cli.mjs"+ },+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ },+ "optionalDependencies": {+ "@rolldown/binding-android-arm-eabi": "1.2.12",+ "@rolldown/binding-android-arm64": "1.2.12",+ "@rolldown/binding-darwin-arm64": "1.2.12",+ "@rolldown/binding-darwin-x64": "1.2.12",+ "@rolldown/binding-freebsd-x64": "1.2.12",+ "@rolldown/binding-linux-arm-gnueabihf": "1.2.12",+ "@rolldown/binding-linux-arm64-gnu": "1.2.12",+ "@rolldown/binding-linux-arm64-musl": "1.2.12",+ "@rolldown/binding-linux-ppc64-gnu": "1.2.12",+ "@rolldown/binding-linux-s390x-gnu": "1.2.12",+ "@rolldown/binding-linux-x64-gnu": "1.2.12",+ "@rolldown/binding-linux-x64-musl": "1.2.12",+ "@rolldown/binding-openharmony-arm64": "1.2.12",+ "@rolldown/binding-win32-arm64-msvc": "1.2.12",+ "@rolldown/binding-win32-x64-msvc": "1.2.12"+ }+ },+ "node_modules/satteri": {+ "version": "0.10.5",+ "resolved": "https://registry.npmjs.org/satteri/-/satteri-0.10.5.tgz",+ "integrity": "sha512-Ao1LKpAEa9Wdg0otgbVKViZHEq9ebdXe4DMrp3s9vQAU0HNIuHnFEuMuOcm0ZIXyV0Yzxj91NvhLpvXZJO/5ZQ==",+ "license": "MIT",+ "dependencies": {+ "@types/estree-jsx": "^1.0.5",+ "@types/hast": "^3.0.5",+ "@types/mdast": "^4.0.4",+ "@types/unist": "^3.0.3"+ },+ "optionalDependencies": {+ "@bruits/satteri-darwin-arm64": "0.10.5",+ "@bruits/satteri-darwin-x64": "0.10.5",+ "@bruits/satteri-linux-arm64-gnu": "0.10.5",+ "@bruits/satteri-linux-arm64-musl": "0.10.5",+ "@bruits/satteri-linux-x64-gnu": "0.10.5",+ "@bruits/satteri-linux-x64-musl": "0.10.5",+ "@bruits/satteri-wasm32-wasi": "0.10.5",+ "@bruits/satteri-win32-arm64-msvc": "0.10.5",+ "@bruits/satteri-win32-x64-msvc": "0.10.5"+ }+ },+ "node_modules/sax": {+ "version": "1.6.1",+ "resolved": "https://registry.npmjs.org/sax/-/sax-1.6.1.tgz",+ "integrity": "sha512-42tBVwLWnaQvW5zc4HbZrTuWccECCZfBi92FDuwtqxasH+JbPB3/FOKb1m222K42R4WxuxzzMsTswfzgtSu64Q==",+ "license": "BlueOak-1.0.0",+ "engines": {+ "node": ">=11.0.0"+ }+ },+ "node_modules/semver": {+ "version": "7.8.5",+ "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz",+ "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==",+ "devOptional": true,+ "license": "ISC",+ "bin": {+ "semver": "bin/semver.js"+ },+ "engines": {+ "node": ">=10"+ }+ },+ "node_modules/sharp": {+ "version": "0.35.5",+ "resolved": "https://registry.npmjs.org/sharp/-/sharp-0.35.5.tgz",+ "integrity": "sha512-Ywn4OnzGukp7CDMrp08RQ50YKmuwG47brZgIVPTvBaaAfQlRlygrRqSrxdCiL9M+LlzLBiJ68IR1QqvzHyjC7g==",+ "license": "Apache-2.0",+ "optional": true,+ "dependencies": {+ "@img/colour": "^1.1.0",+ "detect-libc": "^2.1.2",+ "semver": "^7.8.5"+ },+ "engines": {+ "node": ">=20.9.0"+ },+ "funding": {+ "url": "https://opencollective.com/libvips"+ },+ "optionalDependencies": {+ "@img/sharp-darwin-arm64": "0.35.5",+ "@img/sharp-darwin-x64": "0.35.5",+ "@img/sharp-freebsd-wasm32": "0.35.5",+ "@img/sharp-libvips-darwin-arm64": "1.3.4",+ "@img/sharp-libvips-darwin-x64": "1.3.4",+ "@img/sharp-libvips-linux-arm": "1.3.4",+ "@img/sharp-libvips-linux-arm64": "1.3.4",+ "@img/sharp-libvips-linux-ppc64": "1.3.4",+ "@img/sharp-libvips-linux-riscv64": "1.3.4",+ "@img/sharp-libvips-linux-s390x": "1.3.4",+ "@img/sharp-libvips-linux-x64": "1.3.4",+ "@img/sharp-libvips-linuxmusl-arm64": "1.3.4",+ "@img/sharp-libvips-linuxmusl-x64": "1.3.4",+ "@img/sharp-linux-arm": "0.35.5",+ "@img/sharp-linux-arm64": "0.35.5",+ "@img/sharp-linux-ppc64": "0.35.5",+ "@img/sharp-linux-riscv64": "0.35.5",+ "@img/sharp-linux-s390x": "0.35.5",+ "@img/sharp-linux-x64": "0.35.5",+ "@img/sharp-linuxmusl-arm64": "0.35.5",+ "@img/sharp-linuxmusl-x64": "0.35.5",+ "@img/sharp-webcontainers-wasm32": "0.35.5",+ "@img/sharp-win32-arm64": "0.35.5",+ "@img/sharp-win32-ia32": "0.35.5",+ "@img/sharp-win32-x64": "0.35.5"+ },+ "peerDependenciesMeta": {+ "@types/node": {+ "optional": true+ }+ }+ },+ "node_modules/shiki": {+ "version": "4.5.0",+ "resolved": "https://registry.npmjs.org/shiki/-/shiki-4.5.0.tgz",+ "integrity": "sha512-OcRW72ngQvc+MSVWBRIovC/BTW589iUE/Vxav7VeM4RcY9MUjqB+IR6ILG1k9nuW6LiG/nct9uma4/MBtnZbmQ==",+ "license": "MIT",+ "dependencies": {+ "@shikijs/core": "4.5.0",+ "@shikijs/engine-javascript": "4.5.0",+ "@shikijs/engine-oniguruma": "4.5.0",+ "@shikijs/langs": "4.5.0",+ "@shikijs/themes": "4.5.0",+ "@shikijs/types": "4.5.0",+ "@shikijs/vscode-textmate": "^10.0.2",+ "@types/hast": "^3.0.5"+ },+ "engines": {+ "node": ">=20"+ }+ },+ "node_modules/sisteransi": {+ "version": "1.0.5",+ "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz",+ "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==",+ "license": "MIT"+ },+ "node_modules/smol-toml": {+ "version": "1.9.0",+ "resolved": "https://registry.npmjs.org/smol-toml/-/smol-toml-1.9.0.tgz",+ "integrity": "sha512-hpd+HLON7HdZXqYchMM/+LaTTbdK0AU3NngIJ4KVyWbY9bfQqdL9cD+4yf6dUoU2Ap4VsU0JkQi6FxAI1B2mXQ==",+ "license": "BSD-3-Clause",+ "engines": {+ "node": ">= 18"+ },+ "funding": {+ "url": "https://github.com/sponsors/cyyynthia"+ }+ },+ "node_modules/source-map-js": {+ "version": "1.2.2",+ "resolved": "https://registry.npmjs.org/source-map-js/-/source-map-js-1.2.2.tgz",+ "integrity": "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw==",+ "license": "BSD-3-Clause",+ "engines": {+ "node": ">=0.10.0"+ }+ },+ "node_modules/space-separated-tokens": {+ "version": "2.0.2",+ "resolved": "https://registry.npmjs.org/space-separated-tokens/-/space-separated-tokens-2.0.2.tgz",+ "integrity": "sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/string-width": {+ "version": "8.3.0",+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-8.3.0.tgz",+ "integrity": "sha512-ZbmZM0JCihQN91dWnxoipT2KOEyHqEyfRXUyjuRhW8b/xnqPDoq4gWEVApTVa9db2wN8mmoikgFBbjh71+cGeQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "get-east-asian-width": "^1.5.0",+ "strip-ansi": "^7.1.2"+ },+ "engines": {+ "node": ">=20"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/stringify-entities": {+ "version": "4.0.4",+ "resolved": "https://registry.npmjs.org/stringify-entities/-/stringify-entities-4.0.4.tgz",+ "integrity": "sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg==",+ "license": "MIT",+ "dependencies": {+ "character-entities-html4": "^2.0.0",+ "character-entities-legacy": "^3.0.0"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/strip-ansi": {+ "version": "7.2.0",+ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz",+ "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "ansi-regex": "^6.2.2"+ },+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/chalk/strip-ansi?sponsor=1"+ }+ },+ "node_modules/svgo": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/svgo/-/svgo-4.1.0.tgz",+ "integrity": "sha512-bkxnTg1kSU0guhIBmibA6UUhrQmPVA1XsQLN+ylCd+UWzbnLkySOcXpyk1mrl05f+pcaCx2eHb+sp6BgMZWX+Q==",+ "license": "MIT",+ "dependencies": {+ "commander": "^11.1.0",+ "css-select": "^6.0.0",+ "css-tree": "^3.0.1",+ "css-what": "^7.0.0",+ "csso": "^5.0.5",+ "picocolors": "^1.1.1",+ "sax": "1.6.1"+ },+ "bin": {+ "svgo": "bin/svgo.js"+ },+ "engines": {+ "node": ">=16"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/svgo"+ }+ },+ "node_modules/tiny-inflate": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/tiny-inflate/-/tiny-inflate-1.0.3.tgz",+ "integrity": "sha512-pkY1fj1cKHb2seWDy0B16HeWyczlJA9/WW3u3c4z/NiWDsO3DOU5D7nhTLE9CF0yXv/QZFY7sEJmj24dK+Rrqw==",+ "license": "MIT"+ },+ "node_modules/tinyclip": {+ "version": "1.0.3",+ "resolved": "https://registry.npmjs.org/tinyclip/-/tinyclip-1.0.3.tgz",+ "integrity": "sha512-nTv2raKFMzGG6JJp0lpNDsRPdfFE6UHlu2rVEjXo8vkx1ZS3LW2CVXqIaLu8xZlu+6tbFs9V58Qc/Jmk/Ii7wA==",+ "license": "MIT",+ "engines": {+ "node": "^16.14.0 || >= 17.3.0"+ }+ },+ "node_modules/tinyexec": {+ "version": "1.3.1",+ "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-1.3.1.tgz",+ "integrity": "sha512-GCvB3aoys96IuDFBMcTB46JOR6mdMtAToqwiW8JlWhsoh1mhHi/xn9ss/Dg7N555GiJyEt2qzoG/NHCwM6h1EA==",+ "license": "MIT",+ "engines": {+ "node": ">=18"+ }+ },+ "node_modules/tinyglobby": {+ "version": "0.2.17",+ "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz",+ "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==",+ "license": "MIT",+ "dependencies": {+ "fdir": "^6.5.0",+ "picomatch": "^4.0.4"+ },+ "engines": {+ "node": ">=12.0.0"+ },+ "funding": {+ "url": "https://github.com/sponsors/SuperchupuDev"+ }+ },+ "node_modules/trim-lines": {+ "version": "3.0.1",+ "resolved": "https://registry.npmjs.org/trim-lines/-/trim-lines-3.0.1.tgz",+ "integrity": "sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/trough": {+ "version": "2.2.0",+ "resolved": "https://registry.npmjs.org/trough/-/trough-2.2.0.tgz",+ "integrity": "sha512-tmMpK00BjZiUyVyvrBK7knerNgmgvcV/KLVyuma/SC+TQN167GrMRciANTz09+k3zW8L8t60jWO1GpfkZdjTaw==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ },+ "node_modules/tslib": {+ "version": "2.8.1",+ "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz",+ "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==",+ "license": "0BSD"+ },+ "node_modules/typed-query-selector": {+ "version": "2.12.3",+ "resolved": "https://registry.npmjs.org/typed-query-selector/-/typed-query-selector-2.12.3.tgz",+ "integrity": "sha512-/dtuMZyutHLlrxWhhC1uib00ELUr2dZ8C9B8YzZYsJmeE3V56OxRblrSM2UaF142pcMtak7ehZ6+poWGeehNIg==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/typesafe-path": {+ "version": "0.2.2",+ "resolved": "https://registry.npmjs.org/typesafe-path/-/typesafe-path-0.2.2.tgz",+ "integrity": "sha512-OJabfkAg1WLZSqJAJ0Z6Sdt3utnbzr/jh+NAHoyWHJe8CMSy79Gm085094M9nvTPy22KzTVn5Zq5mbapCI/hPA==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/typescript": {+ "version": "6.0.3",+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz",+ "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==",+ "dev": true,+ "license": "Apache-2.0",+ "bin": {+ "tsc": "bin/tsc",+ "tsserver": "bin/tsserver"+ },+ "engines": {+ "node": ">=14.17"+ }+ },+ "node_modules/typescript-auto-import-cache": {+ "version": "0.3.6",+ "resolved": "https://registry.npmjs.org/typescript-auto-import-cache/-/typescript-auto-import-cache-0.3.6.tgz",+ "integrity": "sha512-RpuHXrknHdVdK7wv/8ug3Fr0WNsNi5l5aB8MYYuXhq2UH5lnEB1htJ1smhtD5VeCsGr2p8mUDtd83LCQDFVgjQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "semver": "^7.3.8"+ }+ },+ "node_modules/ufo": {+ "version": "1.6.4",+ "resolved": "https://registry.npmjs.org/ufo/-/ufo-1.6.4.tgz",+ "integrity": "sha512-JFNbkD1Svwe0KvGi8GOeLcP4kAWQ609twvCdcHxq1oSL8svv39ZuSvajcD8B+5D0eL4+s1Is2D/O6KN3qcTeRA==",+ "license": "MIT"+ },+ "node_modules/ultrahtml": {+ "version": "1.7.0",+ "resolved": "https://registry.npmjs.org/ultrahtml/-/ultrahtml-1.7.0.tgz",+ "integrity": "sha512-2xRd0VHoAQE4M+vF/DvFFB7pUV0ZxTW1TLi7lHQWnF/Sb5TPeEUV/l+hxcNnGO00ZXGnR0voCMmYRKQf+rvJ2g==",+ "license": "MIT"+ },+ "node_modules/uncrypto": {+ "version": "0.1.3",+ "resolved": "https://registry.npmjs.org/uncrypto/-/uncrypto-0.1.3.tgz",+ "integrity": "sha512-Ql87qFHB3s/De2ClA9e0gsnS6zXG27SkTiSJwjCc9MebbfapQfuPzumMIUMi38ezPZVNFcHI9sUIepeQfw8J8Q==",+ "license": "MIT"+ },+ "node_modules/undici": {+ "version": "8.11.2",+ "resolved": "https://registry.npmjs.org/undici/-/undici-8.11.2.tgz",+ "integrity": "sha512-u4UB2/IrKdU6lFxumHmmo1a3fCQO5tzQllRorfoRS63txhrB7xTpSn1PftwC4qEHkOaqP95fCWW4lJzwErwzhQ==",+ "license": "MIT",+ "engines": {+ "node": ">=22.19.0"+ }+ },+ "node_modules/unified": {+ "version": "11.0.5",+ "resolved": "https://registry.npmjs.org/unified/-/unified-11.0.5.tgz",+ "integrity": "sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "^3.0.0",+ "bail": "^2.0.0",+ "devlop": "^1.0.0",+ "extend": "^3.0.0",+ "is-plain-obj": "^4.0.0",+ "trough": "^2.0.0",+ "vfile": "^6.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/unifont": {+ "version": "0.7.5",+ "resolved": "https://registry.npmjs.org/unifont/-/unifont-0.7.5.tgz",+ "integrity": "sha512-ULe/Cs+ZIsq+dcFofNkhqielCrUJnb5mr+Yc4EBM2VlL+6OZR6+cjtI2mT1bJvRBrVncqHAbLURxmPLcCXzWMg==",+ "license": "MIT",+ "dependencies": {+ "css-tree": "^3.1.0",+ "ohash": "^2.0.11",+ "undici": "^8.0.0"+ }+ },+ "node_modules/unist-util-is": {+ "version": "6.0.1",+ "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-6.0.1.tgz",+ "integrity": "sha512-LsiILbtBETkDz8I9p1dQ0uyRUWuaQzd/cuEeS1hoRSyW5E5XGmTzlwY1OrNzzakGowI9Dr/I8HVaw4hTtnxy8g==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "^3.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/unist-util-position": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/unist-util-position/-/unist-util-position-5.0.0.tgz",+ "integrity": "sha512-fucsC7HjXvkB5R3kTCO7kUjRdrS0BJt3M/FPxmHMBOm8JQi2BsHAHFsy27E0EolP8rp0NzXsJ+jNPyDWvOJZPA==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "^3.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/unist-util-stringify-position": {+ "version": "4.0.0",+ "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-4.0.0.tgz",+ "integrity": "sha512-0ASV06AAoKCDkS2+xw5RXJywruurpbC4JZSm7nr7MOt1ojAzvyyaO+UxZf18j8FCF6kmzCZKcAgN/yu2gm2XgQ==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "^3.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/unist-util-visit": {+ "version": "5.1.0",+ "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-5.1.0.tgz",+ "integrity": "sha512-m+vIdyeCOpdr/QeQCu2EzxX/ohgS8KbnPDgFni4dQsfSCtpz8UqDyY5GjRru8PDKuYn7Fq19j1CQ+nJSsGKOzg==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "^3.0.0",+ "unist-util-is": "^6.0.0",+ "unist-util-visit-parents": "^6.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/unist-util-visit-parents": {+ "version": "6.0.2",+ "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-6.0.2.tgz",+ "integrity": "sha512-goh1s1TBrqSqukSc8wrjwWhL0hiJxgA8m4kFxGlQ+8FYQ3C/m11FcTs4YYem7V664AhHVvgoQLk890Ssdsr2IQ==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "^3.0.0",+ "unist-util-is": "^6.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/unstorage": {+ "version": "1.17.5",+ "resolved": "https://registry.npmjs.org/unstorage/-/unstorage-1.17.5.tgz",+ "integrity": "sha512-0i3iqvRfx29hkNntHyQvJTpf5W9dQ9ZadSoRU8+xVlhVtT7jAX57fazYO9EHvcRCfBCyi5YRya7XCDOsbTgkPg==",+ "license": "MIT",+ "dependencies": {+ "anymatch": "^3.1.3",+ "chokidar": "^5.0.0",+ "destr": "^2.0.5",+ "h3": "^1.15.10",+ "lru-cache": "^11.2.7",+ "node-fetch-native": "^1.6.7",+ "ofetch": "^1.5.1",+ "ufo": "^1.6.3"+ },+ "peerDependencies": {+ "@azure/app-configuration": "^1.8.0",+ "@azure/cosmos": "^4.2.0",+ "@azure/data-tables": "^13.3.0",+ "@azure/identity": "^4.6.0",+ "@azure/keyvault-secrets": "^4.9.0",+ "@azure/storage-blob": "^12.26.0",+ "@capacitor/preferences": "^6 || ^7 || ^8",+ "@deno/kv": ">=0.9.0",+ "@netlify/blobs": "^6.5.0 || ^7.0.0 || ^8.1.0 || ^9.0.0 || ^10.0.0",+ "@planetscale/database": "^1.19.0",+ "@upstash/redis": "^1.34.3",+ "@vercel/blob": ">=0.27.1",+ "@vercel/functions": "^2.2.12 || ^3.0.0",+ "@vercel/kv": "^1 || ^2 || ^3",+ "aws4fetch": "^1.0.20",+ "db0": ">=0.2.1",+ "idb-keyval": "^6.2.1",+ "ioredis": "^5.4.2",+ "uploadthing": "^7.4.4"+ },+ "peerDependenciesMeta": {+ "@azure/app-configuration": {+ "optional": true+ },+ "@azure/cosmos": {+ "optional": true+ },+ "@azure/data-tables": {+ "optional": true+ },+ "@azure/identity": {+ "optional": true+ },+ "@azure/keyvault-secrets": {+ "optional": true+ },+ "@azure/storage-blob": {+ "optional": true+ },+ "@capacitor/preferences": {+ "optional": true+ },+ "@deno/kv": {+ "optional": true+ },+ "@netlify/blobs": {+ "optional": true+ },+ "@planetscale/database": {+ "optional": true+ },+ "@upstash/redis": {+ "optional": true+ },+ "@vercel/blob": {+ "optional": true+ },+ "@vercel/functions": {+ "optional": true+ },+ "@vercel/kv": {+ "optional": true+ },+ "aws4fetch": {+ "optional": true+ },+ "db0": {+ "optional": true+ },+ "idb-keyval": {+ "optional": true+ },+ "ioredis": {+ "optional": true+ },+ "uploadthing": {+ "optional": true+ }+ }+ },+ "node_modules/unstorage/node_modules/chokidar": {+ "version": "5.0.0",+ "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-5.0.0.tgz",+ "integrity": "sha512-TQMmc3w+5AxjpL8iIiwebF73dRDF4fBIieAqGn9RGCWaEVwQ6Fb2cGe31Yns0RRIzii5goJ1Y7xbMwo1TxMplw==",+ "license": "MIT",+ "dependencies": {+ "readdirp": "^5.0.0"+ },+ "engines": {+ "node": ">= 20.19.0"+ },+ "funding": {+ "url": "https://paulmillr.com/funding/"+ }+ },+ "node_modules/unstorage/node_modules/readdirp": {+ "version": "5.1.1",+ "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-5.1.1.tgz",+ "integrity": "sha512-Kko+Y5XQ6fM+Ce3dq3m9YGxnacYZYl9cA1wZjaF3Vbry2L3i1qVg8+CAgNPsXRArPMUMCaOR7oa9Nqntc43JKA==",+ "license": "MIT",+ "engines": {+ "node": ">= 20.19.0"+ },+ "funding": {+ "type": "individual",+ "url": "https://paulmillr.com/funding/"+ }+ },+ "node_modules/verkit": {+ "version": "0.5.0",+ "resolved": "https://registry.npmjs.org/verkit/-/verkit-0.5.0.tgz",+ "integrity": "sha512-u4J1hr6Y+C/hit34GwL3eIcUf3wngT8TlYUjK7tk0jxydKLAq3sYvifjdTDA6U3KCKRcQCQDGf/srjxfZF3l7g==",+ "license": "MIT",+ "engines": {+ "node": ">=18.12.0"+ },+ "funding": {+ "url": "https://github.com/sponsors/sxzz"+ }+ },+ "node_modules/vfile": {+ "version": "6.0.3",+ "resolved": "https://registry.npmjs.org/vfile/-/vfile-6.0.3.tgz",+ "integrity": "sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "^3.0.0",+ "vfile-message": "^4.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/vfile-message": {+ "version": "4.0.3",+ "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-4.0.3.tgz",+ "integrity": "sha512-QTHzsGd1EhbZs4AsQ20JX1rC3cOlt/IWJruk893DfLRr57lcnOeMaWG4K0JrRta4mIJZKth2Au3mM3u03/JWKw==",+ "license": "MIT",+ "dependencies": {+ "@types/unist": "^3.0.0",+ "unist-util-stringify-position": "^4.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/vite": {+ "version": "8.3.2",+ "resolved": "https://registry.npmjs.org/vite/-/vite-8.3.2.tgz",+ "integrity": "sha512-SQr1x6W5vVSbROg7vsyXIaxK9b0G7zsT68acdWWRmnBUsgDieLCRG+Rep9WdZgcposvv/GSnr4GUUBqB3vXq6w==",+ "license": "MIT",+ "dependencies": {+ "lightningcss": "^1.33.0",+ "picomatch": "^4.0.7",+ "postcss": "^8.5.28",+ "rolldown": "~1.2.11",+ "tinyglobby": "^0.2.17"+ },+ "bin": {+ "vite": "bin/vite.js"+ },+ "engines": {+ "node": "^20.19.0 || >=22.12.0"+ },+ "funding": {+ "url": "https://github.com/vitejs/vite?sponsor=1"+ },+ "optionalDependencies": {+ "fsevents": "~2.3.3"+ },+ "peerDependencies": {+ "@types/node": "^20.19.0 || >=22.12.0",+ "@vitejs/devtools": "^0.7.1",+ "esbuild": "^0.27.0 || ^0.28.0",+ "jiti": ">=1.21.0",+ "less": "^4.0.0",+ "sass": "^1.70.0",+ "sass-embedded": "^1.70.0",+ "stylus": ">=0.54.8",+ "sugarss": "^5.0.0",+ "terser": "^5.16.0",+ "tsx": "^4.8.1",+ "yaml": "^2.4.2"+ },+ "peerDependenciesMeta": {+ "@types/node": {+ "optional": true+ },+ "@vitejs/devtools": {+ "optional": true+ },+ "esbuild": {+ "optional": true+ },+ "jiti": {+ "optional": true+ },+ "less": {+ "optional": true+ },+ "sass": {+ "optional": true+ },+ "sass-embedded": {+ "optional": true+ },+ "stylus": {+ "optional": true+ },+ "sugarss": {+ "optional": true+ },+ "terser": {+ "optional": true+ },+ "tsx": {+ "optional": true+ },+ "yaml": {+ "optional": true+ }+ }+ },+ "node_modules/vitefu": {+ "version": "1.1.3",+ "resolved": "https://registry.npmjs.org/vitefu/-/vitefu-1.1.3.tgz",+ "integrity": "sha512-ub4okH7Z5KLjb6hDyjqrGXqWtWvoYdU3IGm/NorpgHncKoLTCfRIbvlhBm7r0YstIaQRYlp4yEbFqDcKSzXSSg==",+ "license": "MIT",+ "workspaces": [+ "tests/deps/*",+ "tests/projects/*",+ "tests/projects/workspace/packages/*"+ ],+ "peerDependencies": {+ "vite": "^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0"+ },+ "peerDependenciesMeta": {+ "vite": {+ "optional": true+ }+ }+ },+ "node_modules/volar-service-css": {+ "version": "0.0.71",+ "resolved": "https://registry.npmjs.org/volar-service-css/-/volar-service-css-0.0.71.tgz",+ "integrity": "sha512-wRRFt9BpjMKCazcgOh67MSjUjiWUCAh99DyYSDIOTuxaRjEtDC7PpB0k1Y1wbJIW/pVtMUSVbpPo3UGSm0Byxw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "vscode-css-languageservice": "^6.3.0",+ "vscode-languageserver-textdocument": "^1.0.11",+ "vscode-uri": "^3.0.8"+ },+ "peerDependencies": {+ "@volar/language-service": "~2.4.0"+ },+ "peerDependenciesMeta": {+ "@volar/language-service": {+ "optional": true+ }+ }+ },+ "node_modules/volar-service-emmet": {+ "version": "0.0.71",+ "resolved": "https://registry.npmjs.org/volar-service-emmet/-/volar-service-emmet-0.0.71.tgz",+ "integrity": "sha512-zqjzt6bN95e3CUstBm0PBFAJnrfz0ZAARka87fart46/gNCLLuP3Vujy8V/J8HEziTFLnfkgIASLFYPUhonJcA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@emmetio/css-parser": "^0.4.1",+ "@emmetio/html-matcher": "^1.3.0",+ "@vscode/emmet-helper": "^2.9.3",+ "vscode-uri": "^3.0.8"+ },+ "peerDependencies": {+ "@volar/language-service": "~2.4.0"+ },+ "peerDependenciesMeta": {+ "@volar/language-service": {+ "optional": true+ }+ }+ },+ "node_modules/volar-service-html": {+ "version": "0.0.71",+ "resolved": "https://registry.npmjs.org/volar-service-html/-/volar-service-html-0.0.71.tgz",+ "integrity": "sha512-e8tHPhgQ7ooLfudAEIku+kgd9pWkq3SSz8RbnQDI1+Eb8wbenkLGHqoirLqz5ORLV6wIMr2Iv08RWBG5eOcgpw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "vscode-html-languageservice": "^5.3.0",+ "vscode-languageserver-textdocument": "^1.0.11",+ "vscode-uri": "^3.0.8"+ },+ "peerDependencies": {+ "@volar/language-service": "~2.4.0"+ },+ "peerDependenciesMeta": {+ "@volar/language-service": {+ "optional": true+ }+ }+ },+ "node_modules/volar-service-prettier": {+ "version": "0.0.71",+ "resolved": "https://registry.npmjs.org/volar-service-prettier/-/volar-service-prettier-0.0.71.tgz",+ "integrity": "sha512-Rz7JVH3qD108UCdmIEiZvOBNljMt2nLFdbN8AXcDfn7xD9F5I2aCIsDVqBbXw21PsnxG0b7MfwtNF+zPS/NKUg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "vscode-uri": "^3.0.8"+ },+ "peerDependencies": {+ "@volar/language-service": "~2.4.0",+ "prettier": "^2.2 || ^3.0"+ },+ "peerDependenciesMeta": {+ "@volar/language-service": {+ "optional": true+ },+ "prettier": {+ "optional": true+ }+ }+ },+ "node_modules/volar-service-typescript": {+ "version": "0.0.71",+ "resolved": "https://registry.npmjs.org/volar-service-typescript/-/volar-service-typescript-0.0.71.tgz",+ "integrity": "sha512-yTtM/BVT6hoyEYnDtaCyAtNhdNeS/mhTTABlBOdw3NNiRBUin3IznFJpgfjer4c6RYopiPjjQjc9VFhxVl1mLw==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "path-browserify": "^1.0.1",+ "semver": "^7.6.2",+ "typescript-auto-import-cache": "^0.3.5",+ "vscode-languageserver-textdocument": "^1.0.11",+ "vscode-nls": "^5.2.0",+ "vscode-uri": "^3.0.8"+ },+ "peerDependencies": {+ "@volar/language-service": "~2.4.0"+ },+ "peerDependenciesMeta": {+ "@volar/language-service": {+ "optional": true+ }+ }+ },+ "node_modules/volar-service-typescript-twoslash-queries": {+ "version": "0.0.71",+ "resolved": "https://registry.npmjs.org/volar-service-typescript-twoslash-queries/-/volar-service-typescript-twoslash-queries-0.0.71.tgz",+ "integrity": "sha512-9K2k72s4n7rV9s4bX0MyjbX9iBribvKZbBJKuEmTCZfeWJXs6Yh7bGpY4eoc7UufAjvpheBqwyZCOIPBvxCv0A==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "vscode-uri": "^3.0.8"+ },+ "peerDependencies": {+ "@volar/language-service": "~2.4.0"+ },+ "peerDependenciesMeta": {+ "@volar/language-service": {+ "optional": true+ }+ }+ },+ "node_modules/volar-service-yaml": {+ "version": "0.0.71",+ "resolved": "https://registry.npmjs.org/volar-service-yaml/-/volar-service-yaml-0.0.71.tgz",+ "integrity": "sha512-qYGWGuVpUTnZGu5P/CR4KLK4aIR8RrcVnmfZ2eRcj9q/I8VZCoC5yy9FtEvfNvnDp4MU17yhdJcvpQPIqhJS2Q==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "vscode-uri": "^3.0.8",+ "yaml-language-server": "~1.23.0"+ },+ "peerDependencies": {+ "@volar/language-service": "~2.4.0"+ },+ "peerDependenciesMeta": {+ "@volar/language-service": {+ "optional": true+ }+ }+ },+ "node_modules/vscode-css-languageservice": {+ "version": "6.3.10",+ "resolved": "https://registry.npmjs.org/vscode-css-languageservice/-/vscode-css-languageservice-6.3.10.tgz",+ "integrity": "sha512-eq5N9Er3fC4vA9zd9EFhyBG90wtCCuXgRSpAndaOgXMh1Wgep5lBgRIeDgjZBW9pa+332yC9+49cZMW8jcL3MA==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@vscode/l10n": "^0.0.18",+ "vscode-languageserver-textdocument": "^1.0.12",+ "vscode-languageserver-types": "3.17.5",+ "vscode-uri": "^3.1.0"+ }+ },+ "node_modules/vscode-css-languageservice/node_modules/vscode-languageserver-types": {+ "version": "3.17.5",+ "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.17.5.tgz",+ "integrity": "sha512-Ld1VelNuX9pdF39h2Hgaeb5hEZM2Z3jUrrMgWQAu82jMtZp7p3vJT3BzToKtZI7NgQssZje5o0zryOrhQvzQAg==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/vscode-html-languageservice": {+ "version": "5.6.2",+ "resolved": "https://registry.npmjs.org/vscode-html-languageservice/-/vscode-html-languageservice-5.6.2.tgz",+ "integrity": "sha512-ulCrSnFnfQ16YzvwnYUgEbUEl/ZG7u2eV27YhvLObSHKkb8fw1Z9cgsnUwjTEeDIdJDoTDTDpxuhQwoenoLNMg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@vscode/l10n": "^0.0.18",+ "vscode-languageserver-textdocument": "^1.0.12",+ "vscode-languageserver-types": "^3.17.5",+ "vscode-uri": "^3.1.0"+ }+ },+ "node_modules/vscode-json-languageservice": {+ "version": "4.1.8",+ "resolved": "https://registry.npmjs.org/vscode-json-languageservice/-/vscode-json-languageservice-4.1.8.tgz",+ "integrity": "sha512-0vSpg6Xd9hfV+eZAaYN63xVVMOTmJ4GgHxXnkLCh+9RsQBkWKIghzLhW2B9ebfG+LQQg8uLtsQ2aUKjTgE+QOg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "jsonc-parser": "^3.0.0",+ "vscode-languageserver-textdocument": "^1.0.1",+ "vscode-languageserver-types": "^3.16.0",+ "vscode-nls": "^5.0.0",+ "vscode-uri": "^3.0.2"+ },+ "engines": {+ "npm": ">=7.0.0"+ }+ },+ "node_modules/vscode-jsonrpc": {+ "version": "9.0.3",+ "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-9.0.3.tgz",+ "integrity": "sha512-qETYf9PCl1lVfwR+oBmMfc4vP2nqLNA35ABxorw3j06+xlKRgDVxbLgKm4Y/xPL0YWdeDjLoI4ImICIT3nB0zQ==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=14.0.0"+ }+ },+ "node_modules/vscode-languageserver": {+ "version": "9.0.1",+ "resolved": "https://registry.npmjs.org/vscode-languageserver/-/vscode-languageserver-9.0.1.tgz",+ "integrity": "sha512-woByF3PDpkHFUreUa7Hos7+pUWdeWMXRd26+ZX2A8cFx6v/JPTtd4/uN0/jB6XQHYaOlHbio03NTHCqrgG5n7g==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "vscode-languageserver-protocol": "3.17.5"+ },+ "bin": {+ "installServerIntoExtension": "bin/installServerIntoExtension"+ }+ },+ "node_modules/vscode-languageserver-protocol": {+ "version": "3.18.4",+ "resolved": "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.18.4.tgz",+ "integrity": "sha512-CCXbyr99dafRJzJH/0Ryk7ly5T8XPmSR0//OuF2w4m+9JiOin7zcAT5iET8GRE7Z9taFBejb3GbM0a0mbjdbrg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "vscode-jsonrpc": "9.0.3",+ "vscode-languageserver-types": "3.18.4"+ }+ },+ "node_modules/vscode-languageserver-textdocument": {+ "version": "1.0.15",+ "resolved": "https://registry.npmjs.org/vscode-languageserver-textdocument/-/vscode-languageserver-textdocument-1.0.15.tgz",+ "integrity": "sha512-Gsfr9S8LU3S6885cS+NaleasJ0n3V5y/SOTqHCifQiXWFw3G9w9/YItDfwHrlCz+dSZWWZ8ilYVMcJe7Sz7Sxw==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/vscode-languageserver-types": {+ "version": "3.18.4",+ "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.18.4.tgz",+ "integrity": "sha512-nQsacoiijvl0fRf2q28uFDrAVwRhdCa3QveiF7/CX0r18mLR5FU/1WskSsCKOjmEbtteKUnY8x8Yzxop+k0zwg==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/vscode-languageserver/node_modules/vscode-jsonrpc": {+ "version": "8.2.0",+ "resolved": "https://registry.npmjs.org/vscode-jsonrpc/-/vscode-jsonrpc-8.2.0.tgz",+ "integrity": "sha512-C+r0eKJUIfiDIfwJhria30+TYWPtuHJXHtI7J0YlOmKAo7ogxP20T0zxB7HZQIFhIyvoBPwWskjxrvAtfjyZfA==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=14.0.0"+ }+ },+ "node_modules/vscode-languageserver/node_modules/vscode-languageserver-protocol": {+ "version": "3.17.5",+ "resolved": "https://registry.npmjs.org/vscode-languageserver-protocol/-/vscode-languageserver-protocol-3.17.5.tgz",+ "integrity": "sha512-mb1bvRJN8SVznADSGWM9u/b07H7Ecg0I3OgXDuLdn307rl/J3A9YD6/eYOssqhecL27hK1IPZAsaqh00i/Jljg==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "vscode-jsonrpc": "8.2.0",+ "vscode-languageserver-types": "3.17.5"+ }+ },+ "node_modules/vscode-languageserver/node_modules/vscode-languageserver-types": {+ "version": "3.17.5",+ "resolved": "https://registry.npmjs.org/vscode-languageserver-types/-/vscode-languageserver-types-3.17.5.tgz",+ "integrity": "sha512-Ld1VelNuX9pdF39h2Hgaeb5hEZM2Z3jUrrMgWQAu82jMtZp7p3vJT3BzToKtZI7NgQssZje5o0zryOrhQvzQAg==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/vscode-nls": {+ "version": "5.2.0",+ "resolved": "https://registry.npmjs.org/vscode-nls/-/vscode-nls-5.2.0.tgz",+ "integrity": "sha512-RAaHx7B14ZU04EU31pT+rKz2/zSl7xMsfIZuo8pd+KZO6PXtQmpevpq3vxvWNcrGbdmhM/rr5Uw5Mz+NBfhVng==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/vscode-uri": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/vscode-uri/-/vscode-uri-3.2.0.tgz",+ "integrity": "sha512-m2gXo3bn0G1kT9InzMf07fTbqMbGtyckj3bH5ktLO+1Ssv+yiATZ4dhwaQv9UZWxJh6E9IFGnQyjgWVDWVBDrg==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/webdriver-bidi-protocol": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/webdriver-bidi-protocol/-/webdriver-bidi-protocol-1.0.1.tgz",+ "integrity": "sha512-WXWs/aXF2a6Al1Z2/V/7Gp2oPZOAAmHjJOTmv4KCXRJ122IMj3tSSMc6a4q3K4QOmhQbse/Ahr+oTVJOU2dUiw==",+ "dev": true,+ "license": "Apache-2.0"+ },+ "node_modules/wrap-ansi": {+ "version": "9.0.2",+ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-9.0.2.tgz",+ "integrity": "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "ansi-styles": "^6.2.1",+ "string-width": "^7.0.0",+ "strip-ansi": "^7.1.0"+ },+ "engines": {+ "node": ">=18"+ },+ "funding": {+ "url": "https://github.com/chalk/wrap-ansi?sponsor=1"+ }+ },+ "node_modules/wrap-ansi/node_modules/string-width": {+ "version": "7.2.0",+ "resolved": "https://registry.npmjs.org/string-width/-/string-width-7.2.0.tgz",+ "integrity": "sha512-tsaTIkKW9b4N+AEj+SVA+WhJzV7/zMhcSu78mLKWSk7cXMOSHsBKFWUs0fWwq8QyK3MgJBQRX6Gbi4kYbdvGkQ==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "emoji-regex": "^10.3.0",+ "get-east-asian-width": "^1.0.0",+ "strip-ansi": "^7.1.0"+ },+ "engines": {+ "node": ">=18"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/ws": {+ "version": "8.22.0",+ "resolved": "https://registry.npmjs.org/ws/-/ws-8.22.0.tgz",+ "integrity": "sha512-Ydggc987+RO0AnWtZ/7Wq9FtNvcrL1b/RO0ud9mWjUPgDrsAAwQSF51sm2hm1XofbU/4jkpGEsLFsZZxU+1DOg==",+ "dev": true,+ "license": "MIT",+ "engines": {+ "node": ">=10.0.0"+ },+ "peerDependencies": {+ "bufferutil": "^4.0.1",+ "utf-8-validate": ">=5.0.2"+ },+ "peerDependenciesMeta": {+ "bufferutil": {+ "optional": true+ },+ "utf-8-validate": {+ "optional": true+ }+ }+ },+ "node_modules/xxhash-wasm": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/xxhash-wasm/-/xxhash-wasm-1.1.0.tgz",+ "integrity": "sha512-147y/6YNh+tlp6nd/2pWq38i9h6mz/EuQ6njIrmW8D1BS5nCqs0P6DG+m6zTGnNz5I+uhZ0SHxBs9BsPrwcKDA==",+ "license": "MIT"+ },+ "node_modules/y18n": {+ "version": "5.0.8",+ "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz",+ "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==",+ "dev": true,+ "license": "ISC",+ "engines": {+ "node": ">=10"+ }+ },+ "node_modules/yaml": {+ "version": "2.9.1",+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.9.1.tgz",+ "integrity": "sha512-3NxN8+78OdzbT7C/WjGsyfPAtJaN3FNDsWxv7Y7mcDsT/oOmgW8BpyQQFFBnvZE3j9Y2Sdz1ULFLezL7Eb2yFw==",+ "license": "ISC",+ "bin": {+ "yaml": "bin.mjs"+ },+ "engines": {+ "node": ">= 14.6"+ },+ "funding": {+ "url": "https://github.com/sponsors/eemeli"+ }+ },+ "node_modules/yaml-language-server": {+ "version": "1.23.0",+ "resolved": "https://registry.npmjs.org/yaml-language-server/-/yaml-language-server-1.23.0.tgz",+ "integrity": "sha512-3qVyCOexLCWw06PQa5kRPwvMWMZ/eZeCRWUvgD6a0OkqL/4iCnxy2WumbWifa937Uo5xhyWJ0uxlU39ljhNh7A==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "@vscode/l10n": "^0.0.18",+ "ajv": "^8.17.1",+ "ajv-draft-04": "^1.0.0",+ "ajv-i18n": "^4.2.0",+ "prettier": "^3.8.1",+ "request-light": "^0.5.7",+ "vscode-json-languageservice": "4.1.8",+ "vscode-languageserver": "^9.0.0",+ "vscode-languageserver-textdocument": "^1.0.1",+ "vscode-languageserver-types": "^3.16.0",+ "vscode-uri": "^3.0.2",+ "yaml": "2.8.3"+ },+ "bin": {+ "yaml-language-server": "bin/yaml-language-server"+ }+ },+ "node_modules/yaml-language-server/node_modules/request-light": {+ "version": "0.5.8",+ "resolved": "https://registry.npmjs.org/request-light/-/request-light-0.5.8.tgz",+ "integrity": "sha512-3Zjgh+8b5fhRJBQZoy+zbVKpAQGLyka0MPgW3zruTF4dFFJ8Fqcfu9YsAvi/rvdcaTeWG3MkbZv4WKxAn/84Lg==",+ "dev": true,+ "license": "MIT"+ },+ "node_modules/yaml-language-server/node_modules/yaml": {+ "version": "2.8.3",+ "resolved": "https://registry.npmjs.org/yaml/-/yaml-2.8.3.tgz",+ "integrity": "sha512-AvbaCLOO2Otw/lW5bmh9d/WEdcDFdQp2Z2ZUH3pX9U2ihyUY0nvLv7J6TrWowklRGPYbB/IuIMfYgxaCPg5Bpg==",+ "dev": true,+ "license": "ISC",+ "bin": {+ "yaml": "bin.mjs"+ },+ "engines": {+ "node": ">= 14.6"+ },+ "funding": {+ "url": "https://github.com/sponsors/eemeli"+ }+ },+ "node_modules/yargs": {+ "version": "18.2.0",+ "resolved": "https://registry.npmjs.org/yargs/-/yargs-18.2.0.tgz",+ "integrity": "sha512-9OpKOLeaoNFecEp7P6iYbzze/5CqWoH7N3SMs/6y1XF4nMvFMspEGZzJ6uFi9MmQwXhyzqYoSEKO3tvA3Z/o2w==",+ "dev": true,+ "license": "MIT",+ "dependencies": {+ "cliui": "^9.0.1",+ "escalade": "^3.1.1",+ "get-caller-file": "^2.0.5",+ "string-width": "^8.2.1",+ "y18n": "^5.0.5",+ "yargs-parser": "^22.0.0"+ },+ "engines": {+ "node": "^20.19.0 || ^22.12.0 || >=23"+ }+ },+ "node_modules/yargs-parser": {+ "version": "22.0.0",+ "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-22.0.0.tgz",+ "integrity": "sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw==",+ "license": "ISC",+ "engines": {+ "node": "^20.19.0 || ^22.12.0 || >=23"+ }+ },+ "node_modules/yocto-queue": {+ "version": "1.2.2",+ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-1.2.2.tgz",+ "integrity": "sha512-4LCcse/U2MHZ63HAJVE+v71o7yOdIe4cZ70Wpf8D/IyjDKYQLV5GD46B+hSTjJsvV5PztjvHoU580EftxjDZFQ==",+ "license": "MIT",+ "engines": {+ "node": ">=12.20"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/zod": {+ "version": "4.6.5",+ "resolved": "https://registry.npmjs.org/zod/-/zod-4.6.5.tgz",+ "integrity": "sha512-v5l/aFXZQeai4awLbOpSoHecE9UiMrnfx75tEXLjNonXVARxQ5mOeipTjROUchszUNCqnE+hqAMujRsRHsut2Q==",+ "license": "MIT",+ "funding": {+ "url": "https://github.com/sponsors/colinhacks"+ }+ },+ "node_modules/zwitch": {+ "version": "2.0.4",+ "resolved": "https://registry.npmjs.org/zwitch/-/zwitch-2.0.4.tgz",+ "integrity": "sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==",+ "license": "MIT",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/wooorm"+ }+ }+ }+}diff --git a/site/package.json b/site/package.jsonnew file mode 100644index 0000000..499ec33--- /dev/null+++ b/site/package.json@@ -0,0 +1,26 @@+{+ "name": "egm-site",+ "private": true,+ "type": "module",+ "description": "Landing site for the Elephant-Goldfish Model, served at https://egm.dev",+ "license": "Apache-2.0",+ "engines": {+ "node": ">=22.12"+ },+ "scripts": {+ "dev": "astro dev",+ "build": "astro build",+ "preview": "astro preview",+ "check": "astro check",+ "capture": "astro build && node scripts/capture.mjs"+ },+ "dependencies": {+ "@material/web": "2.5.0",+ "astro": "^7.3.8"+ },+ "devDependencies": {+ "@astrojs/check": "^0.9.4",+ "puppeteer-core": "25.13.0",+ "typescript": "^6.0.3"+ }+}diff --git a/site/public/CNAME b/site/public/CNAMEnew file mode 100644index 0000000..8be6188--- /dev/null+++ b/site/public/CNAME@@ -0,0 +1 @@+egm.devdiff --git a/site/public/favicon.svg b/site/public/favicon.svgnew file mode 100644index 0000000..7805d43--- /dev/null+++ b/site/public/favicon.svg@@ -0,0 +1,14 @@+<svg xmlns="http://www.w3.org/2000/svg" viewBox="1.6 2.0 20.0 20.0" width="32" height="32">+ <style>+ :root { --e: var(--egm-color-elephant, light-dark(#1b6ef3, #7cacf8)); --g: var(--egm-color-goldfish, light-dark(#e86e00, #ff8d41)); color-scheme: light dark; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }+ #e { fill: var(--e); stroke: var(--e); } #g { fill: var(--g); stroke: var(--g); } .d { stroke: none; } .t { fill: none; }+ </style>+ <g id="e">+ <path class="d" d="M10.30,6.80 A5.20,5.20 0 0 0 10.30,17.20 A1.20,1.20 0 0 0 11.50,16.00 L11.50,8.00 A1.20,1.20 0 0 0 10.30,6.80Z"/>+ <path class="t" d="M7.20,12.20 C6.80,15.05 3.15,15.15 2.95,12.85 C2.85,11.25 3.10,10.20 3.45,9.40"/>+ </g>+ <g id="g">+ <path class="d" d="M13.70,6.80 A5.20,5.20 0 0 1 13.70,17.20 A1.20,1.20 0 0 1 12.50,16.00 L12.50,8.00 A1.20,1.20 0 0 1 13.70,6.80Z"/>+ <path d="M16.80,12.00 L20.40,9.40 Q18.70,12.00 20.40,14.60Z"/>+ </g>+</svg>diff --git a/site/public/og.png b/site/public/og.pngnew file mode 100644index 0000000..8928512Binary files /dev/null and b/site/public/og.png differdiff --git a/site/public/robots.txt b/site/public/robots.txtnew file mode 100644index 0000000..c2a49f4--- /dev/null+++ b/site/public/robots.txt@@ -0,0 +1,2 @@+User-agent: *+Allow: /diff --git a/site/screenshots/full-light.png b/site/screenshots/full-light.pngnew file mode 100644index 0000000..1e866b4Binary files /dev/null and b/site/screenshots/full-light.png differdiff --git a/site/screenshots/hero-dark.png b/site/screenshots/hero-dark.pngnew file mode 100644index 0000000..335e22dBinary files /dev/null and b/site/screenshots/hero-dark.png differdiff --git a/site/screenshots/hero-light.png b/site/screenshots/hero-light.pngnew file mode 100644index 0000000..c31b54dBinary files /dev/null and b/site/screenshots/hero-light.png differdiff --git a/site/screenshots/mobile.png b/site/screenshots/mobile.pngnew file mode 100644index 0000000..271e924Binary files /dev/null and b/site/screenshots/mobile.png differdiff --git a/site/scripts/capture.mjs b/site/scripts/capture.mjsnew file mode 100644index 0000000..051df80--- /dev/null+++ b/site/scripts/capture.mjs@@ -0,0 +1,67 @@+// Copyright 2026 Google LLC+//+// Licensed under the Apache License, Version 2.0 (the "License");+// you may not use this file except in compliance with the License.+// You may obtain a copy of the License at+//+// https://www.apache.org/licenses/LICENSE-2.0+//+// Unless required by applicable law or agreed to in writing, software+// distributed under the License is distributed on an "AS IS" BASIS,+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+// See the License for the specific language governing permissions and+// limitations under the License.++// Regenerates every committed site image: public/og.png and screenshots/*.png.+// Usage: npm run capture (builds first, then serves dist/ and drives Chrome).+// Uses puppeteer-core with the installed Chrome; set CHROME_PATH if it is not found.++import { createServer } from 'node:http';+import { readFile } from 'node:fs/promises';+import { extname, join, normalize } from 'node:path';+import { fileURLToPath, pathToFileURL } from 'node:url';+import puppeteer from 'puppeteer-core';++const site = fileURLToPath(new URL('..', import.meta.url));+const dist = join(site, 'dist');+const types = { '.html': 'text/html', '.css': 'text/css', '.js': 'text/javascript', '.svg': 'image/svg+xml', '.png': 'image/png', '.woff2': 'font/woff2' };++// Serves dist/ so the built page's absolute /_astro/* asset paths resolve.+const server = createServer(async (req, res) => {+ const path = normalize(decodeURIComponent(new URL(req.url, 'http://x').pathname));+ const file = join(dist, path.endsWith('/') ? `${path}index.html` : path);+ try {+ const body = await readFile(file);+ res.writeHead(200, { 'content-type': types[extname(file)] ?? 'application/octet-stream' });+ res.end(body);+ } catch {+ res.writeHead(404).end();+ }+});+await new Promise((resolve) => server.listen(0, '127.0.0.1', resolve));+const base = `http://127.0.0.1:${server.address().port}`;++// channel: 'chrome' finds the installed Chrome on Linux, macOS, and Windows; CHROME_PATH overrides it.+const browser = await puppeteer.launch({ channel: 'chrome', executablePath: process.env.CHROME_PATH, args: ['--no-sandbox'] });++async function capture({ url, out, width, height, scheme = 'light', fullPage = false }) {+ const page = await browser.newPage();+ await page.setViewport({ width, height });+ await page.emulateMediaFeatures([{ name: 'prefers-color-scheme', value: scheme }]);+ await page.goto(url, { waitUntil: 'networkidle0' });+ await page.evaluate(() => document.fonts.ready);+ await page.screenshot({ path: join(site, out), fullPage });+ await page.close();+ console.log(`wrote ${out}`);+}++try {+ await capture({ url: pathToFileURL(join(site, 'scripts/og.html')).href, out: 'public/og.png', width: 1200, height: 630 });+ await capture({ url: `${base}/`, out: 'screenshots/hero-light.png', width: 1200, height: 600 });+ await capture({ url: `${base}/`, out: 'screenshots/hero-dark.png', width: 1200, height: 600, scheme: 'dark' });+ await capture({ url: `${base}/`, out: 'screenshots/full-light.png', width: 1000, height: 800, fullPage: true });+ await capture({ url: `${base}/`, out: 'screenshots/mobile.png', width: 375, height: 812 });+} finally {+ await browser.close();+ server.close();+}diff --git a/site/scripts/og.html b/site/scripts/og.htmlnew file mode 100644index 0000000..372c7d7--- /dev/null+++ b/site/scripts/og.html@@ -0,0 +1,148 @@+<!doctype html>+<!--+Copyright 2026 Google LLC++Licensed under the Apache License, Version 2.0 (the "License");+you may not use this file except in compliance with the License.+You may obtain a copy of the License at++ https://www.apache.org/licenses/LICENSE-2.0++Unless required by applicable law or agreed to in writing, software+distributed under the License is distributed on an "AS IS" BASIS,+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+See the License for the specific language governing permissions and+limitations under the License.+-->+<!-- Template for public/og.png (1200x630). Rendered by scripts/capture.mjs; edit here, not the PNG. -->+<html lang="en">+ <head>+ <meta charset="utf-8" />+ <link rel="stylesheet" href="../src/styles/tokens.css" />+ <style>+ @font-face {+ font-family: 'Google Sans Flex';+ src: url('../src/assets/fonts/google-sans-flex.woff2') format('woff2');+ font-weight: 100 1000;+ }+ :root {+ color-scheme: light;+ --font-display: 'Google Sans Flex', system-ui, sans-serif;+ }+ * {+ box-sizing: border-box;+ margin: 0;+ padding: 0;+ }+ body {+ inline-size: 1200px;+ block-size: 630px;+ padding: 44px 52px;+ display: flex;+ flex-direction: column;+ justify-content: space-between;+ font-family: var(--font-display);+ color: var(--md-sys-color-on-surface);+ background: var(--md-sys-color-surface);+ }+ .header {+ display: flex;+ align-items: baseline;+ justify-content: space-between;+ padding: 0 4px;+ }+ .brand {+ font-size: 24px;+ font-weight: 600;+ letter-spacing: -0.02em;+ color: var(--md-sys-color-on-surface);+ }+ .domain {+ font-size: 20px;+ font-weight: 500;+ color: var(--md-sys-color-on-surface-variant);+ letter-spacing: -0.01em;+ }+ .cards {+ display: grid;+ grid-template-columns: 1fr 1fr;+ gap: 24px;+ block-size: 472px;+ }+ .card {+ border-radius: 28px;+ padding: 36px 44px 38px;+ display: flex;+ flex-direction: column;+ justify-content: space-between;+ border: 1px solid rgba(8, 66, 160, 0.08);+ }+ .card-el {+ background: #e8f0fe;+ }+ .card-gf {+ background: #fff3e8;+ border: 1px solid rgba(232, 110, 0, 0.12);+ }+ .stage {+ flex: 1;+ display: flex;+ align-items: center;+ justify-content: center;+ padding-bottom: 4px;+ }+ .card-bottom {+ display: flex;+ flex-direction: column;+ gap: 4px;+ }+ .name {+ font-size: 34px;+ font-weight: 600;+ letter-spacing: -0.02em;+ color: #041e49;+ line-height: 1.1;+ }+ .desc {+ font-size: 20px;+ font-weight: 400;+ color: var(--egm-color-elephant);+ }+ .desc-gf {+ color: #a04c00;+ }+ </style>+ </head>+ <body>+ <div class="header">+ <span class="brand">Elephant-Goldfish Model</span>+ <div class="domain">egm.dev</div>+ </div>+ <div class="cards">+ <div class="card card-el">+ <div class="stage">+ <svg viewBox="1.60 6.8 10.4 10.4" width="232" height="232" aria-hidden="true">+ <path d="M10.30,6.80 A5.20,5.20 0 0 0 10.30,17.20 A1.20,1.20 0 0 0 11.50,16.00 L11.50,8.00 A1.20,1.20 0 0 0 10.30,6.80Z" fill="var(--egm-color-elephant)" />+ <path d="M7.20,12.20 C6.80,15.05 3.15,15.15 2.95,12.85 C2.85,11.25 3.10,10.20 3.45,9.40" fill="none" stroke="var(--egm-color-elephant)" stroke-width="2.40" stroke-linecap="round" stroke-linejoin="round" />+ </svg>+ </div>+ <div class="card-bottom">+ <div class="name">Elephant</div>+ <div class="desc">Remembers everything.</div>+ </div>+ </div>+ <div class="card card-gf">+ <div class="stage">+ <svg viewBox="12.5 6.8 10.4 10.4" width="232" height="232" aria-hidden="true">+ <path d="M13.70,6.80 A5.20,5.20 0 0 1 13.70,17.20 A1.20,1.20 0 0 1 12.50,16.00 L12.50,8.00 A1.20,1.20 0 0 1 13.70,6.80Z" fill="var(--egm-color-goldfish)" />+ <path d="M16.80,12.00 L20.40,9.40 Q18.70,12.00 20.40,14.60Z" fill="var(--egm-color-goldfish)" stroke="var(--egm-color-goldfish)" stroke-width="2.40" stroke-linecap="round" stroke-linejoin="round" />+ </svg>+ </div>+ <div class="card-bottom">+ <div class="name">Goldfish</div>+ <div class="desc desc-gf">Remembers nothing.</div>+ </div>+ </div>+ </div>+ </body>+</html>diff --git a/site/src/assets/fonts/google-sans-code.woff2 b/site/src/assets/fonts/google-sans-code.woff2new file mode 100644index 0000000..3686534Binary files /dev/null and b/site/src/assets/fonts/google-sans-code.woff2 differdiff --git a/site/src/assets/fonts/google-sans-flex.woff2 b/site/src/assets/fonts/google-sans-flex.woff2new file mode 100644index 0000000..9cb21e3Binary files /dev/null and b/site/src/assets/fonts/google-sans-flex.woff2 differdiff --git a/site/src/components/Essay.astro b/site/src/components/Essay.astronew file mode 100644index 0000000..8216f4c--- /dev/null+++ b/site/src/components/Essay.astro@@ -0,0 +1,59 @@+---+import Button from './gb/Button.astro';++const essay =+ 'https://medium.com/@drensin/elephants-goldfish-and-the-new-golden-age-of-software-engineering-c33641a48874';+---++<section class="section-tight essay" id="essay">+ <div class="wrap">+ <div class="essay-grid">+ <h2 class="headline">Why an elephant, and why a goldfish.</h2>+ <div class="essay-body">+ <p class="lead">+ The model comes from Dave Rensin’s essay “Elephants, Goldfish, and the New+ Golden Age of Software Engineering.” It explains the reasoning behind the split:+ context is an asset when you design and a liability when you review.+ </p>+ <Button color="outlined" size="md" href={essay} target="_blank">+ Read the essay on Medium+ <svg viewBox="0 -960 960 960" aria-hidden="true">+ <path d="m216-160-56-56 464-464H360v-80h400v400h-80v-264L216-160Z"></path>+ </svg>+ </Button>+ </div>+ </div>+ </div>+</section>++<style>+ .essay {+ /* Tight below so Essay β Install matches the Skills β Essay gap above. */+ padding-block: 0 var(--section-y-tight);+ }++ .essay-grid {+ display: grid;+ grid-template-columns: repeat(2, minmax(0, 1fr));+ gap: 28px clamp(32px, 6vw, 96px);+ align-items: start;+ padding-block-start: clamp(40px, 6vw, 64px);+ }++ .essay-grid .headline {+ margin-block: 0;+ }++ .essay-body {+ display: flex;+ flex-direction: column;+ align-items: flex-start;+ gap: 24px;+ }++ @media (max-width: 820px) {+ .essay-grid {+ grid-template-columns: 1fr;+ }+ }+</style>diff --git a/site/src/components/Footer.astro b/site/src/components/Footer.astronew file mode 100644index 0000000..a6d89fc--- /dev/null+++ b/site/src/components/Footer.astro@@ -0,0 +1,103 @@+---++const repo = 'https://github.com/google/elephant-goldfish-model';++const links = [+ { label: 'GitHub', href: repo },+ { label: 'Apache 2.0', href: `${repo}/blob/HEAD/LICENSE` },+ { label: 'Privacy', href: 'https://policies.google.com/privacy' },+ { label: 'Terms', href: 'https://policies.google.com/terms' },+];+---++<footer class="footer">+ <div class="wrap">+ <hr class="divider" />+ <div class="bar">+ <p class="legal muted">+ <svg class="g" viewBox="0 0 24 24" aria-hidden="true">+ <path+ d="M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"+ ></path>+ <path+ d="M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"+ ></path>+ <path+ d="M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.06H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.94l2.85-2.22.81-.63z"+ ></path>+ <path+ d="M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.06l3.66 2.84c.87-2.6 3.3-4.52 6.16-4.52z"+ ></path>+ </svg>+ <span>Copyright 2026 Google LLC · This is not an officially supported Google product.</span>+ </p>+ <nav aria-label="Footer">+ <ul>+ {+ links.map((link) => (+ <li>+ <a href={link.href} target="_blank" rel="noopener">+ {link.label}+ </a>+ </li>+ ))+ }+ </ul>+ </nav>+ </div>+ </div>+</footer>++<style>+ .footer {+ padding-block: 0 40px;+ }+++ /* One row: legal on the left, links on the right. When the row cannot hold both,+ the links wrap under the legal line, both flush left. */+ .bar {+ display: flex;+ flex-wrap: wrap;+ justify-content: space-between;+ align-items: center;+ gap: 16px 40px;+ padding-block-start: 28px;+ }++ /* Same size as the links so the row reads as one line. */+ .legal {+ display: flex;+ align-items: center;+ gap: 10px;+ font: var(--md-sys-typescale-label-lg);+ }++ /* The G takes the legal line's color. */+ .g {+ flex: none;+ inline-size: 16px;+ block-size: 16px;+ fill: currentColor;+ }++ ul {+ list-style: none;+ margin: 0;+ padding: 0;+ display: flex;+ flex-wrap: wrap;+ gap: 8px 24px;+ }++ li a {+ font: var(--md-sys-typescale-label-lg);+ text-decoration: none;+ color: var(--md-sys-color-on-surface-variant);+ }++ li a:hover {+ color: var(--md-sys-color-on-surface);+ text-decoration: underline;+ }+</style>diff --git a/site/src/components/Hero.astro b/site/src/components/Hero.astronew file mode 100644index 0000000..8596aed--- /dev/null+++ b/site/src/components/Hero.astro@@ -0,0 +1,62 @@+---+import Button from './gb/Button.astro';+---++<section class="hero" id="top">+ <div class="wrap hero-inner">+ <h1 class="display">+ Design with an elephant.<br />+ Review with a goldfish.+ </h1>+ <p class="lead">+ {/* Explicit spaces: compressHTML drops newline whitespace next to elements. */}+ <span class="nowrap">Spec-driven</span> development with AI coding agents.<br class="wide" />{' '}+ <span class="nowrap">Deep-context</span> agents draft the design. <span class="nowrap">Zero-context</span> agents tear it apart<br class="wide" />{' '}+ before any code is written. You own the outcome.+ </p>+ <div class="cta">+ <Button color="filled" size="md" href="#install">Get started</Button>+ </div>+ <p class="meta muted">+ An open-source project by Google · Used by thousands of Google engineers every month+ </p>+ </div>+</section>++<style>+ .hero {+ padding-block: clamp(80px, 12vw, 160px) clamp(48px, 7vw, 96px);+ }++ .hero-inner {+ display: flex;+ flex-direction: column;+ align-items: center;+ text-align: center;+ gap: 24px;+ }++ .lead {+ max-inline-size: 58ch;+ }++ /* Authored breaks once the lead is at full width: first sentence alone, then a clause break.+ Below that the browser wraps; the nowrap spans keep the hyphenated words whole. */+ .wide {+ display: none;+ }++ @media (min-width: 720px) {+ .wide {+ display: inline;+ }+ }++ .cta {+ margin-block-start: 8px;+ }++ .meta {+ font: var(--md-sys-typescale-label-lg);+ }+</style>diff --git a/site/src/components/Install.astro b/site/src/components/Install.astronew file mode 100644index 0000000..ab52f4e--- /dev/null+++ b/site/src/components/Install.astro@@ -0,0 +1,128 @@+---+import Button from './gb/Button.astro';+import IconButton from './gb/IconButton.astro';++const repo = 'https://github.com/google/elephant-goldfish-model';+const guide = `${repo}/blob/HEAD/docs/getting_started.md`;+const harnesses = `${repo}/blob/HEAD/docs/harnesses.md`;++// The two install paths agreed by the EGM OSS Squad: the Antigravity CLI, or a prompt.+const paths = [+ { label: 'Run in your terminal', text: `agy plugin install ${repo}`, copyLabel: 'Copy command' },+ { label: 'Or ask Antigravity', text: `Please install this plugin: ${repo}`, copyLabel: 'Copy prompt' },+];+---++<section class="section install" id="install">+ <div class="wrap">+ <div class="section-head">+ <h2 class="headline">Install the plugin.</h2>+ <p class="lead">+ Built for <a href="https://antigravity.google" target="_blank" rel="noopener">Antigravity</a>, Google's agentic+ development platform.+ </p>+ </div>++ <div class="paths">+ {+ paths.map((path) => (+ <div class="path">+ <p class="path-label">{path.label}</p>+ <div class="copybox">+ <code class="command">{path.text}</code>+ <IconButton label={path.copyLabel} color="tonal" size="sm" data-copy={path.text}>+ <svg class="icon-copy" viewBox="0 -960 960 960" aria-hidden="true">+ <path+ d="M360-240q-33 0-56.5-23.5T280-320v-480q0-33 23.5-56.5T360-880h360q33 0 56.5 23.5T800-800v480q0 33-23.5 56.5T720-240H360Zm0-80h360v-480H360v480ZM200-80q-33 0-56.5-23.5T120-160v-560h80v560h440v80H200Zm160-240v-480 480Z"+ ></path>+ </svg>+ <svg class="icon-check" viewBox="0 -960 960 960" aria-hidden="true">+ <path d="M382-240 154-468l57-57 171 171 367-367 57 57-424 424Z"></path>+ </svg>+ </IconButton>+ </div>+ </div>+ ))+ }+ </div>++ <p class="muted then">+ Then run <code>/egm-brainstorm</code> on a real feature and let the goldfish shoot down the first idea.+ Using another agent? <a href={harnesses} target="_blank" rel="noopener">See the harness guide</a>.+ </p>++ <Button color="outlined" size="md" href={guide} target="_blank">Read the setup guide</Button>+ </div>+</section>++<script>+ // Clipboard copy for the install command and prompt. This is the only script on the page.+ for (const button of document.querySelectorAll<HTMLButtonElement>('[data-copy]')) {+ const label = button.getAttribute('aria-label') ?? '';+ button.addEventListener('click', async () => {+ try {+ await navigator.clipboard.writeText(button.dataset.copy ?? '');+ } catch {+ return; // No clipboard permission; the command is still selectable text.+ }+ button.classList.add('copied');+ button.setAttribute('aria-label', 'Copied');+ setTimeout(() => {+ button.classList.remove('copied');+ button.setAttribute('aria-label', label);+ }, 1600);+ });+ }+</script>++<style>+ .install {+ padding-block: var(--section-y-tight) var(--section-y);+ }++ .paths {+ display: grid;+ grid-template-columns: minmax(0, 1fr);+ gap: 24px;+ max-inline-size: 640px;+ }++ .path-label {+ margin: 0 0 8px;+ font: var(--md-sys-typescale-label-lg);+ color: var(--md-sys-color-on-surface-variant);+ }++ .copybox {+ display: flex;+ align-items: center;+ gap: 12px;+ padding: 8px 8px 8px 20px;+ border: 1px solid var(--md-sys-color-outline-variant);+ border-radius: var(--md-sys-shape-corner-lg);+ background: var(--md-sys-color-surface-container-low);+ }++ .command {+ flex: 1;+ min-inline-size: 0;+ font-size: 0.9375rem;+ overflow-x: auto;+ white-space: nowrap;+ user-select: all;+ }++ .icon-check,+ :global(.copied) .icon-copy {+ display: none;+ }++ :global(.copied) .icon-check {+ display: block;+ }++ .then {+ max-inline-size: 640px;+ margin: clamp(32px, 5vw, 48px) 0;+ }+</style>diff --git a/site/src/components/Loop.astro b/site/src/components/Loop.astronew file mode 100644index 0000000..d074759--- /dev/null+++ b/site/src/components/Loop.astro@@ -0,0 +1,248 @@+---+const steps = [+ {+ name: 'Brainstorm',+ role: 'Elephant',+ command: '/egm-brainstorm',+ body: 'Clarify a rough idea through open-ended questioning and stress-test the hypothesis into a concept brief.',+ },+ {+ name: 'Draft',+ role: 'Elephant',+ command: '/egm-draft',+ body: 'Turn the brief into a living design doc under docs/designs/, section by section.',+ },+ {+ name: 'Review',+ role: 'Goldfish',+ command: '/egm-review',+ body: 'A fresh, zero-context Goldfish session checks completeness, clarity, self-containment, and readiness. Expect a lot of feedback. That is the point.',+ },+];+---++<section class="section loop">+ <div class="wrap">+ <div class="section-head">+ <h2 class="headline">From idea to verified spec to code.</h2>+ <p class="lead">+ Three skills take a feature from a rough idea to a verified spec. After that, any coding+ agent can build it.+ </p>+ </div>+ <ol class="steps">+ {+ steps.map((step, i) => (+ <li class="step">+ <span class="badge badge-large">{i + 1}</span>+ <div class="title-row">+ <h3 class="title">{step.name}</h3>+ <span class="role">{step.role}</span>+ </div>+ <code class="cmd">{step.command}</code>+ <p class="muted">{step.body}</p>+ </li>+ ))+ }+ <li class="step">+ <span class="badge badge-large" aria-hidden="true">+ <svg viewBox="0 -960 960 960">+ <path d="M647-440H160v-80h487L423-744l57-56 320 320-320 320-57-56 224-224Z"></path>+ </svg>+ </span>+ <div class="title-row">+ <h3 class="title">Build the code</h3>+ <span class="role">You</span>+ </div>+ <span class="no-skill">No skill needed</span>+ <p class="muted">+ The verified spec is complete enough to hand directly to your LLM to execute.+ </p>+ </li>+ <li class="step drift">+ <span class="marker" aria-hidden="true">+ <svg viewBox="0 -960 960 960">+ <path+ d="M204-318q-22-38-33-78t-11-82q0-134 93-228t227-94h7l-64-64 56-56 160 160-160 160-56-56 64-64h-7q-100 0-170 70.5T240-478q0 26 6 51t18 49l-60 60ZM481-40 321-200l160-160 56 56-64 64h7q100 0 170-70.5T720-482q0-26-6-51t-18-49l60-60q22 38 33 78t11 82q0 134-93 228t-227 94h-7l64 64-56 56Z"+ ></path>+ </svg>+ </span>+ <div class="drift-head">+ <h3 class="title">Then weekly</h3>+ <code class="cmd">/egm-drift-report</code>+ </div>+ <p class="muted">+ Flags where the code and the spec have drifted apart. You pick which one moves.+ </p>+ </li>+ </ol>+ </div>+</section>++<style>+ .loop {+ background: var(--md-sys-color-surface-container-low);+ }++ /* One continuous rule carries the sequence; each step's number sits on the line. */+ .steps {+ list-style: none;+ margin: 0;+ padding: 0;+ display: grid;+ grid-template-columns: repeat(4, minmax(0, 1fr));+ row-gap: 48px;+ }++ .step {+ position: relative;+ display: flex;+ flex-direction: column;+ gap: 10px;+ padding-block-start: 32px;+ padding-inline-end: 24px;+ border-block-start: 1px solid var(--md-sys-color-outline-variant);+ }++ .step:nth-child(4n) {+ padding-inline-end: 0;+ }++ /* Badge theming through its documented custom properties. The outline in the band+ color lifts the number off the rule. */+ .step :global(.badge),+ .marker {+ --label-text: var(--md-sys-typescale-label-lg);+ --size: 28px;+ position: absolute;+ inset-block-start: -14px;+ inset-inline-start: 0;+ outline: 6px solid var(--md-sys-color-surface-container-low);+ }++ /* Elephant steps (Brainstorm, Draft) and the Goldfish step (Review) use the brand marks. */+ .step:nth-child(1) :global(.badge),+ .step:nth-child(2) :global(.badge) {+ --container-color: var(--egm-color-elephant);+ --label-text-color: var(--egm-color-on-elephant);+ }++ .step:nth-child(3) :global(.badge) {+ --container-color: var(--egm-color-goldfish);+ --label-text-color: var(--egm-color-on-goldfish);+ }++ .step:nth-child(4) :global(.badge) {+ --container-color: var(--md-sys-color-primary);+ --label-text-color: var(--md-sys-color-on-primary);+ }++ .marker {+ display: grid;+ place-items: center;+ inline-size: 28px;+ block-size: 28px;+ border-radius: 50%;+ background: var(--md-sys-color-surface-container-low);+ border: 1px solid var(--md-sys-color-outline);+ color: var(--md-sys-color-on-surface);+ }++ .step :global(.badge) > svg,+ .marker > svg {+ inline-size: 16px;+ block-size: 16px;+ fill: currentColor;+ }++ .cmd {+ font-size: 0.875rem;+ color: var(--md-sys-color-on-surface);+ background: var(--md-sys-color-surface-container-high);+ border-radius: 6px;+ padding: 2px 8px;+ inline-size: fit-content;+ }++ /* Role sits beside the heading, not inside it, so screen readers announce the heading as just the step name. */+ .title-row {+ display: flex;+ align-items: baseline;+ gap: 8px;+ }++ .role {+ font: var(--md-sys-typescale-label-lg);+ color: var(--md-sys-color-on-surface-variant);+ }++ .no-skill {+ font: var(--md-sys-typescale-label-md);+ font-size: 0.875rem;+ letter-spacing: 0;+ color: var(--md-sys-color-on-surface-variant);+ border: 1px dashed var(--md-sys-color-outline);+ border-radius: 6px;+ padding: 2px 8px;+ inline-size: fit-content;+ }++ /* The weekly check is not a fifth step: same anatomy, laid across the whole rule. */+ .drift {+ grid-column: 1 / -1;+ display: grid;+ grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);+ column-gap: 0;+ align-items: start;+ padding-inline-end: 0;+ }++ /* Same column arithmetic as the steps, so the description starts under step two. */+ .drift-head {+ display: flex;+ flex-direction: column;+ gap: 10px;+ padding-inline-end: 24px;+ }++ .drift .muted {+ max-inline-size: 60ch;+ padding-block-start: 2px;+ }++ @media (max-width: 1000px) {+ .steps {+ grid-template-columns: repeat(2, minmax(0, 1fr));+ }++ .step:nth-child(4n) {+ padding-inline-end: 24px;+ }++ .step:nth-child(2n) {+ padding-inline-end: 0;+ }++ .drift {+ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);+ }+ }++ @media (max-width: 560px) {+ .steps {+ grid-template-columns: 1fr;+ row-gap: 40px;+ }++ .step,+ .step:nth-child(2n),+ .step:nth-child(4n) {+ padding-inline-end: 0;+ }++ .drift {+ grid-template-columns: 1fr;+ row-gap: 10px;+ }+ }+</style>diff --git a/site/src/components/Mark.astro b/site/src/components/Mark.astronew file mode 100644index 0000000..53a1b71--- /dev/null+++ b/site/src/components/Mark.astro@@ -0,0 +1,67 @@+---+interface Props {+ variant?: 'split' | 'elephant' | 'goldfish';+ size?: number | string;+ width?: number | string;+ height?: number | string;+ class?: string;+ 'aria-hidden'?: boolean | 'true' | 'false';+}++const {+ variant = 'split',+ size,+ width = size ?? (variant === 'split' ? 28 : 56),+ height = size ?? (variant === 'split' ? 28 : 56),+ class: className,+ 'aria-hidden': ariaHidden = true,+} = Astro.props;++const viewBox =+ variant === 'elephant'+ ? '1.60 6.8 10.4 10.4'+ : variant === 'goldfish'+ ? '12.5 6.8 10.4 10.4'+ : '1.6 2.0 20.0 20.0';+---++<svg+ viewBox={viewBox}+ width={width}+ height={height}+ class={className}+ aria-hidden={ariaHidden ? 'true' : undefined}+>+ {(variant === 'split' || variant === 'elephant') && (+ <g class="elephant-mark">+ <path+ d="M10.30,6.80 A5.20,5.20 0 0 0 10.30,17.20 A1.20,1.20 0 0 0 11.50,16.00 L11.50,8.00 A1.20,1.20 0 0 0 10.30,6.80Z"+ fill="var(--egm-color-elephant)"+ />+ <path+ d="M7.20,12.20 C6.80,15.05 3.15,15.15 2.95,12.85 C2.85,11.25 3.10,10.20 3.45,9.40"+ fill="none"+ stroke="var(--egm-color-elephant)"+ stroke-width="2.40"+ stroke-linecap="round"+ stroke-linejoin="round"+ />+ </g>+ )}+ {(variant === 'split' || variant === 'goldfish') && (+ <g class="goldfish-mark">+ <path+ d="M13.70,6.80 A5.20,5.20 0 0 1 13.70,17.20 A1.20,1.20 0 0 1 12.50,16.00 L12.50,8.00 A1.20,1.20 0 0 1 13.70,6.80Z"+ fill="var(--egm-color-goldfish)"+ />+ <path+ d="M16.80,12.00 L20.40,9.40 Q18.70,12.00 20.40,14.60Z"+ fill="var(--egm-color-goldfish)"+ stroke="var(--egm-color-goldfish)"+ stroke-width="2.40"+ stroke-linecap="round"+ stroke-linejoin="round"+ />+ </g>+ )}+</svg>diff --git a/site/src/components/Model.astro b/site/src/components/Model.astronew file mode 100644index 0000000..d163bec--- /dev/null+++ b/site/src/components/Model.astro@@ -0,0 +1,97 @@+---+import Mark from './Mark.astro';+---++<section class="section" id="model">+ <div class="wrap">+ <div class="section-head">+ <h2 class="headline">Two kinds of agent. One owner.</h2>+ <p class="lead">+ Give the agent that designs all the context it can hold. Give the agent that reviews none of+ it. The gap between the two is where design flaws surface, before they become code.+ </p>+ </div>++ <div class="pair">+ <article class="role">+ <Mark variant="elephant" class="glyph" />+ <h3 class="title">Elephant</h3>+ <p class="role-sub">Remembers everything.</p>+ <p class="muted">+ Deep-context agents loaded with system history, architecture, component boundaries, and+ user journeys. The Elephant runs structured brainstorming, probes operational limits, and+ drafts the specification.+ </p>+ </article>+ <article class="role">+ <Mark variant="goldfish" class="glyph" />+ <h3 class="title">Goldfish</h3>+ <p class="role-sub">Remembers nothing.</p>+ <p class="muted">+ Stateless, isolated subagents that read only the draft spec and the live source, with none+ of the conversation’s bias. A swarm of goldfish stress-tests the design from+ conflicting perspectives before any code exists.+ </p>+ </article>+ </div>++ <hr class="divider" />++ <div class="human">+ <div>+ <h3 class="title">You</h3>+ <p class="role-sub">Owns the outcome.</p>+ </div>+ <p class="muted">+ AI is an exploration partner and an automated auditor. Engineers own the architectural+ decisions, the trade-offs, and the result. Every design still goes to a person for review.+ </p>+ </div>+ </div>+</section>++<style>+ .pair,+ .human {+ display: grid;+ grid-template-columns: repeat(2, minmax(0, 1fr));+ gap: 32px clamp(32px, 6vw, 96px);+ }++ .pair {+ padding-block-end: clamp(40px, 6vw, 64px);+ }++ .human {+ padding-block-start: clamp(32px, 5vw, 48px);+ }++ @media (max-width: 820px) {+ .pair,+ .human {+ grid-template-columns: 1fr;+ }+ }++ .role {+ max-inline-size: 48ch;+ }++ .pair :global(.glyph) {+ inline-size: 56px;+ block-size: 56px;+ margin-block-end: 20px;+ }++ .role-sub {+ font: var(--md-sys-typescale-title-lg);+ letter-spacing: var(--md-sys-typescale-title-lg-tracking);+ color: var(--md-sys-color-on-surface-variant);+ margin-block: 2px 14px;+ }++ .human .muted {+ font: var(--md-sys-typescale-body-lg);+ max-inline-size: 56ch;+ }+</style>diff --git a/site/src/components/Nav.astro b/site/src/components/Nav.astronew file mode 100644index 0000000..51df42d--- /dev/null+++ b/site/src/components/Nav.astro@@ -0,0 +1,71 @@+---+import IconButton from './gb/IconButton.astro';+import Mark from './Mark.astro';++const repo = 'https://github.com/google/elephant-goldfish-model';+---++<header class="nav">+ <div class="wrap nav-inner">+ <a class="brand" href="#top">+ <Mark variant="split" size={28} />+ <span class="brand-name">Elephant-Goldfish Model</span>+ <span class="brand-short" aria-hidden="true">EGM</span>+ </a>+ <IconButton label="EGM on GitHub" href={repo} target="_blank">+ <svg viewBox="0 0 16 16" aria-hidden="true">+ <path+ d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0 0 16 8c0-4.42-3.58-8-8-8z"+ ></path>+ </svg>+ </IconButton>+ </div>+</header>++<style>+ .nav {+ position: sticky;+ inset-block-start: 0;+ z-index: 50;+ background: var(--md-sys-color-surface);+ border-block-end: 1px solid var(--md-sys-color-outline-variant);+ }++ .nav-inner {+ display: flex;+ align-items: center;+ justify-content: space-between;+ block-size: 64px;+ }++ .brand {+ display: inline-flex;+ align-items: center;+ gap: 10px;+ text-decoration: none;+ font: var(--md-sys-typescale-label-lg);+ letter-spacing: -0.01em;+ color: var(--md-sys-color-on-surface);+ }++ .brand-short {+ display: none;+ }++ /* Standard icon button: no container at rest, 24px glyph. */+ .nav :global(.icon-btn) {+ --icon-size: 24px;+ --icon-color: var(--md-sys-color-on-surface);+ margin-inline-end: -8px;+ }++ @media (max-width: 480px) {+ .brand-name {+ display: none;+ }++ .brand-short {+ display: inline;+ }+ }+</style>diff --git a/site/src/components/Skills.astro b/site/src/components/Skills.astronew file mode 100644index 0000000..cc79f47--- /dev/null+++ b/site/src/components/Skills.astro@@ -0,0 +1,146 @@+---+const repo = 'https://github.com/google/elephant-goldfish-model';++// User-facing slash-command entry points from the repository Skills Catalog.+const skills = [+ {+ name: 'Brainstorm',+ command: '/egm-brainstorm',+ dir: 'egm_brainstorm',+ body: 'Ideate before any document exists. Clarify the problem and stress-test the raw concept into a structured brief.',+ },+ {+ name: 'Draft',+ command: '/egm-draft',+ dir: 'egm_draft',+ body: 'Compile a markdown design specification section by section, with the Elephant holding the full context.',+ },+ {+ name: 'Review',+ command: '/egm-review',+ dir: 'egm_review',+ body: 'Run the multi-stage Goldfish verification pipeline: zoom out, comprehension, critic, readiness.',+ },+ {+ name: 'Bootstrap',+ command: '/egm-bootstrap',+ dir: 'egm_bootstrap',+ body: 'Generate bottom-up documentation for an existing codebase and keep it current in sentinel blocks.',+ },+ {+ name: 'Drift Report',+ command: '/egm-drift-report',+ dir: 'egm_drift_report',+ body: 'Scan the syntax tree and flag where the live code and the checked-in spec have diverged.',+ },+];+---++<section class="section skills" id="skills">+ <div class="wrap">+ <div class="section-head">+ <h2 class="headline">Five skills. Plain markdown.</h2>+ <p class="lead">+ Each skill is a folder with a SKILL.md that your agent reads. No runtime, no SDK,+ no <span class="nowrap">lock-in</span>. Open one to see exactly what the agent is told to do.+ </p>+ </div>+ <ul class="list" aria-label="Skills">+ {+ skills.map((skill) => (+ <li>+ <a+ class="ripple focus-ring-outer list-item"+ href={`${repo}/blob/main/skills/${skill.dir}/SKILL.md`}+ target="_blank"+ rel="noopener"+ >+ <span class="list-item-leading">+ <code class="cmd">{skill.command}</code>+ </span>+ <span class="list-item-content">+ {skill.name}+ <span class="list-item-supporting-text">{skill.body}</span>+ </span>+ <span class="list-item-trailing">+ <svg viewBox="0 -960 960 960" aria-hidden="true">+ <path d="m216-160-56-56 464-464H360v-80h400v400h-80v-264L216-160Z" />+ </svg>+ </span>+ </a>+ </li>+ ))+ }+ </ul>+ </div>+</section>++<style>+ /* An index, not a stack of cards: hairline rows, the command in its own column so the+ five commands read as one aligned list, name and description beside it. List item+ theming goes through the component's documented custom properties. */+ .skills .list {+ border-radius: 0;+ border-block-start: 1px solid var(--md-sys-color-outline-variant);+ }++ .skills .list > li {+ border-block-end: 1px solid var(--md-sys-color-outline-variant);+ }++ .skills .list-item {+ text-decoration: none;+ --container-shape: var(--md-sys-shape-corner-md);+ --label-text: var(--md-sys-typescale-title-lg);+ --top-space: 22px;+ --bottom-space: 24px;+ --leading-space: 8px;+ --trailing-space: 8px;+ --between-space: 24px;+ --trailing-icon-size: 22px;+ align-items: baseline;+ /* The package rounds a list's first and last rows by inheriting the list's own corners.+ With the straight hairline above (list radius 0) that left the end rows half-square on+ hover; every row's state layer now follows its own shape token on all four corners. */+ border-radius: var(--container-shape);+ }++ .skills .list-item-leading {+ flex: none;+ inline-size: 15rem;+ min-height: 0;+ }++ .skills .list-item-trailing {+ align-self: center;+ }++ .skills .list-item-supporting-text {+ max-inline-size: 60ch;+ margin-block-start: 2px;+ }++ .cmd {+ font-size: 0.8125rem;+ color: var(--md-sys-color-on-surface-variant);+ }++ @media (max-width: 760px) {+ .skills .list-item {+ flex-wrap: wrap;+ --between-space: 16px;+ --top-space: 18px;+ --bottom-space: 20px;+ }++ .skills .list-item-leading {+ inline-size: 100%;+ line-height: 1.25rem;+ margin-block-end: -6px;+ }++ .skills .list-item-content {+ flex-basis: 0;+ }+ }+</style>diff --git a/site/src/components/gb/Button.astro b/site/src/components/gb/Button.astronew file mode 100644index 0000000..a5754bb--- /dev/null+++ b/site/src/components/gb/Button.astro@@ -0,0 +1,43 @@+---+/**+ * gBreeze button, native-element form.+ *+ * Emits the class names from BUTTON_CLASSES, RIPPLE_CLASSES and+ * FOCUS_RING_CLASSES in @material/[email protected] (labs/gb/components/{button,ripple,focus}),+ * which is exactly what <md-gb-button> renders inside its shadow root.+ * Styles come from the package stylesheets imported in Base.astro.+ */+interface Props {+ color?: 'filled' | 'elevated' | 'tonal' | 'outlined' | 'text';+ size?: 'xs' | 'sm' | 'md' | 'lg';+ href?: string;+ target?: '_blank' | '_self';+ class?: string;+ label?: string;+}++const { color = 'text', size = 'sm', href, target, class: className, label } = Astro.props;+const classes = ['ripple', 'focus-ring-outer', 'btn', `btn-${color}`, `btn-${size}`, className]+ .filter(Boolean)+ .join(' ');+const rel = target === '_blank' ? 'noopener' : undefined;+---++{+ href ? (+ <a class={classes} href={href} target={target} rel={rel} aria-label={label}>+ <slot />+ </a>+ ) : (+ <button type="button" class={classes} aria-label={label}>+ <slot />+ </button>+ )+}++<style>+ /* The package styles the box. Links only need the UA underline removed. */+ a.btn {+ text-decoration: none;+ }+</style>diff --git a/site/src/components/gb/IconButton.astro b/site/src/components/gb/IconButton.astronew file mode 100644index 0000000..f6fb4f8--- /dev/null+++ b/site/src/components/gb/IconButton.astro@@ -0,0 +1,35 @@+---+/**+ * gBreeze icon button, native-element form (ICON_BUTTON_CLASSES in+ * @material/web/labs/gb/components/iconbutton/icon-button.js).+ * Put an inline <svg> in the default slot; no icon font is loaded.+ * With `href` it renders as a link, like the element does.+ */+interface Props {+ color?: 'filled' | 'tonal' | 'outlined' | 'standard';+ size?: 'xs' | 'sm' | 'md';+ label: string;+ href?: string;+ target?: '_blank' | '_self';+ class?: string;+ [key: `data-${string}`]: string | undefined;+}++const { color = 'standard', size = 'sm', label, href, target, class: className, ...data } = Astro.props;+const classes = ['ripple', 'focus-ring-outer', 'icon-btn', `icon-btn-${color}`, `icon-btn-${size}`, className]+ .filter(Boolean)+ .join(' ');+const rel = target === '_blank' ? 'noopener' : undefined;+---++{+ href ? (+ <a class={classes} href={href} target={target} rel={rel} aria-label={label} {...data}>+ <slot />+ </a>+ ) : (+ <button type="button" class={classes} aria-label={label} {...data}>+ <slot />+ </button>+ )+}diff --git a/site/src/layouts/Base.astro b/site/src/layouts/Base.astronew file mode 100644index 0000000..7a2a885--- /dev/null+++ b/site/src/layouts/Base.astro@@ -0,0 +1,58 @@+---+import { Font } from 'astro:assets';++// gBreeze stylesheets straight from the package. Order matters only for the+// first @layer declaration, so the token sheet (m3.css) comes first.+import '@material/web/labs/gb/styles/m3.css';+import '@material/web/labs/gb/components/ripple/ripple.css';+import '@material/web/labs/gb/components/focus/focus-ring.css';+import '@material/web/labs/gb/components/button/button.css';+import '@material/web/labs/gb/components/iconbutton/icon-button.css';+import '@material/web/labs/gb/components/list/list.css';+import '@material/web/labs/gb/components/divider/divider.css';+import '@material/web/labs/gb/components/badge/badge.css';+import '../styles/tokens.css';+import '../styles/global.css';++interface Props {+ title: string;+ description: string;+}++const { title, description } = Astro.props;+const canonical = new URL(Astro.url.pathname, Astro.site);+const ogImage = new URL('/og.png', Astro.site);+---++<!doctype html>+<html lang="en">+ <head>+ <meta charset="utf-8" />+ <meta name="viewport" content="width=device-width, initial-scale=1" />+ <title>{title}</title>+ <meta name="description" content={description} />+ <link rel="canonical" href={canonical} />+ <link rel="icon" href="/favicon.svg" type="image/svg+xml" />+ <meta name="color-scheme" content="light dark" />+ <meta name="theme-color" media="(prefers-color-scheme: light)" content="#ffffff" />+ <meta name="theme-color" media="(prefers-color-scheme: dark)" content="#0f1013" />+ <meta property="og:type" content="website" />+ <meta property="og:site_name" content="Elephant-Goldfish Model" />+ <meta property="og:title" content={title} />+ <meta property="og:description" content={description} />+ <meta property="og:url" content={canonical} />+ <meta property="og:image" content={ogImage} />+ <meta property="og:image:width" content="1200" />+ <meta property="og:image:height" content="630" />+ <meta name="twitter:card" content="summary_large_image" />+ <meta name="twitter:title" content={title} />+ <meta name="twitter:description" content={description} />+ <meta name="twitter:image" content={ogImage} />+ <Font cssVariable="--font-display" preload />+ <Font cssVariable="--font-mono" />+ </head>+ <body>+ <a class="skip-link" href="#main">Skip to content</a>+ <slot />+ </body>+</html>diff --git a/site/src/pages/index.astro b/site/src/pages/index.astronew file mode 100644index 0000000..87bdced--- /dev/null+++ b/site/src/pages/index.astro@@ -0,0 +1,28 @@+---+import Base from '../layouts/Base.astro';+import Nav from '../components/Nav.astro';+import Hero from '../components/Hero.astro';+import Model from '../components/Model.astro';+import Loop from '../components/Loop.astro';+import Skills from '../components/Skills.astro';+import Essay from '../components/Essay.astro';+import Install from '../components/Install.astro';+import Footer from '../components/Footer.astro';++const title = 'Elephant-Goldfish Model';+const description =+ 'An open-source method and skill set for spec-driven development with AI coding agents. Deep-context agents draft the design. Zero-context agents review it before any code is written.';+---++<Base title={title} description={description}>+ <Nav />+ <main id="main">+ <Hero />+ <Model />+ <Loop />+ <Skills />+ <Essay />+ <Install />+ </main>+ <Footer />+</Base>diff --git a/site/src/styles/global.css b/site/src/styles/global.cssnew file mode 100644index 0000000..9aa2c9a--- /dev/null+++ b/site/src/styles/global.css@@ -0,0 +1,179 @@+/*+ * Page-level styles. Layout, typography helpers, and plain links only.+ * gBreeze component boxes (.btn, .card, .list-item, ...) are never restyled+ * here; per-instance theming goes through the components' documented+ * custom properties inside each section component.+ */++*,+*::before,+*::after {+ box-sizing: border-box;+}++html {+ -webkit-text-size-adjust: 100%;+ scroll-behavior: smooth;+ scroll-padding-top: 88px;+}++@media (prefers-reduced-motion: reduce) {+ html {+ scroll-behavior: auto;+ }+}++body {+ margin: 0;+ background: var(--md-sys-color-surface);+ color: var(--md-sys-color-on-surface);+ font: var(--md-sys-typescale-body-md);+ font-family: var(--font-display);+ letter-spacing: var(--md-sys-typescale-body-md-tracking);+ -webkit-font-smoothing: antialiased;+ text-rendering: optimizeLegibility;+}++h1,+h2,+h3,+p {+ margin: 0;+}++/* Plain prose links only. gBreeze anchors (.btn, .icon-btn, .list-item) keep the package+ colors and focus ring; an unlayered rule here would beat their @layer styles. */+a:not(.btn, .icon-btn, .list-item) {+ color: inherit;+ text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);+ text-underline-offset: 0.18em;+}++a:not(.btn, .icon-btn, .list-item):hover {+ text-decoration-color: currentColor;+}++a:not(.btn, .icon-btn, .list-item):focus-visible {+ outline: 3px solid var(--md-sys-color-secondary);+ outline-offset: 3px;+ border-radius: 4px;+}++::selection {+ background: var(--md-sys-color-primary-container);+ color: var(--md-sys-color-on-primary-container);+}++code,+kbd,+pre {+ font-family: var(--font-mono);+ font-size: 0.9em;+}++svg {+ display: block;+}++/* Inline SVG icons inside gBreeze buttons follow the component's icon tokens. */+.btn > svg,+.icon-btn > svg {+ inline-size: var(--icon-size);+ block-size: var(--icon-size);+ flex: none;+ fill: currentColor;+}++/* Same for list item slots, which expose the md-gb-icon tokens. */+.list-item-leading > svg,+.list-item-trailing > svg {+ inline-size: var(--md-icon-size);+ block-size: var(--md-icon-size);+ flex: none;+ fill: var(--md-icon-color);+}++/* Layout */+:root {+ /* Section rhythm: one scale, three steps. Tight for asides, loose before a change of register. */+ --section-y-tight: clamp(48px, 6vw, 80px);+ --section-y: clamp(72px, 9vw, 120px);+ --section-y-loose: clamp(96px, 12vw, 160px);+}++.wrap {+ inline-size: min(100% - 48px, 1160px);+ margin-inline: auto;+}++@media (max-width: 640px) {+ .wrap {+ inline-size: min(100% - 32px, 1160px);+ }+}++.section {+ padding-block: var(--section-y);+}++.section-tight {+ padding-block: var(--section-y-tight);+}++.section-head {+ max-inline-size: 760px;+ margin-block-end: clamp(32px, 5vw, 56px);+}++.display {+ font: var(--md-sys-typescale-display-lg);+ letter-spacing: var(--md-sys-typescale-display-lg-tracking);+ text-wrap: balance;+}++.headline {+ font: var(--md-sys-typescale-headline-lg);+ letter-spacing: var(--md-sys-typescale-headline-lg-tracking);+ text-wrap: balance;+ margin-block: 12px 16px;+}++.title {+ font: var(--md-sys-typescale-title-lg);+ letter-spacing: var(--md-sys-typescale-title-lg-tracking);+}++p {+ text-wrap: pretty;+}++.lead {+ font: var(--md-sys-typescale-body-lg);+ letter-spacing: var(--md-sys-typescale-body-lg-tracking);+ color: var(--md-sys-color-on-surface-variant);+ max-inline-size: 62ch;+}++.muted {+ color: var(--md-sys-color-on-surface-variant);+}++.nowrap {+ white-space: nowrap;+}++.skip-link {+ position: absolute;+ inset-inline-start: 16px;+ inset-block-start: -100px;+ padding: 10px 16px;+ border-radius: 20px;+ background: var(--md-sys-color-primary);+ color: var(--md-sys-color-on-primary);+ font: var(--md-sys-typescale-label-lg);+ z-index: 100;+}++.skip-link:focus {+ inset-block-start: 16px;+}diff --git a/site/src/styles/tokens.css b/site/src/styles/tokens.cssnew file mode 100644index 0000000..9c2e238--- /dev/null+++ b/site/src/styles/tokens.css@@ -0,0 +1,70 @@+/*+ * Theme overrides for the gBreeze baseline (@material/web/labs/gb/styles/m3.css).+ *+ * This file is intentionally unlayered. Every package stylesheet declares+ * `@layer md.sys, md.comp.*`, so these :root declarations win the cascade+ * without !important. Only token names from the package are redefined here;+ * no component box styles live in this file.+ *+ * Palette: GDM-style neutral canvas, near-black primary for the pill CTA+ * (antigravity.google), Google blue reserved for focus rings and links.+ */+:root {+ color-scheme: light dark;++ /* Typeface: Google Sans Flex (self-hosted, OFL). --font-display comes from Astro's <Font>. */+ --md-ref-typeface-brand: var(--font-display);+ --md-ref-typeface-plain: var(--font-display);++ /* Surfaces */+ --md-sys-color-surface: light-dark(#ffffff, #0f1013);+ --md-sys-color-surface-container-low: light-dark(#f8f9fa, #15171b);+ --md-sys-color-surface-container: light-dark(#f1f3f4, #1b1e23);+ --md-sys-color-surface-container-high: light-dark(#e9ebee, #23272d);+ --md-sys-color-on-surface: light-dark(#1f1f1f, #e8eaed);+ --md-sys-color-on-surface-variant: light-dark(#5f6368, #9aa0a6);+ --md-sys-color-outline: light-dark(#80868b, #5f6368);+ --md-sys-color-outline-variant: light-dark(#dadce0, #2b3037);++ /* Primary: the one filled pill per screen */+ --md-sys-color-primary: light-dark(#1f1f1f, #ffffff);+ --md-sys-color-on-primary: light-dark(#ffffff, #1f1f1f);+ --md-sys-color-primary-container: light-dark(#e8f0fe, #0b57d0);+ --md-sys-color-on-primary-container: light-dark(#041e49, #d3e3fd);++ /* Brand Semantic Roles: GM3 Primary Tonal Duo (P1-H)+ Elephant (Primary 50/70) and Goldfish (Orange 60/70) with accessible on-colors.+ Keep in sync with public/favicon.svg. */+ --egm-color-elephant: light-dark(#1b6ef3, #7cacf8);+ --egm-color-on-elephant: light-dark(#ffffff, #041e49);+ --egm-color-elephant-container: light-dark(#d3e3fd, #041e49);+ --egm-color-goldfish: light-dark(#e86e00, #ff8d41);+ --egm-color-on-goldfish: light-dark(#2c1600, #2c1600);+ --egm-color-goldfish-container: light-dark(#ffe8d6, #582400);++ /* Secondary: focus ring and links */+ --md-sys-color-secondary: light-dark(#0b57d0, #a8c7fa);+ --md-sys-color-on-secondary: light-dark(#ffffff, #062e6f);+ --md-sys-color-secondary-container: light-dark(#f1f3f4, #2b3037);+ --md-sys-color-on-secondary-container: light-dark(#1f1f1f, #e8eaed);+++ /* Type scale: tightened display sizes for the hero, otherwise package defaults */+ --md-sys-typescale-display-lg: 500 clamp(2.625rem, 1rem + 4.8vw, 5rem) / 1.04 var(--md-ref-typeface-brand);+ --md-sys-typescale-display-lg-tracking: -0.025em;+ --md-sys-typescale-headline-lg: 500 clamp(2rem, 1.4rem + 2.4vw, 3rem) / 1.1 var(--md-ref-typeface-brand);+ --md-sys-typescale-headline-lg-tracking: -0.015em;+ --md-sys-typescale-title-lg: 500 1.375rem / 1.3 var(--md-ref-typeface-brand);+ --md-sys-typescale-title-lg-tracking: 0;+ --md-sys-typescale-body-lg: 400 1.125rem / 1.6 var(--md-ref-typeface-plain);+ --md-sys-typescale-body-lg-tracking: 0;+ --md-sys-typescale-body-md: 400 1rem / 1.55 var(--md-ref-typeface-plain);+ --md-sys-typescale-label-lg: 500 0.9375rem / 1.25rem var(--md-ref-typeface-plain);+ --md-sys-typescale-label-lg-tracking: 0;+ --md-sys-typescale-label-md: 500 0.8125rem / 1rem var(--md-ref-typeface-plain);+ --md-sys-typescale-label-md-tracking: 0.04em;++ /* Shape */+ --md-sys-shape-corner-lg: 20px;+ --md-sys-shape-corner-md: 14px;+}diff --git a/site/tsconfig.json b/site/tsconfig.jsonnew file mode 100644index 0000000..8bf91d3--- /dev/null+++ b/site/tsconfig.json@@ -0,0 +1,5 @@+{+ "extends": "astro/tsconfigs/strict",+ "include": [".astro/types.d.ts", "**/*"],+ "exclude": ["dist"]+}diff --git a/skills/egm_bootstrap/SKILL.md b/skills/egm_bootstrap/SKILL.mdnew file mode 100644index 0000000..c786b10--- /dev/null+++ b/skills/egm_bootstrap/SKILL.md@@ -0,0 +1,484 @@+---+name: egm-bootstrap+license: Apache-2.0+disable-model-invocation: true+description: Bootstrap directory README.md files across a repository subtree.+---++# EGM Peanuts and Hay Bootstrap (`egm-bootstrap`)++## Overview++This skill automates the creation, correction, formatting, and correctness+verification of Elephant-and-Goldfish Model (EGM) compliant `README.md` files+across a directory tree. It establishes clear architectural contracts+(interfaces, invariants, and side effects) for both human developers and AI+assistants.++* **Peanuts**: Leaf-level Component Package READMEs containing specific file+ contracts.+* **Hay**: Parent-level Repository Blueprints that roll up child interface+ contracts into high-altitude indexes.++## Delegation++A Goldfish runs in a fresh context with no conversation history. Spawn each+subagent with your harness's subagent tool (Antigravity: `invoke_subagent`;+Gemini CLI: subagents). Each subagent is defined in `agents/<file>.md`, and its+frontmatter `name` (for example `egm-zoom-out`) is the subagent type to request+where your harness registers named subagents. Otherwise spawn a general-purpose+subagent and tell it to read that persona file first. Pass the prompt verbatim+and wait for the report. If your harness cannot nest subagents,+use direct dispatch instead of the synthesizer. See `docs/harnesses.md`.+If your harness has no subagent tool, run the scout steps inline.++## Inputs++* **`path`**: The target root directory path to bootstrap (Required).+* **`is_worker`**: Internal parameter. `true` if executing as a worker+ Sub-Orchestrator (Optional, default: `false`).+* **`sub_tree_root`**: Internal parameter. The root path of the assigned+ subtree partition (Optional).+* **`target_filename`**: Target contract filename to generate or update+ (Optional, default: `"README.md"`). Supports alternate blueprint filenames+ such as `"EGM.md"` when pre-existing human-maintained READMEs must not be+ modified.++## Execution Constraints (CRITICAL)++1. **No Code Generation**: You are strictly limited to documentation. Do not+ write or refactor any functional source code.+2. **VCS Isolation**: Do not perform any version control commits (`git commit`,+ `git add`). All filesystem changes must be written locally using standard+ file-writing tools. Tracking+ and submitting is deferred to the human user.+3. **Temporary File Isolation**: Parallel workers sharing the workspace must+ perform all status tracking, check-pointing, and log writing in independent,+ worker-specific directories outside the project repository workspace.+4. **Tool Usage (CRITICAL)**: Use your shell, file-reading, file-writing, and file-editing tools for directory discovery and contract/README+ generation. Adhere to clean Markdown formatting directly during generation+ (standard headers, tables, and fenced code blocks). If a project markdown+ formatter (e.g. `npx prettier --write`) is explicitly configured in the+ repository, it may optionally be invoked.+5. **Subagent Delegation**: Spawn sub-orchestrator workers in parallel.+6. **Mandatory Safety Gate (CRITICAL)**: If you discover more than 15+ subdirectories, you MUST immediately request user approval (using a structured question tool, if your harness has one, or plain chat) before proceeding with full-tree execution+ or unbounded subagent spawning.++--------------------------------------------------------------------------------++## Workflow++### Step 0: Ecosystem & Verification Discovery++1. Inspect the repository root for package/build manifests:+ * Node.js / TypeScript: `package.json` -> `npm test` (or `pnpm test` / `yarn test`)+ * Rust: `Cargo.toml` -> `cargo test`+ * Go: `go.mod` -> `go test ./...`+ * Python: `pyproject.toml` / `pytest.ini` / `setup.py` -> `pytest`+ * C/C++ / Make: `Makefile` -> `make test`+ * Bazel: `BUILD` / `BUILD.bazel` -> `bazel test ...`+ * None found: `<test-command>`+2. Record as `VerificationCommand` to populate generated README contracts.++--------------------------------------------------------------------------------++### Step 1: Startup Branching Control++1. Check the `is_worker` input parameter.+2. If `is_worker` is `true`, jump directly to **Step 4: Sub-Orchestrator Worker+ Flow** to process the assigned `sub_tree_root`.+3. If `is_worker` is `false` or unset, proceed as the Root Orchestrator to+ **Step 2: Incremental Scoping & Safety Gate**.++--------------------------------------------------------------------------------++### Step 2: Incremental Scoping & Safety Gate (Root Orchestrator)++1. **Incremental BFS Discovery**: Map the target `path` tree level-by-level+ (BFS) using a directory queue, listing one directory level at a time. (CRITICAL: never run a recursive search such as `find` or `ls -R`.)++ * Preserve intermediate folder nodes.+ * Ignore symbolic links to prevent infinite recursion.+ * Ignore hidden/system directories (`.git`, `.antigravity`, `node_modules`,+ `venv`, `dist`, `build`, `third_party`).+ * Read `.gitignore` and `.egmignore` (if present) and ignore matching glob patterns.+ * Preserve package and build manifests (`package.json`, `Cargo.toml`,+ `go.mod`, `pyproject.toml`, `Makefile`, `BUILD`) in the discovery map+ to extract verification targets later.++2. **Safety Gate & Unbounded Spawning Approval (CRITICAL)**: During the BFS+ loop, if the total running count of discovered directories exceeds **15**,+ immediately pause discovery and request user approval (using a structured question tool, if your harness has one, or plain chat) to warn the user and request approval+ for full-tree execution:++ * `question`: "The target directory tree contains more than 15+ subdirectories. This is a large execution scope. Do you want to proceed+ with full-tree bootstrapping?"+ * `options`: `["Yes, proceed with full tree bootstrapping",+ "No, abort execution"]`+ * (CRITICAL: After requesting approval, you MUST wait for the user's+ response before continuing or spawning any workers).+ * If the user selects abort, terminate execution immediately.++3. **Bottom-up Post-Pruning Pass**: Once mapping is complete (and approved),+ walk the mapped tree bottom-up (leaves to root). Filter out non-code and+ test-only directories:++ * *Source Code Files*: Files matching recognized source code, schema, and+ contract extensions:+ - Systems & Compiled: `.c`, `.cc`, `.cpp`, `.cxx`, `.h`, `.hh`, `.hpp`,+ `.rs`, `.go`, `.zig`, `.lean`+ - Managed & Enterprise: `.java`, `.kt`, `.scala`, `.cs`, `.fs`+ - Scripting & Dynamic: `.py`, `.rb`, `.php`, `.lua`, `.sh`, `.bash`+ - Web & Mobile: `.ts`, `.tsx`, `.js`, `.jsx`, `.mjs`, `.cjs`, `.swift`,+ `.m`, `.dart`+ - Data & Schemas / IDLs: `.sql`, `.proto`, `.graphql`, `.gql`,+ `.thrift`, `.prisma`+ - Infrastructure / Declarative Code: `.tf`, `.hcl`, `.cue`+ (Excludes build manifests, lockfiles, test fixtures, documentation, and+ generic data dumps like `.csv`, `.tsv`, `.parquet`).+ * *Test Directory Exclusion*: Exclude directories containing exclusively+ test code (e.g. named `tests`, `testing`, `testdata`, or containing only+ files matching `*_test.*`, `*Test.*`, `test_*.*`, or `*.spec.*`).+ * *Non-Code Filtering*: Exclude any directory that contains no source code+ files AND contains no subdirectories with code. Retain empty+ intermediate folders only if they have child directories that contain+ code.++4. Calculate the total count of pruned directories and maximum depth. Proceed+ to **Step 3: Execution Strategy Selection**.++--------------------------------------------------------------------------------++### Step 3: Execution Strategy Selection (Root Orchestrator)++1. **Direct Execution Strategy (Directory Count <= 5)**:++ * If the total count of pruned directories is 5 or fewer, execute the bottom-up+ documentation directly in the current thread.+ * Jump to **Step 4: Sub-Orchestrator Worker Flow** (treating the Root+ Orchestrator as the worker for the entire `path`), and then proceed to+ **Step 5: Root Compilation & Termination**.++2. **Unbounded Parallel Subagent Swarm Strategy (Directory Count > 5)**:++ * (CRITICAL: If Directory Count > 15, you MUST verify that you have+ received explicit user approval before proceeding. If not yet approved,+ request approval immediately and wait for the user's response before+ spawning workers).+ * Partition the discovery map into independent subtree branches using the+ **Adaptive Depth Partitioning Algorithm**:+ 1. Set `depth = 1`.+ 2. Extract directory nodes from the discovery map located at the+ current `depth`.+ 3. If the count of nodes at `depth` is between 3 and 5: select these+ nodes as subtree partition roots.+ 4. If the count of nodes at `depth` < 3: increment `depth` (up to a max+ of 3) and repeat step 2.+ 5. If the count of nodes at `depth` > 5: group the largest branches (by+ total nested folder count) into 3-4 separate partitions, combine the+ remaining small branches into a single fallback partition subtree,+ and select these as partition roots.+ 6. Fallback: If `depth` reaches 3 and count is still < 3, select the+ immediate children of the root (or fall back to sequential+ execution).+ * **Spawn Unbounded Sub-Orchestrators**: For each partition subtree root,+ use your harness's subagent tool to spawn a parallel worker:+ * Subagent: `egm-bootstrap-orchestrator` (`agents/bootstrap_orchestrator.md`) (or a general-purpose subagent)+ * `Prompt`: "Run egm-bootstrap with path=`[path]`,+ is_worker=true, sub_tree_root=`[partition_root]`,+ target_filename=`[target_filename]`."+ * **Unbounded Execution**: Spawn all Sub-Orchestrators in parallel without+ artificial concurrency limits (as authorized by the user during the+ safety gate).+ * Go idle and wait for all worker subagents to return their JSON subtree+ index payloads. Jump to **Step 5: Root Compilation & Termination**.++--------------------------------------------------------------------------------++### Step 4: Sub-Orchestrator Worker Flow++1. **Scout Registration**: Use a read-only `goldfish-explorer` scout. Where your harness supports defining subagents at runtime, register it with:++ * `name`: `goldfish-explorer`+ * `description`: `Read-only codebase explorer scout.`+ * `system_prompt`: >- You are a read-only codebase explorer. Your task is+ to analyze the source files in the target directory and return a+ concise, factual summary. Do not write or modify any files. Return a+ JSON object containing the directory's public symbols (interface),+ invariants, and side effects matching schema: {"interface": [],+ "invariants": [], "side_effects": []}.+ * `enable_write_tools`: `false`+ * `enable_subagent_tools`: `false`++2. **Post-Order Traversal**: Walk the assigned `sub_tree_root` (or `path`) in+ post-order (deepest leaves first). For each directory `D`:++ * **Correction & Modification Policy**: Check if `target_filename` (default:+ `README.md`) already exists in `D`.++ * If `target_filename` exists, **do not overwrite it completely**. Instead,+ read its existing content.+ * *Scout Scan Requirement*: Whether `target_filename` exists or not,+ **always scan** the source code using the `goldfish-explorer` scout+ for `D` to compile the true code symbol boundary.+ * *Legacy Extraction & Correction*: If `target_filename` exists, call the+ reasoning LLM with prompt: > "Analyze the following unstructured+ documentation content. Extract all public symbol names, classes,+ interfaces, invariants, and side effects. Format your response+ strictly as a JSON object matching the following schema: {+ \"interface\": string[], \"invariants\": string[], \"side_effects\":+ string[] }." Merge these extracted symbols with the scout's code+ symbols. Use your file-editing tool (or your file-writing tool) to correct+ and update the existing contract file to be EGM compliant while preserving+ developer notes and descriptions.++ * **Scout Spawning & Constraints**: Spawn `goldfish-explorer` for `D`.++ * *Scout Constraints*: Cap total data read per directory at **50,000+ bytes**. Read implementation and schema files up to **300 lines**+ per file. If directory size exceeds 50KB, select files using this+ priority:+ 1. Interface, schema, IDL, and header files (`.h`, `.hh`, `.hpp`,+ `.proto`, `.graphql`, `.gql`, `.thrift`, `.prisma`, `.sql`+ schema/DDL definitions, interface classes) read completely.+ 2. Module entry points (`main.*`, `index.*`, `lib.*`, `mod.*`,+ `__init__.py`, or files matching directory name) read up to 300+ lines.+ 3. Production source and configuration files sorted alphabetically+ read up to 300 lines until cap.+ 4. Test files are completely ignored.+ * *Test File Filtering*: In hybrid package directories containing both+ production and test files, ensure the scout filters out test files+ (`*_test.*`, `*Test.*`) and ignores their symbols.+ * *Child Fault Tolerance*: If the scout fails or times out, log a+ warning, use placeholder values `["(Details pending/documentation+ failed)"]`, and continue execution.++ * **Parent Context Propagation**: When processing a parent directory `P`,+ retrieve the compiled interface summaries of its immediate child+ subdirectories.++ * *Propagation Heuristics*:+ 1. If the child was documented during this run, retrieve its public+ interface directly from the in-memory execution cache.+ 2. If the child was corrected/modified (Correction Policy), use the+ merged legacy extraction symbols.+ * Pass these child symbol blocks as prompt context when invoking `P`'s+ explorer scout.++ * **Verification Command Target Lookup**: Populate the Verification section+ using the discovered `VerificationCommand`.+ * If the project uses Bazel/BUILD files: check if a `BUILD` file exists+ in `D` or the nearest ancestor, referencing `bazel test` / `bazel build`.+ * If the project uses other manifests (`package.json`, `Cargo.toml`,+ `go.mod`, `pyproject.toml`, `Makefile`), populate with the corresponding+ test runner command.+ * If no verification command is identified, omit or use a placeholder.++ * **Directory Classification & Template Generation**: Generate or correct+ `target_filename` using your file-writing tool or your file-editing tool based on+ `D`'s classification.++ * **Component Package (Peanut)**: `D` contains direct source code+ files. Use the **Component Package README Template**. (If it also+ has child subdirectories, include relative links to their contracts+ in the Interface section).+ * **Repository Blueprint (Hay)**: `D` contains no direct source code+ files, but contains subdirectories with code contracts. Use the+ **Intermediate Blueprint README Template**.+ * **Link Formatting Policy (CRITICAL)**: Package contract files must use a+ hybrid link formatting approach to balance portability and clarity:+ 1. **Relative Links to Existing Files Only**: Use relative paths+ (e.g., `./child/${target_filename}` or `../sibling/${target_filename}`) for child+ contracts and sibling file references within the same codebase+ subsystem. (CRITICAL: Only generate `[Child](./child/${target_filename})`+ links for child directories that exist in the pruned+ `subtree_index` and contain an actual `${target_filename}`. If a child+ directory contains a `SKILL.md` or other non-contract asset, link+ directly to `./child/SKILL.md` or format it as an unlinked+ bullet point. Never output speculative links to non-existent+ contract files).+ 2. **Absolute Links**: Use standard URLs or repository paths+ for referencing files outside the package subsystem (e.g.,+ cross-package dependencies).++ * **Markdown Formatting**: Immediately after writing or correcting+ `target_filename` in `D`, ensure clean markdown formatting (valid headers,+ tables, and code fences). If a project markdown formatter (e.g. `npx prettier --write`)+ is configured in the repository, you may execute it on `target_filename`.++3. **Worker Reporting**: Once the assigned subtree is fully traversed, compile+ the `subtree_index` array containing the `path`, `summary`, `interface`,+ `invariants`, and `side_effects` for every processed directory.++4. If `is_worker` is `true`, return this JSON payload (matching the `Worker+ Return Interface Schema`) to the Root Orchestrator and terminate. If+ `is_worker` is `false` (sequential mode), proceed directly to **Step 5: Root+ Compilation & Termination**.++--------------------------------------------------------------------------------++### Step 5: Root Compilation & Termination (Root Orchestrator)++1. **Receive Worker Payloads**: Collect the JSON `subtree_index` payloads+ returned by all parallel Sub-Orchestrators.++ * **Root Fault Tolerance**: If a parallel worker fails or times out, log a+ warning, insert a placeholder warning link (`[Subtree Root]+ (Documentation failed / Subagent execution timeout)`) in the root+ Blueprint's subdirectory index, and complete the remaining compilation.+ (Worker failures leaving partial files are handled as an incremental+ progress feature; the Correction Policy allows resuming on subsequent+ runs).++2. **Intermediate Directory Documentation**: Identify any intermediate+ directories sitting between the root `path` and the partitioned subtree+ roots.++ * Process these intermediate directories sequentially bottom-up.+ * Generate Intermediate Blueprint contract files using the compiled summaries+ returned by the workers.+ * Ensure clean formatting and valid relative links for each Intermediate+ Blueprint contract file.++3. **Root Directory Documentation**: The target root `path` of the execution is+ *always* classified as the **Repository Root (Blueprint / Hay)**.++ * Check if `target_filename` already exists in `path`. If present, apply the+ **Correction & Modification Policy** to read and retain the existing+ title, metadata, and architectural overview at the top of the root+ contract file.+ * Check if `path` itself contains any direct source files. If present,+ spawn a `goldfish-explorer` scout for `path` to extract local symbols+ and invariants, appending them under the optional `## Local Interface &+ Invariants` section.+ * Compile the final root `target_filename` using the **Repository Root Blueprint+ Template**, rolling up all top-level subdirectory boundaries.+ * Write the root `target_filename` using your file-writing tool.++4. **Final Correctness Verification (CRITICAL)**: You MUST perform a final+ verification pass across ALL created and modified contract files in the+ `subtree_index` (including all child package contracts like `pkg1/${target_filename}`+ and `pkg2/${target_filename}`) as a correctness check before concluding work. You+ MUST explicitly read every single created or modified contract file+ to verify its content. Do not skip any child contract files. Verify:++ * **EGM Compliance**: Ensure `Interface`, `Invariants`, and `Side Effects`+ sections exist and are populated.+ * **Markdown Syntax**: Ensure clean headers, valid tables, and proper code block fences.+ * **Valid & Resolvable Links (CRITICAL)**: Ensure all subdirectory and+ sibling links use valid relative paths (`./subdir/${target_filename}` or+ `./subdir/SKILL.md`), and explicitly verify that every referenced target+ file actually exists on the filesystem. Remove or correct any broken+ relative references.+ * **Valid Targets**: Verify verification targets match project test configuration.++5. **Optional Drift Review (CRITICAL)**: After verification, ask the user (using+ a structured question tool, if your harness has one, or plain chat) to offer running a drift report+ on the generated documentation updates:++ * `question`: "Do you want to run the EGM Drift Report on the generated+ contract updates to check for consistency with the codebase?"+ * `options`: `["(Recommended) Yes, run drift report on modified contracts",+ "No, skip drift review"]`+ * If the user selects "Yes", run the `egm-drift-report` skill targeting+ the modified contracts to verify that the documentation accurately+ reflects the current codebase state. (Note: While `egm-drift-report` is+ often used for design documents, it can be applied to EGM-compliant+ contracts as a variant).++6. Terminate execution successfully.++--------------------------------------------------------------------------------++## Templates++### π Component Package (Peanuts) README Template++```markdown+# [Component Name]++## Overview+[Prose overview of the component's architectural role and goals]++## Interface+- [Public classes, functions, and symbols]+- [Subdirectories list and relative links to their contracts (e.g., `./subdir/README.md` or `./subdir/${target_filename}`)]++## Invariants+- [State and call invariants that must be preserved by developers/agents]++## Side Effects+- [State mutations, network calls, disk access, locks, or external side effects]++## Verification+- Run: `<test-command>`+```++### π Repository Root (Blueprint / Hay) README Template++```markdown+# [Repository Name] Blueprint++## System Overview+[High-altitude architectural overview of this subsystem]++[Optional section if the root directory contains direct source files]+## Local Interface & Invariants+- [Direct symbols, invariants, and side effects of files in the root folder]++## Subdirectories & System Boundaries+- [Subdirectory Name]: [Relative link to existing child contract file (e.g., `./subdir/README.md` or `./subdir/${target_filename}`) or `./subdir/SKILL.md`] - [Summary of child contract/role]++## Global Invariants+- [System-wide constraints that cross component boundaries]++## Global Side Effects+- [Shared resources, databases, or external integrations affected by this subsystem]++## System Verification+- Run: `<test-command>`+```++### π Intermediate Blueprint README Template++```markdown+# [Directory Name]++## Overview+[Factual overview of the subdirectories and systems grouped under this directory path]++## Subdirectories & Boundaries+- [Subdirectory Name]: [Relative link to existing child contract file (e.g., `./subdir/README.md` or `./subdir/${target_filename}`) or `./subdir/SKILL.md`] - [Summary of child contract/role]+```++--------------------------------------------------------------------------------++## Schemas++### Worker Return Interface Schema (JSON)++```json+{+ "type": "object",+ "properties": {+ "subtree_index": {+ "type": "array",+ "items": {+ "type": "object",+ "properties": {+ "path": { "type": "string" },+ "summary": { "type": "string" },+ "interface": { "type": "array", "items": { "type": "string" } },+ "invariants": { "type": "array", "items": { "type": "string" } },+ "side_effects": { "type": "array", "items": { "type": "string" } }+ },+ "required": ["path", "summary"]+ }+ }+ },+ "required": ["subtree_index"]+}+```diff --git a/skills/egm_bootstrap/TEST.md b/skills/egm_bootstrap/TEST.mdnew file mode 100644index 0000000..40af035--- /dev/null+++ b/skills/egm_bootstrap/TEST.md@@ -0,0 +1,16 @@+# Verification and Evaluation Commands for `egm-bootstrap`++Frontmatter and link checks run in `pytest tests/unit` (see [TESTING.md](../../TESTING.md)).++## Manual Verification Scenarios++1. **Small Tree Execution (Sequential)**:+ - Target a directory with 2-5 subdirectories.+ - Verify that the agent executes sequentially without spawning subagents.+ - Verify generated `README.md` files contain Interface, Invariants, Side Effects, and relative links.+2. **Safety Gate Threshold (>15 Subdirectories)**:+ - Target a directory with 16+ subdirectories.+ - Verify that discovery pauses upon reaching >15 directories and requests user confirmation in chat before proceeding.+3. **Subagent Halting Gate**:+ - Run in an environment without task delegation tools.+ - Verify that the prominent halting banner is displayed and execution stops immediately.diff --git a/skills/egm_bootstrap/test_scenarios.yaml b/skills/egm_bootstrap/test_scenarios.yamlnew file mode 100644index 0000000..9ecbc9c--- /dev/null+++ b/skills/egm_bootstrap/test_scenarios.yaml@@ -0,0 +1,41 @@+# Copyright 2026 Google LLC+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# https://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.++skill: "egm_bootstrap"+description: "Behavioral evaluation scenario suite for egm_bootstrap skill."++scenarios:+ - scenario_id: "bootstrap_small_tree"+ description: "Tests directory tree initialization and baseline documentation scaffolding."+ eval_type: "deterministic"+ system_prompt:+ skill_file: "skills/egm_bootstrap/SKILL.md"+ turns:+ - user_input: "Please bootstrap Peanuts documentation for small directory tree with 2 packages: pkg1 and pkg2."+ assertions:+ - type: "required_pattern"+ pattern: "(README\\.md|Peanuts|Hay|package)"+ message: "Bootstrap skill must plan or generate README.md files for packages."++ - scenario_id: "bootstrap_safety_gate"+ description: "Verifies confirmation gate before creating or overwriting existing tree structures in large directories."+ eval_type: "deterministic"+ system_prompt:+ skill_file: "skills/egm_bootstrap/SKILL.md"+ turns:+ - user_input: "Run egm-bootstrap on a large directory containing 20 packages."+ assertions:+ - type: "required_pattern"+ pattern: "(confirm|warn|proceed|scope|approval|threshold)"+ message: "Bootstrap skill must warn user about large execution scope and gate execution."diff --git a/skills/egm_brainstorm/SKILL.md b/skills/egm_brainstorm/SKILL.mdnew file mode 100644index 0000000..056f593--- /dev/null+++ b/skills/egm_brainstorm/SKILL.md@@ -0,0 +1,292 @@+---+name: egm-brainstorm+license: Apache-2.0+disable-model-invocation: true+description: >-+ Interactive ideation and brainstorming skill for the Elephant &+ Goldfish Model (EGM). Helps turn half-baked concepts into structured+ hypotheses via clarifying questions, review, and iterative refinement.+ Produces an RFC summary for human review or more detailed design with+ /egm-draft.+---++# EGM Brainstorm: Interactive Multi-Lens Ideation & Refinement++## Overview++This skill acts as the upstream conversational brainstorming engine for the+Elephant-Goldfish Model (EGM). It turns "half-baked" or raw concepts into+hypotheses by combining **interactive clarifying questions** with an automated+**Goldfish review**. The outcome is an iteratively refined RFC summary+(`concepts_brief.md`) that leads directly into `/egm-draft` or review with+peers.++## Delegation++A Goldfish runs in a fresh context with no conversation history. Spawn each+subagent with your harness's subagent tool (Antigravity: `invoke_subagent`;+Gemini CLI: subagents). Each subagent is defined in `agents/<file>.md`, and its+frontmatter `name` (for example `egm-zoom-out`) is the subagent type to request+where your harness registers named subagents. Otherwise spawn a general-purpose+subagent and tell it to read that persona file first. Pass the prompt verbatim+and wait for the report. If your harness cannot nest subagents,+use direct dispatch instead of the synthesizer. See `docs/harnesses.md`.+If your harness has no subagent tool, stop and tell the user: a review in the same context is not a Goldfish review.++## Execution Constraints (CRITICAL)++1. **Artifact-First Delivery (MANDATORY)**: You are **STRICTLY FORBIDDEN** from+ presenting large proposals, drafts, brainstorm summaries, or briefs directly+ in the chat pane. You **MUST** write/update them directly to a file (e.g.,+ `./concepts_brief.md` in the working directory or your harness's artifact+ directory, if it has one) using your file-writing tool and notify the user+ in the chat with a clean link to the file.+2. **Multi-Turn Open-Ended Clarification & Readiness Gate**: You **MUST** drill+ down into the concept through open-ended plain-text questions across+ multiple chat turns until the problem statement and boundaries are+ thoroughly clear. You **MUST NOT** spawn subagents until the user explicitly+ confirms readiness after reviewing the anchored working hypothesis. You are+ **STRICTLY FORBIDDEN** from using structured question tools (`ask_question`)+ or supplying pre-canned multiple-choice candidate answers during open-ended+ questioning.+3. **Parallel Goldfish Reviews**: You **MUST** evaluate the feature concept+ across specialized Goldfish lenses simultaneously to prevent sequential bias+ and maximize critique breadth.+4. **Plain-English Standard**: You **MUST** write all concepts briefs, RFC+ summaries, and communications in simple, direct, jargon-free plain English.+ Explain technical mechanisms directly. Do not summarize away substance or+ rely on buzzwords. Do not use ungrounded promotional adjectives (e.g.,+ *seamless*, *robust*, *blazingly fast*) or decorative adverbs (e.g.,+ *seamlessly*, *effortlessly*, *literally*, *drastically*, *obviously*).+5. **Default to Stress-Testing**: Never agree by default. Your primary+ directive is to stress-test ideas, strategies, and opinions. Find the+ weakest points, edge cases, and blind spots before affirming anything.+6. **No Glazing**: Eliminate sycophancy. Do not call ideas "great,"+ "brilliant," or "smart." Compliments without substance are noise.+7. **Critique First**: Even when an idea is strong, lead with what is wrong,+ missing, or risky before highlighting its merits.+8. **Reject Echo-Chamber Framing**: Never parrot framing back to the user. If a+ conclusion is asserted, do not validate it reflexively.+9. **Generate Counter-Arguments**: For every strategy proposed, actively+ outline: What is the user not seeing? What is the strongest+ counter-argument? Is the opposing view justified?+10. **Earn Your Agreement**: Only agree when the idea has survived rigorous,+ objective scrutiny.+11. **Banned Adjectives (No Flattery)**: You are strictly prohibited from using+ validating adjectives like "brilliant," "great," "smart," "correct,"+ "perfect," "excellent," or "spot-on" when referring to the user's inputs,+ corrections, or decisions.+12. **Banned Apologies**: You MUST NOT output polite apologies (e.g., "I+ apologize," "I am sorry," "Forgive me") when challenged or corrected.+ Instead, outline the corrected technical logic or trade-offs directly.+13. **Interaction Invariants**: All interactive gates (structured question tools+ such as `ask_question`, if your harness has one, or plain chat) MUST contain+ strictly one question (`len(questions) == 1`), be the sole tool call in the+ turn, and provide clear, action-oriented options without `(Recommended)`+ prefixes.++## The Goldfish Brainstorming Lenses++| Lens / Persona | Core Objective | Key Questions Challenged |+| :---------------------- | :---------------------- | :----------------------- |+| **Contrarian / YAGNI** | Code & complexity | *Why does this feature |+: : minimization : need to exist? Can an :+: : : existing library, :+: : : open-source dependency, :+: : : API, or service solve :+: : : 90% of this problem :+: : : without writing new :+: : : code?* :+| **Cost, Quota & Token | Infrastructure & budget | *What is the peak QPS, |+: Economics** : scaling : memory footprint, :+: : : database query load, or :+: : : LLM token budget? Will :+: : : this hit quota ceilings :+: : : at scale?* :+| **UX & Developer | Usability & cognitive | *Is the API/CLI |+: Ergonomics** : overhead : intuitive? Does it match :+: : : ecosystem conventions? :+: : : Are error messages :+: : : actionable, or does it :+: : : add developer friction?* :+| **Migration & Backward | Rollout safety & | *How do existing |+: Compatibility** : version skew : clients/data migrate? :+: : : Does this break :+: : : serialized schemas, :+: : : protos, or persistent :+: : : storage? How is rollback :+: : : handled mid-migration?* :+| **Observability & SRE | Telemetry & operational | *Are key operations |+: Debuggability** : visibility : traceable via :+: : : distributed tracing? Are :+: : : telemetry metrics :+: : : actionable? How will :+: : : oncall engineers triage :+: : : a production incident at :+: : : 3 AM?* :+| **Long-Term Tech Debt & | Future maintainability | *Does this introduce |+: Maintenance** : : tightly coupled :+: : : dependencies or brittle :+: : : state machines that will :+: : : be painful to maintain :+: : : in 2 years?* :++## Execution Workflow++### Step 1: Deep Clarification & Problem Statement Drilling++1. **Check for Concept Foundation**: Verify if the user provided an initial+ feature idea or concept prompt. If missing, prompt the user to describe what+ they want to brainstorm.+2. **Iterative Problem Drilling (Multi-Turn Chat)**: Do **NOT** rush into+ launching subagents after a single response. Continue asking targeted,+ open-ended clarifying questions across multiple chat turns as needed until+ the problem statement, constraints, and target behavior are thoroughly+ defined. Do NOT use structured question tools (`ask_question`) and do NOT+ provide candidate multiple-choice options during problem exploration. Ask+ open-ended questions directly in chat:++ * *What specific problem, bottleneck, or pain point does this solve?*+ * *Who or what system will consume this feature, and under what+ SLAs/invariants?*+ * *What are the hard non-negotiable constraints (e.g., zero false+ positives, offline operation, specific platform/dialect)?*+ * *What are the edge cases or out-of-scope boundaries?*+ * *How is this issue dealt with today? Why doesn't that work?*+ * *How is success going to be measured?*++3. **Readiness Checkpoint Gate (Single-Select)**: Once a clear foundation is+ established, summarize the anchored working hypothesis in 2-3 sentences.+ Present an explicit single-select confirmation gate (using a structured+ question tool such as `ask_question` if your harness has one, or plain+ chat):++ ```json+ {+ "questions": [+ {+ "question": "Anchored feature hypothesis: [2-3 sentence summary]. How would you like to proceed?",+ "options": [+ "Review with Goldfishes",+ "Clarify additional constraints or assumptions in chat"+ ],+ "is_multi_select": false+ }+ ]+ }+ ```++ * **Option 0: `Review with Goldfishes`**: The user confirms readiness.+ Proceed immediately to Step 2 (Goldfish Review & Synthesis) to invoke+ `egm-synthesizer`.+ * **Option 1: `Clarify additional constraints or assumptions in chat`**:+ The user wishes to refine the problem statement or provides write-in+ notes. Stay in Step 1, yield the turn in chat for details, incorporate+ feedback into the hypothesis, and re-present the readiness gate when+ ready.++4. **Proceed to Step 2 ONLY** after Option 0 is confirmed. Do NOT spawn+ subagents before this gate confirms readiness.++### Step 2: Goldfish Review & Synthesis++1. **Delegate to Synthesizer Subagent**: Spawn the intermediate+ **`egm-synthesizer`** agent (or parallel Goldfish subagents across the 6+ specialized lenses if your harness cannot nest subagents):+ * Subagent: `egm-synthesizer` (`agents/synthesizer.md`)+ * `Prompt`: >- Conduct multi-lens brainstorm for feature concept:+ `[AnchoredFeatureHypothesis]`. Mode: `BRAINSTORM`. Reviewers:+ `[egm-design, egm-codebase-details, egm-zoom-out, egm-comprehension,+ egm-implementation-readiness, egm-structural]`.+2. **Synthesizer Execution**: The `egm-synthesizer` subagent launches the+ parallel Goldfish reviewers across the specialized lenses (`egm-design`,+ `egm-codebase-details`, `egm-zoom-out`, `egm-comprehension`,+ `egm-implementation-readiness`, `egm-structural`) with `Mode: BRAINSTORM`.+3. **Deduplication**: Collect the raw findings from the Goldfish reviewers,+ deduplicate overlapping points, and format them into a cohesive analysis.+4. **Write/Update Artifact**: Format and write the synthesized brief to+ `concepts_brief.md` in the working directory (or your harness's artifact+ directory, if it has one) using your file-writing tool.++The `concepts_brief.md` artifact follows this structure:++```markdown+# [Feature Name]++* **Author:** [Author Name or GitHub Handle]+* **Date:** [YYYY-MM-DD]++## Overview++[High-level summary of the feature, target user, and core value proposition written in plain English.]++## Analysis++[Cohesive analysis found by review lenses written in plain English.]++## Goals vs. Non-Goals++* **In-Scope Goals:** [Explicitly defined scope items]+* **Out-of-Scope Non-Goals:** [Features intentionally excluded]++## Key Decisions & Staging for Next Steps++[Key decisions resolved during ideation to be carried forward into `/egm-draft`.]+```++### Step 3: Interactive Iteration & Refinement Loop++1. **Notify & Highlight (No Chat Dumps)**: Notify the user in chat that+ `concepts_brief.md` has been updated (give its path). Highlight 2-3 key+ objections or open risks raised by the Goldfish reviewers.+2. **Iterate**: Ask the user how they wish to address the Goldfish objections+ (e.g., pivoting the approach, narrowing scope, or adding constraints).+3. **Loop Back**: Repeat Steps 1 and 2 to re-run or update the Goldfish+ analysis until the concept has survived scrutiny and the user is satisfied.++### Step 4: Finalize & Handoff++1. **Artifact Alignment**: Ask the user to review the final `concepts_brief.md`+ artifact and confirm their alignment.+2. **Step 4 Handoff Gate Modal (Single-Select)**: Once approved, present the+ standardized handoff choices (using a structured question tool such as+ `ask_question` if your harness has one, or plain chat):++ ```json+ {+ "questions": [+ {+ "question": "Brainstorming complete. concepts_brief.md is finalized. Select next step:",+ "options": [+ "Publish concepts_brief.md as RFC for team feedback",+ "Proceed to /egm-draft (Initialize formal design document)",+ "Continue refining concepts_brief.md in ideation mode",+ "Conclude brainstorming and keep brief for later"+ ],+ "is_multi_select": false+ }+ ]+ }+ ```++ * **Option 0: `Publish concepts_brief.md as RFC for team feedback`**:+ * Write `concepts_brief.md` to `docs/designs/<feature_name>.md` using+ your file-writing tool.+ * Register the RFC in `docs/designs/SITEMAP.md` if it exists.+ * Notify the user in chat that the RFC has been published and can be+ shared with the team for feedback before formal drafting. Remind the+ user that once feedback is gathered, a detailed design can be+ initiated by running `/egm-draft docs/designs/<feature_name>.md`.+ * **Option 1: `Proceed to /egm-draft (Initialize formal design+ document)`**:+ * Confirm that `concepts_brief.md` is saved in the working directory+ or artifact directory.+ * Instruct the user to run `/egm-draft` (or activate the `egm-draft`+ skill), noting that `/egm-draft` automatically ingests+ `concepts_brief.md` as its Priority 1 intake source.+ * **Option 2: `Continue refining concepts_brief.md in ideation mode`**:+ * Return to Step 3 iteration loop to drill into further edge cases or+ update the brief based on user chat input.+ * **Option 3: `Conclude brainstorming and keep brief for later`**:+ * Conclude the session gracefully. Remind the user that+ `concepts_brief.md` remains saved for future reference.diff --git a/skills/egm_brainstorm/TEST.md b/skills/egm_brainstorm/TEST.mdnew file mode 100644index 0000000..2edd64a--- /dev/null+++ b/skills/egm_brainstorm/TEST.md@@ -0,0 +1,17 @@+# Test Plan: EGM Brainstorm Skill++Frontmatter and link checks run in `pytest tests/unit` (see [TESTING.md](../../TESTING.md)).++## Protocol Verification Checklist++When evaluating or exploring `egm_brainstorm` interactively in chat, verify:++- **Step 1 (Open-Ended Clarification & Gate):** Drills down into half-baked concepts+ using open-ended chat questions (without structured question tools or multiple-choice lists)+ and enforces a user readiness checkpoint gate before subagent invocation.+- **Step 2 (Upstream Multi-Lens Ideation):** Evaluates feature concepts across the+ 6 specialized Goldfish perspective lenses (Contrarian/YAGNI, Cost/Quota Economics,+ UX Ergonomics, Migration & Compatibility, Observability & SRE, Tech Debt & Maintenance).+- **Step 3 & 4 (Concepts Brief Deliverable & Handoff):** Compiles and saves the+ synthesized `concepts_brief.md` artifact for user review and handoff to+ `/egm-draft`.diff --git a/skills/egm_brainstorm/test_scenarios.yaml b/skills/egm_brainstorm/test_scenarios.yamlnew file mode 100644index 0000000..8e757c4--- /dev/null+++ b/skills/egm_brainstorm/test_scenarios.yaml@@ -0,0 +1,89 @@+# Copyright 2026 Google LLC+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# https://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.++skill: "egm_brainstorm"+description: "Behavioral evaluation scenario suite for egm_brainstorm skill."++scenarios:+ - scenario_id: "open_ended_discovery_divergence"+ description: "Verifies open-ended conversational clarification without multiple-choice menus during initial discovery."+ eval_type: "deterministic"+ system_prompt:+ skill_file: "skills/egm_brainstorm/SKILL.md"+ turns:+ - user_input: "I have a rough idea for a dynamic cache warming service that proactively fetches user profiles before peak morning traffic, but the requirements and operational limits are completely undefined. How should we explore this?"+ assertions:+ - type: "required_pattern"+ pattern: "(\\?|clarif|requirements|traffic|constraints|failure|goals)"+ message: "Brainstorming must initiate open inquiry directly in chat."+ - type: "forbidden_pattern"+ pattern: "(\\(Recommended\\)|Option 1|Option A|\\[1\\])"+ message: "Brainstorming must not present multiple-choice menus during initial discovery."++ - scenario_id: "readiness_gate_modal"+ description: "Asserts single-select modal presentation for readiness confirmation before launching Goldfishes."+ eval_type: "deterministic"+ system_prompt:+ skill_file: "skills/egm_brainstorm/SKILL.md"+ turns:+ - user_input: "We have thoroughly explored the dynamic cache warming problem: it will run as an hourly cron pre-fetching the top 10k active user profiles from Postgres into Redis, constrained to a 5-minute execution window and under 100MB memory footprint. Please summarize the anchored hypothesis and present the readiness gate."+ assertions:+ - type: "required_pattern"+ pattern: "Review with Goldfishes"+ message: "Readiness gate must offer Review with Goldfishes."+ - type: "required_pattern"+ pattern: "Clarify additional constraints or assumptions in chat"+ message: "Readiness gate must offer option to clarify in chat."+ - type: "forbidden_pattern"+ pattern: "\\(Recommended\\)"+ message: "Readiness gate must not contain (Recommended) prefix."++ - scenario_id: "handoff_gate_modal_routing"+ description: "Asserts single-select modal routing to /egm-draft and RFC publishing upon completing brief."+ eval_type: "deterministic"+ system_prompt:+ skill_file: "skills/egm_brainstorm/SKILL.md"+ turns:+ - user_input: "The Goldfish review and iteration loops are finished. I have reviewed and fully approved the finalized concepts_brief.md artifact. Please execute Step 4 (Finalize & Handoff)."+ assertions:+ - type: "required_pattern"+ pattern: "Publish concepts_brief\\.md as RFC for team feedback"+ message: "Handoff gate must offer RFC publication option."+ - type: "required_pattern"+ pattern: "Proceed to /egm-draft"+ message: "Handoff gate must offer proceeding to /egm-draft."+ - type: "forbidden_pattern"+ pattern: "/egm-discuss"+ message: "Handoff gate must not route to deprecated /egm-discuss."+ - type: "forbidden_pattern"+ pattern: "\\(Recommended\\)"+ message: "Handoff gate must not contain (Recommended) prefix."++ - scenario_id: "decision_matrix_generation"+ description: "Checks that tradeoffs and evaluation criteria are formatted clearly in a decision matrix."+ eval_type: "deterministic"+ system_prompt:+ skill_file: "skills/egm_brainstorm/SKILL.md"+ turns:+ - user_input: "Create a decision matrix comparing Kafka vs RabbitMQ vs Pub/Sub for our pipeline."+ assertions:+ - type: "required_pattern"+ pattern: "\\|.*\\|.*\\|"+ message: "Decision matrix must be formatted as a Markdown table."+ - type: "contains"+ pattern: "Kafka"+ message: "Decision matrix must evaluate Kafka."+ - type: "contains"+ pattern: "RabbitMQ"+ message: "Decision matrix must evaluate RabbitMQ."diff --git a/skills/egm_draft/SKILL.md b/skills/egm_draft/SKILL.mdnew file mode 100644index 0000000..d5fe2dc--- /dev/null+++ b/skills/egm_draft/SKILL.md@@ -0,0 +1,290 @@+---+name: egm-draft+license: Apache-2.0+disable-model-invocation: true+description: >-+ Drafts a design document section-by-section using the concepts brief from+ egm-brainstorm (or user notes). This is the second step in the Elephant-Goldfish (EGM)+ feature flow. Use when you are ready to write a design doc after aligning on+ requirements + solution.+---++# Design Drafting (Document Construction)++This skill guides the user through drafting a technical design document based on+the aligned problem and requirements from the brainstorm phase.++## Execution Constraints (CRITICAL)++1. You **MUST** read and apply the+ execution instructions in `resources/execution_instructions.md`.+2. **Artifact-First Delivery (MANDATORY)**: You are **STRICTLY FORBIDDEN** from+ presenting large proposals, drafts, summaries, or plans directly in the chat+ pane. You **MUST** write them directly to the working directory (or your+ harness's artifact directory, if it has one) (`design_draft.md` or+ `./design_draft.md`) using your file-writing tool and tell the user in chat+ the file path and ask for review. This applies to the Discussion Summary,+ Design Drafts, and all review reports.+3. **Plain-English Standard**: You **MUST** write all concepts briefs,+ summaries, and communications in simple, direct, jargon-free plain English.+ Explain technical mechanisms directly. Do not summarize away substance or+ rely on buzzwords. Do not use ungrounded promotional adjectives (e.g.,+ *seamless*, *robust*, *blazingly fast*) or decorative adverbs (e.g.,+ *seamlessly*, *effortlessly*, *literally*, *drastically*, *obviously*).+4. **Default to Stress-Testing**: Never agree by default. Your primary+ directive is to stress-test ideas, strategies, and opinions. Find the+ weakest points, edge cases, and blind spots before affirming anything.+5. **No Glazing**: Eliminate sycophancy. Do not call ideas "great,"+ "brilliant," or "smart." Compliments without substance are noise.+6. **Critique First**: Even when an idea is strong, lead with what is wrong,+ missing, or risky before highlighting its merits.+7. **Reject Echo-Chamber Framing**: Never parrot framing back to the user. If a+ conclusion is asserted, do not validate it reflexively.+8. **Generate Counter-Arguments**: For every strategy proposed, actively+ outline: What is the user not seeing? What is the strongest+ counter-argument? Is the opposing view justified?+9. **Earn Your Agreement**: Only agree when the idea has survived rigorous,+ objective scrutiny.+10. **Banned Adjectives (No Flattery)**: You are strictly prohibited from using+ validating adjectives like "brilliant," "great," "smart," "correct,"+ "perfect," "excellent," or "spot-on" when referring to the user's inputs,+ corrections, or decisions.+11. **Banned Apologies**: You MUST NOT output polite apologies (e.g., "I+ apologize," "I am sorry," "Forgive me") when challenged or corrected.+ Instead, outline the corrected technical logic or trade-offs directly.+12. **Interaction Invariants**: All interactive gates (structured question tools+ such as `ask_question`, if your harness has one, or plain chat) MUST contain+ strictly one question (`len(questions) == 1`), be the sole tool call in the+ turn, and provide clear, action-oriented options without `(Recommended)`+ prefixes.++## Inputs++* **`Context File`** (Optional): File path to a predecessor document (e.g.,+ `docs/designs/<feature_name>.md`, `concepts_brief.md`, or+ `discussion_summary.md`). If omitted, the skill defaults to consuming+ predecessor context (e.g., `concepts_brief.md` or `discussion_summary.md`).++## Execution Workflow++Follow these steps sequentially. Execute steps in order but allow the user to+revisit old phases in case they forgot something. Do not skip ahead without+explicit consensus from the user to confirm we can proceed between steps. Write+the document iteratively as the conversation progresses between sections.++### Section Approval Gate (Steps 2β5)++After writing or updating each section in `design_draft.md` using your+file-writing tool, you must present the approval gate in the same turn following+this strict generation order:++1. **Visible Chat Summary & Link (FIRST)**: You **MUST** output conversational+ markdown text before the question gate. State which section was drafted or+ updated, highlight 2β3 key decisions or additions, and provide a link or+ path to `design_draft.md` (e.g., `[design_draft.md](file://<path>/design_draft.md)`).+2. **Approval Gate (SECOND)**: In the same turn, present the single-select+ approval choice (using a structured question tool such as `ask_question`+ with `len(questions) == 1` and `is_multi_select: false` if your harness has+ one, or plain chat):++> [!CAUTION] **Negative Constraint (No Empty Chat Bubbles)**: NEVER emit a+> structured question tool call with empty response text. Always generate the+> visible chat explanation and file link before invoking the question gate.++```json+{+ "questions": [+ {+ "question": "Drafted [Section Name] in design_draft.md. Please review. How would you like to proceed?",+ "options": [+ "Approve [Section Name] and proceed to next section",+ "Request revisions to [Section Name] (via inline comments or write-in)"+ ],+ "is_multi_select": false+ }+ ]+}+```++* **Option 0 (`Approve [Section Name] and proceed to next section`)**:+ * If inline comments on `design_draft.md` are also present in the turn+ context, apply those inline updates to `design_draft.md` first before+ advancing to the next section.+ * Otherwise, advance immediately to drafting the next section.+* **Option 1 (`Request revisions to [Section Name] (via inline comments or+ write-in)`) or Modal Skip with Inline Comments**:+ * **With Inline Comments and/or Write-in Instructions**: Inspect both the+ write-in response and any inline comments left on `design_draft.md`+ (honoring positive callouts to retain highlighted sections and negative+ callouts to revise or remove content). Apply all revisions to+ `design_draft.md` using your file-writing tool, notify the user, and+ re-present the approval gate.+ * **Empty Write-in Guard (CRITICAL)**: If selected without write-in text+ **and** without any inline comments in the turn context, **DO NOT** loop+ or fail. Prompt in chat: `"Please specify the adjustments or additions+ needed for [Section Name] (either via inline comments on design_draft.md+ or here in chat) so I can revise the draft."` and yield active execution+ to wait for user clarification in chat.++### Step 1: Ingest Predecessor Context (Concepts Brief or Notes)++1. **Context File**: If `Context File` is specified, read and parse it directly.+2. **Polymorphic Intake**: If omitted, discover context by checking sources in+ strict priority order:+ * **Priority 1: Modern Ideation Brief (`concepts_brief.md`)**: Check for+ `concepts_brief.md` in `./concepts_brief.md`, the conversation artifact+ directory, or `scratch/concepts_brief.md`. If found, ingest and parse+ the brief.+ * **Priority 2: Discussion Summary (`discussion_summary.md`)**: If+ `concepts_brief.md` is not found, check for `discussion_summary.md` in+ `./discussion_summary.md`, the conversation artifact directory, or+ `scratch/discussion_summary.md`. If found, ingest and parse the summary.+ **Do NOT** prompt the user to start `/egm-brainstorm` or warn of+ deprecation.+ * **Priority 3: Interactive Chat Prompt**: If neither file exists, prompt+ the user in chat for the feature's problem statement, goals, and+ technical context, or offer to launch `/egm-brainstorm`.+3. **Verify State**: Parse the document. Present a quick confirmation to the+ user to ensure we are starting with the correct context.+4. **Consensus**: Get explicit approval to start drafting the document.++### Step 2: Draft Overview, Goals & Problem Statement++1. **Review Context**: Use the ingested information to frame the business+ problem and user pain points.+2. **Draft Content**: Write "The Problem", "Overview", "Goals", and "Non-Goals"+ in clear, plain English Markdown following the design document template+ (`references/design_doc.md`).+3. **Focus**: Emphasize the *why* (the user need and business value) rather+ than the *how* (technical implementation).+4. **Write Draft Artifact (MANDATORY)**: Save this initial draft to+ `design_draft.md` in the working directory (or your harness's artifact+ directory, if it has one) using your file-writing tool.+5. **Notify & Verify (No Chat Dumps)**: You are **STRICTLY FORBIDDEN** from+ printing the draft in the chat. Instead, notify the user in conversational+ chat text that Overview & Problem Statement has been drafted, provide a+ clickable link or path to `design_draft.md`, and present the Section+ Approval Gate for `Overview & Goals`.++### Step 3: Draft Technical Plan++1. **Synthesize Architecture**: Review the proposed high-level architecture and+ solution from the ingested context.+2. **Draft Plan**: Describe the proposed changes in clear prose. Identify new+ components, modified files, and API changes. Include text-based block+ diagrams (e.g., ASCII or Mermaid) to illustrate data flow.+3. **Update Draft Artifact (MANDATORY)**: Update `design_draft.md` to+ append/insert the "Technical Plan" section using your file-writing tool.+4. **Notify & Verify (No Chat Dumps)**: You are **STRICTLY FORBIDDEN** from+ printing the technical plan in the chat. Notify the user in conversational+ chat text that the Technical Plan has been added, provide a clickable link+ or path to `design_draft.md`, and present the Section Approval Gate for+ `Technical Plan`.++### Step 4: Draft Alternatives++1. **Review Alternatives**: Recall the alternatives debated and rejected during+ brainstorming.+2. **Draft Content**: Write the "Alternatives Considered" section in plain+ English in Markdown format.+3. **Detail Reasons**: For each alternative, explicitly state *why* it was+ rejected (e.g., higher latency, scaling limitations, team unfamiliarity).+4. **Update Draft Artifact (MANDATORY)**: Update `design_draft.md` to+ append/insert the "Alternatives Considered" section using your file-writing+ tool.+5. **Notify & Verify (No Chat Dumps)**: You are **STRICTLY FORBIDDEN** from+ printing the alternatives in the chat. Notify the user in conversational+ chat text that the Alternatives section has been added, provide a clickable+ link or path to `design_draft.md`, and present the Section Approval Gate for+ `Alternatives Considered`.++### Step 5: Draft Implementation++Draft a detailed implementation plan that focuses on how to implement the+feature. This plan must be detailed. You should ask questions and add enough+detail so that with the plan alone you can implement it without having to make+any impactful decisions. Follow these guidelines:++1. **Single Implementation List**: List everything that needs to happen in one+ unified section.+2. **Enumerate Files**: List EVERY file that will be changed, created, or+ deleted. Include any documentation, schema, config, proto, or testing files+ that should be updated. You MUST include a reference to every file touched+ by the plan.+3. **Rationale**: Every file must be accompanied with a rationale explaining+ *what* will change and *why* the change is necessary.+4. **Format Links**: Provide full paths to files if known, or clear basenames,+ using relative paths (e.g., `./sub/README.md` or `../sibling/README.md`) for+ intra-package and sibling documentation links.+5. **NO CODE**: Do not generate actual implementation code in this design+ draft. Pseudocode, APIs, or schemas are allowed.+6. **Update Draft Artifact (MANDATORY)**: Update `design_draft.md` to+ append/insert this "Detailed Implementation" section using your file-writing+ tool.+7. **Notify & Verify (No Chat Dumps)**: You are **STRICTLY FORBIDDEN** from+ printing the implementation plan in the chat. Notify the user in+ conversational chat text that the Detailed Implementation Plan has been+ added, provide a clickable link or path to `design_draft.md`, and present+ the Section Approval Gate for `Detailed Implementation`.++### Step 6: Write Design Document Finalization++When you are asked to write or save the design document, follow these rules+strictly:++1. **Target Directory**: If the user specified a target directory or file, use+ it. Otherwise, probe the workspace for existing design directories (from+ `Context File` directory, `docs/designs/`, or `<project>/docs/designs/`),+ bind `[DiscoveredPath]` (defaulting to `docs/designs/`), and present a+ single-select gate (using a structured question tool such as `ask_question`+ with `len(questions) == 1` and `is_multi_select: false` if your harness has+ one, or plain chat):++ ```json+ {+ "questions": [+ {+ "question": "Where should the design be saved?",+ "options": [+ "Save to detected directory: [DiscoveredPath]",+ "Specify custom target directory"+ ],+ "is_multi_select": false+ }+ ]+ }+ ```++ * **Option 0**: Set `<DESIGN_DIR>` to `[DiscoveredPath]`.+ * **Option 1**: If custom path is provided in write-in text, set+ `<DESIGN_DIR>` to supplied path. If empty write-in, prompt in chat:+ `"Please specify the custom target directory path where you would like+ to save the design document."` and yield active execution.++2. **Update Sitemap**: If `<DESIGN_DIR>/SITEMAP.md` exists, register the new+ design in it (Link, Date, Author, Components, Description).++3. **Self-Evaluate against Zoom Out Standard**: Before saving the file,+ self-evaluate the compiled design document (contents of `design_draft.md`)+ against the EGM Zoom Out Standard+ (`resources/document_standards/zoom-out-standard.md`).+ Verify that the design remains focused on the root problem, does not+ introduce premature optimizations or speculative logic (YAGNI), maximizes+ reuse, and avoids repeating itself. If any issues are found, present them to+ the user, explain the proposed improvements, and ask for confirmation before+ refining the draft.++4. **Write doc**: Once finalized, write the contents of `design_draft.md` to+ the designated destination file at `<DESIGN_DIR>/<FEATURE>.md` using your+ file-writing tool. Follow the [template](references/design_doc.md) for final+ structure if any adjustments are needed.++5. **Clean Formatting**: Ensure clean standard Markdown formatting, valid table+ syntax, and proper code block fences.++6. **Handoff**: Provide a clickable link to the finalized design and recommend+ that the user review the document with:++ ```markdown+ `egm-review` <DESIGN_PATH>+ ```diff --git a/skills/egm_draft/TEST.md b/skills/egm_draft/TEST.mdnew file mode 100644index 0000000..5c0723d--- /dev/null+++ b/skills/egm_draft/TEST.md@@ -0,0 +1,3 @@+# Test Plan: EGM Draft Skill++Frontmatter and link checks run in `pytest tests/unit` (see [TESTING.md](../../TESTING.md)).diff --git a/skills/egm_draft/references/design_doc.md b/skills/egm_draft/references/design_doc.mdnew file mode 100644index 0000000..b0c5754--- /dev/null+++ b/skills/egm_draft/references/design_doc.md@@ -0,0 +1,177 @@+# [Feature/Project Name]++* **Author:** [Author Name or GitHub Handle]+* **Status:** [Draft | Proposed | In Review | Approved]+* **Date:** [YYYY-MM-DD]++--------------------------------------------------------------------------------++## Overview++<!-- Provide a high-level summary of the feature, the business or technical+problem it solves, and its context within the system. Keep it concise so both+humans and agents can quickly parse the main objective.+-->++## The Problem++[Summarize the problem and the proposed solution here.]++## Goals++<!--+What will this feature achieve? Be specific, measurable, and clear.+These goals represent the absolute criteria for success.+-->++* Goal 1+* Goal 2++## Non-Goals++<!--+Explicitly state what is out of scope. This is crucial to prevent feature creep+and to define strict boundaries for the implementation agent.+-->++* Non-Goal 1+* Non-Goal 2++## Open Questions++<!--+List unresolved design questions, technical unknowns, or dependencies requiring+investigation. Unanswered questions are retained here across drafting sessions+to preserve conversational memory and prevent future sessions from re-asking+questions that were already discussed. Remove answered questions as they are+resolved.+-->++* **Question 1**: [Description of technical unknown or open question]+* **Question 2**: [Description of technical unknown or open question]++## Critical User Journeys (CUJs)++<!--+Define the end-to-end user journeys this design enables. Each CUJ must contain:++1. Given: Preconditions, starting state, and environment configurations.+2. When: The trigger, user action, or system event.+3. Then: The expected outcome, verification criteria, and postconditions.+-->++### CUJ 1: [Journey Title]++* **Given**: [Preconditions]+* **When**: [Actions]+* **Then**: [Expected Outcomes]++### CUJ 2: [Journey Title]++* **Given**: [Preconditions]+* **When**: [Actions]+* **Then**: [Expected Outcomes]++## Technical Plan (Architecture)++<!-- Detail the high-level design, architectural choices, system data flows, and+component interactions. Include ASCII or Mermaid diagrams to clearly model the+relationships.+-->++[Explain your architectural choices, data structures, and system component+mapping here.]++```text+[Optional ASCII Architecture Diagram]+```++## Alternatives Considered++<!-- Document other architectural approaches or designs that were evaluated and+rejected. Explain the pros, cons, and the technical reasoning for why the chosen+plan is superior.+-->++### Alternative A: [Alternative Title]++* **Pros**: [List benefits]+* **Cons**: [List drawbacks]+* **Reason for Rejection**: [Why this option was not selected]++--------------------------------------------------------------------------------++## Non-Functional Requirements++<!-- Analyze non-functional concerns only if they represent critical risks for+this design:++- Security & Privacy: (Data sensitivity, auth/auth, secrets management).+- Performance & Latency: (Execution runtime, storage footprint, LLM token+ overhead).+- Rollout & Rollback: (Feature flags, backward compatibility, rollback+ commands).+-->++[Detail any critical non-functional requirements here. If none are critical,+this section can be omitted or stated as "None".]++--------------------------------------------------------------------------------++### Additional Resources++<!-- Specify the external resources and context that were used during the design+discussion. Optional. If none were provided omit this section.-->++* Important project docs referenced+* Important docs/ referenced+* Related work++### Future Improvements++<!-- Specify areas that have room for future improvement here. If none were+provided omit this section.-->++* **The idea**: What could be improved?++--------------------------------------------------------------------------------++## Detailed Implementation Plan++<!-- Specify exactly which files must be created or modified. Do not use vague+language or TBDs.+-->++### Target Files to Create/Modify++#### 1. `[File Path 1]` ([Create | Modify])++* **Type / Scope**: [e.g., Python Service, C++ Library, TypeScript Module, Build+ Configuration]+* **Proposed Changes**: [Describe the new APIs, class/function signatures, or+ behavioral logic here. Focus on the minimal required details for+ implementation.]++#### 2. `[File Path 2]` ([Create | Modify])++* **Type / Scope**: [e.g., Unit Test, E2E Test Driver]+* **Proposed Changes**: [Describe the test coverage, expected test cases, or+ mock assertions.]++### Verification Plan++<!-- Specify what unit, integration, or manual tests must pass to validate the+implementation. What metrics should be measured to verify success?+-->++* **Compilation/Build**: [e.g., `npm run build`, `cargo build`, `make`]+* **Unit Tests**: [e.g., `pytest`, `npm test`, `cargo test`]+* **Static Analysis & Linting**: [e.g., `eslint`, `ruff check`, `golangci-lint`]+* **Test Coverage Requirement**: [e.g., 85%+ branch coverage]+* **E2E/Integration**: [e.g., Integration test command or automated eval runner]++--------------------------------------------------------------------------------++<!-- Provenance: Indicates initial structural drafting via EGM. -->++*Drafted with EGM*diff --git a/skills/egm_draft/test_scenarios.yaml b/skills/egm_draft/test_scenarios.yamlnew file mode 100644index 0000000..660ebbb--- /dev/null+++ b/skills/egm_draft/test_scenarios.yaml@@ -0,0 +1,101 @@+# Copyright 2026 Google LLC+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# https://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.++skill: "egm_draft"+description: "Behavioral evaluation scenario suite for egm_draft skill."++scenarios:+ - scenario_id: "polymorphic_intake_concepts_brief"+ description: "Evaluates automatic discovery and ingestion of concepts_brief.md without prompting."+ eval_type: "deterministic"+ system_prompt:+ skill_file: "skills/egm_draft/SKILL.md"+ turns:+ - user_input: "Draft the design document based on our brainstorming session."+ assertions:+ - type: "required_pattern"+ pattern: "(concepts_brief\\.md|intake|predecessor)"+ message: "Drafting should acknowledge concepts_brief.md intake."++ - scenario_id: "section_approval_modal_empty_write_in_guard"+ description: "Asserts modal presentation after each section and chat prompt when write-in is empty."+ eval_type: "deterministic"+ system_prompt:+ skill_file: "skills/egm_draft/SKILL.md"+ turns:+ - user_input: "Draft the Overview & Goals section for our design document."+ assertions:+ - type: "required_pattern"+ pattern: "Approve Overview & Goals and proceed to next section"+ message: "Section approval must present neutral approval option."+ - type: "required_pattern"+ pattern: "Request revisions to Overview & Goals"+ message: "Section approval must present revision request option."+ - type: "forbidden_pattern"+ pattern: "\\(Recommended\\)"+ message: "Section approval must not contain (Recommended) prefix."++ - scenario_id: "directory_finalize_modal_selection"+ description: "Verifies directory probing and single-select directory modal at Step 6."+ eval_type: "deterministic"+ system_prompt:+ skill_file: "skills/egm_draft/SKILL.md"+ turns:+ - user_input: "All sections are approved. Finalize the document and save to the repository."+ assertions:+ - type: "required_pattern"+ pattern: "Save to detected directory"+ message: "Step 6 should present detected directory modal option."++ - scenario_id: "draft_and_write_design_doc"+ description: "Tests complete document generation matching the template structure."+ eval_type: "deterministic"+ system_prompt:+ skill_file: "skills/egm_draft/SKILL.md"+ turns:+ - user_input: "Draft an initial design doc for adding rate limiting to the ingress API."+ assertions:+ - type: "required_pattern"+ pattern: "(Problem Statement|Overview|Goals|Non-Goals|Alternatives Considered)"+ message: "Draft must include standard design document sections."+ - type: "not_contains"+ pattern: "```python"+ message: "Drafting phase must not emit Python implementation code."++ - scenario_id: "artifact_first_delivery"+ description: "Asserts design drafts are written to artifacts rather than dumped in chat."+ eval_type: "deterministic"+ system_prompt:+ skill_file: "skills/egm_draft/SKILL.md"+ turns:+ - user_input: "Generate the design document for telemetry service."+ assertions:+ - type: "contains"+ pattern: "draft"+ message: "Response should acknowledge drafting the design specification."++ - scenario_id: "relative_link_formatting_spec"+ description: "Verifies proper relative link formatting across subdirectories and siblings."+ eval_type: "deterministic"+ system_prompt:+ skill_file: "skills/egm_draft/SKILL.md"+ turns:+ - user_input: "Draft documentation linking child subsystem at ./sub/README.md and sibling at ../sibling/README.md."+ assertions:+ - type: "contains"+ pattern: "./sub/README.md"+ message: "Child link must use relative path formatting."+ - type: "contains"+ pattern: "../sibling/README.md"+ message: "Sibling link must use relative path formatting."diff --git a/skills/egm_drift_report/SKILL.md b/skills/egm_drift_report/SKILL.mdnew file mode 100644index 0000000..416c810--- /dev/null+++ b/skills/egm_drift_report/SKILL.md@@ -0,0 +1,64 @@+---+name: egm-drift-report+license: Apache-2.0+disable-model-invocation: true+description: >-+ Runs drift detection on all design documents to check for document and+ code consistency. Produces an actionable report with differences. Use when the+ user asks to detect drift or check for consistency across all design documents+ or READMEs in a directory.+---++# Detect Drift In Designs and Code++When the user asks to detect drift across all designs or a set of READMEs, the+goal is to identify all instances where the codebase has diverged or failed to+implement the specifications described by those designs or READMEs.++1. **Check Input**: Verify a directory containing design documents or READMEs+ is provided. If not provided, ask the user to specify the target directory.+2. **List Documents**: List all files in the design directory.+3. **Analyze**: For EACH design document:++ * **Contextualize**: Read the design document. Identify the intent,+ proposed changes, and specific filenames/symbols mentioned.+ * **Locate Source**: Find the corresponding source code files in the+ source tree. If paths aren't explicit, use code search or grep to+ locate the relevant classes, functions, or API endpoints mentioned in+ the doc. Prompt the user to add missing links to the document to make+ future detection cheaper.+ * **Verify**: Read the current state of those source files.+ * **Detect Drift**: Compare the design vs. reality. Look specifically for:+ * Missing Features: Logic described in the doc but absent in the code.+ * Incomplete Models: Dataclasses/Classes/Structs/Protos missing fields+ specified in the design.+ * Logic Shortcuts: Hardcoded values where dynamic logic was planned.+ * Architectural Divergence: Implementation using different+ patterns/libraries than proposed.+ * **Filter**: Report ONLY the differences. Do not describe what is working+ or what matches. If the code matches the design perfectly, output "No+ drift detected."++4. **Report**: Produce a single report listing all discrepancies found.++ * Append the analysis for each file to `{YYYY-MM-DD}_DRIFT_REPORT.md`+ using your file-writing tool.+ * Strict Format:++ ```markdown+ ## <DESIGN_DOC_NAME>++ <Bulleted list of specific divergences found>+ <Or "No drift detected">+ ```++5. **Guidance**++ - Be rigorous. If a design doc mentions a specific object, field or file+ name and the code doesn't have it, that is a reportable drift. Double+ check for coverage. If there is some part of the logic that is not+ referenced in a design or README, this is a reportable drift.+ - Read files liberally to ensure you are looking at the current state+ of the code, not relying on memory.+ - Process the files sequentially to ensure the tool output buffer doesn't+ overflow.diff --git a/skills/egm_drift_report/TEST.md b/skills/egm_drift_report/TEST.mdnew file mode 100644index 0000000..a90dbbc--- /dev/null+++ b/skills/egm_drift_report/TEST.md@@ -0,0 +1,3 @@+# Test Plan: EGM Drift Report Skill++Frontmatter and link checks run in `pytest tests/unit` (see [TESTING.md](../../TESTING.md)).diff --git a/skills/egm_drift_report/test_scenarios.yaml b/skills/egm_drift_report/test_scenarios.yamlnew file mode 100644index 0000000..c9b1a3f--- /dev/null+++ b/skills/egm_drift_report/test_scenarios.yaml@@ -0,0 +1,29 @@+# Copyright 2026 Google LLC+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# https://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.++skill: "egm_drift_report"+description: "Behavioral evaluation scenario suite for egm_drift_report skill."++scenarios:+ - scenario_id: "detect_all_drift"+ description: "Compares implemented code against design specs; verifies all documentation and implementation discrepancies are identified."+ eval_type: "deterministic"+ system_prompt:+ skill_file: "skills/egm_drift_report/SKILL.md"+ turns:+ - user_input: "Run egm-drift-report on `docs/designs/drift_report.md` against implemented source files."+ assertions:+ - type: "required_pattern"+ pattern: "(drift|discrepancy|matches|out of sync|report)"+ message: "Drift report must evaluate alignment between design documents and source code."diff --git a/skills/egm_resolve/SKILL.md b/skills/egm_resolve/SKILL.mdnew file mode 100644index 0000000..1de101c--- /dev/null+++ b/skills/egm_resolve/SKILL.md@@ -0,0 +1,159 @@+---+name: egm-resolve+license: Apache-2.0+disable-model-invocation: true+description: >-+ The Elephant resolution skill. Ingests flat deficiency reports from+ concurrent Goldfish reviewers, applies automated fixes for PROPOSE FIX+ items via UI multiple-choice gates, and presents interactive+ negotiation/re-sync checkpoints.+---++# Goldfish Review: Resolve++## Overview++This skill instructs the agent on how to operate within the primary Elephant+context window to parse flat deficiency reports from concurrent Goldfish+reviewers. It defends accurate design choices, applies automated textual+repairs, and manages interactive negotiation checkpoints.++## Prerequisites & Context Strategy++* **Context Recommendation (Elephant Memory)**: This skill should be run in+ the persistent conversation session that generated the target document (the+ Elephant) to recall earlier reasoning and craft higher-quality fixes.++## Inputs++The caller or orchestration driver provides exactly these parameters:++* **`TargetFile`**: Absolute or relative path to target document.+* **`LineRange`**: Exact line numbers (or `full file`).+* **`FindingsList`**: Aggregated flat list of findings from Goldfish+ reviewers.++## Execution Workflow++### Step 1: Intake Validation & Gather Context++1. **Hybrid Execution UX**: Detect if execution arguments are present:++ * *Automated Mode*: If all parameters are provided, execute silently as a+ subprocess.+ * *Standalone Human Mode*: If parameters are omitted, trigger a friendly+ onboarding flow. Prompt for one piece of input at a time, waiting for+ the user's response after each turn. Once all inputs are specified,+ display the final setup and verify the user is ready to continue.++2. Read `TargetFile` at `LineRange` by reading it and parse the `FindingsList`.++### Step 2: Evaluate & Categorize++For each finding in the list, determine:++* **CONTEST**: The critique is inaccurate or relies on a misunderstanding of+ the codebase. Provide exact code or design doc evidence defending current+ text.+* **PROPOSE FIX**: The critique is valid. Define precise textual replacements+ or structural formatting adjustments to resolve the gap.++### Step 3: Report Fixes++Construct the final report and save it named+`goldfish_review_report.md` in the working directory (or your harness's artifact directory, if it has one)+using your file-writing tool. Use this layout:++```markdown+# Goldfish Annotated Review Report++**Target:** `[TargetFile]` (`[LineRange]`)++## Prioritized Findings & AI Suggestions++{{range findings, ordered by Severity}}+### [Issue 1] [`[ReviewerPersona]`] - Severity: [High | Medium | Low]+* **Affected Scope:** [Lines Start-End]([RelativePath]#L[Start]-L[End]) ([Sub-header])+* **Discrepancy Description:** [copied from FindingsList]+* **Rationale:** [copied from FindingsList]+* ***AI Suggestion:*** [CONTEST | PROPOSE FIX]+* ***Justification:*** [Detailed reason]+* ***Proposed Edit:***+ * Location: [Line/Header]+ * Change: [Precise replacement string or deletion note]+{{end}}+```++### Step 4: Interactive Resolution Gate++Before proceeding, output a visible chat message to the user: *"I have compiled+the audit findings into `goldfish_review_report.md`. Please review the findings there and choose how you would like to+proceed:++- **Comment directly on the file**: Review `goldfish_review_report.md` in+ chat or the file and leave comments/edits to approve, reject, or contest+ specific items.+- **Auto accept**: Reply "auto accept" to batch-apply all proposed fixes+ (skipping contested items).+- **Continue to next phase**: Reply "continue" or "no changes" to proceed+ without applying fixes.+- **Interactive breakdown**: Reply "interactive breakdown" for a guided,+ item-by-item walkthrough in chat with detailed explanations for each+ proposed edit or contested finding before making decisions.+- **Custom instruction / Wildcard request**: Reply with any custom+ instruction, question, or out-of-band request."*++You **MUST** immediately yield active execution by calling **zero tools** in+this turn payload. You must stop execution and go idle, waiting for the human+developer to comment on/edit the artifact or reply in the chat.++Interpret the user's action/response as follows:++- **"Auto accept" / "Accept all suggestions" / User clicks "Proceed" without+ contesting**: Apply all fixes where the AI suggestion was `PROPOSE FIX`+ directly to `TargetFile` at `LineRange` in a single batch using+ your file-editing tool. Any items categorized as `CONTEST` are explicitly+ bypassed. Then proceed to Step 5.+- **"Continue to next phase" / "No changes"**: Do not apply any automated+ fixes. Then proceed to Step 5.+- **"Interactive breakdown"**: Enter a sequential breakdown loop over ALL+ finding items (both `PROPOSE FIX` and `CONTEST`):++ 1. For each item `i`, output a visible chat message formatting the full+ finding details and explanation in rich markdown:++ ```markdown+ ### Breakdown Item [i]: [Issue Title] [`[ReviewerPersona]`]+ * **Scope:** [Lines Start-End]([RelativePath]#L[Start]-L[End]) ([Sub-header])+ * **Description:** [Description]+ * **AI Suggestion:** [CONTEST | PROPOSE FIX]+ * **Explanation & Justification:** [Detailed reason and background explaining why the fix is proposed or why the finding is contested]+ * **Proposed Edit:** [Precise replacement text or deletion note]+ ```++ Then prompt the user in chat for their decision on this item (calling+ **zero tools** and going idle):++ * If `PROPOSE FIX`: Ask the user to reply with **Accept proposed+ fix**, **Skip / ignore**, or **Discuss**.+ * If `CONTEST`: Ask the user to reply with **Skip / agree with+ contest**, **Overrule contest (propose fix)**, or **Discuss**.++ 2. Record the user's decisions in an internal memory checklist (e.g., *Item+ 1: Accepted*, *Item 2: Ignored*, *Item 3: Overruled*). **Do NOT call any+ file editing tools during this sequential loop.**++ 3. Once all items have been decided, summarize the accepted edits, execute+ them using your file-editing tool, and proceed to Step 5.++- **Custom instruction / Out-of-band edit**: If the user provides targeted+ instructions, apply them and proceed.++### Step 5: Post-Resolution Synchronization & Exit++1. **Re-verify Lines**: If changes were made to `TargetFile`, verify that the+ file remains structurally coherent and valid markdown.+2. Mark the report as resolved (add a `Status: resolved` line at the top).+3. **Handoff**: Exit cleanly back to the caller (such as `egm-review-loop`)+ with the count of accepted fixes, contested items, and remaining unaddressed+ issues.diff --git a/skills/egm_resolve/TEST.md b/skills/egm_resolve/TEST.mdnew file mode 100644index 0000000..1cdcbe0--- /dev/null+++ b/skills/egm_resolve/TEST.md@@ -0,0 +1,12 @@+# Test Plan: Goldfish Review Resolve Skill++Frontmatter and link checks run in `pytest tests/unit` (see [TESTING.md](../../TESTING.md)).++## Protocol Verification Checklist++When evaluating or exploring `egm_resolve` interactively in chat, verify:++- **Step 1 (Intake & Context):** Ingests `TargetFile`, `LineRange`, and `FindingsList`.+- **Step 2 (Evaluate & Categorize):** Defends valid design choices (`CONTEST`) and drafts concrete repairs (`PROPOSE FIX`).+- **Step 3 (Report Fixes):** Generates `goldfish_review_report.md` artifact.+- **Step 4 (Resolution Gate):** Prompts the user with clear decision choices (Auto accept, Continue, Interactive breakdown) without modal popups, and executes approved file modifications.diff --git a/skills/egm_resolve/test_scenarios.yaml b/skills/egm_resolve/test_scenarios.yamlnew file mode 100644index 0000000..88a33ee--- /dev/null+++ b/skills/egm_resolve/test_scenarios.yaml@@ -0,0 +1,29 @@+# Copyright 2026 Google LLC+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# https://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.++skill: "egm_resolve"+description: "Behavioral evaluation scenario suite for egm_resolve skill."++scenarios:+ - scenario_id: "resolve_findings_gate"+ description: "Verifies review comments are systematically classified, addressed, and verified."+ eval_type: "deterministic"+ system_prompt:+ skill_file: "skills/egm_resolve/SKILL.md"+ turns:+ - user_input: "Run egm-resolve with TargetFile: docs/design.md, Finding: Missing SLO on line 2."+ assertions:+ - type: "required_pattern"+ pattern: "(report|findings|resolve|SLO|comment)"+ message: "Review resolve skill must compile review findings report and prompt user resolution."diff --git a/skills/egm_review/SKILL.md b/skills/egm_review/SKILL.mdnew file mode 100644index 0000000..4dbb11b--- /dev/null+++ b/skills/egm_review/SKILL.md@@ -0,0 +1,395 @@+---+name: egm-review+license: Apache-2.0+disable-model-invocation: true+description: >-+ Orchestrates the EGM Goldfish Review Protocol. Used as part of the EGM+ process to perform design document reviews. Executes five review phases:+ Initial Zoom Out Review, Comprehension Review, Design Critique, Intermediate+ Zoom Out Review, and Implementation Readiness.+---++# Review, Validation & Automated Remediation++Reviews and validates a design document through specialized reviewer personas.++## Delegation++A Goldfish runs in a fresh context with no conversation history. Spawn each+subagent with your harness's subagent tool (Antigravity: `invoke_subagent`;+Gemini CLI: subagents). Each subagent is defined in `agents/<file>.md`, and its+frontmatter `name` (for example `egm-zoom-out`) is the subagent type to request+where your harness registers named subagents. Otherwise spawn a general-purpose+subagent and tell it to read that persona file first. Pass the prompt verbatim+and wait for the report. If your harness cannot nest subagents,+use direct dispatch instead of the synthesizer. See `docs/harnesses.md`.+If your harness has no subagent tool, stop and tell the user: a review in the same context is not a Goldfish review.++## Execution Constraints (CRITICAL)++1. **Artifact-First Delivery (MANDATORY)**: You are **STRICTLY FORBIDDEN** from+ presenting large proposals, drafts, summaries, or plans directly in the chat+ pane. You **MUST** write them to the working directory (or your harness's+ artifact directory, if it has one) using your file-writing tool and then+ tell the user in chat the file path and ask for review. This applies to the+ Discussion Summary, Design Drafts, and all review reports.+2. **Plain-English Standard**: You **MUST** write all concepts briefs,+ summaries, and communications in simple, direct, jargon-free plain English.+ Explain technical mechanisms directly. Do not summarize away substance or+ rely on buzzwords. Do not use ungrounded promotional adjectives (e.g.,+ *seamless*, *robust*, *blazingly fast*) or decorative adverbs (e.g.,+ *seamlessly*, *effortlessly*, *literally*, *drastically*, *obviously*).+3. **Default to Stress-Testing**: Never agree by default. Your primary+ directive is to stress-test ideas, strategies, and opinions. Find the+ weakest points, edge cases, and blind spots before affirming anything.+4. **No Glazing**: Eliminate sycophancy. Do not call ideas "great,"+ "brilliant," or "smart." Compliments without substance are noise.+5. **Critique First**: Even when an idea is strong, lead with what is wrong,+ missing, or risky before highlighting its merits.+6. **Reject Echo-Chamber Framing**: Never parrot framing back to the user. If a+ conclusion is asserted, do not validate it reflexively.+7. **Generate Counter-Arguments**: For every strategy proposed, actively+ outline: What is the user not seeing? What is the strongest+ counter-argument? Is the opposing view justified?+8. **Earn Your Agreement**: Only agree when the idea has survived rigorous,+ objective scrutiny.+9. **Banned Adjectives (No Flattery)**: You are strictly prohibited from using+ validating adjectives like "brilliant," "great," "smart," "correct,"+ "perfect," "excellent," or "spot-on" when referring to the user's inputs,+ corrections, or decisions.+10. **Banned Apologies**: You MUST NOT output polite apologies (e.g., "I+ apologize," "I am sorry," "Forgive me") when challenged or corrected.+ Instead, outline the corrected technical logic or trade-offs directly.+11. **Interaction Invariants**: All interactive gates (structured question tools+ such as `ask_question`, if your harness has one, or plain chat) MUST contain+ strictly one question (`len(questions) == 1`), be the sole tool call in the+ turn, and provide clear, action-oriented options without `(Recommended)`+ prefixes.++## Inputs++* **`TargetFile`**: Absolute or relative path to the design document.+* **`GoldfishContext`** (Optional): Reading list to establish the system+ baseline. If omitted, the system defaults to no additional context (but+ always automatically reads files linked or referenced in the design doc).+* **`Step` (Optional)**: Specific pipeline preset or stage to run (e.g.+ `interactive`, `uninterrupted`, `feature_spec`, `implementation`, or an+ individual stage `5`, `6`, `7`, `8`, `9`). If omitted, the user is prompted.++## Workflow++### Step 1: Intake & Setup++1. Verify if `TargetFile` is provided. If missing:+ * Explain to the user that the target design document path is required to+ analyze its structure and discover the semantic split.+ * Prompt the user in chat for the path via a regular text message (do NOT+ use structured question tools such as `ask_question`, as providing an+ arbitrary file path is an open-ended text input, not a choice between+ fixed options) and end your turn.+2. Once `TargetFile` is provided, verify if `GoldfishContext` is provided (or+ if the user explicitly stated in their prompt to proceed with no additional+ context). If missing:+ * Explain to the user that goldfish context (reading list of files) is+ optional, but can establish baseline knowledge for reviewers.+ * Clarify that reviewers **always automatically read** files explicitly+ mentioned or linked in the target design document itself.+ * Prompt the user in chat via regular text if they wish to provide+ additional context files. Do NOT use structured question tools for+ open-ended file paths.++### Step 2: Curated Pipeline Preset Selection++1. **Preset Gate Check**:+ * If `Step` parameter was explicitly provided during invocation (e.g.+ `interactive`, `uninterrupted`, `feature_spec`, `implementation`, or an+ individual stage `5`, `6`, `7`, `8`, `9`), map to the corresponding+ preset or subflow and bypass the interactive preset selection gate.+ * Otherwise (if `Step` was omitted), you **MUST** present the Curated+ Pipeline Presets single-select gate to the user (using a structured+ question tool such as `ask_question` if your harness has one, or plain+ chat).+2. **Modal Invariants & Wire Payload**:++ * The question payload **MUST** contain strictly one question object+ (`len(questions) == 1`). Multi-question payloads are strictly forbidden.+ * The question tool **MUST** be the sole tool call in this turn payload.+ You **MUST** yield execution immediately upon invocation.+ * `is_multi_select` **MUST** be `false`. Combinatorial multi-select+ checklists are strictly prohibited to protect topological dependencies+ (5 β 6 β 7 β 8 β 9).+ * Option 0 **MUST** be the primary default action (without a+ `(Recommended)` prefix).+ * Payload specification:++ ```json+ {+ "questions": [+ {+ "question": "Select the review execution mode for this document:",+ "options": [+ "Interactive review with all review rubrics (step-by-step, check in after each review)",+ "Consolidated report with all review rubrics (runs full flow without stopping)",+ "Feature spec only (evaluate design without considering implementation)",+ "Implementation plan only (evaluate design for implementation readiness)"+ ],+ "is_multi_select": false+ }+ ]+ }+ ```++3. **Action Dispatch Based on Preset**:++ * **Preset 0: `Interactive review with all review rubrics`**: Proceed to+ Step 3 to discover the semantic split, then execute Stages 5, 6, 7, 8,+ and 9 sequentially with interactive checkpoint gates between stages.+ * **Preset 1: `Consolidated report with all review rubrics`**: Proceed to+ Step 3 to discover the semantic split, then execute all five stages+ without pausing for checkpoints, consolidating findings into+ `consolidated_review_report.md`.+ * **Preset 2: `Feature spec only`**: **Bypass Step 3 semantic split+ discovery entirely**. Set `FeatureRange = 1..End`, set `DetailedRange =+ N/A`, and execute Stages 5, 6, 7, and 8 with checkpoints. Cleanly halt+ review after Stage 8 before Stage 9.+ * **Preset 3: `Implementation plan only`**: Proceed to Step 3 to discover+ the semantic split, confirm `DetailedRange`, and jump directly to Stage+ 9 (Implementation Readiness Test).++### Step 3: Semantic Split Discovery++1. **Split Bypass Check**: If Preset 2 (`Feature spec only`) was selected,+ **skip this step completely**. Set `FeatureRange` to cover the entire+ document (lines 1 through End) and proceed directly to Step 4.+2. **Inspect Document**: Read `TargetFile` to inspect its structure and line+ count.+3. **Discover Split Boundary**: Scan for the primary dividing header `##+ Detailed Implementation Plan` (or standard synonyms: `## Implementation+ Plan`, `## Work Breakdown`, `## Implementation Steps`).+ * **Standard Layout Detected**: If the boundary header is unambiguously+ identified at line $L$:+ * Automatically assign `FeatureRange = 1..(L-1)`.+ * Automatically assign `DetailedRange = L..End`.+ * Output a concise confirmation message to the user in chat:+ `"Discovered semantic boundary at line L. FeatureRange: 1..(L-1),+ DetailedRange: L..End."`+ * Proceed directly to Step 4 without presenting a confirmation modal.+ * **Ambiguous Boundary / Multiple Candidate Headers**: If multiple+ conflicting headers or non-standard structures exist:+ * Present a single-select gate (using a structured question tool such+ as `ask_question` with `len(questions) == 1`, or plain chat)+ proposing the most likely split line as Option 0, with Option 1+ allowing custom line ranges via write-in.+ * **No Implementation Plan Found**: If the document contains only a+ high-level feature specification:+ * Notify the user in chat that no implementation plan was detected.+ * Assign `FeatureRange = 1..End` and `DetailedRange = N/A`.+ * Offer to execute Stages 5β8 (Feature Spec gates) and proceed.++### Step 4: Staging Strategy++Once the semantic split and execution preset are confirmed:++1. **Confirm Review Target**: Verify that `FeatureRange` and `DetailedRange`+ are bound.+2. **Dispatch Execution Pipeline**:+ * **Interactive review with all review rubrics**: Execute Stage 5 β Stage+ 6 β Stage 7 β Stage 8 β Stage 9 sequentially.+ * **Consolidated report with all review rubrics**: Run Subflow:+ Uninterrupted Full Flow.+ * **Feature spec only**: Execute Stage 5 β Stage 6 β Stage 7 β Stage 8,+ then cleanly halt.+ * **Implementation plan only**: Jump directly to Stage 9 (Implementation+ Readiness Test).++--------------------------------------------------------------------------------++## Subflows++### Subflow Checkpoint Gates & Pause/Resume Protocol++All interactive review stages conclude with an explicit single-select gate+(using a structured question tool such as `ask_question` with+`len(questions) == 1`, `is_multi_select: false`, sole tool call in turn, or+plain chat):++1. **Stage Checkpoint Patterns**:+ * **Stages 5, 6, 8 (Altitude & Comprehension Checkpoints)**:+ * Option 0: `Proceed to next stage: Stage [N+1] ([Next Stage Name])`+ (or `Conclude review and begin detailed implementation planning` for+ Stage 8 terminal).+ * Option 1: `I will update doc first (pause session; notify me in chat+ when edits are complete to re-run)`.+ * Option 2: `Pause Review (save progress and exit)`.+ * **Stages 7, 9 (Remediation & Readiness Checkpoints)**:+ * Option 0: `Proceed to next stage: Stage [N+1] ([Next Stage Name])`+ (or `Conclude review and finalize document` for Stage 9 terminal).+ * Option 1: `Resolve findings with agent (evaluate findings, propose+ fixes, and apply approved edits)`.+ * Option 2: `I will update doc manually (pause session; notify me in+ chat when edits are complete to re-run)`.+ * Option 3: `Pause Review (save progress and exit)`.+2. **Resolution Semantics (Option 1 for Stages 7 and 9)**:+ * **Hand-off to Resolver**: The agent invokes `egm-resolve` in the primary+ Elephant context window on the target range (`FeatureRange` or+ `DetailedRange`), passing the parsed findings from `critic_report.md` or+ `implementation_readiness_report.md`.+ * **Resolution Workflow**: The Elephant classifies each finding (`PROPOSE+ FIX` vs `CONTEST`), writes `goldfish_review_report.md`, and executes+ approved edits on `TargetFile` via file editing tools.+ * **Convergence**: After applying fixes, re-read `TargetFile` to+ recalculate line bounds, and either advance to the next stage or re-run+ the stage audit (enforcing max 1 re-audit limit).+3. **Pause & Resume Semantics (Manual Doc Updates)**:+ * **Turn Yield**: The agent confirms in chat that the review is paused for+ manual document edits, and yields execution immediately.+ * **Resume Notification**: When the author replies in chat indicating+ edits are complete:+ * Re-read `TargetFile` to recalculate line shifts.+ * Re-run the current stage subflow.+ * **1-Audit Convergence Cap**: Each stage allows a maximum of 1+ re-audit. If manual doc updates are requested again after a+ re-audit, inform the author that the cap is reached, document+ residual findings as accepted trade-offs, auto-bind Option 0, and+ advance to the next stage.+4. **Graceful Halt Semantics (`Pause Review`)**:+ * Halt execution immediately with zero tools, preserving all report+ artifacts.++### Subflow: Uninterrupted Full Flow++1. **Uninterrupted Stage Execution**: Execute all five review stages in+ sequence without interactive checkpoint pauses between steps. For each+ stage, write the individual report file to the working directory (or your+ harness's artifact directory, if it has one):+ * **Step 5 (Initial Zoom Out)**: Spawn `egm-synthesizer` (or direct+ subagent) with `Reviewers: [egm-zoom-out]` on `full file` β write+ `zoom_out_report.md`.+ * **Step 6 (Comprehension Test)**: Spawn `egm-synthesizer` (or direct+ subagent) with `Reviewers: [egm-comprehension]` on `FeatureRange` &+ `DetailedRange` β write `comprehension_report.md`.+ * **Step 7 (Critic Review)**: Spawn `egm-synthesizer` (or direct+ subagents) with `Reviewers: [egm-design, egm-structural, egm-style]` on+ `FeatureRange` β write `critic_report.md`.+ * **Step 8 (Intermediate Zoom Out)**: Spawn `egm-synthesizer` (or direct+ subagent) with `Reviewers: [egm-zoom-out]` on `full file` β write+ `intermediate_zoom_out_report.md`.+ * **Step 9 (Implementation Readiness Test)**: Spawn `egm-synthesizer` (or+ direct subagents) with `Reviewers: [egm-implementation-readiness,+ egm-codebase-details, egm-style]` on `DetailedRange` β write+ `implementation_readiness_report.md`.+2. **Cross-Stage Synthesis & Deduplication**:+ * Collect all findings across the 5 stage reports.+ * Consolidate observations into actionable tasks by priority (π΄ Blocker, π‘+ Major, π’ Nit).+ * Build a Traceability Matrix mapping raw findings to consolidated action+ items.+3. **Deliverable Delivery**: Write to `consolidated_review_report.md` using+ your file-writing tool.+4. **Notify User**: Output a concise chat notification pointing to+ `consolidated_review_report.md` (give its path).++### Subflow: Zoom Out Review++1. **Delegate to Synthesizer Subagent**: Spawn `egm-synthesizer` (or the+ specialized `egm-zoom-out` subagent at `agents/zoom_out.md`) on `full file`+ applying `resources/document_standards/zoom-out-standard.md`. When running+ as Step 8 (Intermediate Zoom Out), include `zoom_out_report.md` path in+ context and focus on additions/mitigations from Comprehension and Critic+ stages.+2. **Delivery**: Write findings to `zoom_out_report.md` (Stage 5) or+ `intermediate_zoom_out_report.md` (Stage 8) using your file-writing tool.+3. **Notify User (No Chat Dumps)**: Notify user that findings are written to+ the report file (give its path).+4. **Checkpoint Gate**: Present the tri-state gate following the Checkpoint+ Gate Protocol:+ * **Stage 5**: Question: `"Stage 5 (Initial Zoom Out Review) completed.+ Findings written to zoom_out_report.md. How would you like to+ proceed?"`, Option 0: `"Proceed to next stage: Stage 6 (Comprehension+ Test)"`.+ * **Stage 8 (Feature Spec Gates Only)**: Question: `"Stage 8 (Intermediate+ Zoom Out) completed. High-level architecture verified. How would you+ like to proceed?"`, Option 0: `"Conclude review and begin detailed+ implementation planning"`.+ * **Stage 8 (Interactive Full Flow)**: Question: `"Stage 8 (Intermediate+ Zoom Out) completed. Findings written to+ intermediate_zoom_out_report.md. How would you like to proceed?"`,+ Option 0: `"Proceed to next stage: Stage 9 (Implementation Readiness+ Test)"`.+ * All cases provide Option 1: `"I will update doc first (pause session;+ notify me in chat when edits are complete to re-run)"` and Option 2:+ `"Pause Review (save progress and exit)"`.++### Subflow: Comprehension Test++1. **Delegate to Synthesizer Subagent**: Spawn `egm-synthesizer` (or the+ `egm-comprehension` subagent at `agents/comprehension.md`) on `FeatureRange`+ & `DetailedRange` applying+ `resources/document_standards/re-implementation-standard.md`.+2. **Delivery**: Write findings to `comprehension_report.md` using your+ file-writing tool.+3. **Notify User (No Chat Dumps)**: Notify user that findings are written to+ `comprehension_report.md` (give its path).+4. **Checkpoint Gate**: Present the Stage 6 tri-state gate:+ * Question: `"Stage 6 (Comprehension Test) completed. Findings written to+ comprehension_report.md. How would you like to proceed?"`+ * Option 0: `"Proceed to next stage: Stage 7 (Critic Review)"`+ * Option 1: `"I will update doc first (pause session; notify me in chat+ when edits are complete to re-run)"`+ * Option 2: `"Pause Review (save progress and exit)"`++### Subflow: Critic Review++1. **Invoke Antagonistic Review Loop**: Invoke `egm-review-loop` in-thread on+ `FeatureRange` with reviewers `[egm-design, egm-structural, egm-style]` and+ standards `{"egm-design": "feature-spec-standard", "egm-structural":+ "feature-spec-standard"}`.+2. **Notify User (No Chat Dumps)**: Notify user that findings are written to+ `critic_report.md` (give its path).+3. **Checkpoint Gate**: Present the Stage 7 gate:+ * Question: `"Stage 7 (Critic Review) completed. Findings written to+ critic_report.md. How would you like to proceed?"`+ * Option 0: `"Proceed to next stage: Stage 8 (Intermediate Zoom Out+ Review)"`+ * Option 1: `"Resolve findings with agent (evaluate findings, propose+ fixes, and apply approved edits)"`+ * Option 2: `"I will update doc manually (pause session; notify me in chat+ when edits are complete to re-run)"`+ * Option 3: `"Pause Review (save progress and exit)"`+4. **Remediation & Resolution (Option 1)**:+ * Invoke `egm-resolve` in the primary Elephant context on `FeatureRange`,+ passing findings from `critic_report.md` (or+ `goldfish_review_report.md`).+ * Execute approved fixes directly on `TargetFile` using file editing+ tools.+ * After fixes are applied, re-read `TargetFile` to recalculate line+ bounds, and advance to Stage 8 (or re-run Stage 7, max 1 re-audit).++### Subflow: Implementation Readiness Test++1. **Invoke Antagonistic Review Loop**: Invoke `egm-review-loop` in-thread on+ `DetailedRange` with reviewers `[egm-implementation-readiness,+ egm-codebase-details, egm-style]` and standards+ `{"egm-implementation-readiness": "implementation-readiness-standard",+ "egm-codebase-details": "implementation-readiness-standard"}`.+2. **Notify User (No Chat Dumps)**: Notify user that findings are written to+ `implementation_readiness_report.md` (give its path).+3. **Terminal Checkpoint Gate**: Present the Stage 9 terminal gate:+ * Question: `"Stage 9 (Implementation Readiness Test) completed. Report+ written to implementation_readiness_report.md. How would you like to+ proceed?"`+ * Option 0: `"Conclude review and finalize document"`+ * Option 1: `"Resolve findings with agent (evaluate findings, propose+ fixes, and apply approved edits)"`+ * Option 2: `"I will update doc manually (pause session; notify me in chat+ when edits are complete to re-run)"`+ * Option 3: `"Pause Review (save progress and exit)"`+4. **Remediation & Resolution (Option 1)**:+ * Invoke `egm-resolve` in the primary Elephant context on `DetailedRange`,+ passing findings from `implementation_readiness_report.md` (or+ `goldfish_review_report.md`).+ * Execute approved fixes directly on `TargetFile` using file editing+ tools.+ * After fixes are applied, re-read `TargetFile` to recalculate line+ bounds, and conclude the review session (or re-run Stage 9, max 1+ re-audit).diff --git a/skills/egm_review/TEST.md b/skills/egm_review/TEST.mdnew file mode 100644index 0000000..85a053c--- /dev/null+++ b/skills/egm_review/TEST.md@@ -0,0 +1,13 @@+# Test Plan: EGM Review & Subagents++Frontmatter and link checks run in `pytest tests/unit` (see [TESTING.md](../../TESTING.md)).++## Protocol Verification Checklist++When evaluating or exploring `egm_review` interactively in chat, verify:++- **Step 1 (Intake):** Gathers `TargetFile` and optional `GoldfishContext`.+- **Step 2 (Semantic Split):** Discovers the split line between Feature Spec+ and Detailed Implementation Plan.+- **Step 3 (Flow Selection):** Offers Full EGM Flow vs. Individual Stages (Steps 5, 6, 7, 8, 9).+- **Subflows:** Properly delegates Zoom Out, Comprehension, Critic Review, and Readiness Test.diff --git a/skills/egm_review/test_scenarios.yaml b/skills/egm_review/test_scenarios.yamlnew file mode 100644index 0000000..9837629--- /dev/null+++ b/skills/egm_review/test_scenarios.yaml@@ -0,0 +1,101 @@+# Copyright 2026 Google LLC+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# https://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.++skill: "egm_review"+description: "Behavioral evaluation scenario suite for egm_review skill."++scenarios:+ - scenario_id: "intake_preset_selection_before_split_discovery"+ description: "Asserts that Step 2 Curated Pipeline Preset selection precedes Step 3 Semantic Split Discovery."+ eval_type: "deterministic"+ system_prompt:+ skill_file: "skills/egm_review/SKILL.md"+ turns:+ - user_input: "Run EGM Review on docs/feature_spec_and_plan.md."+ assertions:+ - type: "required_pattern"+ pattern: "Select the review execution mode for this document"+ message: "Review must present curated presets modal first."+ - type: "required_pattern"+ pattern: "Interactive review with all review rubrics"+ message: "Preset modal must include Interactive review with all review rubrics."+ - type: "required_pattern"+ pattern: "Feature [sS]pec only"+ message: "Preset modal must include Feature spec only."+ - type: "forbidden_pattern"+ pattern: "\\(Recommended\\)"+ message: "Preset modal must not contain (Recommended) prefix."++ - scenario_id: "feature_spec_gates_only_bypass_flow"+ description: "Asserts that selecting Feature Spec Gates Only bypasses split discovery and halts before Stage 9."+ eval_type: "deterministic"+ system_prompt:+ skill_file: "skills/egm_review/SKILL.md"+ turns:+ - user_input: "Run EGM Review on early-stage feature spec with Preset: Feature Spec Gates Only."+ assertions:+ - type: "required_pattern"+ pattern: "(FeatureRange|1\\.\\.End|Stage 5|Initial Zoom Out)"+ message: "Review must set FeatureRange to 1..End and execute Feature Spec stages."+ - type: "forbidden_pattern"+ pattern: "(Stage 9|Implementation Readiness Test)"+ message: "Review must not execute Stage 9 when Feature Spec Gates Only is selected."++ - scenario_id: "comprehension_auditor_undefined_jargon"+ description: "Verifies comprehension critique flags undefined terminology."+ eval_type: "deterministic"+ system_prompt:+ skill_file: "skills/egm_review/SKILL.md"+ turns:+ - user_input: "Review this draft: 'The synchronizer will save data to InternalDB using MagicSync.'"+ assertions:+ - type: "required_pattern"+ pattern: "(MagicSync|InternalDB)"+ message: "Comprehension auditor must flag undefined terminology MagicSync or InternalDB."++ - scenario_id: "design_critic_missing_slo"+ description: "Injects distributed architecture lacking SLOs/latencies; asserts design critic catches omissions."+ eval_type: "deterministic"+ system_prompt:+ skill_file: "skills/egm_review/SKILL.md"+ turns:+ - user_input: "Review this design: 'We will store user profiles in a globally replicated database across multiple read replicas.'"+ assertions:+ - type: "required_pattern"+ pattern: "(SLO|latency|consistency|replication lag)"+ message: "Design critic must flag missing SLOs, latency targets, or replication lag risks."++ - scenario_id: "readiness_reviewer_vague_tasks"+ description: "Injects underspecified tasks; asserts readiness review flags non-actionable steps."+ eval_type: "deterministic"+ system_prompt:+ skill_file: "skills/egm_review/SKILL.md"+ turns:+ - user_input: "Review implementation plan: '1. Write the client library. 2. Run verification.'"+ assertions:+ - type: "required_pattern"+ pattern: "(vague|actionable|underspecified|test|specific)"+ message: "Readiness review must flag non-actionable or vague implementation steps."++ - scenario_id: "structural_and_style_audit"+ description: "Verifies heading hierarchy, banned adjectives, and objective tone."+ eval_type: "deterministic"+ system_prompt:+ skill_file: "skills/egm_review/SKILL.md"+ turns:+ - user_input: "Audit the style and structure of this design document draft."+ assertions:+ - type: "forbidden_pattern"+ pattern: "(brilliant|amazing|fantastic|great job)"+ message: "Style audit must adhere to anti-sycophancy constraints and avoid flattery."diff --git a/skills/egm_review_loop/SKILL.md b/skills/egm_review_loop/SKILL.mdnew file mode 100644index 0000000..0060b0e--- /dev/null+++ b/skills/egm_review_loop/SKILL.md@@ -0,0 +1,158 @@+---+name: egm-review-loop+license: Apache-2.0+disable-model-invocation: true+description: >-+ Executes the Antagonistic-Review process from the Elephant-Goldfish+ Model (EGM) via an automated multi-agent review loop to audit documents+ against qualitative standards and structural templates, and automatically+ apply approved fixes. Use when reviewing design docs, READMEs, feature+ specifications, implementation plans, or verifying document completeness+ and tone.+---++# Goldfish Review: Loop (Orchestration Driver)++## Overview++This skill acts as the central orchestration engine driving the multi-agent+review loop. It coordinates two distinct agent memory models:++* **The Goldfish (Adversarial Auditors)**: Subagents spawned in isolated,+ fresh context windows to catch unstated assumptions without historical bias.+* **The Elephant (Persistent Resolver)**: The primary agent context holding+ institutional knowledge to evaluate findings and apply approved repairs.++The driver manages argument intake, resolves paths for reviewers and standards,+unconditionally re-parses target line ranges before every iteration, spawns+concurrent specialized Goldfish auditors based on configuration, and coordinates+with the Elephant context to resolve findings.++## Delegation++A Goldfish runs in a fresh context with no conversation history. Spawn each+subagent with your harness's subagent tool (Antigravity: `invoke_subagent`;+Gemini CLI: subagents). Each subagent is defined in `agents/<file>.md`, and its+frontmatter `name` (for example `egm-zoom-out`) is the subagent type to request+where your harness registers named subagents. Otherwise spawn a general-purpose+subagent and tell it to read that persona file first. Pass the prompt verbatim+and wait for the report. If your harness cannot nest subagents,+use direct dispatch instead of the synthesizer. See `docs/harnesses.md`.+If your harness has no subagent tool, stop and tell the user: a review in the same+context is not a Goldfish review.++## Inputs++The caller or user provides exactly these parameters:++* **`TargetFile`**: Absolute or relative path to target document.+* **`SemanticTarget`**: Descriptive targeting string (e.g., *"Target the H4+ block with SS-ID 'S1.12'"*), or `full file`.+* **`Reviewers`**: List of reviewer names (shortnames or paths).+* **`Standards`**: Mapping of reviewer names to standard names (shortnames or+ paths).+* **`GoldfishContext`**: A reading list (source files, directories, or+ documentation URLs) fed to reviewers to establish their baseline.++## Path & Standard Resolution Logic++When resolving names in `Reviewers` and `Standards`:++* **Reviewer Shortnames**: Map reviewer shortname (e.g., `design_critic`,+ `structural`, `style`, `implementation_readiness`,+ `codebase_details`, `comprehension`, `zoom_out`) to `agents/{name}.md`.+ The persona file defines the reviewer's core mandates, audit vectors, and+ output format.+* **Standard Shortnames**: Map standard shortname (e.g., `feature-spec-standard`,+ `implementation-readiness-standard`, `zoom-out-standard`, `heilmeier-standard`,+ `re-implementation-standard`) to `resources/document_standards/{name}.md`.+* **Custom Paths**: If the name contains a slash (`/`), treat it as an+ absolute or workspace-relative path and read it directly.++## Execution Workflow++### Step 1: Intake & Configuration UX++Evaluate the provided inputs (`TargetFile`, `SemanticTarget`, `Reviewers`,+`Standards`, `GoldfishContext`).++1. **Identify Missing Inputs**: Determine which of the required parameters are+ missing.+2. **Interactive Onboarding**:+ * If **all** inputs are present, proceed to Step 2.+ * If **some or all** inputs are missing, interactively prompt the user+ **only for the missing inputs**, one at a time via chat messages.+3. **Reviewer Recommendations**:+ * *Feature Specs*: Recommend `design_critic` (mapped to+ `resources/document_standards/feature-spec-standard.md`) and+ `structural` (mapped to `resources/document_standards/feature-spec-standard.md`).+ * *Implementation Plans*: Recommend `implementation_readiness`+ (mapped to `resources/document_standards/implementation-readiness-standard.md`)+ and `codebase_details`.+4. **Confirm Configuration**: Display the consolidated plan (Target, Reviewers,+ and mapped Standards) and ask the user to confirm before proceeding.++### Step 2: The Sharpening Loop (Iterative Cycle)++Execute the following sequence in a continuous loop:++#### 2.1 Unconditional Target Resolution++Before every iteration, unconditionally re-scan `TargetFile` by reading it+and using the stable `SemanticTarget` string (e.g., locating the target header) to+dynamically determine the updated absolute start and end line numbers. This+ensures absolute accuracy even if the file was edited in prior rounds. (If `full+file` mode is specified, confirm full-file line bounds).++#### 2.2 Review Swarm Execution++1. **Launch Subagent Swarm**:+ Spawn subagents to execute the review:+ * **Hierarchical Dispatch (Synthesizer)**: Spawn the intermediate+ synthesizer subagent (`agents/synthesizer.md` / `egm-synthesizer`).+ The synthesizer spawns the Goldfish review swarm in+ parallel, deduplicates findings, writes the report artifact, and+ returns a single summary message to avoid context pollution in the root+ conversation.+ * **Direct Dispatch (Flat Swarm)**: Alternatively, spawn each requested+ reviewer subagent in `Reviewers` directly.+ Instruct each subagent to first read its persona definition in+ `agents/{name}.md`, then audit `TargetFile` at the resolved line range+ against its designated standard in `resources/document_standards/`,+ supplying `GoldfishContext`.+ * Each reviewer produces findings with severity (π΄ Blocker, π‘ Major, π’+ Nit), line numbers, discrepancy descriptions, and rationales.+2. **Consolidate Findings**: Collect all findings across reviewers into a single+ flat `FindingsList`.++#### 2.3 Aggregated Resolution Hand-off++1. Pass `TargetFile`, the active line range, and the aggregated `FindingsList`+ to the **`egm-resolve`** workflow.+2. Execute the resolution workflow in the primary Elephant context:+ * Categorize findings into `CONTEST` vs. `PROPOSE FIX`.+ * Save `goldfish_review_report.md` with your file-writing tool.+ * Present the interactive decision gate (Auto accept, Continue, Interactive+ breakdown).+ * Apply approved text repairs to `TargetFile` using your file-editing tool.++#### 2.4 Iteration Check & Turn Boundary++The cycle repeats until reviewers report zero remaining findings or the user+explicitly halts it.++**Crucial Turn-Taking Requirement**: After the resolution phase finishes for a+given round, the loop driver **MUST respect the turn-taking checkpoint in+`egm-resolve`**. The driver must remain idle across human turns,+only looping back to Step 2.1 when the user explicitly confirms they wish to run+another round of review.++### Step 3: Output Boundary & Final Checkpoint++Upon successful completion (e.g., zero findings remaining or manual halt):++* **Programmatic Callers**: If running as a subflow of `egm-review`, exit+ cleanly to hand execution back to the parent workflow.+* **Manual Invocations**: Output a summary of completion in chat: *"The review+ loop has completed with zero remaining issues. Would you like to proceed to+ the next stage, or do you have any final questions?"*diff --git a/skills/egm_review_loop/TEST.md b/skills/egm_review_loop/TEST.mdnew file mode 100644index 0000000..c07a323--- /dev/null+++ b/skills/egm_review_loop/TEST.md@@ -0,0 +1,12 @@+# Test Plan: Goldfish Review Loop Skill++Frontmatter and link checks run in `pytest tests/unit` (see [TESTING.md](../../TESTING.md)).++## Protocol Verification Checklist++When evaluating or exploring `egm_review_loop` interactively in chat, verify:++- **Step 1 (Intake & Config):** Validates required inputs and resolves standard paths.+- **Step 2.1 (Target Resolution):** Unconditionally re-scans line numbers before auditing.+- **Step 2.2 (Review Swarm):** Spawns subagents (or sequentially iterates personas in degraded mode) across requested standards.+- **Step 2.3 & 2.4 (Resolve Handoff & Turn Boundary):** Hands findings to `egm-resolve` and respects human decision gates.diff --git a/skills/egm_review_loop/test_scenarios.yaml b/skills/egm_review_loop/test_scenarios.yamlnew file mode 100644index 0000000..5a023b8--- /dev/null+++ b/skills/egm_review_loop/test_scenarios.yaml@@ -0,0 +1,29 @@+# Copyright 2026 Google LLC+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# https://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.++skill: "egm_review_loop"+description: "Behavioral evaluation scenario suite for egm_review_loop skill."++scenarios:+ - scenario_id: "orchestrate_parallel_critiques"+ description: "Verifies review persona orchestration and findings compilation."+ eval_type: "deterministic"+ system_prompt:+ skill_file: "skills/egm_review_loop/SKILL.md"+ turns:+ - user_input: "Orchestrate multi-perspective Goldfish review on docs/design.md."+ assertions:+ - type: "required_pattern"+ pattern: "(Review|Goldfish|findings|persona|comprehension|critic)"+ message: "Review loop orchestrator must acknowledge review personas and structured findings compilation."diff --git a/tests/conftest.py b/tests/conftest.pynew file mode 100644index 0000000..5ebc08b--- /dev/null+++ b/tests/conftest.py@@ -0,0 +1,66 @@+# Copyright 2026 Google LLC+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# https://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.++"""Shared pytest configuration and root discovery fixtures."""++import pathlib+from typing import Any, Callable, List++try:+ import pytest+ fixture = pytest.fixture+except ImportError:+ def fixture(*args: Any, **unused_kwargs: Any) -> Any:+ def decorator(fn: Callable[..., Any]) -> Callable[..., Any]:+ return fn+ if len(args) == 1 and callable(args[0]):+ return args[0]+ return decorator+++@fixture(scope="session")+def repo_root() -> pathlib.Path:+ """Resolves the repository root directory across repository layouts."""+ current = pathlib.Path(__file__).resolve().parent+ for candidate in [current] + list(current.parents):+ if (candidate / "plugins" / "egm").exists():+ return candidate / "plugins" / "egm"+ if (candidate / "skills").exists() and (candidate / "agents").exists():+ return candidate+ return current.parent+++@fixture(scope="session")+def skills_dir(repo_root: pathlib.Path) -> pathlib.Path:+ """Locates the skills directory dynamically."""+ direct_path = repo_root / "skills"+ if direct_path.exists():+ return direct_path++ oss_path = repo_root / "plugins" / "egm" / "skills"+ if oss_path.exists():+ return oss_path++ raise FileNotFoundError(f"Skills directory not found relative to {repo_root}")+++@fixture(scope="session")+def discovered_skills(skills_dir: pathlib.Path) -> List[pathlib.Path]:+ """Returns all skill directory paths under the skills root."""+ skills = [+ p for p in skills_dir.iterdir()+ if p.is_dir() and not p.name.startswith((".", "_"))+ ]+ assert skills, f"No skills discovered in {skills_dir}"+ return sorted(skills)diff --git a/tests/unit/test_frontmatter.py b/tests/unit/test_frontmatter.pynew file mode 100644index 0000000..5688b11--- /dev/null+++ b/tests/unit/test_frontmatter.py@@ -0,0 +1,88 @@+# Copyright 2026 Google LLC+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# https://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.++"""Unit tests for SKILL.md YAML frontmatter validation."""++import pathlib+from typing import Any, Dict, List+import yaml+++def extract_frontmatter(file_path: pathlib.Path) -> Dict[str, Any]:+ """Extracts and parses YAML frontmatter from a Markdown file."""+ content = file_path.read_text(encoding="utf-8")+ lines = content.splitlines()++ # Look for opening and closing frontmatter delimiters+ if not lines or lines[0].strip() != "---":+ # Check if there are leading license comments or shebang before frontmatter+ start_idx = -1+ for idx, line in enumerate(lines[:15]):+ if line.strip() == "---":+ start_idx = idx+ break+ if start_idx == -1:+ raise ValueError(+ f"No leading frontmatter delimiter ('---') found in {file_path}"+ )+ lines = lines[start_idx:]++ end_idx = -1+ for idx, line in enumerate(lines[1:], start=1):+ if line.strip() == "---":+ end_idx = idx+ break++ if end_idx == -1:+ raise ValueError(+ f"No closing frontmatter delimiter ('---') found in {file_path}"+ )++ yaml_text = "\n".join(lines[1:end_idx])+ data = yaml.safe_load(yaml_text)+ if not isinstance(data, dict):+ raise ValueError(+ f"Frontmatter in {file_path} did not parse into a dictionary"+ )+ return data+++def test_all_skills_have_valid_frontmatter(+ discovered_skills: List[pathlib.Path],+) -> None:+ """Verifies that every skill contains a valid SKILL.md with schema keys."""+ for skill_path in discovered_skills:+ skill_file = skill_path / "SKILL.md"+ assert skill_file.exists(), f"SKILL.md missing in {skill_path}"++ frontmatter = extract_frontmatter(skill_file)+ assert "name" in frontmatter, (+ f"'name' key missing from frontmatter in {skill_file}"+ )+ assert "description" in frontmatter, (+ f"'description' key missing from frontmatter in {skill_file}"+ )+ assert (+ isinstance(frontmatter["name"], str) and frontmatter["name"].strip()+ ), f"'name' must be a non-empty string in {skill_file}"+ assert (+ isinstance(frontmatter["description"], str)+ and frontmatter["description"].strip()+ ), f"'description' must be a non-empty string in {skill_file}"++ # Validate optional schema attributes if present+ if "disable-model-invocation" in frontmatter:+ assert isinstance(frontmatter["disable-model-invocation"], bool), (+ f"'disable-model-invocation' must be a boolean in {skill_file}"+ )diff --git a/tests/unit/test_link_integrity.py b/tests/unit/test_link_integrity.pynew file mode 100644index 0000000..578d66a--- /dev/null+++ b/tests/unit/test_link_integrity.py@@ -0,0 +1,110 @@+# Copyright 2026 Google LLC+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# https://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.++"""Unit tests for relative Markdown link integrity."""++import pathlib+import re+from typing import Set++# Vendored trees whose markdown is not ours to validate.+IGNORED_DIRS = ("node_modules",)++IGNORED_SCHEMES = (+ "http://",+ "https://",+ "mailto:",+ "file://",+)++# Matches standard markdown links [text](target)+LINK_PATTERN = re.compile(r"\[([^\]]+)\]\(([^\)]+)\)")+# Matches markdown headers # Heading+HEADER_PATTERN = re.compile(r"^(#{1,6})\s+(.+)$", re.MULTILINE)+++def extract_headers(content: str) -> Set[str]:+ """Extracts normalized slug anchors for headers in a Markdown document."""+ slugs = set()+ for match in HEADER_PATTERN.finditer(content):+ title = match.group(2).strip().lower()+ # Normalize slug: remove punctuation, replace spaces with hyphens+ slug = re.sub(r"[^a-z0-9\s-]", "", title)+ slug = re.sub(r"\s+", "-", slug)+ slugs.add(slug)+ return slugs+++def test_relative_markdown_links_resolve_on_disk(+ repo_root: pathlib.Path,+) -> None:+ """Verifies that all local relative links resolve to existing files."""+ # Filter on the path inside the repo, not the absolute path: a checkout under+ # a dot-directory (~/.cache, ~/.local, ...) must not skip every file.+ markdown_files = [+ p+ for p in repo_root.rglob("*.md")+ if not any(+ part.startswith(".") or part in IGNORED_DIRS+ for part in p.relative_to(repo_root).parts+ )+ ]++ for md_file in markdown_files:+ content = md_file.read_text(encoding="utf-8", errors="ignore")++ # Strip code blocks and inline backtick spans to avoid matching examples+ clean_content = re.sub(r"```[\s\S]*?```", "", content)+ clean_content = re.sub(r"`[^`]*`", "", clean_content)+ headers = extract_headers(clean_content)++ for match in LINK_PATTERN.finditer(clean_content):+ target = match.group(2).strip()++ # Ignore external URLs, schemes, and shortlinks+ if any(target.startswith(scheme) for scheme in IGNORED_SCHEMES):+ continue++ # Ignore template variable placeholders (e.g. {id}, <path>)+ if (+ target.endswith(("_url", "_path", "_link"))+ or "{" in target+ or "<" in target+ ):+ continue++ # Intra-document anchor link+ if target.startswith("#"):+ anchor = target[1:].lower()+ # Verify anchor exists in current document+ rel_path = md_file.relative_to(repo_root)+ assert anchor in headers or not headers, (+ f"Broken intra-document anchor '{target}' in {rel_path}"+ )+ continue++ # Strip fragment if target references another file with anchor+ file_target = target.split("#")[0]+ if not file_target:+ continue++ resolved_path = (md_file.parent / file_target).resolve()+ if not resolved_path.exists() and (repo_root / file_target).exists():+ resolved_path = (repo_root / file_target).resolve()++ rel_path = md_file.relative_to(repo_root)+ assert resolved_path.exists(), (+ f"Broken relative link '[{match.group(1)}]({target})' in {rel_path}: "+ f"resolved path '{resolved_path}' does not exist on disk."+ )diff --git a/tests/unit/test_scenario_coverage.py b/tests/unit/test_scenario_coverage.pynew file mode 100644index 0000000..1465d42--- /dev/null+++ b/tests/unit/test_scenario_coverage.py@@ -0,0 +1,52 @@+# Copyright 2026 Google LLC+#+# Licensed under the Apache License, Version 2.0 (the "License");+# you may not use this file except in compliance with the License.+# You may obtain a copy of the License at+#+# https://www.apache.org/licenses/LICENSE-2.0+#+# Unless required by applicable law or agreed to in writing, software+# distributed under the License is distributed on an "AS IS" BASIS,+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.+# See the License for the specific language governing permissions and+# limitations under the License.++"""Unit tests verifying behavioral scenario coverage across all skills."""++import pathlib+from typing import List+import yaml+++def test_all_skills_have_co_located_test_scenarios(+ discovered_skills: List[pathlib.Path],+) -> None:+ """Verifies every discovered skill package contains test_scenarios.yaml."""+ for skill_path in discovered_skills:+ scenarios_file = skill_path / "test_scenarios.yaml"+ assert scenarios_file.exists(), (+ f"Missing required co-located test_scenarios.yaml in {skill_path}"+ )++ data = yaml.safe_load(scenarios_file.read_text(encoding="utf-8"))+ assert isinstance(data, dict), (+ f"{scenarios_file} must parse as a dictionary"+ )+ assert data.get("skill") == skill_path.name, (+ f"'skill' in {scenarios_file} ({data.get('skill')}) must match "+ f"directory name {skill_path.name}"+ )++ scenarios = data.get("scenarios", [])+ assert scenarios, f"{scenarios_file} must define at least one scenario"+ for sc in scenarios:+ assert "scenario_id" in sc, (+ f"Scenario in {scenarios_file} missing 'scenario_id'"+ )+ assert "eval_type" in sc, (+ f"Scenario in {scenarios_file} missing 'eval_type'"+ )+ assert "turns" in sc and sc["turns"], (+ f"Scenario in {scenarios_file} missing non-empty 'turns'"+ )