Sitelet https://github.com/agentrust-io/ca2a/pull/219
Skip to content

fix: update minimal example README key/mode and add unit test (fixes #218) - #219

Closed
aipd506 wants to merge 2 commits into
agentrust-io:mainfrom
aipd506:fix/minimal-example-readme-and-test
Closed

aipd506 wants to merge 2 commits into
agentrust-io:mainfrom
aipd506:fix/minimal-example-readme-and-test

Conversation

@aipd506

@aipd506 aipd506 commented Sep 30, 2026

Copy link
Copy Markdown
Contributor

Summary of Changes

Resolves #218:

  • Updated examples/minimal/README.md to reference the real pinned trusted_root_issuers key from ca2a-config.yaml (eda38c44...eb162).
  • Corrected description from 'advisory' to 'enforcing' to match ca2a-config.yaml.
  • Added tests/unit/test_example_minimal.py executing ca2a verify-chain and ca2a validate-config via cli_main, asserting verified: true and ok: provider=software-only enforcement=enforcing.

Acceptance Criteria Verification

  • README uses the real key and says 'enforcing'.
  • New unit test test_example_minimal.py runs both commands through ca2a_runtime.cli.main and asserts output.

@aipd506
aipd506 requested review from a team, carloshvp and zohebk8s as code owners September 30, 2026 16:06
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for this, @aipd506. Closing it for now, and it is not about the change itself.

This repository asks first-time contributors to be vouched by a maintainer before opening a pull request. That is because agent-written contributions are easy to produce and expensive to review, and we would rather talk to you first than review something neither of us can explain.

To get vouched: open an issue saying what you want to change and why, in your own words. A maintainer will reply, and add you with /vouch. After that, reopen this pull request or open a new one.

See CONTRIBUTING.md for the detail.

@github-actions github-actions Bot closed this Sep 30, 2026
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.

examples/minimal README: placeholder root key, and "advisory" contradicts the config

1 participant