Skip to content

docs(mega-swarm): fix 35 audit findings — dedup, accuracy, modernization#133

Merged
ANcpLua merged 1 commit intomainfrom
docs/mega-swarm-audit-fixes
Feb 20, 2026
Merged

docs(mega-swarm): fix 35 audit findings — dedup, accuracy, modernization#133
ANcpLua merged 1 commit intomainfrom
docs/mega-swarm-audit-fixes

Conversation

@ANcpLua
Copy link
Owner

@ANcpLua ANcpLua commented Feb 20, 2026

Summary

  • Deleted engineering-philosophy.md — P0 duplicate of engineering-principles.md (~900 tokens/session wasted)
  • Fixed thought-transparency.md — removed sequential-execution clause contradicting LAW 3 (parallel lanes)
  • Fixed 10 additional files across .claude/rules/ and docs/ covering accuracy, deduplication, and modernization findings

Changes by category

Removed (1 file):

  • .claude/rules/engineering-philosophy.md — complete duplicate, both auto-loaded, ~1950 tokens wasted per session

Rules fixes (5 files):

  • devops-calms.md: Claude vs external-AI channels split; MTTR standardized
  • engineering-principles.md: duplicate fix(ci): graceful skip for Claude workflow self-review #25 tag fixed → #25b
  • solid-principles.md: compressed to table; metacognitive-guard SRP description fixed
  • error-handling.md: retry-with-backoff replaced with re-run-after-fix
  • thought-transparency.md: sequential prohibition removed (contradicts LAW 3)

Docs fixes (4 files):

  • ARCHITECTURE.md: directory tree corrected; passive context layers documented; Section 5/7 replaced with pointers; coordination channels fixed; Last Verified updated
  • WORKFLOWS.md: trigger-docs.yml section added; commit-integrity-hook added to checklist
  • QUICK-REFERENCE.md: /hookify:help added; eight-gates/hades clarified as skills; hades agent count fixed
  • PLUGINS.md: fake required fields removed; capability declaration fields added

CLAUDE.md (1 file):

  • Directory tree replaced with pointer; turbo-fix/fix-pipeline added to routing tree; plugin structure tree removed; CI section reduced to pointer; documentation paths section added

Test plan

  • ./tooling/scripts/weave-validate.sh passes (0 hard failures)
  • claude plugin validate . passes
  • No new markdownlint violations introduced

🤖 Generated with Claude Code

Summary by CodeRabbit

Release Notes

  • New Features

    • Added exodia commands for critical bug fixes and pipeline audit workflows.
    • Introduced commit integrity hook to prevent commits with warning suppressions or commented tests.
    • Automatic cross-repo documentation trigger for docs site updates on main branch push.
  • Documentation

    • Simplified plugin creation with reduced required plugin.json fields.
    • Reorganized architecture and workflow documentation with centralized references.
    • Clarified exodia skills and hooks configuration guidance.

Executed all 3 phases in parallel via rules-agent, docs-agent, claude-md-agent.

Removed:
- .claude/rules/engineering-philosophy.md — complete duplicate of engineering-principles.md (~900 tokens/session wasted, P0)

Changed:
- thought-transparency.md: removed sequential-execution clause contradicting LAW 3, removed duplicate Silent Processing section
- devops-calms.md: split Sharing section into Claude vs external-AI channels; MTTR standardized
- engineering-principles.md: fixed duplicate #25 tag → #25b for composition-over-inheritance
- solid-principles.md: compressed to table format; fixed metacognitive-guard SRP description
- error-handling.md: replaced inapplicable retry-with-backoff with re-run-after-fix guidance
- docs/ARCHITECTURE.md: fixed directory tree; added passive context layers; replaced Section 5/7 with pointers; fixed coordination channels; updated Last Verified
- docs/WORKFLOWS.md: added trigger-docs.yml section; added commit-integrity-hook to pre-commit checklist
- docs/QUICK-REFERENCE.md: added /hookify:help; clarified eight-gates/hades are skills; fixed hades agent count
- docs/PLUGINS.md: removed fake required fields; added capability declaration fields
- CLAUDE.md: replaced directory tree with pointer; added turbo-fix/fix-pipeline to routing; removed plugin structure tree; reduced CI section; added documentation paths section

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings February 20, 2026 08:49
@coderabbitai
Copy link

coderabbitai bot commented Feb 20, 2026

Caution

Review failed

Failed to post review comments

📝 Walkthrough

Walkthrough

Multiple documentation and rule files are updated to reorganize content, move inline information to external references, add new orchestration commands (turbo-fix, fix-pipeline), simplify plugin requirements, and update various guidance principles across rules and docs.

Changes

Cohort / File(s) Summary
Rule File Updates
.claude/rules/devops-calms.md, .claude/rules/error-handling.md, .claude/rules/engineering-principles.md, .claude/rules/solid-principles.md, .claude/rules/thought-transparency.md
Textual refinements: MTTR metric row added; error handling instruction changed from retry/backoff to diagnosis-based re-run with escalation; reference tag updated (#25#25b); SOLID principles consolidated and reformatted across all sections; Granular Task Decomposition and Silent Processing sections removed.
Deleted Rule File
.claude/rules/engineering-philosophy.md
File removed; eliminated 57 lines containing 26 principles organized across six sections with situational prompts and prescribed actions.
Changelog
CHANGELOG.md
New Unreleased section added documenting content removals (engineering-philosophy.md), content relocations across multiple docs, and hookify refactoring (consolidating shared hook_runner.py logic).
Primary Documentation Reorganization
CLAUDE.md
Major refactoring: embedded repository layout and inline content replaced with references to docs/ARCHITECTURE.md and related external docs; new exodia command routing introduced (turbo-fix, fix-pipeline) alongside placeholders for batch-implement, red-blue-review, baryon-mode; plugin structure and SKILL.md guidance moved to external references; CI/validation steps replaced with docs/WORKFLOWS.md references; rule structure modified (thought-transparency kept, engineering-principles.md added).
Architecture & Reference Documentation
docs/ARCHITECTURE.md, docs/PLUGINS.md, docs/QUICK-REFERENCE.md, docs/WORKFLOWS.md
ARCHITECTURE.md: expanded plugin and workflow structure, moved SOLID principles to external rules, updated coordination model to passive-context-based (non real-time), added new designs/ and decisions/ directories, updated DORA reference. PLUGINS.md: simplified required fields (name, version, description, author only), introduced optional capabilities section. QUICK-REFERENCE.md: updated hooks/rules section and exodia skills formatting with backtick code style. WORKFLOWS.md: added pre-commit hook and cross-repo docs trigger workflow documentation.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~22 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The PR title accurately reflects the primary changes: documentation updates addressing audit findings through deduplication, accuracy corrections, and modernization across multiple rule and documentation files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch docs/mega-swarm-audit-fixes

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@gemini-code-assist
Copy link

Summary of Changes

Hello @ANcpLua, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly refines the project's documentation and internal rules by addressing 35 audit findings related to deduplication, accuracy, and modernization. The changes aim to improve the clarity, consistency, and efficiency of information for both human and AI agents, ensuring that the guiding principles and architectural descriptions are precise and up-to-date. By removing redundant content and correcting outdated or contradictory instructions, the PR enhances the overall maintainability and usability of the project's knowledge base.

Highlights

  • Documentation Deduplication: The redundant engineering-philosophy.md file, a P0 duplicate of engineering-principles.md, was deleted to save approximately 900 tokens per session.
  • Rule Accuracy Fixes: The thought-transparency.md rule was corrected by removing a sequential-execution clause that contradicted LAW 3 (parallel lanes). Additionally, devops-calms.md was updated to standardize MTTR and clarify AI coordination channels, engineering-principles.md had a duplicate tag fixed, error-handling.md's retry logic was adjusted, and solid-principles.md was compressed and its SRP description fixed.
  • Documentation Modernization: Several documentation files were updated for accuracy and clarity, including ARCHITECTURE.md (directory tree, passive context layers, section pointers, coordination channels, last verified date), WORKFLOWS.md (trigger-docs.yml, commit-integrity-hook), QUICK-REFERENCE.md (new command, skill clarification, agent count fix), and PLUGINS.md (removed fake required fields, added capability declarations).
  • CLAUDE.md Enhancements: The CLAUDE.md file was refined by replacing its directory tree with a pointer to ARCHITECTURE.md, adding turbo-fix and fix-pipeline to the routing tree, removing the plugin structure tree, reducing the CI section to a pointer, and adding comprehensive documentation paths.
Changelog
  • .claude/rules/devops-calms.md
    • Standardized 'Recovery Time' to 'MTTR' in DORA metrics.
    • Separated Claude coordination channels from external-AI coordination channels.
  • .claude/rules/engineering-philosophy.md
    • Removed the file as it was a duplicate of engineering-principles.md.
  • .claude/rules/engineering-principles.md
  • .claude/rules/error-handling.md
    • Replaced 'Retry with backoff if transient' with 'Re-run after fixing the identified issue' to better reflect local tool failures.
  • .claude/rules/solid-principles.md
    • Refactored the 'Single Responsibility' section from a bullet list to a more concise table format.
    • Compressed the overall content from 49 to approximately 25 lines.
    • Corrected the description for the metacognitive-guard plugin's Single Responsibility Principle.
  • .claude/rules/thought-transparency.md
    • Removed the 'Granular Task Decomposition' section, which contradicted the principle of parallel execution (LAW 3).
    • Removed the 'Silent Processing with Tracked Updates' section.
  • CHANGELOG.md
    • Added entries for removed engineering-philosophy.md and various changes across rules and documentation files.
  • CLAUDE.md
    • Replaced the detailed directory tree in Section 3 with a pointer to docs/ARCHITECTURE.md.
    • Added turbo-fix and fix-pipeline commands to the routing decision tree in Section 4.
    • Removed the plugin structure tree from Section 6.
    • Reduced the CI section (Section 8) to a pointer to docs/WORKFLOWS.md.
    • Added comprehensive documentation paths to Section 12.
    • Updated the list of auto-loaded rules in Section 15.
  • docs/ARCHITECTURE.md
    • Updated the .github/ directory tree to include CODEOWNERS, dependabot.yml, and trigger-docs.yml.
    • Added ENGINEERING-PRINCIPLES.md and designs/ to the docs/ directory tree.
    • Clarified that hooks.json is loaded by Claude Code when declared in plugin.json.
    • Added a new section detailing 'Passive context layers' for plugins.
    • Replaced the detailed SOLID principles section (Section 5) with a pointer to .claude/rules/solid-principles.md.
    • Updated the description of AI coordination channels to differentiate Claude's passive context from other AIs.
    • Replaced the DORA targets table (Section 7) with a pointer to .claude/rules/devops-calms.md.
    • Updated the 'Last Verified' date to 2026-02-20.
  • docs/PLUGINS.md
    • Removed repository and license as required fields for plugin.json.
    • Added an example for optionally declaring plugin capabilities (skills, commands, agents, hooks) in plugin.json.
    • Added a note clarifying that hooks/hooks.json is loaded when declared in plugin.json.
    • Added a reference to docs/ARCHITECTURE.md for the full plugin structure.
  • docs/QUICK-REFERENCE.md
    • Added /hookify:help command to the 'Hooks / Rules' section.
    • Clarified that eight-gates and hades are skills, not slash commands, and should be invoked via the Skill tool.
    • Fixed the agent count for exodia:hades to '12 (base) or 15 (--goggles)'.
  • docs/WORKFLOWS.md
    • Added a note about the commit-integrity-hook automatically blocking certain commits.
    • Added a new section documenting the 'Cross-repo docs trigger' via trigger-docs.yml.
Activity
  • The pull request author confirmed that ./tooling/scripts/weave-validate.sh passes with 0 hard failures.
  • The author verified that claude plugin validate . passes.
  • The author ensured that no new markdownlint violations were introduced.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

The pull request effectively addresses 35 audit findings by deduplicating content, improving accuracy, and modernizing documentation. Key changes include the removal of engineering-philosophy.md, updates to thought-transparency.md to align with parallel execution principles, and various fixes across .claude/rules/ and docs/ files. The CHANGELOG.md has been comprehensively updated to reflect these changes. The modifications enhance clarity, reduce redundancy, and ensure consistency across the documentation and rule sets.

I am having trouble creating individual review comments. Click here to see my feedback.

.claude/rules/devops-calms.md (30)

medium

The change from "Recovery Time" to "MTTR" is a good standardization, aligning with common DevOps metrics terminology.

.claude/rules/devops-calms.md (35-36)

medium

Separating Claude coordination channels from external-AI coordination channels improves clarity and reduces potential confusion regarding communication protocols for different AI agents.

.claude/rules/solid-principles.md (9-17)

medium

The refactoring of the Single Responsibility Principle section into a table significantly improves readability and makes it easier to grasp each plugin's core function at a glance. This is a great improvement for maintainability.

.claude/rules/solid-principles.md (30-31)

medium

The updated Interface Segregation Principle explanation is more precise, clearly defining the minimal requirements for a plugin and highlighting optional components.

Only `plugin.json` + `README.md` are required. All other directories (`skills/`, `commands/`, `hooks/`, `agents/`) are optional.

.claude/rules/solid-principles.md (34-35)

medium

The Dependency Inversion Principle is now explained more succinctly, emphasizing orchestration via Skills and the separation of concerns between contracts and implementations.

Plugins orchestrate via Skills. Skills define the contract. MCP servers implement. Plugins never implement low-level operations.

.claude/rules/thought-transparency.md (21-27)

medium

Removing the "Granular Task Decomposition" section is a good change, as the description in the PR indicates it contradicted LAW 3 (parallel lanes). This improves consistency across the documentation.

.claude/rules/thought-transparency.md (37-41)

medium

Removing the "Silent Processing with Tracked Updates" section eliminates redundant information, as the TodoWrite mechanism is already covered under "Mental State Bookkeeping."

CHANGELOG.md (9-11)

medium

The CHANGELOG.md entry for the removal of engineering-philosophy.md is clear and provides a good rationale for the deletion, highlighting the token waste.

CHANGELOG.md (15-24)

medium

The detailed Changed section in the CHANGELOG.md is very helpful, providing a comprehensive overview of all modifications across various files. This level of detail is excellent for tracking changes and understanding their impact.

CLAUDE.md (104-110)

medium

Replacing the large directory tree with a pointer to docs/ARCHITECTURE.md and listing key paths here is a good way to keep CLAUDE.md concise while still providing essential navigation. This improves readability and reduces duplication.

CLAUDE.md (125-129)

medium

Adding turbo-fix and fix-pipeline to the core routing logic is a valuable update, providing clear guidance for handling critical bugs and audit findings.

CLAUDE.md (182-184)

medium

Including turbo-fix and fix-pipeline in the exodia commands list further clarifies their availability and purpose within the multi-agent orchestration framework.

CLAUDE.md (522-524)

medium

Removing the detailed plugin structure and instead referencing docs/ARCHITECTURE.md is a good move for maintaining a single source of truth and keeping CLAUDE.md focused on operational aspects. The explicit mention of required fields is also helpful.

CLAUDE.md (588)

medium

Pointing to docs/WORKFLOWS.md for CI pipeline documentation is an effective way to centralize detailed information and keep CLAUDE.md high-level.

CLAUDE.md (697-700)

medium

Expanding the Documentation Paths section with more specific links to QUICK-REFERENCE.md, WORKFLOWS.md, PLUGINS.md, and ENGINEERING-PRINCIPLES.md significantly improves navigability and discoverability of important documentation.

CLAUDE.md (736-737)

medium

Updating the descriptions for engineering-principles.md and thought-transparency.md in the modular rules section provides a clearer understanding of their content and purpose.

docs/ARCHITECTURE.md (28-30)

medium

Adding CODEOWNERS and dependabot.yml to the .github/ directory tree provides a more accurate representation of the repository's structure and configuration.

docs/ARCHITECTURE.md (36)

medium

Adding trigger-docs.yml to the workflows/ directory is an important update, documenting the cross-repo documentation rebuild trigger.

docs/ARCHITECTURE.md (49-55)

medium

Including ENGINEERING-PRINCIPLES.md and designs/ in the docs/ directory tree, along with updated descriptions for WORKFLOWS.md, provides a more complete and accurate overview of the documentation structure.

docs/ARCHITECTURE.md (103-111)

medium

The addition of "Passive context layers" is a significant improvement, clearly explaining how different documentation elements contribute to the agent's understanding and providing guidance on when to use each layer.

docs/ARCHITECTURE.md (147-149)

medium

The updated explanation of AI coordination, distinguishing between Claude's passive context and other AIs' shared files, provides a clearer understanding of how different agents interact.

docs/PLUGINS.md (7-20)

medium

Adding an example of how to declare capabilities in plugin.json is very helpful for plugin developers, providing a clear template for specifying skills, commands, agents, and hooks.

docs/QUICK-REFERENCE.md (84-85)

medium

Clarifying that eight-gates and hades are skills, not slash commands, and explaining how to invoke them via the Skill tool, is crucial for correct usage and understanding.

docs/WORKFLOWS.md (64)

medium

The note about the commit-integrity-hook automatically blocking certain commits is a valuable addition, informing users that manual checks are not needed for these specific cases.

docs/WORKFLOWS.md (81-87)

medium

Adding a dedicated section for the "Cross-repo docs trigger" with details about trigger-docs.yml, its requirements, and cross-repo dependency, is excellent documentation for maintaining the documentation site.

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 894cc76983

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +17 to +20
"hooks": "hooks/hooks.json"
}
```
> **Note:** `hooks/hooks.json` is loaded by Claude Code when declared in `plugin.json`.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Stop instructing authors to declare hooks in plugin.json

This guidance is incorrect for this repo’s plugin model: the ground-truth assertions explicitly state hooks/hooks.json is auto-discovered and that declaring a hooks field in plugin.json causes duplicate-load errors (plugins/metacognitive-guard/blackboard/assertions.yaml and plugins/metacognitive-guard/hooks/scripts/truth-beacon.sh). Keeping this new example will cause new plugins to be scaffolded with a manifest shape that can break hook loading at runtime.

Useful? React with 👍 / 👎.


Before committing changes:

> **Note:** The `commit-integrity-hook` (metacognitive-guard) automatically blocks commits containing warning suppressions or commented-out tests. No manual check needed for these — the hook enforces it.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Scope commit-integrity claim to Claude Bash workflows

The new note says no manual check is needed because commit-integrity-hook automatically blocks bad commits, but that hook is configured only for Claude’s PreToolUse Bash event (see plugins/metacognitive-guard/hooks/hooks.json) and is not a Git pre-commit hook. In normal local Git usage this protection does not run, so this wording can cause contributors to skip checks that are still required outside Claude sessions.

Useful? React with 👍 / 👎.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Documentation-focused PR that cleans up duplicated/contradictory guidance in the repo’s auto-loaded Claude rules and the docs/ reference set, aiming to reduce passive-context bloat and improve accuracy/modernization.

Changes:

  • Removed the duplicated .claude/rules/engineering-philosophy.md rule file and updated CHANGELOG.md to reflect the audit-finding cleanup.
  • Updated core docs (ARCHITECTURE.md, WORKFLOWS.md, QUICK-REFERENCE.md, PLUGINS.md, CLAUDE.md) for corrected paths, new workflow documentation, and clarified command/skill usage.
  • Simplified and corrected several .claude/rules/* files (SOLID, error handling, CALMS/DORA, engineering principles, thought transparency) to remove contradictions and improve signal.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 7 comments.

Show a summary per file
File Description
docs/WORKFLOWS.md Adds commit checklist note + documents cross-repo docs trigger workflow
docs/QUICK-REFERENCE.md Adds /hookify:help and clarifies Exodia skills vs commands
docs/PLUGINS.md Updates plugin creation instructions and adds capability declaration example
docs/ARCHITECTURE.md Fixes repo tree and documents passive context layers; replaces duplicated sections with pointers
CLAUDE.md Replaces large trees with pointers; expands routing tree; centralizes doc pointers
CHANGELOG.md Records removal/changes related to the audit-finding cleanup
.claude/rules/thought-transparency.md Removes sequential-only decomposition section that contradicts parallel-lane guidance
.claude/rules/solid-principles.md Compresses SOLID guidance into a table + shorter statements
.claude/rules/error-handling.md Replaces “retry with backoff” guidance with re-run-after-fix escalation
.claude/rules/engineering-principles.md Fixes duplicated principle tag (#25#25b)
.claude/rules/devops-calms.md Clarifies Claude vs external-AI coordination channels; standardizes MTTR label
.claude/rules/engineering-philosophy.md Deleted as duplicate to reduce passive-context token overhead

Comment on lines +13 to +17
### Changed

- **`thought-transparency.md`**: Removed "Granular Task Decomposition" section (contradicted LAW 3 parallel execution) and duplicate "Silent Processing" section
- **`devops-calms.md`**: Fixed AGENTS.md incorrectly listed as Claude coordination channel; separated Claude channels (`CLAUDE.md`, `.claude/rules/`, `SKILL.md`, SessionStart hooks) from external-AI channels (`AGENTS.md`, `copilot-instructions.md`); standardized "Recovery Time" → "MTTR"
- **`solid-principles.md`**: Compressed from 49 to ~25 lines; replaced bullet list with responsibility table; fixed metacognitive-guard SRP description
Copy link

Copilot AI Feb 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CHANGELOG.md now has two ### Changed sections under [Unreleased] (one newly added here and an existing one later). Consider merging into the existing headings to keep a single set of sections per Keep-a-Changelog style, and reconcile the new removal note with the older [Unreleased] entry that says engineering-philosophy.md was added.

Copilot uses AI. Check for mistakes.

Before committing changes:

> **Note:** The `commit-integrity-hook` (metacognitive-guard) automatically blocks commits containing warning suppressions or commented-out tests. No manual check needed for these — the hook enforces it.
Copy link

Copilot AI Feb 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The note implies the commit-integrity hook blocks commits in general, but it only runs inside Claude Code as a PreToolUse hook on the Bash tool (i.e., when Claude executes git commit). For human/local commits outside Claude Code, this enforcement won’t run—please clarify the scope so the pre-commit checklist is accurate.

Suggested change
> **Note:** The `commit-integrity-hook` (metacognitive-guard) automatically blocks commits containing warning suppressions or commented-out tests. No manual check needed for these — the hook enforces it.
> **Note:** The `commit-integrity-hook` (metacognitive-guard) runs only inside Claude Code as a PreToolUse hook on the Bash tool (i.e., when Claude executes `git commit`). It does **not** affect human/local `git commit` commands. When committing locally, you are still responsible for checking for warning suppressions or commented-out tests (or configuring your own local git hook) before pushing.

Copilot uses AI. Check for mistakes.
Comment on lines +83 to +87
`.github/workflows/trigger-docs.yml` runs on every push to `main` and triggers a rebuild of the `ancplua-docs` documentation site.

**Requires:** `DOCS_TRIGGER_PAT` secret (a GitHub PAT with `repo` scope on the `ancplua-docs` repository).

**Cross-repo dependency:** Changes to plugin docs, SKILL.md files, or README files in this repo will automatically propagate to the docs site after merge.
Copy link

Copilot AI Feb 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section says trigger-docs.yml runs on every push to main, but the workflow also triggers on release.published and workflow_dispatch. Please update the description so it matches the actual workflow triggers.

Copilot uses AI. Check for mistakes.
Comment on lines +6 to +13
2. Add `.claude-plugin/plugin.json` with at least `name`, `version`, `description`, `author`.
3. Optionally declare capabilities in `plugin.json`:
```json
{
"name": "my-plugin",
"version": "1.0.0",
"description": "...",
"author": "...",
Copy link

Copilot AI Feb 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These instructions say plugin.json only needs name, version, description, author, but the repo’s plugin template and existing plugins also include repository and license. To keep repo docs consistent with how plugins are authored here, either list those fields as required (repo convention) or explicitly call them out as strongly recommended.

Suggested change
2. Add `.claude-plugin/plugin.json` with at least `name`, `version`, `description`, `author`.
3. Optionally declare capabilities in `plugin.json`:
```json
{
"name": "my-plugin",
"version": "1.0.0",
"description": "...",
"author": "...",
2. Add `.claude-plugin/plugin.json` with at least `name`, `version`, `description`, `author`, `license`. Including a `repository` field is strongly recommended.
3. Optionally declare capabilities in `plugin.json` (example also shows `repository` and `license` fields):
```json
{
"name": "my-plugin",
"version": "1.0.0",
"description": "...",
"author": "...",
"repository": "https://github.com/example/my-plugin",
"license": "MIT",

Copilot uses AI. Check for mistakes.
Comment on lines +14 to +20
"skills": ["skills/my-skill"],
"commands": ["commands/my-command.md"],
"agents": ["agents/my-agent.md"],
"hooks": "hooks/hooks.json"
}
```
> **Note:** `hooks/hooks.json` is loaded by Claude Code when declared in `plugin.json`.
Copy link

Copilot AI Feb 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The plugin.json example doesn’t match the manifests used in this repo: plugins typically set commands/skills to a directory string (e.g. "./commands"), and none of the current plugin.json files declare a hooks field. Either adjust the example to reflect the repo’s current manifest pattern, or update the plugin manifests if the docs are intentionally switching to a new schema.

Suggested change
"skills": ["skills/my-skill"],
"commands": ["commands/my-command.md"],
"agents": ["agents/my-agent.md"],
"hooks": "hooks/hooks.json"
}
```
> **Note:** `hooks/hooks.json` is loaded by Claude Code when declared in `plugin.json`.
"skills": "./skills",
"commands": "./commands",
"agents": "./agents"
}

