Skip to content

Make template policy tests configuration-agnostic - #17

Merged
Nickfost merged 1 commit into
mainfrom
agent/config-agnostic-policy-tests
Jul 14, 2026
Merged

Make template policy tests configuration-agnostic#17
Nickfost merged 1 commit into
mainfrom
agent/config-agnostic-policy-tests

Conversation

@Nickfost

Copy link
Copy Markdown
Member

Closes #16.

The policy regression tests now select the first configured project instead of indexing the fictional example-app key. The strict placeholder test explicitly constructs placeholder values, so it still proves strict mode rejects an uninitialized template without requiring the live configuration to remain fictional.

Validated against:

  • the public one-project fictional reference configuration
  • the private two-project Random Development configuration
  • all 12 fail-closed policy cases

This changes tests only.

@Nickfost
Nickfost marked this pull request as ready for review July 14, 2026 04:35
@Nickfost
Nickfost merged commit 542a3c1 into main Jul 14, 2026
1 check passed
@Nickfost
Nickfost deleted the agent/config-agnostic-policy-tests branch July 14, 2026 05:18
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.

Make template policy tests work after initialization

1 participant