Skip to content

fix(docs): repair dead hook reference, reconcile agent count and version drift#30

Merged
frankxai merged 3 commits into
mainfrom
claude/music-producer-os-design-vzfi12
Jul 6, 2026
Merged

fix(docs): repair dead hook reference, reconcile agent count and version drift#30
frankxai merged 3 commits into
mainfrom
claude/music-producer-os-design-vzfi12

Conversation

@frankxai

@frankxai frankxai commented Jul 1, 2026

Copy link
Copy Markdown
Owner

Summary

Repo audit found operational docs/config drift: a dead hook reference to a nonexistent skill-rules file, and a version/agent-count mismatch between docs and reality. Fixed both.

Change Type

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Agent/Skill addition (new agent or skill for ACOS)
  • Documentation update
  • CI/Workflow change

Frank DNA Alignment

  • Serves the mission — Helps people build their own systems, not just use someone else's
  • Shows don't tells — Output volume speaks, not claims
  • Practical value — Useful over philosophical
  • Direct voice — Technical, warm, playful — no corporate speak
  • No AI slop — Avoids vague spiritual language, unmeasurable claims

For Structural Changes

Structural Change Checklist (expand if applicable)

Problem Definition:

  • What specific problem are we solving? Docs (CLAUDE.md, README.md, package.json) claimed "38 Specialized Agents" and "v10/v10.1" while the actual repo has 67 agent files under .claude/agents/ and package.json is already 11.0.0. Two .claude/hooks.json hooks also referenced a .claude/skill-rules-v2.json file that has never existed, silently no-op'ing the "enhanced skill rules" enforcement they claimed to load.
  • Who has this problem? Anyone reading the docs to understand ACOS's actual scope, and the hook itself (dead code path).
  • What's the evidence? find .claude/agents -maxdepth 1 -iname '*.md' → 67; package.json11.0.0; test -f .claude/skill-rules-v2.json → false.

Solution Evaluation:

  • Is this the simplest solution? Yes — reconcile docs/config to match verified reality, no architecture change.
  • Can we configure instead of restructure? N/A, this is a correctness fix.

Risk Assessment:

  • What could go wrong? Nothing — text/count changes and repointing a hook check to a file that already exists.
  • Is this reversible? Yes, trivially.
  • SEO or user flow impact? None (internal docs + hook config only).

The Frank Test:

  1. Does this help someone build their own system? [x] Accurate docs and a working hook > stale numbers and a dead reference.
  2. Is it practical over philosophical? [x]
  3. Would I be proud to ship this? [x]
  4. Is it fun to use? [ ] N/A — it's a docs/hook fix.

Testing

  • Ran locally and tested the golden path — node scripts/lint.mjs passes (18 skills checked, 0 errors, 0 warnings) after every change
  • Tested edge cases
  • Ran existing tests (npm test or equivalent) — no test suite covers docs/hooks.json
  • For agents/skills: Validated YAML frontmatter — N/A, no agent/skill files touched
  • For workflows: Tested in a fork or draft PR — opened as draft, addressed CodeRabbit/Gemini/Copilot review feedback before marking ready

Related Issues

None — found via a repo audit, not filed as an issue first.


Also flagged during the audit but deliberately not touched here (need a human call, not a confident autonomous fix):

  • .claude/skills/skill-rules-v11.json — orphaned draft in the wrong location, referencing skills that don't exist (acos, baseline-ui)
  • .claude/skills/anthropic/ — duplicates 14 top-level skills verbatim; unclear if intentional vendoring or drift
  • gstack command table in CLAUDE.md documents things like /office-hours as slash commands, but they're implemented as skills under .claude/skills/gstack/

🤖 Generated with Claude Code

…agent count and version drift

- .claude/hooks.json: SessionStart/Notification hooks referenced a
  nonexistent .claude/skill-rules-v2.json, silently falling back with
  no real enforcement. Repointed both to the actual skill-rules.json.
- CLAUDE.md, README.md: repo had 67 real agent files under
  .claude/agents/ (verified count) but docs still said "38 Specialized
  Agents" throughout, and package.json is v11.0.0 while CLAUDE.md's
  title/footer still said v10/v10.1. Reconciled both to reality.

ACOS lint (node scripts/lint.mjs) passes clean after changes.
@coderabbitai

coderabbitai Bot commented Jul 1, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

This PR updates .claude/hooks.json to reference skill-rules.json instead of skill-rules-v2.json in SessionStart and Notification hook messages, and updates CLAUDE.md and README.md version references from v10/v10.1 to v11/v11.0 along with agent count changes from 38 to 67.

Changes

Skill Rules File Reference Update

Layer / File(s) Summary
Hook command updates
.claude/hooks.json
SessionStart loader description/command and Notification skill-suggestion message updated to reference skill-rules.json instead of skill-rules-v2.json.

v11 Documentation Update

Layer / File(s) Summary
CLAUDE.md version bump
CLAUDE.md
Header, "What is ACOS?" section, and trailing tagline updated from v10/v10.1 to v11/v11.0, with specialized agent count changed from 38 to 67.
README.md version and count update
README.md
Hero tagline, architecture table, Agents section heading, directory structure version comment, Starlight Connection section, and bottom banner updated to v11.0.0 with agent count changed from 38 to 67.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Related issues: None specified.

