mirror of
https://github.com/boshu2/agentops.git
synced 2026-09-14 15:08:13 +08:00
9ea9fbc957
- codex-residual-allowlist.txt with policy docs - validate-codex-runtime-sections.sh CI gate - README-codex-residual-policy.md authoring guide
1.2 KiB
1.2 KiB
Codex residual marker allowlist policy
This policy governs scripts/lint/codex-residual-allowlist.txt, the canonical machine-readable allowlist for residual mixed-runtime markers in skills-codex/**/SKILL.md.
Purpose
skills-codex is Codex-first, but a small set of Claude markers is intentionally retained for mixed-runtime flows (--mixed) and runtime-native fallback documentation. The allowlist defines those exceptions explicitly so lint can fail on accidental runtime drift.
Authoring rules
- One POSIX ERE pattern per line in the allowlist file.
- Keep patterns narrow and stable. Prefer exact phrases, backend IDs, reference filenames, and primitive names.
- Do not use broad wildcards or generic vendor tokens (
Claude,claude,.*,.*claude.*). - Every new entry must map to an intentional mixed-runtime contract in
skills-codex/**/SKILL.md. - Remove entries once no longer referenced.
Review checklist for allowlist changes
- Is this marker required for mixed-runtime behavior?
- Is the pattern as specific as possible?
- Could this be expressed by an existing allowlisted marker?
- Will this hide unintended Codex-to-Claude regressions?