Skip to content

Raise internal/cli and cmd/devagent test coverage #367

Description

@linhdmn

Coverage audit by package: internal/cli is the outlier — ~6291 src / 1088 test LOC, 8 test files for 27 source files; most cli tests are wiring tests, and ~20 of the actions_*.go command bodies have no direct tests (tracker ingestion, publish paths, ledger rendering, etc.). cmd/devagent has zero test files (PARITY-Scoreboard.md's one near-red item, "covered indirectly by internal/cli"). Also thin: internal/tracker (660/225), internal/sessionguard (869/433).

Done when: the highest-risk untested action bodies (dispatch/publish/ledger paths) have table tests over their CLI contract, and cmd/devagent gains a smoke test (flag wiring + exit codes) so the PARITY caveat can be retired.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpriority:P2Backlog — later iterations

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions