Skip to content

Namespace finding kinds with 'scope_trail.' prefix (agent-gov-core@v0.2.0)#40

Merged
Conalh merged 1 commit into
mainfrom
feat/namespace-finding-kinds
May 22, 2026
Merged

Namespace finding kinds with 'scope_trail.' prefix (agent-gov-core@v0.2.0)#40
Conalh merged 1 commit into
mainfrom
feat/namespace-finding-kinds

Conversation

@Conalh
Copy link
Copy Markdown
Owner

@Conalh Conalh commented May 22, 2026

Part of the suite-wide v1.0 wire-format wave tracked in agent-gov-core#1. Prefixes every Finding.kind with the tool's ToolKind so a downstream meta-reviewer can dedupe across tools (e.g. ScopeTrail's permission_allow_widened never collides with another tool's).

Changes

  • Bumps agent-gov-core dep #v0.1.2#v0.2.0 (which adds kind() + isNamespacedKind() and enforces the dotted form via the JSON schema regex)
  • Prefixes 16 finding kinds with scope_trail.
  • Updates test assertions to the new prefixed form

Not changed

  • Detector semantics
  • Severity assignment
  • Message / recommendation text
  • Anything in the README that wasn't a literal kind string

Verification

  • npm install && npm run build — clean
  • npm test36/36 passing on the new prefixed assertions

Adopts agent-gov-core v0.2.0 and prefixes every Finding.kind with the
'scope_trail.' namespace per the suite-wide v1.0 wire-format wave
(agent-gov-core#1).

Kinds renamed (16):
  codex_approval_weakened -> scope_trail.codex_approval_weakened
  codex_network_enabled -> scope_trail.codex_network_enabled
  codex_project_trusted -> scope_trail.codex_project_trusted
  codex_sandbox_widened -> scope_trail.codex_sandbox_widened
  hook_added -> scope_trail.hook_added
  hook_command_changed -> scope_trail.hook_command_changed
  hook_removed -> scope_trail.hook_removed
  mcp_sample_remote_endpoint -> scope_trail.mcp_sample_remote_endpoint
  mcp_sample_server_added -> scope_trail.mcp_sample_server_added
  mcp_sample_server_command_changed -> scope_trail.mcp_sample_server_command_changed
  mcp_sample_unpinned_command -> scope_trail.mcp_sample_unpinned_command
  mcp_server_added -> scope_trail.mcp_server_added
  mcp_server_command_changed -> scope_trail.mcp_server_command_changed
  permission_allow_widened -> scope_trail.permission_allow_widened
  permission_deny_removed -> scope_trail.permission_deny_removed
  unpinned_mcp_command -> scope_trail.unpinned_mcp_command

Pure rename — no detector semantics changed, no severities changed.
Test assertions updated to the new prefixed form. Bumps agent-gov-core
dep to #v0.2.0 (which enforces the dotted form via the JSON schema's
kind regex).
@Conalh Conalh merged commit 71bb3d7 into main May 22, 2026
3 checks passed
@Conalh Conalh deleted the feat/namespace-finding-kinds branch May 22, 2026 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant