{
  "schema_version": "agent_bounty_dev_baseline_owner_decision_v1",
  "generated_at": "2026-06-24T13:58:00+08:00",
  "product_id": "agent-bounty-protocol",
  "local_path": "/Users/ogt/Documents/agent-bounty-protocol",
  "gitea_repo": "wooo/agent-bounty-protocol",
  "remote_refs": {
    "main": "b7a733f44f4f645dd21a9b4a9075b89c4a324f64",
    "dev": ""
  },
  "local_readback": {
    "branch": "main",
    "head": "0601df8bd9c0aaedb9ce3a226a6f1aeca645ca0a",
    "tracked_modified_count": 23,
    "tracked_deleted_count": 0,
    "untracked_count": 19,
    "diff_shortstat": "23 files changed, 2819 insertions(+), 720 deletions(-)",
    "diff_check": "pass"
  },
  "tracked_modified_groups": {
    "docs": [
      "A2A_AGENT_INTEGRATION_ROADMAP.md",
      "README.md"
    ],
    "public_agent_metadata": [
      "apps/web/public/.well-known/agent-card.json",
      "apps/web/public/agent.json",
      "apps/web/public/llms-full.txt",
      "apps/web/public/llms.txt",
      "apps/web/public/openapi.yaml"
    ],
    "web_routes": [
      "apps/web/src/app/.well-known/agent-card.json/route.ts",
      "apps/web/src/app/.well-known/openapi.yaml/route.ts",
      "apps/web/src/app/admin/treasury/page.tsx",
      "apps/web/src/app/api/a2a/growth/kit/route.ts",
      "apps/web/src/app/api/cron/a2a-growth/route.ts",
      "apps/web/src/app/api/open-tasks/route.ts",
      "apps/web/src/app/api/traffic/route.ts",
      "apps/web/src/app/page.tsx",
      "apps/web/src/app/propose/actions.ts",
      "apps/web/src/app/propose/page.tsx",
      "apps/web/src/app/propose/success/page.tsx",
      "apps/web/src/app/traffic/page.tsx"
    ],
    "libraries_and_runtime": [
      "apps/web/src/lib/a2a-growth.ts",
      "apps/web/src/lib/traffic-conversion-monitor.ts",
      "apps/web/src/middleware.ts",
      "docker-compose.yml"
    ]
  },
  "untracked_source_candidates": [
    "apps/web/src/app/agents/connect/actions.ts",
    "apps/web/src/app/agents/connect/page.tsx",
    "apps/web/src/app/api/a2a/agents/connect/route.ts",
    "apps/web/src/app/api/a2a/campaigns/demand/route.ts",
    "apps/web/src/app/api/a2a/onboarding/route.ts",
    "apps/web/src/app/api/a2a/proposals/handoff/route.ts",
    "apps/web/src/app/api/a2a/referrals/status/route.ts",
    "apps/web/src/app/api/a2a/referrals/touch/route.ts",
    "apps/web/src/app/api/admin/affiliate/payouts/settle/route.ts",
    "apps/web/src/app/api/admin/treasury/usdc-balance/route.ts",
    "apps/web/src/app/propose/success/WalletCheckout.tsx",
    "apps/web/src/app/propose/wallet/actions.ts",
    "apps/web/src/lib/a2a-agent-connect.ts",
    "apps/web/src/lib/a2a-agent-integrations.ts",
    "apps/web/src/lib/traffic-actor-classification.ts",
    "apps/web/src/lib/treasury-snapshot.ts",
    "apps/web/src/lib/usdc-transfer-verifier.ts"
  ],
  "untracked_excluded_by_default": [
    "sync-backup-a2a-campaign-kit-20260611183651.tgz",
    "sync-backup-a2a-onboarding-20260611182353.tgz"
  ],
  "secret_or_env_paths_seen_but_not_read": [
    ".env",
    "apps/test-agent/.env",
    "apps/web/.env"
  ],
  "risk_assessment": {
    "secret_value_collected": false,
    "env_file_read": false,
    "runtime_write_performed": false,
    "product_repo_write_performed": false,
    "remote_write_performed": false,
    "risk_level": "medium_high_owner_decision_required",
    "reason": "A2A, treasury, proposal, middleware, and docker-compose surfaces are product-significant and local HEAD differs from Gitea main. Backup archives and env files must not be included by default."
  },
  "owner_decision_required": [
    "Decide whether local head 0601df8bd9c0aaedb9ce3a226a6f1aeca645ca0a is the intended latest product baseline.",
    "Approve which tracked modified groups should be preserved.",
    "Approve which 17 untracked source candidates should be included.",
    "Confirm the two sync-backup tgz files remain excluded unless explicitly marked release artifacts.",
    "Confirm env files remain excluded and no secret values are copied.",
    "Approve remote dev branch only after the include / exclude list is accepted."
  ],
  "recommended_next_step": "Prepare an owner response file with included tracked groups and untracked source candidates before any product repo commit or remote dev branch creation."
}
