Skip to content

feat: directory compliance (0.2.0) - #22

Merged
wasimness merged 1 commit into
nextfrom
feat/directory-compliance
Nov 12, 2026
Merged

wasimness merged 1 commit into
nextfrom
feat/directory-compliance

Conversation

@wasimness

Copy link
Copy Markdown
Member

Summary

Makes aiaddon pass the Anthropic plugin directory checks (LOCAL_CODE_HOOK_COMMAND, LOCAL_CODE_FILE_TYPE, LOCAL_CODE_FRONTMATTER_KEY) as one version, with no feature lost.

  • The 25 scripts are now Markdown recipes in skills/*/references/. The Python and the old hook move unchanged to dev/ (maintainers only, never shipped).
  • The nested metadata block is removed from all skills and agents.
  • Router hard rules: a public-safety gate and a compliance warning.
  • Validator: directory rules for hooks, refused file types and non-text frontmatter. It also skips .claude/worktrees.
  • CI rebuilds the release branch from main after the checks pass, without force-pushing. The directory submission will track release.
  • New plugins scaffolded by aiaddon are directory-compliant by default.
  • Version 0.2.0, with a CHANGELOG entry.

Precision trade-offs (recipes vs the old scripts)

  • screen-text: judged confidence instead of the trained model
  • simulate: TF-IDF maths done by hand
  • inventory: normalised lines instead of SHA-1 hashes; only Grep candidate pairs are scored
  • validator cache: replaced by git status
  • package hash: replaced by a sidecar .fingerprint file

Gates

Gate Result
Directory validator (strict) 0 errors, 0 warnings, 13 info
Self-test 195 / 195
Router check 43 / 43
Secret scan, full history pass
Public-safety fixtures pass

After merge

CI creates release. In the directory submission, switch the tracked branch to release, then click "Check for new commits".

🤖 Generated with Claude Code

- 25 scripts become Markdown recipes in skills/*/references/; Python and the old hook move unchanged to dev/ (maintainers only, never shipped)
- Nested metadata removed from skills and agents
- Router hard rules: public-safety gate and compliance warning
- Validator: directory rules for hooks, refused file types, non-text frontmatter; skips .claude/worktrees
- Recipe passages flagged by the injection screen reworded or fenced
- Install simulator uses the repo allowlist; forgives only evals/prompts checks
- CI rebuilds the release branch from main after checks pass
- Scaffolds are directory-compliant by default

Gates: validator 0 errors/0 warnings, selftest 195/195, router 43/43, history secret scan pass, public-safety pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@wasimness
wasimness merged commit f4073d5 into next Nov 12, 2026
9 checks passed
@wasimness
wasimness deleted the feat/directory-compliance branch November 12, 2026 13:59
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