Repository navigation
Conversation
Collect project Codex TOML custom agents and MCP declarations in the canonical provider so lint and public inventory share accurate counts. Keep collection static and metadata-only, and add synthetic Git workspace regressions for counts, duplicates, malformed declarations, and Windows paths. Story: QoderAI#219 Spec: docs/specs/2026-11-28-219-codex-asset-inventory.md Test: Focused checks 68/68 and Harness checks 218/218 under Node v24.22.3 Risk: Windows-local validation; macOS/Linux CI remains authoritative Co-authored-by: QoderAI (Qwen 3.8 Max) <qoder_ai@qoder.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Codex project-scope asset inventory now counts project-local
.codex/agents/*.tomlcustom agents and.codex/config.toml[mcp_servers.<name>]declarations. Collection stays static, bounded, read-only, and metadata-only.Why
agents: 0andmcps: 0.Traceability and Scope
docs/specs/2026-11-28-219-codex-asset-inventory.mdscripts/agent-customize/providers/codex.mjsscripts/agent-customize/providers/codex-toml.mjsscripts/agent-lint/index.mjsChange Type
Test and Review Evidence
npx --yes node@24 node_modules/vitest/vitest.mjs run test/agents/agent-asset-baseline.test.mjs test/agents/agent-lint.test.mjs test/agents/coding-agent-practices-inventory.test.mjs test/skills-docs/doc-link-graph.test.mjs --reporter=dotnpm run harness:generatednpm run harness:testnpm run pack:verifynode --checkon changed modulesnpm test -- --reporter=dotduring implementationos.homedir()mismatch is environment-sensitive and unrelatedManual or visual evidence: synthetic Git workspaces cover one/multiple declarations, duplicate MCP identity, malformed TOML, non-object MCP declarations, Windows paths with spaces/Unicode, secret canaries, and a sentinel-writing MCP command that was never executed.
Risk and Recovery
AI Involvement
Checklist
AGENTS.md,CONTRIBUTING.md, and the relevant canonical-owner guidance.CHANGELOG.md— intentionally not changed perAGENTS.mdscope rules and issue non-goals.