pre-commit fails on four catalog hooks, and the pyproject opt-out written for two of them is inert #31
Labels
No labels
autonomy
async-consult
autonomy
epic
autonomy
headless
autonomy
live-collab
c#
priority
P0
priority
P1
priority
P2
priority
P3
priority
P4
role/ai
role/creator
role/design
role/director
role/engineer
role/exec
role/human
role/ops
role/qa
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
coilyco-gaming/eco-mods#31
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
pre-commit runfails on four hooks against a clean checkout. None of the failures are caused by recent commits. The repo's own justfile already calls these "the broken layout hooks" and routessecret-scanaround them, so the workaround is older than the diagnosis.Two of the four are fixable here today. Two are blocked on an upstream gap that this repo already tried to work around.
Fixable in this repo now
context-load-pointsflags four files:The hook wants AGENTS.md and CLAUDE.md only at the repo root, and says to symlink or remove a subdirectory copy. These four are the load-points of the three repos that were merged into this one, still sitting as real files.
check_context_load_points.pyimportsload_excludesandis_excludedand readsHOOK_ID = "context-load-points", so[tool.agentic-os.context-load-points] excludes = [...]inpyproject.tomlis a supported lever this repo has not used. Whether an exclude is the right answer or the copies should genuinely be collapsed is the real question. Theunity/pair is worth collapsing, since #29 covers rewriting those docs anyway.dead-cross-linksflags three, all genuine content bugs:mods/AGENTS.md:53links../eco-cycle-prep/AGENTS.md. That tree was flat-copied intocoilyco-gaming/eco-opsundercycle-prep/, so the target is cross-repo now and no relative link can reach it.unity-embedded/.agents/skills/repo-eco-mods-assets-embeded/SKILL.md:11links../../../AGENTS.md, resolving tounity-embedded/AGENTS.md, which does not exist.../../../docs/FEATURES.md, resolving tounity-embedded/docs/FEATURES.md, which does not exist.The sibling
../../../README.mdresolves fine, so only two of the skill's three pointers are dead. That skill is also still named after the retiredeco-mods-assets-embededrepo, which ties it to #29.Blocked upstream
catalog-doc-sizeanddocumentation-layoutreport the same two files. They are not independent checks.check_catalog_doc_size.pyimports its implementation fromcheck_documentation_layout, so one root cause produces two failures.This repo already declared the exemption, with a correct justification:
vendoredis read by nothing. The string does not appear anywhere inagentic_os/. Someone wrote a precise exemption with a sound rationale and it has never had any effect.So the state is:
excludesstopped reaching the size caps in agentic-os#1108,vendoredwas written as the replacement but never implemented upstream, and there is currently no working escape hatch. agentic-os#1144 is an open request to addsize_excludesfor exactly this. Until it lands, these two paths cannot pass, and both reasons in that comment still stand. Cutting the EcoModKit docs forks the upstream SDK, and cutting a mod README changes what a player reads on its store page.Also worth noting
The managed hook block pins
rev: aos-precommit-v0.27.0. The train is ataos-precommit-v0.32.0, five minors ahead. Worth checking whether anything relevant moved before doing the work.Scope note
CI does not run pre-commit or typos at all, and the git hook is not installed by default in a fresh clone. This is a local-only gate today, which is why it has been failing quietly.
Related
size_excludesexcludesfrom the size caps