Related PRs: None specified.

Suggested labels: documentation, config

Suggested reviewers: frankxai

Poem

A rabbit hops through docs so bright,
Swapping v2 for rules just right,
Thirty-eight agents grew to sixty-seven,
Version ten climbs on up to eleven,
Small edits made, the counts align — 🐇✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly matches the hook fix and doc/version reconciliation in the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description check ✅ Passed The PR description follows the template well, includes all required sections, and provides concrete details on the changes and testing.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/music-producer-os-design-vzfi12

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.

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

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request updates Agentic Creator OS from v10 to v11, which includes updating the number of specialized agents from 38 to 67 across the documentation and configuration files. Additionally, it simplifies the skill rules loader hook by switching from skill-rules-v2.json to skill-rules.json. Feedback is provided regarding the use of echo with backslash escapes in the hooks configuration, suggesting a transition to printf to ensure cross-platform shell portability.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread .claude/hooks.json Outdated
Per gemini-code-assist review on PR #30: echo with \n backslash
escapes is non-portable (bash/dash print it literally, zsh
interprets it). printf is consistent across shells.
@frankxai frankxai marked this pull request as ready for review July 2, 2026 03:30
Copilot AI review requested due to automatic review settings July 2, 2026 03:30

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Repairs ACOS documentation and hook messaging so the repo’s stated agent count/version aligns with the current reality, and removes a dead reference in hooks that pointed to a non-existent skill-rules-v2.json.

Changes:

  • Update README.md and CLAUDE.md to reflect ACOS v11 and the 67-agent catalog (instead of 38).
  • Fix .claude/hooks.json messaging to reference the actual .claude/skill-rules.json file (and improve newline formatting for the notification output).

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
README.md Updates v11 + 67-agent references in top-level docs (but leaves one remaining “38 agents” table entry; see comment).
CLAUDE.md Updates v11 branding and agent count to match the current repo state.
.claude/hooks.json Repoints the hook messaging from non-existent skill-rules-v2.json to the real skill-rules.json and improves output formatting.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread README.md

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
.claude/hooks.json (1)

14-19: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick win

Stale "ACOS v10" string left alongside version reconciliation.

The acos-context-loader hook still prints "ACOS v10 loaded" while this PR reconciles the documented version to v11.0.0 in CLAUDE.md/README.md. If not already tracked as one of the "related repo issues... intentionally left unchanged," consider updating this too for consistency.

♻️ Proposed fix
-        "description": "Load ACOS v10 with model routing and skill auto-activation",
+        "description": "Load ACOS v11 with model routing and skill auto-activation",
         "type": "command",
-        "command": "echo 'ACOS v10 loaded | Model Routing ON | Skill Auto-Activation ON | Safety Hooks ON'",
+        "command": "echo 'ACOS v11 loaded | Model Routing ON | Skill Auto-Activation ON | Safety Hooks ON'",
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.claude/hooks.json around lines 14 - 19, The acos-context-loader hook still
emits the outdated ACOS v10 text, which conflicts with the version
reconciliation in the docs. Update the command string in the acos-context-loader
entry within hooks.json so the printed message matches the new v11.0.0 naming,
keeping the rest of the hook behavior unchanged.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In @.claude/hooks.json:
- Around line 14-19: The acos-context-loader hook still emits the outdated ACOS
v10 text, which conflicts with the version reconciliation in the docs. Update
the command string in the acos-context-loader entry within hooks.json so the
printed message matches the new v11.0.0 naming, keeping the rest of the hook
behavior unchanged.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 0d0c1d42-c470-4db3-bd17-77229b411595

📥 Commits

Reviewing files that changed from the base of the PR and between b2252ca and 2c5af93.

📒 Files selected for processing (3)
  • .claude/hooks.json
  • CLAUDE.md
  • README.md

…Copilot review

- README.md summary table, package.json description: still said
  "38 agents" after the first pass (Copilot review)
- .claude/hooks.json acos-context-loader: still printed "ACOS v10
  loaded" while docs elsewhere were reconciled to v11 (CodeRabbit
  nitpick)
@frankxai

frankxai commented Jul 6, 2026

Copy link
Copy Markdown
Owner Author

Queen-doctrine review — verdict: READY-TO-MERGE

Classification: Mechanical (docs/config drift repair). Checks green (build SUCCESS), MERGEABLE against main.

Verified against origin/main:

  • .claude/skill-rules.json exists — the hook repointing from the never-existed skill-rules-v2.json is correct, and the echoprintf fix makes the \n escapes actually render.
  • Agent count 67 = exactly the top-level .claude/agents/*.md files minus CLAUDE.md. Accurate under the stated convention.
  • v10→v11 aligns CLAUDE.md/README with package.json (already 11.0.0). Consistent.

Scope note (not blocking): this PR fixes only the agent count. The README still self-contradicts on skills/commands (header "90+/65+" vs component table "75+/35+"; actual today is 106 top-level skills / 83 top-level commands). That is #29's scope — merge this first, then #29 rebases and finishes the job.

Merge order matters: this PR before #29 and before #25 (both touch the same README lines; #25 rewrites the whole file).

gh pr merge 30 --repo frankxai/agentic-creator-os --squash

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.

3 participants