fix(commands): resolve 13 hidden-pending commands (closes #200) - #201
fix(commands): resolve 13 hidden-pending commands (closes #200)#201Wolfvin wants to merge 1 commit into
Conversation
Issue #200: resolve the 13 hidden-pending commands left after PR #195. Absorbed (5 commands → umbrella --check / --mode): - check → audit --check check (CI quality gate) - missing-refs → audit --check missing-refs (CSS/HTML mismatch) - deps-audit → security --check deps-audit (OSV.dev dependency CVEs) - list → search --mode list (list registry entries) - query → search --mode query (query symbol with callers/callees) Each absorbed command remains as a hidden deprecated alias for one version of backward compat (tests that import cmd_list/cmd_query still pass). Made visible (1 command): - plugin: standalone visible command (hidden=False). Plugin lifecycle management is unique and does not overlap with any umbrella. Dropped (7 commands, files deleted): - analyze (overlap with scan + audit + summary) - lsp (server launcher, not an analysis command) - entrypoints (subset of context --check orient) - state-map (no reliable engine behind it) - config-drift (overlap with audit --check staleness) - test-map (no proven engine) - type-infer (no proven engine) Result: - --command-count: 12 → 13 (plugin now visible) - hidden-pending commands: 13 → 0 - All 5 new --check/--mode dispatches return non-empty output on test workspaces (verified with scan-then-audit workflow). - Dropped commands are invalid choices (not callable). - Deprecated aliases print redirect warnings to stderr. - Docs synced via sync_command_count.py --apply (README, SKILL.md, SKILL-QUICK.md, pyproject.toml, skill.json, graph_model.py). - test_issue195_consolidation.py updated: 13 visible commands, 7 new dispatch tests, dropped-commands assertion, no-hidden-pending guard.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
|
PR ditutup — conflict design, bukan mechanical. PR #202 (issue #199, sudah merged ke main) menghapus parameter PR ini (issue #200) masih pakai signature lama: Sebelum buka PR baru, worker perlu:
Rebase ke main setelah adjustments selesai. |


Summary
Resolves issue #200 — the 13 hidden-pending commands left after PR #195's consolidation are now all resolved (absorbed, made visible, or dropped).
codelens --command-count: 12 → 13 (plugin now visible)Hidden-pending commands: 13 → 0
Changes
Absorbed (5 commands → umbrella
--check/--mode)checkauditaudit --check check(CI quality gate)missing-refsauditaudit --check missing-refs(CSS/HTML mismatch)deps-auditsecuritysecurity --check deps-audit(OSV.dev CVEs)listsearchsearch --mode list(list registry entries)querysearchsearch --mode query(query symbol + callers/callees)Each absorbed command file is kept as a hidden deprecated alias (
hidden=True, deprecated_alias_for='<umbrella>') for one version of backward compat. Invoking the old name prints aDEPRECATEDredirect warning to stderr. Tests that importcmd_list/cmd_query/check.add_argscontinue to work unchanged.Made visible (1 command)
plugin:hidden=True→hidden=False. Plugin lifecycle management (install/uninstall/search/validate) is unique and does not overlap with any umbrella.Dropped (7 commands, files deleted)
analyzelspentrypointscontext --check orientstate-mapconfig-driftaudit --check stalenesstest-maptype-inferDropped commands are now invalid choices (not callable via CLI).
Test Results
Per-command evaluation (issue DoD checklist)
Each of the 13 commands was tested against a test workspace (HTML/CSS/JS fixtures + package.json + requirements.txt) as a substitute for the unavailable
fought/extension_source/tscodebase.New --check / --mode dispatches return non-empty output
Verified after
codelens scan <ws>(registry built):audit --check check→ 14 findings ✓audit --check missing-refs→ 1 finding ✓security --check deps-audit→ 15 findings ✓search --mode list→ 42 entries ✓search --mode query→ found:true ✓Test suite
test_issue195_consolidation.py: 24 passed (including 7 new issue chore(commands): evaluate and resolve 13 hidden-pending commands #200 tests)test_command_count.py: 6 passedtest_command_registry.py: passedtest_cli.py(TestCmdQuery, TestCmdList, TestCheckCommandArgs): 12 passedtest_deps_audit.py,test_formatters.py,test_codelens.py: passedtest_orient.py,test_query_graph.py,test_html_parser.py,test_css_parser.py,test_registry.py: passedsync_command_count.py --check: all docs in sync (idempotent)Pre-existing failures (unrelated, fail on clean
maintoo):test_cli.py::TestArgparseFormatConflictRegression(3 tests:-fconflict + scan timeout) — environment-specifictest_compact_format.py::TestMCPGraphSchemaTool(2 tests: stale_TOOL_DEFINITIONS) — pre-existingtest_doctor.py::TestOutputSchema(11 tests: output schema drift) — pre-existingtest_lsp_server.py,test_rule_engine.py,test_rule_matcher.py— collection errors (missing deps:lsprotocol)Files Modified
scripts/commands/audit.py— addedcheck+missing-refschecksscripts/commands/security.py— addeddeps-auditcheckscripts/commands/search.py— addedlist+querymodesscripts/commands/{check,deps_audit,missingrefs,list,query}.py—deprecated_alias_forsetscripts/commands/plugin.py—hidden=Trueremoved (now visible)scripts/commands/{analyze,lsp,entrypoints,state_map,config_drift,test_map,type_infer}.pysync_command_count.py --apply): README.md, SKILL.md, SKILL-QUICK.md, pyproject.toml, skill.json, graph_model.pytests/test_issue195_consolidation.py— updated for 13 visible commands + 7 new dispatch testsConstraint Compliance
commands/*.pytouched (no engine files modified)--checkdispatch; search.py--modedispatch)--check/--modereturns non-empty output on test codebaseFindings (out of scope, flagged for BOS)
lspwas a server launcher, not an analysis command. The issue rationale ("subset ofdoctor --check lsp-status") is not quite accurate —doctor --check lsp-statuschecks LSP status, whilelsplaunches the LSP server. Dropped per the issue's explicit instruction, but the BOS may want to reconsider if editor-integration users relied oncodelens lsp.Stale MCP
_TOOL_DEFINITIONS. The MCP server still has static tool definitions for commands dropped in refactor(commands): consolidate 78 commands → 12 focused commands #195 (a11y, artifact_scan, ask, etc.) and now chore(commands): evaluate and resolve 13 hidden-pending commands #200 (analyze, config_drift, entrypoints). These appear intools/listeven though the commands are gone. Pre-existing — not touched per the "only commands/*.py" constraint.context-snapshot/CodeLens/CONTEXT.mdin worker-skills repo should be updated to reflect: 13 visible commands (12 umbrellas + plugin), 0 hidden-pending, and the new--check/--modedispatches. This is a separate PR toWolfvin/worker-skills.Test codebase substitution. The issue references
fought/extension_source/ts(not available in this environment). Testing was done against CodeLens test fixtures (HTML/CSS/JS) + the CodeLensscripts/Python codebase as a substitute. All absorb candidates produced substantive output on these workspaces.Closes #200