Skip to content

[milestone Milestone 1 ] agentbom/: Trust Passport export includes signed AEP events (`passport export ... #171

Description

@telleroutlook

Problem

The Milestone 1 agentbom/ reference implementation does not exist yet ("new (does not exist yet)" in the worktree), so the required capability is missing: agentbom/ must provide a Trust Passport export that includes signed AEP events via passport export --format json --include-aep.

Approach

  1. Create the minimal agentbom/ reference implementation.
  2. Add a passport command with an export subcommand that accepts --format json and --include-aep.
  3. When --include-aep is given, the JSON Trust Passport output must include the signed AEP events (embed the events as-is; do not verify or re-sign them unless already part of the existing AEP model).
  4. When --include-aep is omitted, passport export --format json must still produce a valid JSON Trust Passport without the signed AEP events.
  5. Keep the change to the smallest number of files required; do not touch unrelated code.

Files

  • agentbom/ (new) — minimal implementation of passport export --format json --include-aep
  • agentbom/passport_export_test.go (new) — test that the export includes signed AEP events when --include-aep is set and omits them otherwise

No existing files outside agentbom/ should be modified.

Acceptance criteria

  • go test ./agentbom/... passes (or the equivalent test command for the repo's language).
  • The command passport export --format json --include-aep runs successfully and emits valid JSON containing the signed AEP events.
  • passport export --format json (without --include-aep) emits valid JSON and does not include signed AEP events.
  • git status --short shows only the intended new agentbom/ files.

Notes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions