{"schema_version":1,"workflow_uuid":"bb158873-5e3a-4f74-be9b-5660b33303b9","workflow_title":"Amp by Sourcegraph — Whole-Repo AI Coding Agent","page_url":"","raw_url":"https://tokrepo.com/raw/bb158873-5e3a-4f74-be9b-5660b33303b9","metadata_url":"https://tokrepo.com/metadata/bb158873-5e3a-4f74-be9b-5660b33303b9.json","install_plan_url":"https://api.tokrepo.com/api/v1/tokenboard/workflows/install-plan?uuid=bb158873-5e3a-4f74-be9b-5660b33303b9&target=codex","recommended_install":{"schema_version":1,"status":"stage","policy":"stage_only","install_mode":"stage_only","target":"codex","command":"npx -y tokrepo@latest install bb158873-5e3a-4f74-be9b-5660b33303b9 --target codex","dry_run_command":"npx -y tokrepo@latest install bb158873-5e3a-4f74-be9b-5660b33303b9 --target codex --dry-run --json","runtime_commands":{"codex":"npx -y tokrepo@latest install bb158873-5e3a-4f74-be9b-5660b33303b9 --target codex","gemini":"npx -y tokrepo@latest install bb158873-5e3a-4f74-be9b-5660b33303b9 --target gemini","project":"npx -y tokrepo@latest install bb158873-5e3a-4f74-be9b-5660b33303b9"},"prompt":"Install and make this TokRepo asset usable: \"Amp by Sourcegraph — Whole-Repo AI Coding Agent\".\n\nPage: \nUUID: bb158873-5e3a-4f74-be9b-5660b33303b9\nTarget adapter: codex\nPolicy/mode: stage_only / stage_only\n\nRead these machine-facing entry points first:\n- metadata: https://tokrepo.com/metadata/bb158873-5e3a-4f74-be9b-5660b33303b9.json\n- install contract: https://tokrepo.com/install-contract/bb158873-5e3a-4f74-be9b-5660b33303b9.json\n- install plan: https://api.tokrepo.com/api/v1/tokenboard/workflows/install-plan?uuid=bb158873-5e3a-4f74-be9b-5660b33303b9&target=codex\n- raw content: https://tokrepo.com/raw/bb158873-5e3a-4f74-be9b-5660b33303b9\n\nCommands:\n- choose the current runtime; do not use unsupported CLI targets.\n- Codex: npx -y tokrepo@latest install bb158873-5e3a-4f74-be9b-5660b33303b9 --target codex\n- Gemini CLI: npx -y tokrepo@latest install bb158873-5e3a-4f74-be9b-5660b33303b9 --target gemini\n- Claude Code / project agent: run npx -y tokrepo@latest install bb158873-5e3a-4f74-be9b-5660b33303b9 from the project root; add `--dry-run --json` first to inspect the plan.\n- add `--dry-run --json` to the chosen command first; after the plan allows it, run the chosen command.\n\nExecution rules:\n1. Run the install command to stage the asset safely.\n2. Read the staged README, install-plan, and entrypoint files.\n3. Activate scripts, MCP config, or global config only after user confirmation.\n4. Verify usability with the install-plan post_verify checks and the asset README.\n\nReport back with changed files, verification result, and how to use the asset next.","next_steps":["Run the install command to stage the asset safely.","Read the staged README, install-plan, and entrypoint files.","Activate scripts, MCP config, or global config only after user confirmation.","Verify usability with the install-plan post_verify checks and the asset README."],"success_check":["The asset is safely staged.","The agent can give clear activation steps from the staged content."]},"agent_metadata":{"asset_kind":"mcp_config","target_tools":["claude_code","codex","cursor"],"install_mode":"stage_only","entrypoint":"Asset","risk_profile":{"executes_code":false,"modifies_global_config":true,"requires_secrets":["SRC_ACCESS_TOKEN"],"uses_absolute_paths":false,"network_access":false},"dependencies":{"npm":[],"pip":[],"brew":["sourcegraph/amp/amp"],"system":[]},"content_hash":"12a5e52aa1719275038b21e38ee98ac6b88ebb74f674ef9e872fc0396e1d4e80","verification":{"commands":[],"expected_files":["Asset"]},"inferred":true},"agent_fit":{"target":"codex","score":17,"status":"stage_only","policy":"stage_only","why":["target_tools includes codex","asset_kind mcp_config","install_mode stage_only","policy stage_only","asset_kind mcp_config is not activated directly for Codex","install_mode is stage_only","risk_profile.modifies_global_config is true","risk_profile.requires_secrets is not empty","trust community"],"asset_kind":"mcp_config","install_mode":"stage_only"},"trust":{"author_trust_level":"community","verified_publisher":false,"asset_signed_hash":"12a5e52aa1719275038b21e38ee98ac6b88ebb74f674ef9e872fc0396e1d4e80","signature_status":"hash_only","install_count":0,"report_count":0,"dangerous_capability_badges":["mcp_config","modifies_global_config","requires_secrets","stage_only"],"review_status":"unreviewed","signals":["asset has usage views","content hash available"]},"provenance":{"owner_uuid":"9ad55b56-afc0-4c0a-a2c9-0eeae4f2b948","owner_name":"Sourcegraph","source_url":"https://tokrepo.com/en/workflows/amp-by-sourcegraph-whole-repo-ai-coding-agent","content_hash":"12a5e52aa1719275038b21e38ee98ac6b88ebb74f674ef9e872fc0396e1d4e80","visibility":1,"created_at":"2026-05-07 21:24:24","updated_at":"2026-07-01 21:45:02"},"target_adapter":{"target":"codex","adapter":"skill-directory","root":"~/.codex/skills","entrypoint":"SKILL.md","manifest_path":"~/.codex/tokrepo/install-manifest.json","staging_root":"~/.codex/tokrepo/staged/bb158873-5e3a-4f74-be9b-5660b33303b9","install_modes":["single","bundle","split","stage_only"],"activates_files":true},"install_plan":{"schema_version":2,"target":"codex","asset_uuid":"bb158873-5e3a-4f74-be9b-5660b33303b9","asset_title":"Amp by Sourcegraph — Whole-Repo AI Coding Agent","source_url":"https://tokrepo.com/en/workflows/amp-by-sourcegraph-whole-repo-ai-coding-agent","install_mode":"stage_only","entrypoint":"Asset","preconditions":[{"type":"target_supported","status":"pass","message":"codex install target is supported"},{"type":"install_root","status":"pass","message":"~/.codex/skills for activated assets; ~/.codex/tokrepo/staged/bb158873-5e3a-4f74-be9b-5660b33303b9 for staged assets"},{"type":"target_tool_metadata","status":"pass","message":"metadata allows codex"},{"type":"content_hash","status":"pass","message":"asset metadata includes content_hash"},{"type":"trust_policy","status":"warn","message":"low trust publisher plus dangerous capability requires staging"},{"type":"policy_decision","status":"warn","message":"stage_only for bb158873-5e3a-4f74-be9b-5660b33303b9 (stage_only)"}],"actions":[{"type":"stage_file","path":"~/.codex/tokrepo/staged/bb158873-5e3a-4f74-be9b-5660b33303b9/Asset.md","source_name":"Asset","sha256":"14d31283fa9cf39bc487373cee8e48ddbb2bc05b7098820f5dbef602f7c7adf5","bytes":6381,"risk":{"executes_code":false,"modifies_global_config":true,"requires_secrets":["SRC_ACCESS_TOKEN"],"uses_absolute_paths":false,"network_access":false},"if_exists":"overwrite"}],"policy_decision":{"decision":"stage_only","requires_confirmation":false,"reasons":["asset_kind mcp_config is not activated directly for Codex","install_mode is stage_only","risk_profile.modifies_global_config is true","risk_profile.requires_secrets is not empty","low trust publisher plus dangerous capability requires staging"]},"requires_confirmation":false,"rollback":[{"type":"remove_file","path":"~/.codex/tokrepo/staged/bb158873-5e3a-4f74-be9b-5660b33303b9/Asset.md"}],"post_verify":[{"type":"file_sha256","path":"~/.codex/tokrepo/staged/bb158873-5e3a-4f74-be9b-5660b33303b9/Asset.md","sha256":"14d31283fa9cf39bc487373cee8e48ddbb2bc05b7098820f5dbef602f7c7adf5"},{"type":"expected_file","path":"Asset.md"}],"metadata":{"asset_kind":"mcp_config","target_tools":["claude_code","codex","cursor"],"install_mode":"stage_only","entrypoint":"Asset","risk_profile":{"executes_code":false,"modifies_global_config":true,"requires_secrets":["SRC_ACCESS_TOKEN"],"uses_absolute_paths":false,"network_access":false},"dependencies":{"npm":[],"pip":[],"brew":["sourcegraph/amp/amp"],"system":[]},"content_hash":"12a5e52aa1719275038b21e38ee98ac6b88ebb74f674ef9e872fc0396e1d4e80","verification":{"commands":[],"expected_files":["Asset"]},"inferred":true},"agent_fit":{"target":"codex","score":17,"status":"stage_only","policy":"stage_only","why":["target_tools includes codex","asset_kind mcp_config","install_mode stage_only","policy stage_only","asset_kind mcp_config is not activated directly for Codex","install_mode is stage_only","risk_profile.modifies_global_config is true","risk_profile.requires_secrets is not empty","trust community"],"asset_kind":"mcp_config","install_mode":"stage_only"},"trust":{"author_trust_level":"community","verified_publisher":false,"asset_signed_hash":"12a5e52aa1719275038b21e38ee98ac6b88ebb74f674ef9e872fc0396e1d4e80","signature_status":"hash_only","install_count":0,"report_count":0,"dangerous_capability_badges":["mcp_config","modifies_global_config","requires_secrets","stage_only"],"review_status":"unreviewed","signals":["asset has usage views","content hash available"]},"provenance":{"owner_uuid":"9ad55b56-afc0-4c0a-a2c9-0eeae4f2b948","owner_name":"Sourcegraph","source_url":"https://tokrepo.com/en/workflows/amp-by-sourcegraph-whole-repo-ai-coding-agent","content_hash":"12a5e52aa1719275038b21e38ee98ac6b88ebb74f674ef9e872fc0396e1d4e80","visibility":1,"created_at":"2026-05-07 21:24:24","updated_at":"2026-07-01 21:45:02"},"target_adapter":{"target":"codex","adapter":"skill-directory","root":"~/.codex/skills","entrypoint":"SKILL.md","manifest_path":"~/.codex/tokrepo/install-manifest.json","staging_root":"~/.codex/tokrepo/staged/bb158873-5e3a-4f74-be9b-5660b33303b9","install_modes":["single","bundle","split","stage_only"],"activates_files":true},"evidence_bundle":{"acceptance_gate":{"recommended_action":"stage_or_request_confirmation","rule":"Agents should only activate an asset after evidence_bundle.integrity, policy_compatibility, rollback, and post_verify have been inspected.","status":"caution"},"asset_title":"Amp by Sourcegraph — Whole-Repo AI Coding Agent","asset_uuid":"bb158873-5e3a-4f74-be9b-5660b33303b9","eval_evidence":["https://tokrepo.com/evals/install-safety.json","https://tokrepo.com/evals/trust-evidence-coverage.json","https://tokrepo.com/evals/handoff-quality.json"],"generated_at":"2026-07-01T13:47:16Z","integrity":{"content_hash":"8770c7cf14ca8efab8f07f9f84cf2f67876b93897604514dcac0897bd89d3d5a","declared_content_hash":"12a5e52aa1719275038b21e38ee98ac6b88ebb74f674ef9e872fc0396e1d4e80","file_count":1,"hash_algorithm":"sha256","install_plan_hash":"598341a0fbaf600c9f01da91c26ee9c093fc40aff134b2c0c9e8252f6f052539"},"policy_compatibility":{"permission_envelope":{"destructive":false,"executes_code":false,"file_count":1,"filesystem_write":["~/.codex/tokrepo/staged"],"global_config_write":true,"network":false,"requires_secrets":["SRC_ACCESS_TOKEN"],"uses_absolute_paths":false},"policy_decision":{"decision":"stage_only","requires_confirmation":false,"reasons":["asset_kind mcp_config is not activated directly for Codex","install_mode is stage_only","risk_profile.modifies_global_config is true","risk_profile.requires_secrets is not empty","low trust publisher plus dangerous capability requires staging"]},"requires_confirmation":false,"target":"codex","trust_score_v2":{"recommended_action":"stage_or_request_confirmation","status":"caution","trust_score":50}},"provenance":{"asset_kind":"mcp_config","asset_title":"Amp by Sourcegraph — Whole-Repo AI Coding Agent","asset_uuid":"bb158873-5e3a-4f74-be9b-5660b33303b9","computed_bundle_hash":"8770c7cf14ca8efab8f07f9f84cf2f67876b93897604514dcac0897bd89d3d5a","content_hash":"12a5e52aa1719275038b21e38ee98ac6b88ebb74f674ef9e872fc0396e1d4e80","created_at":"2026-05-07 21:24:24","generated_at":"2026-07-01T13:47:16Z","install_plan_hash":"598341a0fbaf600c9f01da91c26ee9c093fc40aff134b2c0c9e8252f6f052539","owner_name":"Sourcegraph","owner_uuid":"9ad55b56-afc0-4c0a-a2c9-0eeae4f2b948","parent_uuid":"","schema_version":2,"source":"tokrepo_asset","source_url":"https://tokrepo.com/en/workflows/amp-by-sourcegraph-whole-repo-ai-coding-agent","updated_at":"2026-07-01 21:45:02","visibility":1},"sbom":{"asset_kind":"mcp_config","asset_title":"Amp by Sourcegraph — Whole-Repo AI Coding Agent","asset_uuid":"bb158873-5e3a-4f74-be9b-5660b33303b9","capability_flags":{"destructive":false,"executes_code":false,"modifies_global_config":true,"network_access":false,"requires_secrets":["SRC_ACCESS_TOKEN"]},"content_hash":"8770c7cf14ca8efab8f07f9f84cf2f67876b93897604514dcac0897bd89d3d5a","dependencies":{"brew":["sourcegraph/amp/amp"],"mcp":[],"npm":[],"pip":[],"system":[]},"files":[{"bytes":6381,"path":"~/.codex/tokrepo/staged/bb158873-5e3a-4f74-be9b-5660b33303b9/Asset.md","role":"supporting_file","sha256":"14d31283fa9cf39bc487373cee8e48ddbb2bc05b7098820f5dbef602f7c7adf5","source_name":"Asset"}],"format":"SBOM-lite","install_mode":"stage_only","schema_version":1,"target":"codex"},"schema":"https://tokrepo.com/schemas/agent-evidence-bundle.schema.json","schema_version":1,"schemas":{"asset_verification":"https://tokrepo.com/schemas/asset-verification.schema.json","evidence_bundle":"https://tokrepo.com/schemas/agent-evidence-bundle.schema.json","install_plan":"https://tokrepo.com/schemas/install-plan.schema.json","provenance":"https://tokrepo.com/schemas/provenance.schema.json","sbom":"https://tokrepo.com/schemas/agent-evidence-bundle.schema.json#/properties/sbom"},"signature_evidence":{"content_hash":"8770c7cf14ca8efab8f07f9f84cf2f67876b93897604514dcac0897bd89d3d5a","hash_algorithm":"sha256","install_plan_hash":"598341a0fbaf600c9f01da91c26ee9c093fc40aff134b2c0c9e8252f6f052539","schema_version":1,"signed_hash":"12a5e52aa1719275038b21e38ee98ac6b88ebb74f674ef9e872fc0396e1d4e80","status":"hash_only","verification_notes":["hash_only evidence proves content integrity but not publisher identity unless an external signature verifies it"]},"source_url":"https://tokrepo.com/en/workflows/amp-by-sourcegraph-whole-repo-ai-coding-agent","target":"codex"},"sbom":{"asset_kind":"mcp_config","asset_title":"Amp by Sourcegraph — Whole-Repo AI Coding Agent","asset_uuid":"bb158873-5e3a-4f74-be9b-5660b33303b9","capability_flags":{"destructive":false,"executes_code":false,"modifies_global_config":true,"network_access":false,"requires_secrets":["SRC_ACCESS_TOKEN"]},"content_hash":"8770c7cf14ca8efab8f07f9f84cf2f67876b93897604514dcac0897bd89d3d5a","dependencies":{"brew":["sourcegraph/amp/amp"],"mcp":[],"npm":[],"pip":[],"system":[]},"files":[{"bytes":6381,"path":"~/.codex/tokrepo/staged/bb158873-5e3a-4f74-be9b-5660b33303b9/Asset.md","role":"supporting_file","sha256":"14d31283fa9cf39bc487373cee8e48ddbb2bc05b7098820f5dbef602f7c7adf5","source_name":"Asset"}],"format":"SBOM-lite","install_mode":"stage_only","schema_version":1,"target":"codex"},"signature_evidence":{"content_hash":"8770c7cf14ca8efab8f07f9f84cf2f67876b93897604514dcac0897bd89d3d5a","hash_algorithm":"sha256","install_plan_hash":"598341a0fbaf600c9f01da91c26ee9c093fc40aff134b2c0c9e8252f6f052539","schema_version":1,"signed_hash":"12a5e52aa1719275038b21e38ee98ac6b88ebb74f674ef9e872fc0396e1d4e80","status":"hash_only","verification_notes":["hash_only evidence proves content integrity but not publisher identity unless an external signature verifies it"]},"provenance_v2":{"asset_kind":"mcp_config","asset_title":"Amp by Sourcegraph — Whole-Repo AI Coding Agent","asset_uuid":"bb158873-5e3a-4f74-be9b-5660b33303b9","computed_bundle_hash":"8770c7cf14ca8efab8f07f9f84cf2f67876b93897604514dcac0897bd89d3d5a","content_hash":"12a5e52aa1719275038b21e38ee98ac6b88ebb74f674ef9e872fc0396e1d4e80","created_at":"2026-05-07 21:24:24","generated_at":"2026-07-01T13:47:16Z","install_plan_hash":"598341a0fbaf600c9f01da91c26ee9c093fc40aff134b2c0c9e8252f6f052539","owner_name":"Sourcegraph","owner_uuid":"9ad55b56-afc0-4c0a-a2c9-0eeae4f2b948","parent_uuid":"","schema_version":2,"source":"tokrepo_asset","source_url":"https://tokrepo.com/en/workflows/amp-by-sourcegraph-whole-repo-ai-coding-agent","updated_at":"2026-07-01 21:45:02","visibility":1},"transitive_dependencies":null}}