Repository navigation
docs(spec-loop): drop resolved org-adapter validator gap - #994
Merged
justinmclean merged 2 commits intoJul 29, 2026
Merged
Conversation
fishnoob
marked this pull request as draft
July 28, 2026 17:52
fishnoob
marked this pull request as ready for review
July 28, 2026 17:52
justinmclean
approved these changes
Jul 29, 2026
justinmclean
left a comment
Member
There was a problem hiding this comment.
Every claim in the new paragraph checks out against the tree. validate_organization_structure lives in tools/skill-and-tool-validator, _ORG_REQUIRED_FILES is exactly ("README.md", "organization.md"), the loop skips _template, and ORGANIZATION_CATEGORY is in HARD_CATEGORIES, so HARD is right. It landed in #721 (0381844). Only the one gap bullet is removed and the other three are byte-identical. spec-validate returns OK (no violations) with the patch applied in place, matching baseline, and there is no trailing whitespace and no other stale mention of this gap anywhere in the tree.
6 tasks done
potiuk
added a commit
that referenced
this pull request
Sep 8, 2026
* fix(docs): reconcile documentation with the state of the tree Closes a batch of doc-vs-reality inconsistencies, most of them filed as issues after an earlier audit pass. Reported (#882-#888, #935): - labels-and-capabilities: the family:* section documented 4 of the 10 canonical families and conflated them with three repo-area labels that are rejected in frontmatter; "multi-capability tools are rare, gmail is the only one" sat above a table of ten. A stray blank line was also splitting the tool-capability table in two. - adapters/registry: the mail-source and mail-archive rows omitted adapters that declare those contracts. Fossil is NOT misclassified — it is deliberately both a forge bridge and a VCS backend; the real bug was the opposite, tools/vcs omitting Fossil from its backend table. - adapters/add-a-harness: detection table missing Kiro; stale harness values for agent-guard, permission-audit, sandbox-lint, spec-loop. - setup/personal-use-unadopted-repo and AGENTS.md: the per-skill override chain listed an organization layer that does not exist. Organizations supply config-key defaults, not skill overrides. - setup/mixed-adoption-teams: the symlink recipe linked through the relay dir, producing four hops instead of two. - RFC-AI-0002 and RFC-AI-0004: status said Draft while the body described shipped, enforced behaviour. RFC-AI-0004 also said "four shifts" above a four-item list in a document that says six everywhere else; the two missing gap bullets are added rather than the numeral flipped. - spec-loop/organization-adapters: #935's bullet was already fixed by #994; the rest of the Known gaps section was stale the same way. Found while verifying, not separately reported: - Skill counts: security 12->15 and the modes glance table (Triage 34->35, Drafting 9->11) went stale in #1156. repo-health 6->7, the CONTRIBUTING tree's four prefix counts, and one of three skill counts in contributor-growth were already drifting. - spec-loop/adapters: Bitbucket write coverage gained PR-comment creation. - spec-loop/project-agnosticism: the non-ASF smoke suite is 15 cases over 6 steps across 5 skills, not 6 cases over 2; and the catalogue produces 3 asf-coupling warnings, not 0. Generated-by: Claude Code (Opus 5) * fix(skill-and-tool-validator): skip dot-directories under skills/ The eval-coverage check globbed skills/.mypy_cache, .pytest_cache, .ruff_cache and .claude as if each were a skill, so a dirty working tree produced four phantom "no eval suite" warnings. Those directories are gitignored, so they exist only locally — exactly when a bogus warning is hardest to act on, because it names a path the reader cannot find in the repo. One enumeration already had the guard; the other four did not. Adds it to all of them, with a regression test. Generated-by: Claude Code (Opus 5)
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tools/spec-loop/specs/organization-adapters.mdclaiming no validator enforces required files in
organizations/<org>/.validate_organization_structurehas enforced this since feat(validator): add HARD check for required files in organizations/<org>/ #721, so thegap is now inconsistent with the code.
validate_organization_structureand its HARD violation behaviour.Type of change
.claude/skills/<name>/) — eval fixtures updated belowtools/<system>/*.md)tools/*/withpyproject.toml)docs/,README.md,CONTRIBUTING.md)projects/_template/)prek, workflows, validators)tools/spec-loop/specs/)Test plan
prek run --all-filespassesuv run pytest/ruff check/mypypasses(
PYTHONPATH=tools/skill-evals/src python3 -m skill_evals.runner tools/skill-evals/evals/<skill>/)(a regression test for the bug fixed / the behaviour added — see CONTRIBUTING.md)
prek run --files tools/spec-loop/specs/organization-adapters.mdpasses
validate_organization_structurefunction defined intools/skill-and-tool-validator/src/skill_and_tool_validator/__init__.pyprek run --all-filesdoes not complete on my Windows environmentfor reasons unrelated to this change (check Notes)
RFC-AI-0004 compliance
<PROJECT>,<tracker>,<upstream>,<security-list>) used in all skill / tool prose (thecheck-placeholdersprek hook is the mechanical gate)Linked issues
Closes #975
Notes for reviewers (optional)
This is a documentation-only change to reflect the update to validation implemented in #721. However, I was unable to run
prek run --all-filesto completion on Windows. However, the failures are environmental and theprektests should pass on the maintainer's end.