contract.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. {
  2. "schema": "agent-team-contract-v1",
  3. "project_id": "prod2u-door-temp",
  4. "authority_documents": [
  5. "projects/prod2u-door-temp/project.json",
  6. "projects/prod2u-door-temp/requirements.zh-CN.md",
  7. "docs/prod2u-door-temp-protocol.zh-CN.md"
  8. ],
  9. "teams": {
  10. "implementation": {
  11. "role": "Team A - Implementation & Build",
  12. "owns": [
  13. "src/**",
  14. "constraints/**",
  15. "tools/generate_project.py",
  16. "tools/codex_harness.py",
  17. "tools/prod2u_p4_harness.py",
  18. "tools/prod2u_p4_normal_v3_build.py",
  19. "tools/run_verification_matrix.py",
  20. "config/source_closure.json",
  21. "td/syn/*.tcl",
  22. "td/phy/*.tcl",
  23. "td/bitgen/*.tcl",
  24. "td/*.prj"
  25. ],
  26. "does_not_write": [
  27. "tests/**",
  28. "tests/formal/**",
  29. "tests/cocotb/**"
  30. ]
  31. },
  32. "test_contract": {
  33. "role": "Team B - Test Contract",
  34. "owns": [
  35. "tests/unit/**",
  36. "tests/sim/**",
  37. "tests/cocotb/**",
  38. "tests/formal/**",
  39. "config/prod2u_p4_verification_targets_v1.json"
  40. ],
  41. "does_not_write": [
  42. "src/**",
  43. "tools/codex_harness.py",
  44. "tools/prod2u_p4_harness.py",
  45. "tools/prod2u_p4_normal_v3_build.py"
  46. ]
  47. },
  48. "verification": {
  49. "role": "Team C - Parallel Verification",
  50. "owns": [],
  51. "external_roots": [
  52. "C:\\Users\\Administrator\\CodexTemp\\prod2u-unit-*",
  53. "C:\\Users\\Administrator\\CodexTemp\\prod2u-icarus-*",
  54. "C:\\Users\\Administrator\\CodexTemp\\prod2u-verilator-*",
  55. "C:\\Users\\Administrator\\CodexTemp\\prod2u-cocotb-*",
  56. "C:\\Users\\Administrator\\CodexTemp\\prod2u-formal-*",
  57. "C:\\Users\\Administrator\\CodexTemp\\prod2u-td-*",
  58. "C:\\Users\\Administrator\\CodexTemp\\prod2u-offline-*",
  59. "C:\\Users\\Administrator\\CodexTemp\\prod2u-dist-*"
  60. ],
  61. "does_not_write": [
  62. "src/**",
  63. "tests/**",
  64. "tools/**"
  65. ]
  66. },
  67. "triage": {
  68. "role": "Team D - Failure Triage",
  69. "owns": [],
  70. "read_only": true
  71. },
  72. "release_integrator": {
  73. "role": "Release Integrator",
  74. "owns": [
  75. "AGENTS.md",
  76. "agent-team/**",
  77. ".devin/**",
  78. ".agents/**",
  79. ".cursor/**",
  80. "README.zh-CN.md",
  81. "ACCEPTANCE_MATRIX.md",
  82. "PLAN.md",
  83. "WORKTREE_PLAN.md"
  84. ],
  85. "exclusive_powers": [
  86. "stage commits",
  87. "resolve ownership conflicts",
  88. "select final candidate commit",
  89. "run final TD primary/confirmation",
  90. "promote VERIFIED_OFFLINE package"
  91. ]
  92. }
  93. },
  94. "gates": {
  95. "contract_freeze": true,
  96. "software_matrix_green": true,
  97. "td_primary_and_confirmation": true,
  98. "five_angle_audit": true,
  99. "verified_offline_only_after_all_pass": true
  100. },
  101. "evidence_policy": {
  102. "receipt_fields": [
  103. "verification_run_id",
  104. "commit",
  105. "commit_full",
  106. "project_config_sha256",
  107. "td_source_manifest_sha256",
  108. "command",
  109. "tool_version",
  110. "status",
  111. "bitstream_sha256"
  112. ],
  113. "pass_receipts_must_be_complete": true,
  114. "incomplete_receipts_are_blocked_or_placeholder": true,
  115. "no_com_jtag_programming": true,
  116. "hardware_validation_not_run": true
  117. }
  118. }