Skip to content

aeon skill: plugin-root fallback for mine-history, fresh CI counts, drop pr-check, no em/en dashes - #1183

Merged
aaronjmars merged 1 commit into
mainfrom
fix/aeon-setup-skill-plugin-root-ci-counts
Oct 7, 2026
Merged

aaronjmars merged 1 commit into
mainfrom
fix/aeon-setup-skill-plugin-root-ci-counts

Conversation

@aaronjmars

Copy link
Copy Markdown
Collaborator

Four fixes to the aeon setup skill. Every change is applied identically to both copies (.claude/skills/aeon/** and plugin/skills/aeon/**); bash scripts/check-aeon-skill-sync.sh passes and the intentional plugin-root path difference is still exactly 5 lines.

1. Mode 8 miner command fails in the Claude Code plugin

The plugin copy runs node "${PLUGIN_ROOT:-$CLAUDE_PLUGIN_ROOT}/skills/aeon/scripts/mine-history.mjs" .... Claude Code does not export CLAUDE_PLUGIN_ROOT (or PLUGIN_ROOT) to Bash, so the path expands to /skills/aeon/scripts/mine-history.mjs and node exits with MODULE_NOT_FOUND.

Fix: a fallback note right after the command in SKILL.md (Mode 8 step 1) and after the "Running it" block in references/history-mining.md: if the path comes out bare and node fails, run node <skill base dir>/scripts/mine-history.mjs ... from the skill's base directory (the "Base directory for this skill" line Claude Code prints when the skill loads). The note uses no plugin-root variable, so the wording is identical in both copies and the sync check's path transform is untouched.

2. Stale CI counts

.github/workflows/ on main has 20 workflows, 15 of them ci-*.yml (14 path-filtered plus ci-gate).

  • references/ci.md: "Thirteen ... Twelve path-filtered ... the thirteenth ... the other twelve" becomes Fifteen / Fourteen / fifteenth / fourteen. Added table rows for ci-aeon-skill-sync (.claude/skills/aeon/**, plugin/skills/aeon/**, scripts/check-aeon-skill-sync.sh; run bash scripts/check-aeon-skill-sync.sh) and ci-harness-cli (harness-adapter, install/run-grok/llm-gateway/ccr scripts, aeon.yml + messages.yml workflows, smoke + fake-upstream test files; run bash scripts/tests/harness_cli_smoke.sh <harness>).
  • references/layout.md: "18 workflows ... 13 ci-*.yml" becomes 20 / 15.

3. pr-check is not an Aeon skill

SKILL.md Mode 8 step 3 and the overlap table in references/history-mining.md listed pr-review/pr-check. There is no skills/pr-check upstream (skills/pr-review exists). Now names pr-review only. The other skills named nearby (digest, mention-radar, article, github-monitor, changelog, shiplog, heartbeat) all exist.

4. No em or en dashes

Replaced all 183 em dashes and 5 en dashes per copy (7 files each, incl. three '-' empty-list placeholders and comments in scripts/mine-history.mjs) with plain hyphens: " - " for spaced dashes, 2-3 style for ranges. House style, as in #743. node --check passes on the script and it still prints its clean no-history error.

No other directories touched. The hosted website mirror of this skill will be picked up by the docs-sync flow separately.

…rop pr-check, no em/en dashes

Four fixes to the aeon setup skill, applied identically to both copies
(.claude/skills/aeon and plugin/skills/aeon):

1. Mode 8 history mining: Claude Code does not export CLAUDE_PLUGIN_ROOT
   (or PLUGIN_ROOT) to Bash, so the plugin copy's miner command expands to
   /skills/aeon/scripts/mine-history.mjs and node fails with
   MODULE_NOT_FOUND. Add a fallback note next to the command in SKILL.md and
   references/history-mining.md: run it from the skill's base directory.
   The plugin-root path transform stays at 5 lines.
2. references/ci.md and references/layout.md counted 13 ci-*.yml and 18
   workflows. There are 15 ci-*.yml (14 path-filtered plus ci-gate) and 20
   workflows. Add table rows for ci-aeon-skill-sync and ci-harness-cli.
3. Mode 8 named pr-check as an Aeon skill; there is no skills/pr-check.
   Point at pr-review only.
4. Replace every em dash and en dash in both copies with a plain hyphen
   (house style, as in #743).
@aaronjmars
aaronjmars merged commit 9407d70 into main Oct 7, 2026
2 checks passed
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.

1 participant