このPJで設定されているものは原則としてドッグフーディングとしてこのPJで必ず適用され、mainのCIで実行、各種ドキュメントなどに記載されていなければなりません。PHPStan…
- User
このPJで設定されているものは原則としてドッグフーディングとしてこのPJで必ず適用され、mainのCIで実行、各種ドキュメントなどに記載されていなければなりません。PHPStanなどであれば必ずデフォルトルールに設定した上で実行などですね。PRは作れない設定になっているのでPR関係は不要です。その上でSkillsを通じて各PJでドッグフーディングしている設定の配布をするという流れです。もちろんPJによってはPRのCIが利用されるはずなので、そういったものもSkillsには記載されないといけません。権限的に修正できないものはCodex CLIに依頼して修正を行なってください。またこのPJでエラーが出ているなら意図に沿ってコードの修正が必要です。このPJではmainで作業し、完了したらコミットしてください。
Assistant
I'll start by understanding the current state of the project — what tooling is configured, what CI runs, and what the Skills distribute.
Assistant
Let me kick off the actual checks while I continue surveying.
Assistant
Everything currently passes (lint clean, 2385 tests green). The gaps are in dogfooding coverage. Let me start closing them.
Assistant
Now the CI workflow. This repo's own
ci.ymlhas unnamed jobs and steps, which its documented hardening rule requires — plus ParaTest is configured but never exercised.Assistant
Now the github-actions SKILL.md, which still lists only a subset of the gates:
Assistant
Now
docs/github-actions.md, whose gate list is missing TreeGuard and ScopeGuard:Assistant
AGENTS.md is permission-protected, so I'll delegate those edits to Codex CLI.
Assistant
composer test:coverageactually fails — the tail shows exit code 1 from strict coverage metadata. Let me see the full set.Assistant
Two more real problems surfaced. Let me measure both.
Assistant
Now let me fix the incomplete coverage metadata across the 61 test files:
Assistant
The skills reference
docs/*.mdinsidevendor/, but/docs/isexport-ignored — those links are dead on any dist install:Assistant
My script had a bug — it added
#[UsesClass(...)]without the import in files that already imported the class. PHPStan will flag those; let me repair:Assistant
My script inserted imports inside a heredoc PHP fixture. Let me find every such misplacement:
Assistant
While the coverage run finishes, let me verify the other gates still pass.
Assistant
composer test:coverageis now green (0 risky, exit 0). Now let me wire that coverage into the published docs — DocGen ships the feature and the skill recommends it, but this repo never used it.Assistant
Now the same for the distributed doc-gen template:
Assistant
Now the full verification pass.
Assistant
All gates green. Committing in logical pieces, directly on
mainper the project's branching policy.Assistant