Note: By convention, event hooks live at hooks/hooks.json and are loaded by Claude Code when present.

Copilot uses AI. Check for mistakes.
│ └── <agent>.md # Custom agent definitions (YAML frontmatter)
├── hooks/
│ └── hooks.json # Event hooks (auto-loaded by convention)
│ └── hooks.json # Event hooks (declared in plugin.json, loaded by Claude Code)
Copy link

Copilot AI Feb 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line says hooks are "declared in plugin.json", but the repo’s plugin manifests don’t include a hooks field even when hooks/hooks.json exists. Please either revert this to the current convention (hooks.json discovered/loaded by convention) or update manifests/docs consistently.

Suggested change
│ └── hooks.json # Event hooks (declared in plugin.json, loaded by Claude Code)
│ └── hooks.json # Event hooks (discovered by convention and loaded by Claude Code)

Copilot uses AI. Check for mistakes.
```
See `docs/ARCHITECTURE.md` Section 3 for the full plugin structure and passive context layer documentation.

**Required:** `.claude-plugin/plugin.json` (fields: `name`, `version`, `description`, `author`) + `README.md`
Copy link

Copilot AI Feb 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This claims .claude-plugin/plugin.json only requires name, version, description, author, but the repo’s plugin template and all current plugins also include repository and license. For consistency, either include those in the required (repo-convention) field list or clarify that they’re optional per upstream but required by this repo’s template/marketplace expectations.

Suggested change
**Required:** `.claude-plugin/plugin.json` (fields: `name`, `version`, `description`, `author`) + `README.md`
**Required:** `.claude-plugin/plugin.json` + `README.md`. Upstream Claude Code requires at minimum `name`, `version`, `description`, and `author`; this repo’s plugin template and marketplace additionally require `license` and `repository`.

Copilot uses AI. Check for mistakes.
@ANcpLua ANcpLua merged commit 733f8b4 into main Feb 20, 2026
27 of 28 checks passed
@ANcpLua ANcpLua deleted the docs/mega-swarm-audit-fixes branch February 20, 2026 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants