[codex] Make watchlist skill runtime py-free#24
Conversation
There was a problem hiding this comment.
Code Review
This pull request refactors the project to make the installable skill bundle entirely Python-free. It moves the WATCHLIST validator from the skill directory to the repository's maintainer tools (tools/validate_watchlist.py), introduces a new manual format reference (references/format.md), and updates documentation, tests, and packaging checks accordingly. The reviewer's feedback identifies opportunities to improve the robustness of the validator execution by handling SystemExit exceptions, and suggests extending the packaging checks and tests to explicitly forbid other Python-related extensions like .pyw.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
ca80f4b to
99d2f03
Compare
99d2f03 to
d410c3a
Compare
Summary
tools/validate_watchlist.py.docs/maintainers/self-checks.md.SKILL.mdkeeps trigger, storage, add/review, safety, and validation decisions while delegating field/status details to references..py,.pyw,.pyc,.pyo, case variants, repository-onlydocs/, wrapperSystemExit, and self-check exclusion.Runtime size
.agents/skills/watchlist-md/SKILL.md: 5,483 bytes -> 4,416 bytesSKILL.md: 128-ish line structure -> 100 lines under the repo test measurement.py,.pyw,.pyc,.pyo,scripts/,__pycache__, tooling references, orself-checks.mdmatchesValidation
PYTHONDONTWRITEBYTECODE=1 python -m unittest discover -s evals -p 'test_*.py'- 92 tests passedpython evals/check_watchlist.py examples/WATCHLIST.example.md --strict-format --strict-safety --require-archive-sectionpython evals/check_watchlist.py .agents/skills/watchlist-md/assets/WATCHLIST.template.md --strict-format --strict-safety --require-archive-sectionpython tools/validate_watchlist.py examples/WATCHLIST.example.md --strict-format --strict-safety --require-archive-sectionpython tools/validate_watchlist.py .agents/skills/watchlist-md/assets/WATCHLIST.template.md --strict-format --strict-safety --require-archive-sectionpython evals/check_release_metadata.pypython evals/check_policy_markers.pypython evals/check_semantic_cases.pypython evals/check_skill_package.pyNO_RUNTIME_PYTHON_OR_TOOLING_MATCHESReview follow-up
SystemExitwrapper handling..pyw,.pyc,.pyo, uppercase suffix, uppercaseSCRIPTS/, uppercaseTOOLS/, anddocs/package guards.SKILL.mdcap.references/format.mdruntime-neutral by removing directtools/validate_watchlist.pyguidance.updatingto the skill trigger description.