Skip to content

Audit: extend NON_AGENT_TOKENS allowlist as fleet evolves #4

Description

@sridherj

Source: sub-phase 2.4.

Context

2.4 introduced `NON_AGENT_TOKENS` in `bin/audit-interdependencies` to allowlist tokens that share the `cast-` prefix but are not agents (e.g., `cast-server`, `cast-agent`, `cast-foo`, `cast-v2`, `cast-preso-`, `cast-foundations`). These would otherwise be mis-classified as red by the bare-name regex.

Risk

As the fleet evolves, new placeholder names or infrastructure components may appear in prose. The allowlist must be kept current.

Action (Phase 3a)

  • Replace the hard-coded `NON_AGENT_TOKENS` set with a regex `^cast-(agent|server|v\d+|foo|bar|baz|foundations|preso-)$` or move it into a YAML config.
  • Add a unit test that pins the allowlist behavior.

Defer to Phase 3a

Trivial allowlist edit, not blocking 2.4.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions