specstamp 0.11.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (345) hide show
  1. specstamp-0.11.0/CHANGELOG.md +12 -0
  2. specstamp-0.11.0/CODE_OF_CONDUCT.md +15 -0
  3. specstamp-0.11.0/CONTRIBUTING.md +54 -0
  4. specstamp-0.11.0/LICENSE +201 -0
  5. specstamp-0.11.0/MANIFEST.in +14 -0
  6. specstamp-0.11.0/NOTICE +11 -0
  7. specstamp-0.11.0/PKG-INFO +182 -0
  8. specstamp-0.11.0/README.md +139 -0
  9. specstamp-0.11.0/SECURITY.md +19 -0
  10. specstamp-0.11.0/assets/brand/specstamp-logo-dark.png +0 -0
  11. specstamp-0.11.0/assets/brand/specstamp-logo-dark.svg +11 -0
  12. specstamp-0.11.0/assets/brand/specstamp-logo.png +0 -0
  13. specstamp-0.11.0/assets/brand/specstamp-logo.svg +11 -0
  14. specstamp-0.11.0/assets/brand/specstamp-mark-512.png +0 -0
  15. specstamp-0.11.0/assets/brand/specstamp-mark.svg +8 -0
  16. specstamp-0.11.0/assets/brand/specstamp-social-preview.png +0 -0
  17. specstamp-0.11.0/assets/brand/specstamp-social-preview.svg +31 -0
  18. specstamp-0.11.0/bin/codex-sdlc +71 -0
  19. specstamp-0.11.0/bin/specstamp +71 -0
  20. specstamp-0.11.0/docs/faq.md +64 -0
  21. specstamp-0.11.0/docs/index.md +38 -0
  22. specstamp-0.11.0/docs/philosophy.md +44 -0
  23. specstamp-0.11.0/docs/quality-and-security.md +42 -0
  24. specstamp-0.11.0/docs/quick-start.md +104 -0
  25. specstamp-0.11.0/docs/user-guide.md +102 -0
  26. specstamp-0.11.0/docs/zh-CN/index.md +37 -0
  27. specstamp-0.11.0/docs/zh-CN//344/275/277/347/224/250/346/214/207/345/215/227.md +104 -0
  28. specstamp-0.11.0/docs/zh-CN//345/270/270/350/247/201/351/227/256/351/242/230.md +64 -0
  29. specstamp-0.11.0/docs/zh-CN//345/277/253/351/200/237/345/274/200/345/247/213.md +100 -0
  30. specstamp-0.11.0/docs/zh-CN//347/220/206/345/277/265/344/270/216/347/201/265/346/204/237.md +46 -0
  31. specstamp-0.11.0/docs/zh-CN//350/264/250/351/207/217/344/270/216/345/256/211/345/205/250.md +42 -0
  32. specstamp-0.11.0/docs//350/265/204/346/272/220/specstamp-mark.svg +8 -0
  33. specstamp-0.11.0/docs//350/265/204/346/272/220//345/277/253/351/200/237/344/275/223/351/252/214.gif +0 -0
  34. specstamp-0.11.0/docs//350/265/204/346/272/220//346/240/267/345/274/217.css +24 -0
  35. specstamp-0.11.0/examples//346/234/200/345/260/217/351/241/271/347/233/256//347/244/272/344/276/213/350/257/264/346/230/216.md +43 -0
  36. specstamp-0.11.0/examples//346/234/200/345/260/217/351/241/271/347/233/256//350/277/220/350/241/214/347/244/272/344/276/213.sh +44 -0
  37. specstamp-0.11.0/examples//346/234/200/345/260/217/351/241/271/347/233/256//351/234/200/346/261/202/350/265/204/346/226/231.md +5 -0
  38. specstamp-0.11.0/pyproject.toml +95 -0
  39. specstamp-0.11.0/scripts/install_specstamp.py +442 -0
  40. specstamp-0.11.0/setup.cfg +4 -0
  41. specstamp-0.11.0/setup.py +31 -0
  42. specstamp-0.11.0/shared-skills/agent-capability-sync/SKILL.md +44 -0
  43. specstamp-0.11.0/skills/sdlc-accept/SKILL.md +19 -0
  44. specstamp-0.11.0/skills/sdlc-add/SKILL.md +43 -0
  45. specstamp-0.11.0/skills/sdlc-agent-sync/SKILL.md +29 -0
  46. specstamp-0.11.0/skills/sdlc-audit/SKILL.md +22 -0
  47. specstamp-0.11.0/skills/sdlc-backup/SKILL.md +20 -0
  48. specstamp-0.11.0/skills/sdlc-backup-clean/SKILL.md +18 -0
  49. specstamp-0.11.0/skills/sdlc-backup-list/SKILL.md +21 -0
  50. specstamp-0.11.0/skills/sdlc-capture/SKILL.md +21 -0
  51. specstamp-0.11.0/skills/sdlc-capture-change/SKILL.md +19 -0
  52. specstamp-0.11.0/skills/sdlc-capture-link/SKILL.md +21 -0
  53. specstamp-0.11.0/skills/sdlc-capture-requirement/SKILL.md +16 -0
  54. specstamp-0.11.0/skills/sdlc-change/SKILL.md +78 -0
  55. specstamp-0.11.0/skills/sdlc-change-accept/SKILL.md +22 -0
  56. specstamp-0.11.0/skills/sdlc-change-capture/SKILL.md +19 -0
  57. specstamp-0.11.0/skills/sdlc-change-plan/SKILL.md +23 -0
  58. specstamp-0.11.0/skills/sdlc-clean/SKILL.md +17 -0
  59. specstamp-0.11.0/skills/sdlc-clean-confirm/SKILL.md +17 -0
  60. specstamp-0.11.0/skills/sdlc-context/SKILL.md +24 -0
  61. specstamp-0.11.0/skills/sdlc-design/SKILL.md +111 -0
  62. specstamp-0.11.0/skills/sdlc-design-accept/SKILL.md +52 -0
  63. specstamp-0.11.0/skills/sdlc-discuss/SKILL.md +93 -0
  64. specstamp-0.11.0/skills/sdlc-discuss-link/SKILL.md +19 -0
  65. specstamp-0.11.0/skills/sdlc-docs/SKILL.md +27 -0
  66. specstamp-0.11.0/skills/sdlc-doctor/SKILL.md +19 -0
  67. specstamp-0.11.0/skills/sdlc-doctor-deep/SKILL.md +23 -0
  68. specstamp-0.11.0/skills/sdlc-doctor-install/SKILL.md +15 -0
  69. specstamp-0.11.0/skills/sdlc-doctor-repair/SKILL.md +21 -0
  70. specstamp-0.11.0/skills/sdlc-export/SKILL.md +17 -0
  71. specstamp-0.11.0/skills/sdlc-export-requirement/SKILL.md +15 -0
  72. specstamp-0.11.0/skills/sdlc-finish/SKILL.md +17 -0
  73. specstamp-0.11.0/skills/sdlc-fix/SKILL.md +26 -0
  74. specstamp-0.11.0/skills/sdlc-goal/SKILL.md +57 -0
  75. specstamp-0.11.0/skills/sdlc-grill/SKILL.md +52 -0
  76. specstamp-0.11.0/skills/sdlc-handoff/SKILL.md +19 -0
  77. specstamp-0.11.0/skills/sdlc-hooks-upgrade/SKILL.md +21 -0
  78. specstamp-0.11.0/skills/sdlc-init/SKILL.md +19 -0
  79. specstamp-0.11.0/skills/sdlc-init-basic/SKILL.md +17 -0
  80. specstamp-0.11.0/skills/sdlc-init-basic-plain/SKILL.md +17 -0
  81. specstamp-0.11.0/skills/sdlc-init-plain/SKILL.md +19 -0
  82. specstamp-0.11.0/skills/sdlc-lessons/SKILL.md +27 -0
  83. specstamp-0.11.0/skills/sdlc-light-start/SKILL.md +16 -0
  84. specstamp-0.11.0/skills/sdlc-material/SKILL.md +60 -0
  85. specstamp-0.11.0/skills/sdlc-next/SKILL.md +43 -0
  86. specstamp-0.11.0/skills/sdlc-plan/SKILL.md +20 -0
  87. specstamp-0.11.0/skills/sdlc-plan-add-task/SKILL.md +18 -0
  88. specstamp-0.11.0/skills/sdlc-plan-amend-task/SKILL.md +19 -0
  89. specstamp-0.11.0/skills/sdlc-plan-close/SKILL.md +17 -0
  90. specstamp-0.11.0/skills/sdlc-plan-depends/SKILL.md +17 -0
  91. specstamp-0.11.0/skills/sdlc-plan-priority/SKILL.md +17 -0
  92. specstamp-0.11.0/skills/sdlc-plan-reorder/SKILL.md +17 -0
  93. specstamp-0.11.0/skills/sdlc-regression/SKILL.md +18 -0
  94. specstamp-0.11.0/skills/sdlc-restore/SKILL.md +26 -0
  95. specstamp-0.11.0/skills/sdlc-start/SKILL.md +68 -0
  96. specstamp-0.11.0/skills/sdlc-status/SKILL.md +44 -0
  97. specstamp-0.11.0/skills/sdlc-task/SKILL.md +63 -0
  98. specstamp-0.11.0/skills/sdlc-task-done/SKILL.md +19 -0
  99. specstamp-0.11.0/skills/sdlc-task-pause/SKILL.md +18 -0
  100. specstamp-0.11.0/skills/sdlc-task-restore/SKILL.md +22 -0
  101. specstamp-0.11.0/skills/sdlc-tasks/SKILL.md +67 -0
  102. specstamp-0.11.0/skills/sdlc-version/SKILL.md +14 -0
  103. specstamp-0.11.0/src/codex_sdlc/__init__.py +5 -0
  104. specstamp-0.11.0/src/codex_sdlc/adapters/__init__.py +1 -0
  105. specstamp-0.11.0/src/codex_sdlc/cli.py +418 -0
  106. specstamp-0.11.0/src/codex_sdlc/commands/__init__.py +1 -0
  107. specstamp-0.11.0/src/codex_sdlc/commands/accept_cmd.py +122 -0
  108. specstamp-0.11.0/src/codex_sdlc/commands/add_cmd.py +135 -0
  109. specstamp-0.11.0/src/codex_sdlc/commands/agent_sync_cmd.py +76 -0
  110. specstamp-0.11.0/src/codex_sdlc/commands/backup_cmd.py +270 -0
  111. specstamp-0.11.0/src/codex_sdlc/commands/capture_cmd.py +380 -0
  112. specstamp-0.11.0/src/codex_sdlc/commands/change_cmd.py +538 -0
  113. specstamp-0.11.0/src/codex_sdlc/commands/clean_cmd.py +171 -0
  114. specstamp-0.11.0/src/codex_sdlc/commands/context_cmd.py +231 -0
  115. specstamp-0.11.0/src/codex_sdlc/commands/design_cmd.py +262 -0
  116. specstamp-0.11.0/src/codex_sdlc/commands/docs_cmd.py +469 -0
  117. specstamp-0.11.0/src/codex_sdlc/commands/doctor_cmd.py +916 -0
  118. specstamp-0.11.0/src/codex_sdlc/commands/draft_cmd.py +590 -0
  119. specstamp-0.11.0/src/codex_sdlc/commands/export_cmd.py +266 -0
  120. specstamp-0.11.0/src/codex_sdlc/commands/facts_cmd.py +132 -0
  121. specstamp-0.11.0/src/codex_sdlc/commands/finish_cmd.py +83 -0
  122. specstamp-0.11.0/src/codex_sdlc/commands/grill_cmd.py +216 -0
  123. specstamp-0.11.0/src/codex_sdlc/commands/handoff_cmd.py +24 -0
  124. specstamp-0.11.0/src/codex_sdlc/commands/hooks_cmd.py +23 -0
  125. specstamp-0.11.0/src/codex_sdlc/commands/init_cmd.py +60 -0
  126. specstamp-0.11.0/src/codex_sdlc/commands/lessons_cmd.py +371 -0
  127. specstamp-0.11.0/src/codex_sdlc/commands/material_cmd.py +993 -0
  128. specstamp-0.11.0/src/codex_sdlc/commands/next_cmd.py +23 -0
  129. specstamp-0.11.0/src/codex_sdlc/commands/placeholder_cmd.py +20 -0
  130. specstamp-0.11.0/src/codex_sdlc/commands/plan_cmd.py +1964 -0
  131. specstamp-0.11.0/src/codex_sdlc/commands/regression_cmd.py +545 -0
  132. specstamp-0.11.0/src/codex_sdlc/commands/review_cmd.py +115 -0
  133. specstamp-0.11.0/src/codex_sdlc/commands/start_cmd.py +33 -0
  134. specstamp-0.11.0/src/codex_sdlc/commands/status_cmd.py +23 -0
  135. specstamp-0.11.0/src/codex_sdlc/commands/task_cmd.py +3619 -0
  136. specstamp-0.11.0/src/codex_sdlc/core/__init__.py +1 -0
  137. specstamp-0.11.0/src/codex_sdlc/core/agent_sync.py +1824 -0
  138. specstamp-0.11.0/src/codex_sdlc/core/artifact_index.py +828 -0
  139. specstamp-0.11.0/src/codex_sdlc/core/atomic_import.py +984 -0
  140. specstamp-0.11.0/src/codex_sdlc/core/backup.py +2328 -0
  141. specstamp-0.11.0/src/codex_sdlc/core/change_contract.py +1335 -0
  142. specstamp-0.11.0/src/codex_sdlc/core/change_migration.py +676 -0
  143. specstamp-0.11.0/src/codex_sdlc/core/change_workspace.py +2341 -0
  144. specstamp-0.11.0/src/codex_sdlc/core/code_evidence.py +1019 -0
  145. specstamp-0.11.0/src/codex_sdlc/core/codegraph_context.py +616 -0
  146. specstamp-0.11.0/src/codex_sdlc/core/codex_assets.py +185 -0
  147. specstamp-0.11.0/src/codex_sdlc/core/command_registry.py +115 -0
  148. specstamp-0.11.0/src/codex_sdlc/core/dependency_graph.py +564 -0
  149. specstamp-0.11.0/src/codex_sdlc/core/design_artifact_contract.py +1043 -0
  150. specstamp-0.11.0/src/codex_sdlc/core/design_plan_contract.py +449 -0
  151. specstamp-0.11.0/src/codex_sdlc/core/design_summary_contract.py +855 -0
  152. specstamp-0.11.0/src/codex_sdlc/core/draft_artifacts.py +711 -0
  153. specstamp-0.11.0/src/codex_sdlc/core/draft_contract.py +224 -0
  154. specstamp-0.11.0/src/codex_sdlc/core/draft_lifecycle.py +960 -0
  155. specstamp-0.11.0/src/codex_sdlc/core/draft_ownership.py +106 -0
  156. specstamp-0.11.0/src/codex_sdlc/core/draft_sections.py +140 -0
  157. specstamp-0.11.0/src/codex_sdlc/core/environment.py +52 -0
  158. specstamp-0.11.0/src/codex_sdlc/core/errors.py +7 -0
  159. specstamp-0.11.0/src/codex_sdlc/core/external_version.py +180 -0
  160. specstamp-0.11.0/src/codex_sdlc/core/fact_artifacts.py +650 -0
  161. specstamp-0.11.0/src/codex_sdlc/core/fact_gate.py +544 -0
  162. specstamp-0.11.0/src/codex_sdlc/core/fact_review_trust.py +727 -0
  163. specstamp-0.11.0/src/codex_sdlc/core/fact_schema.py +344 -0
  164. specstamp-0.11.0/src/codex_sdlc/core/formal_manifest_contract.py +324 -0
  165. specstamp-0.11.0/src/codex_sdlc/core/git_tools.py +130 -0
  166. specstamp-0.11.0/src/codex_sdlc/core/id_allocator.py +194 -0
  167. specstamp-0.11.0/src/codex_sdlc/core/lessons.py +371 -0
  168. specstamp-0.11.0/src/codex_sdlc/core/markdown_contract.py +209 -0
  169. specstamp-0.11.0/src/codex_sdlc/core/project.py +299 -0
  170. specstamp-0.11.0/src/codex_sdlc/core/reference_index.py +1063 -0
  171. specstamp-0.11.0/src/codex_sdlc/core/reference_locator.py +487 -0
  172. specstamp-0.11.0/src/codex_sdlc/core/render.py +14 -0
  173. specstamp-0.11.0/src/codex_sdlc/core/requirement_contract.py +603 -0
  174. specstamp-0.11.0/src/codex_sdlc/core/review_contract.py +337 -0
  175. specstamp-0.11.0/src/codex_sdlc/core/start_contract.py +805 -0
  176. specstamp-0.11.0/src/codex_sdlc/core/start_staging.py +1196 -0
  177. specstamp-0.11.0/src/codex_sdlc/core/start_transaction.py +1078 -0
  178. specstamp-0.11.0/src/codex_sdlc/core/state.py +9349 -0
  179. specstamp-0.11.0/src/codex_sdlc/core/structured_contract.py +251 -0
  180. specstamp-0.11.0/src/codex_sdlc/core/task_contract.py +2108 -0
  181. specstamp-0.11.0/src/codex_sdlc/core/task_coverage_contract.py +918 -0
  182. specstamp-0.11.0/src/codex_sdlc/core/task_evidence.py +394 -0
  183. specstamp-0.11.0/src/codex_sdlc/core/task_ids.py +21 -0
  184. specstamp-0.11.0/src/codex_sdlc/core/task_outputs.py +918 -0
  185. specstamp-0.11.0/src/codex_sdlc/core/task_pack.py +28 -0
  186. specstamp-0.11.0/src/codex_sdlc/core/task_pack_contract.py +3 -0
  187. specstamp-0.11.0/src/codex_sdlc/core/task_quality.py +116 -0
  188. specstamp-0.11.0/src/codex_sdlc/core/task_read_manifest.py +188 -0
  189. specstamp-0.11.0/src/codex_sdlc/core/task_run.py +2255 -0
  190. specstamp-0.11.0/src/codex_sdlc/legacy/__init__.py +4 -0
  191. specstamp-0.11.0/src/codex_sdlc/legacy/task_pack_reader.py +352 -0
  192. specstamp-0.11.0/src/codex_sdlc/schemas/__init__.py +64 -0
  193. specstamp-0.11.0/src/codex_sdlc/schemas/artifact-index.v1.json +120 -0
  194. specstamp-0.11.0/src/codex_sdlc/schemas/atomic-import-registry.v1.json +83 -0
  195. specstamp-0.11.0/src/codex_sdlc/schemas/atomic-import-result.v1.json +73 -0
  196. specstamp-0.11.0/src/codex_sdlc/schemas/atomic-import-transaction.v1.json +142 -0
  197. specstamp-0.11.0/src/codex_sdlc/schemas/atomic-import.v1.json +139 -0
  198. specstamp-0.11.0/src/codex_sdlc/schemas/change-material-manifest.v1.json +474 -0
  199. specstamp-0.11.0/src/codex_sdlc/schemas/change-package.v1.json +1014 -0
  200. specstamp-0.11.0/src/codex_sdlc/schemas/change-workspace.v1.json +92 -0
  201. specstamp-0.11.0/src/codex_sdlc/schemas/code-evidence.v1.json +93 -0
  202. specstamp-0.11.0/src/codex_sdlc/schemas/design-artifact.v1.json +910 -0
  203. specstamp-0.11.0/src/codex_sdlc/schemas/design-facts.v1.json +565 -0
  204. specstamp-0.11.0/src/codex_sdlc/schemas/design-node-index.v1.json +60 -0
  205. specstamp-0.11.0/src/codex_sdlc/schemas/design-plan.v1.json +280 -0
  206. specstamp-0.11.0/src/codex_sdlc/schemas/design-reference-index.v1.json +181 -0
  207. specstamp-0.11.0/src/codex_sdlc/schemas/design-reference.v1.json +240 -0
  208. specstamp-0.11.0/src/codex_sdlc/schemas/design-summary.v1.json +221 -0
  209. specstamp-0.11.0/src/codex_sdlc/schemas/external-version-evidence.v1.json +95 -0
  210. specstamp-0.11.0/src/codex_sdlc/schemas/formal-document-first.v3.json +136 -0
  211. specstamp-0.11.0/src/codex_sdlc/schemas/material-manifest.v1.json +524 -0
  212. specstamp-0.11.0/src/codex_sdlc/schemas/model-review.v1.json +141 -0
  213. specstamp-0.11.0/src/codex_sdlc/schemas/projected-design.v2.json +1 -0
  214. specstamp-0.11.0/src/codex_sdlc/schemas/projected-reference-index.v2.json +1 -0
  215. specstamp-0.11.0/src/codex_sdlc/schemas/projected-requirement.v2.json +1 -0
  216. specstamp-0.11.0/src/codex_sdlc/schemas/projected-task-plan.v2.json +1 -0
  217. specstamp-0.11.0/src/codex_sdlc/schemas/projected-test-matrix.v2.json +1 -0
  218. specstamp-0.11.0/src/codex_sdlc/schemas/reference-index.v1.json +54 -0
  219. specstamp-0.11.0/src/codex_sdlc/schemas/reference-locator.v1.json +615 -0
  220. specstamp-0.11.0/src/codex_sdlc/schemas/requirement-confirmation.v1.json +98 -0
  221. specstamp-0.11.0/src/codex_sdlc/schemas/requirement-coverage.v1.json +304 -0
  222. specstamp-0.11.0/src/codex_sdlc/schemas/requirement-facts.v1.json +699 -0
  223. specstamp-0.11.0/src/codex_sdlc/schemas/requirement-split.v1.json +380 -0
  224. specstamp-0.11.0/src/codex_sdlc/schemas/review-request.v1.json +83 -0
  225. specstamp-0.11.0/src/codex_sdlc/schemas/review-result.v1.json +139 -0
  226. specstamp-0.11.0/src/codex_sdlc/schemas/review-trust-registry.v1.json +162 -0
  227. specstamp-0.11.0/src/codex_sdlc/schemas/secret-reference.v1.json +52 -0
  228. specstamp-0.11.0/src/codex_sdlc/schemas/source-index.v1.json +262 -0
  229. specstamp-0.11.0/src/codex_sdlc/schemas/task-coverage.v1.json +168 -0
  230. specstamp-0.11.0/src/codex_sdlc/schemas/task-feedback.v1.json +54 -0
  231. specstamp-0.11.0/src/codex_sdlc/schemas/task-plan.v2.json +189 -0
  232. specstamp-0.11.0/src/codex_sdlc/schemas/task-read-manifest.v1.json +68 -0
  233. specstamp-0.11.0/src/codex_sdlc/schemas/task-run.v1.json +98 -0
  234. specstamp-0.11.0/src/codex_sdlc/schemas/task.v2.json +283 -0
  235. specstamp-0.11.0/src/codex_sdlc/services/__init__.py +1 -0
  236. specstamp-0.11.0/src/codex_sdlc/services/capture_service.py +158 -0
  237. specstamp-0.11.0/src/codex_sdlc/services/change_service.py +1984 -0
  238. specstamp-0.11.0/src/codex_sdlc/services/design_service.py +1650 -0
  239. specstamp-0.11.0/src/codex_sdlc/services/discuss_service.py +1114 -0
  240. specstamp-0.11.0/src/codex_sdlc/services/draft_service.py +1329 -0
  241. specstamp-0.11.0/src/codex_sdlc/services/review_service.py +3387 -0
  242. specstamp-0.11.0/src/codex_sdlc/services/start_service.py +851 -0
  243. specstamp-0.11.0/src/codex_sdlc/templates/__init__.py +1 -0
  244. specstamp-0.11.0/src/specstamp.egg-info/PKG-INFO +182 -0
  245. specstamp-0.11.0/src/specstamp.egg-info/SOURCES.txt +343 -0
  246. specstamp-0.11.0/src/specstamp.egg-info/dependency_links.txt +1 -0
  247. specstamp-0.11.0/src/specstamp.egg-info/entry_points.txt +3 -0
  248. specstamp-0.11.0/src/specstamp.egg-info/requires.txt +12 -0
  249. specstamp-0.11.0/src/specstamp.egg-info/top_level.txt +1 -0
  250. specstamp-0.11.0/tests/contracts/test_atomic_import_contract.py +665 -0
  251. specstamp-0.11.0/tests/contracts/test_change_material_contract.py +907 -0
  252. specstamp-0.11.0/tests/contracts/test_change_migration_contract.py +599 -0
  253. specstamp-0.11.0/tests/contracts/test_change_package_contract.py +630 -0
  254. specstamp-0.11.0/tests/contracts/test_change_projection_equality.py +127 -0
  255. specstamp-0.11.0/tests/contracts/test_change_review_invalidation.py +225 -0
  256. specstamp-0.11.0/tests/contracts/test_change_task_run_protection.py +331 -0
  257. specstamp-0.11.0/tests/contracts/test_change_transaction_recovery.py +397 -0
  258. specstamp-0.11.0/tests/contracts/test_change_workspace_contract.py +608 -0
  259. specstamp-0.11.0/tests/contracts/test_cli_runtime_environment.py +257 -0
  260. specstamp-0.11.0/tests/contracts/test_code_evidence_contract.py +195 -0
  261. specstamp-0.11.0/tests/contracts/test_contract_cli_regressions.py +439 -0
  262. specstamp-0.11.0/tests/contracts/test_design_artifact_contract.py +560 -0
  263. specstamp-0.11.0/tests/contracts/test_design_material_migration.py +178 -0
  264. specstamp-0.11.0/tests/contracts/test_design_plan_contract.py +516 -0
  265. specstamp-0.11.0/tests/contracts/test_design_reference_contract.py +612 -0
  266. specstamp-0.11.0/tests/contracts/test_design_summary_contract.py +488 -0
  267. specstamp-0.11.0/tests/contracts/test_discuss_contract.py +519 -0
  268. specstamp-0.11.0/tests/contracts/test_document_first_start_contract.py +121 -0
  269. specstamp-0.11.0/tests/contracts/test_draft_artifact_layout.py +332 -0
  270. specstamp-0.11.0/tests/contracts/test_draft_lifecycle_contract.py +307 -0
  271. specstamp-0.11.0/tests/contracts/test_draft_material_contract.py +1028 -0
  272. specstamp-0.11.0/tests/contracts/test_fact_contract_quality_red.py +178 -0
  273. specstamp-0.11.0/tests/contracts/test_fact_materialization_quality_red.py +91 -0
  274. specstamp-0.11.0/tests/contracts/test_fact_trust_quality_red_round2.py +255 -0
  275. specstamp-0.11.0/tests/contracts/test_formal_archive_readers.py +216 -0
  276. specstamp-0.11.0/tests/contracts/test_formal_manifest_completeness.py +788 -0
  277. specstamp-0.11.0/tests/contracts/test_free_text_semantic_boundary.py +144 -0
  278. specstamp-0.11.0/tests/contracts/test_governance_invariants.py +108 -0
  279. specstamp-0.11.0/tests/contracts/test_governance_negative_matrix.py +135 -0
  280. specstamp-0.11.0/tests/contracts/test_id_allocator_contract.py +97 -0
  281. specstamp-0.11.0/tests/contracts/test_integrated_design_review_flow.py +836 -0
  282. specstamp-0.11.0/tests/contracts/test_legacy_task_pack_reader.py +207 -0
  283. specstamp-0.11.0/tests/contracts/test_long_task_document_contract.py +154 -0
  284. specstamp-0.11.0/tests/contracts/test_model_fact_cli_flow.py +218 -0
  285. specstamp-0.11.0/tests/contracts/test_model_fact_layer.py +299 -0
  286. specstamp-0.11.0/tests/contracts/test_no_production_natural_language_semantics.py +849 -0
  287. specstamp-0.11.0/tests/contracts/test_planning_change_migration.py +198 -0
  288. specstamp-0.11.0/tests/contracts/test_public_skill_cli_alignment.py +122 -0
  289. specstamp-0.11.0/tests/contracts/test_public_skill_cli_alignment_task_change.py +149 -0
  290. specstamp-0.11.0/tests/contracts/test_reference_index_contract.py +1124 -0
  291. specstamp-0.11.0/tests/contracts/test_reference_locator_contract.py +601 -0
  292. specstamp-0.11.0/tests/contracts/test_removed_task_pack_writers.py +211 -0
  293. specstamp-0.11.0/tests/contracts/test_requirement_confirmation_contract.py +652 -0
  294. specstamp-0.11.0/tests/contracts/test_requirement_coverage_contract.py +250 -0
  295. specstamp-0.11.0/tests/contracts/test_requirement_review_flow.py +598 -0
  296. specstamp-0.11.0/tests/contracts/test_requirement_split_contract.py +399 -0
  297. specstamp-0.11.0/tests/contracts/test_resource_ownership_contract.py +52 -0
  298. specstamp-0.11.0/tests/contracts/test_review_invalidation.py +734 -0
  299. specstamp-0.11.0/tests/contracts/test_review_request_contract.py +253 -0
  300. specstamp-0.11.0/tests/contracts/test_review_result_contract.py +272 -0
  301. specstamp-0.11.0/tests/contracts/test_stage_state_contract.py +126 -0
  302. specstamp-0.11.0/tests/contracts/test_start_architecture_contract.py +125 -0
  303. specstamp-0.11.0/tests/contracts/test_start_contract.py +325 -0
  304. specstamp-0.11.0/tests/contracts/test_start_staging_builder.py +777 -0
  305. specstamp-0.11.0/tests/contracts/test_start_transaction_recovery.py +554 -0
  306. specstamp-0.11.0/tests/contracts/test_structured_contract.py +303 -0
  307. specstamp-0.11.0/tests/contracts/test_task_coverage_contract.py +197 -0
  308. specstamp-0.11.0/tests/contracts/test_task_direct_start.py +160 -0
  309. specstamp-0.11.0/tests/contracts/test_task_done_run_gate.py +136 -0
  310. specstamp-0.11.0/tests/contracts/test_task_evidence_contract.py +137 -0
  311. specstamp-0.11.0/tests/contracts/test_task_outputs_contract.py +393 -0
  312. specstamp-0.11.0/tests/contracts/test_task_plan_review_flow.py +849 -0
  313. specstamp-0.11.0/tests/contracts/test_task_plan_v2_contract.py +943 -0
  314. specstamp-0.11.0/tests/contracts/test_task_planning_code_evidence.py +991 -0
  315. specstamp-0.11.0/tests/contracts/test_task_read_manifest.py +198 -0
  316. specstamp-0.11.0/tests/contracts/test_task_regression_migration.py +451 -0
  317. specstamp-0.11.0/tests/contracts/test_task_restore_contract.py +352 -0
  318. specstamp-0.11.0/tests/contracts/test_task_run_contract.py +55 -0
  319. specstamp-0.11.0/tests/contracts/test_task_run_invalidation.py +255 -0
  320. specstamp-0.11.0/tests/contracts/test_trusted_fact_gate_regressions.py +164 -0
  321. specstamp-0.11.0/tests/e2e/test_change_full_flow.py +23 -0
  322. specstamp-0.11.0/tests/e2e/test_document_first_full_flow.py +28 -0
  323. specstamp-0.11.0/tests/e2e/test_public_skills_document_first_flow.py +2314 -0
  324. specstamp-0.11.0/tests/e2e/test_task_run_full_flow.py +23 -0
  325. specstamp-0.11.0/tests/formal_package_factory.py +718 -0
  326. specstamp-0.11.0/tests/task9_real_link_check.py +158 -0
  327. specstamp-0.11.0/tests/test_backup_write_safety.py +131 -0
  328. specstamp-0.11.0/tests/test_cli_v1.py +1675 -0
  329. specstamp-0.11.0/tests/test_cli_v10_agent_sync.py +2219 -0
  330. specstamp-0.11.0/tests/test_cli_v11_grill.py +133 -0
  331. specstamp-0.11.0/tests/test_cli_v12_context_lessons.py +183 -0
  332. specstamp-0.11.0/tests/test_cli_v14_native_start.py +440 -0
  333. specstamp-0.11.0/tests/test_cli_v15_draft.py +2290 -0
  334. specstamp-0.11.0/tests/test_cli_v16_complex_e2e.py +827 -0
  335. specstamp-0.11.0/tests/test_cli_v17_draft_contract.py +939 -0
  336. specstamp-0.11.0/tests/test_cli_v18_draft_gate_flow.py +143 -0
  337. specstamp-0.11.0/tests/test_cli_v3.py +826 -0
  338. specstamp-0.11.0/tests/test_cli_v4_task_automation.py +1099 -0
  339. specstamp-0.11.0/tests/test_cli_v5_clean.py +100 -0
  340. specstamp-0.11.0/tests/test_cli_v6_discuss_prepare.py +971 -0
  341. specstamp-0.11.0/tests/test_cli_v7_design.py +556 -0
  342. specstamp-0.11.0/tests/test_cli_v8_backup.py +987 -0
  343. specstamp-0.11.0/tests/test_cli_v8_regression.py +953 -0
  344. specstamp-0.11.0/tests/test_install_clean_home.py +653 -0
  345. specstamp-0.11.0/tests/test_lessons_deep_scan_roots.py +69 -0
@@ -0,0 +1,12 @@
1
+ [English](CHANGELOG.md) · [简体中文](CHANGELOG.zh-CN.md)
2
+
3
+ # Changelog
4
+
5
+ ## 0.11.0 - 2026-08-30
6
+
7
+ - Established SpecStamp as an independent open-source project.
8
+ - Added the primary `specstamp` command and the compatible `codex-sdlc` command.
9
+ - Added local-first workflows for requirements, designs, tasks, changes, test evidence, and project state.
10
+ - Added GitHub project metadata, community entry points, and public installation guidance.
11
+ - Added a runnable example, a real terminal demo, and bilingual GitHub Pages documentation.
12
+ - Added full-suite coverage reporting, Dependabot, CodeQL, and trusted publishing.
@@ -0,0 +1,15 @@
1
+ **English** · [简体中文](CODE_OF_CONDUCT.zh-CN.md)
2
+
3
+ # Code of Conduct
4
+
5
+ SpecStamp aims to keep its Issues, Discussions, pull requests, code reviews, and other public spaces welcoming, clear, and productive.
6
+
7
+ Participants must:
8
+
9
+ - respect different experience levels, viewpoints, and use cases;
10
+ - discuss problems and code without personal attacks;
11
+ - communicate clearly and provide reproducible facts when possible;
12
+ - avoid harassment, discrimination, threats, malicious exposure, or unlawful content;
13
+ - never disclose another person's account details, contact information, secrets, or private material.
14
+
15
+ Maintainers may hide or remove content, close discussions, or restrict participation when these rules are violated. Enforcement decisions will be explained when practical.
@@ -0,0 +1,54 @@
1
+ **English** · [简体中文](CONTRIBUTING.zh-CN.md)
2
+
3
+ # Contributing to SpecStamp
4
+
5
+ Thank you for your interest in SpecStamp.
6
+
7
+ ## Choose the right channel
8
+
9
+ - Usage questions, workflow ideas, and experience sharing: use [GitHub Discussions](https://github.com/muyuqingqiu/specstamp/discussions).
10
+ - Reproducible feature, installation, or documentation problems: open an [Issue](https://github.com/muyuqingqiu/specstamp/issues/new/choose).
11
+ - Security-sensitive problems: use [private vulnerability reporting](https://github.com/muyuqingqiu/specstamp/security/advisories/new).
12
+
13
+ First-time contributors can start with issues labeled [`good first issue`](https://github.com/muyuqingqiu/specstamp/labels/good%20first%20issue) or [`help wanted`](https://github.com/muyuqingqiu/specstamp/labels/help%20wanted).
14
+
15
+ ## Local development
16
+
17
+ ```bash
18
+ python3 -m venv .venv
19
+ .venv/bin/pip install -e ".[dev]"
20
+ PYTHONDONTWRITEBYTECODE=1 .venv/bin/python -m pytest -q
21
+ ```
22
+
23
+ To generate a local coverage report:
24
+
25
+ ```bash
26
+ PYTHONDONTWRITEBYTECODE=1 .venv/bin/python -m pytest -q \
27
+ --cov=codex_sdlc \
28
+ --cov-report=term-missing \
29
+ --cov-report=html
30
+ ```
31
+
32
+ The full suite takes longer. GitHub Actions splits it across four jobs on weekly and manual runs, then combines coverage. Normal pull requests run release-build, clean-install, and public-entry checks.
33
+
34
+ Do not commit generated `.venv`, `.codex-sdlc`, temporary, or backup directories.
35
+
36
+ ## Submit a change
37
+
38
+ - Keep each commit focused on one clear goal.
39
+ - Add or update relevant tests and documentation when behavior changes.
40
+ - Explain compatibility effects when changing Schemas, CLI contracts, or Agent skills.
41
+ - Do not submit credentials, local absolute paths, internal task evidence, customer data, or private project material.
42
+ - Run the checks relevant to your change before opening a pull request.
43
+
44
+ A pull request should explain:
45
+
46
+ 1. the problem it solves;
47
+ 2. affected modules, commands, or Schemas;
48
+ 3. commands run and their exit codes;
49
+ 4. user-visible behavior changes;
50
+ 5. related documentation, skill, or changelog updates.
51
+
52
+ ## Contribution license
53
+
54
+ By submitting a pull request, you confirm that you have the right to contribute the material and agree to license it under the repository license.
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2026 muyuqingqiu
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,14 @@
1
+ include CHANGELOG.md
2
+ include CODE_OF_CONDUCT.md
3
+ include CONTRIBUTING.md
4
+ include NOTICE
5
+ include SECURITY.md
6
+ recursive-include assets *
7
+ recursive-include bin *
8
+ recursive-include docs *
9
+ recursive-include examples *
10
+ recursive-include scripts *.py
11
+ recursive-include tests *.py
12
+ global-exclude .DS_Store
13
+ global-exclude *.py[cod]
14
+ prune docs/归档
@@ -0,0 +1,11 @@
1
+ SpecStamp
2
+
3
+ Copyright 2026 muyuqingqiu
4
+
5
+ 本文件记录本项目的归属信息和直接依赖的许可证类型。各依赖项目的版权归其原作者所有,具体版本以发布包元数据为准,本文件不复制第三方许可证正文。
6
+
7
+ - `jsonschema`:MIT License
8
+ - `pypdf`:BSD-3-Clause
9
+ - `pytest`(开发依赖):MIT License
10
+ - `setuptools`(构建依赖):MIT License
11
+ - `build`(构建依赖):MIT License
@@ -0,0 +1,182 @@
1
+ Metadata-Version: 2.4
2
+ Name: specstamp
3
+ Version: 0.11.0
4
+ Summary: A local-first, spec-driven development CLI for AI coding agents
5
+ Author: muyuqingqiu
6
+ License-Expression: Apache-2.0
7
+ Project-URL: Homepage, https://muyuqingqiu.github.io/specstamp/
8
+ Project-URL: Documentation, https://muyuqingqiu.github.io/specstamp/
9
+ Project-URL: Repository, https://github.com/muyuqingqiu/specstamp.git
10
+ Project-URL: Issues, https://github.com/muyuqingqiu/specstamp/issues
11
+ Project-URL: Discussions, https://github.com/muyuqingqiu/specstamp/discussions
12
+ Project-URL: Changelog, https://github.com/muyuqingqiu/specstamp/blob/main/CHANGELOG.md
13
+ Keywords: specstamp,sdlc,ai-coding-agent,coding-agent,agentic-coding,ai-coding-agents,local-first,spec-driven-development,document-first,codex,claude-code,requirements,requirements-management,task-management,workflow-automation,developer-tools,traceability,cli,design,acceptance
14
+ Classifier: Development Status :: 4 - Beta
15
+ Classifier: Environment :: Console
16
+ Classifier: Intended Audience :: Developers
17
+ Classifier: Operating System :: POSIX
18
+ Classifier: Operating System :: MacOS
19
+ Classifier: Operating System :: Unix
20
+ Classifier: Programming Language :: Python :: 3
21
+ Classifier: Programming Language :: Python :: 3.10
22
+ Classifier: Programming Language :: Python :: 3.11
23
+ Classifier: Programming Language :: Python :: 3.12
24
+ Classifier: Programming Language :: Python :: 3.13
25
+ Classifier: Topic :: Software Development
26
+ Classifier: Topic :: Software Development :: Build Tools
27
+ Classifier: Topic :: Software Development :: Quality Assurance
28
+ Requires-Python: >=3.10
29
+ Description-Content-Type: text/markdown
30
+ License-File: LICENSE
31
+ License-File: NOTICE
32
+ Requires-Dist: jsonschema<5,>=4.18
33
+ Requires-Dist: pypdf<7,>=6
34
+ Provides-Extra: dev
35
+ Requires-Dist: pytest<9,>=8; extra == "dev"
36
+ Requires-Dist: pytest-cov<8,>=5; extra == "dev"
37
+ Requires-Dist: build<2,>=1; extra == "dev"
38
+ Requires-Dist: setuptools>=77; extra == "dev"
39
+ Provides-Extra: docs
40
+ Requires-Dist: mkdocs<2,>=1.6; extra == "docs"
41
+ Requires-Dist: mkdocs-material<10,>=9.6; extra == "docs"
42
+ Dynamic: license-file
43
+
44
+ <p align="right"><strong>English</strong> · <a href="README.zh-CN.md">简体中文</a></p>
45
+
46
+ <p align="center">
47
+ <picture>
48
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/muyuqingqiu/specstamp/main/assets/brand/specstamp-logo-dark.svg">
49
+ <img src="https://raw.githubusercontent.com/muyuqingqiu/specstamp/main/assets/brand/specstamp-logo.svg" alt="SpecStamp" width="640">
50
+ </picture>
51
+ </p>
52
+
53
+ <p align="center">
54
+ <strong>Give AI coding agents a workflow that survives the chat.</strong><br>
55
+ Keep requirements, designs, tasks, changes, and acceptance evidence local, traceable, and recoverable.
56
+ </p>
57
+
58
+ <p align="center">
59
+ <a href="https://pypi.org/project/specstamp/"><img alt="PyPI" src="https://img.shields.io/pypi/v/specstamp?color=F5B942"></a>
60
+ <a href="https://github.com/muyuqingqiu/specstamp/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/muyuqingqiu/specstamp/actions/workflows/ci.yml/badge.svg?branch=main"></a>
61
+ <a href="https://github.com/muyuqingqiu/specstamp/actions/workflows/codeql.yml"><img alt="CodeQL" src="https://github.com/muyuqingqiu/specstamp/actions/workflows/codeql.yml/badge.svg?branch=main"></a>
62
+ <a href="https://github.com/muyuqingqiu/specstamp/actions/workflows/full-tests.yml"><img alt="Full test suite" src="https://github.com/muyuqingqiu/specstamp/actions/workflows/full-tests.yml/badge.svg?branch=main"></a>
63
+ <a href="https://codecov.io/gh/muyuqingqiu/specstamp"><img alt="Coverage" src="https://codecov.io/gh/muyuqingqiu/specstamp/branch/main/graph/badge.svg"></a>
64
+ <a href="https://github.com/muyuqingqiu/specstamp/blob/main/pyproject.toml"><img alt="Python 3.10 to 3.13" src="https://img.shields.io/badge/Python-3.10--3.13-3776AB?logo=python&logoColor=white"></a>
65
+ <a href="https://github.com/muyuqingqiu/specstamp/blob/main/LICENSE"><img alt="Apache 2.0" src="https://img.shields.io/github/license/muyuqingqiu/specstamp?color=F5B942"></a>
66
+ </p>
67
+
68
+ <p align="center">
69
+ <a href="#quick-start">Quick start</a> ·
70
+ <a href="#why-specstamp">Why SpecStamp</a> ·
71
+ <a href="#workflow">Workflow</a> ·
72
+ <a href="https://muyuqingqiu.github.io/specstamp/">Documentation</a> ·
73
+ <a href="#community">Community</a>
74
+ </p>
75
+
76
+ # SpecStamp: a local-first workflow for AI coding agents
77
+
78
+ SpecStamp is a Python CLI that brings spec-driven development to Codex, Claude Code, and other AI coding agents. It stores requirements, technical designs, task plans, changes, and acceptance evidence as structured project files, so development does not depend on one conversation or one agent.
79
+
80
+ The primary command is `specstamp`. The compatible `codex-sdlc` command remains available for existing workflows. Agent capabilities are exposed through the bundled `sdlc-*` skills.
81
+
82
+ > **Status:** Beta. SpecStamp supports Python 3.10–3.13 on macOS, Linux, and other POSIX systems. Windows is not currently supported.
83
+
84
+ ## Quick start
85
+
86
+ The following commands install SpecStamp from PyPI in a temporary environment. They do not write to global Agent directories:
87
+
88
+ ```bash
89
+ DEMO_DIR="$(mktemp -d "${TMPDIR:-/tmp}/specstamp-demo.XXXXXX")"
90
+ python3 -m venv "$DEMO_DIR/venv"
91
+ "$DEMO_DIR/venv/bin/pip" install specstamp
92
+ mkdir "$DEMO_DIR/project"
93
+ cd "$DEMO_DIR/project"
94
+ "$DEMO_DIR/venv/bin/specstamp" init-plain
95
+ "$DEMO_DIR/venv/bin/specstamp" next
96
+ ```
97
+
98
+ `next` reads the current formal state and recommends the next workflow step. See the [Quick Start](https://muyuqingqiu.github.io/specstamp/quick-start/) to install Agent skills and use SpecStamp in a real project.
99
+
100
+ ## Why SpecStamp
101
+
102
+ | Common problem | Chat-only workflow | With SpecStamp |
103
+ | --- | --- | --- |
104
+ | A model or session changes | Context must be explained again | Resume from formal project state |
105
+ | Requirements change midway | Design, tasks, and acceptance drift apart | Apply an explicit, versioned change |
106
+ | An agent says a task is done | The claim is difficult to verify | Record commands, exit codes, files, and hashes |
107
+ | Source material is scattered | Requirements, code, and tests lose their links | Preserve references from source material to acceptance |
108
+
109
+ ## Core capabilities
110
+
111
+ - **Local first:** project data lives in `.codex-sdlc/`; no cloud account or automatic upload is required.
112
+ - **Cross-agent:** synchronize one versioned skill set to Codex, Claude Code, and shared Agent directories.
113
+ - **Traceable:** keep source material, decisions, designs, tasks, and changes under stable identifiers with SHA-256 evidence.
114
+ - **Evidence-based completion:** require real commands, integer exit codes, source files, hashes, and acceptance results before completion.
115
+ - **Recoverable:** continue after a new session, branch switch, pause, or restored backup without reconstructing the project from chat history.
116
+
117
+ ## Who it is for
118
+
119
+ - Developers and small teams using Codex, Claude Code, or other coding agents.
120
+ - Projects adopting spec-driven development, requirements management, or auditable delivery.
121
+ - Long-running work that needs requirements, design, tasks, tests, and acceptance to remain connected.
122
+
123
+ SpecStamp is not a cloud collaboration platform and does not provide real-time multi-user editing.
124
+
125
+ ## Workflow
126
+
127
+ ```text
128
+ idea → source material → reviewed requirements → integrated design → formal version
129
+ → task plan → implementation and evidence → acceptance → explicit changes
130
+ ```
131
+
132
+ | Stage | Common commands | Result |
133
+ | --- | --- | --- |
134
+ | Initialize and orient | `init`, `init-plain`, `status`, `next` | Establish project state and identify the next step |
135
+ | Requirements | `material`, `discuss`, `capture`, `grill` | Preserve source material, structured requirements, and decisions |
136
+ | Design and formalize | `design`, `draft`, `start --file` | Create a reviewed requirement and design version |
137
+ | Plan and execute | `tasks`, `plan`, `task` | Define task scope, dependencies, tests, and acceptance |
138
+ | Verify and finish | `task-evidence`, `task-done`, `regression` | Complete work with reproducible evidence |
139
+ | Change and recover | `change-*`, `backup`, `restore`, `handoff` | Handle change explicitly and resume interrupted work |
140
+
141
+ ## Agent integration
142
+
143
+ ```bash
144
+ specstamp agent-sync --dry-run # preview without writing
145
+ specstamp agent-sync --confirm # synchronize managed entries
146
+ specstamp agent-sync --check # verify the result without writing
147
+ ```
148
+
149
+ The synchronization command supports:
150
+
151
+ - **Codex:** versioned `sdlc-*` skills.
152
+ - **Claude Code:** compatible `/sdlc-*` commands.
153
+ - **Shared Agent directories:** the same managed skill source for other agents.
154
+
155
+ ## Design principles
156
+
157
+ Files are more durable than chat history. Reproducible evidence is more reliable than an agent's claim. Explicit changes are safer than silent drift. Agents may change; project facts should not.
158
+
159
+ Read [Philosophy and Inspiration](https://muyuqingqiu.github.io/specstamp/philosophy/) for the full rationale and project boundaries.
160
+
161
+ ## Documentation
162
+
163
+ - [Documentation home](https://muyuqingqiu.github.io/specstamp/)
164
+ - [Quick Start](https://muyuqingqiu.github.io/specstamp/quick-start/)
165
+ - [User Guide](https://muyuqingqiu.github.io/specstamp/user-guide/)
166
+ - [FAQ](https://muyuqingqiu.github.io/specstamp/faq/)
167
+ - [Philosophy and Inspiration](https://muyuqingqiu.github.io/specstamp/philosophy/)
168
+ - [Quality and Security](https://muyuqingqiu.github.io/specstamp/quality-and-security/)
169
+ - [中文文档](https://muyuqingqiu.github.io/specstamp/zh-CN/)
170
+
171
+ ## Community
172
+
173
+ - Ask usage questions and share workflows in [GitHub Discussions](https://github.com/muyuqingqiu/specstamp/discussions).
174
+ - Report reproducible problems through [GitHub Issues](https://github.com/muyuqingqiu/specstamp/issues/new/choose).
175
+ - Read the [contribution guide](CONTRIBUTING.md) before opening a pull request.
176
+ - Report security-sensitive issues through [private vulnerability reporting](https://github.com/muyuqingqiu/specstamp/security/advisories/new).
177
+
178
+ If SpecStamp improves your AI coding workflow, consider starring the repository and sharing what you built with it.
179
+
180
+ ## License
181
+
182
+ SpecStamp is licensed under [Apache-2.0](LICENSE). See the [changelog](CHANGELOG.md) for release history.
@@ -0,0 +1,139 @@
1
+ <p align="right"><strong>English</strong> · <a href="README.zh-CN.md">简体中文</a></p>
2
+
3
+ <p align="center">
4
+ <picture>
5
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/muyuqingqiu/specstamp/main/assets/brand/specstamp-logo-dark.svg">
6
+ <img src="https://raw.githubusercontent.com/muyuqingqiu/specstamp/main/assets/brand/specstamp-logo.svg" alt="SpecStamp" width="640">
7
+ </picture>
8
+ </p>
9
+
10
+ <p align="center">
11
+ <strong>Give AI coding agents a workflow that survives the chat.</strong><br>
12
+ Keep requirements, designs, tasks, changes, and acceptance evidence local, traceable, and recoverable.
13
+ </p>
14
+
15
+ <p align="center">
16
+ <a href="https://pypi.org/project/specstamp/"><img alt="PyPI" src="https://img.shields.io/pypi/v/specstamp?color=F5B942"></a>
17
+ <a href="https://github.com/muyuqingqiu/specstamp/actions/workflows/ci.yml"><img alt="CI" src="https://github.com/muyuqingqiu/specstamp/actions/workflows/ci.yml/badge.svg?branch=main"></a>
18
+ <a href="https://github.com/muyuqingqiu/specstamp/actions/workflows/codeql.yml"><img alt="CodeQL" src="https://github.com/muyuqingqiu/specstamp/actions/workflows/codeql.yml/badge.svg?branch=main"></a>
19
+ <a href="https://github.com/muyuqingqiu/specstamp/actions/workflows/full-tests.yml"><img alt="Full test suite" src="https://github.com/muyuqingqiu/specstamp/actions/workflows/full-tests.yml/badge.svg?branch=main"></a>
20
+ <a href="https://codecov.io/gh/muyuqingqiu/specstamp"><img alt="Coverage" src="https://codecov.io/gh/muyuqingqiu/specstamp/branch/main/graph/badge.svg"></a>
21
+ <a href="https://github.com/muyuqingqiu/specstamp/blob/main/pyproject.toml"><img alt="Python 3.10 to 3.13" src="https://img.shields.io/badge/Python-3.10--3.13-3776AB?logo=python&logoColor=white"></a>
22
+ <a href="https://github.com/muyuqingqiu/specstamp/blob/main/LICENSE"><img alt="Apache 2.0" src="https://img.shields.io/github/license/muyuqingqiu/specstamp?color=F5B942"></a>
23
+ </p>
24
+
25
+ <p align="center">
26
+ <a href="#quick-start">Quick start</a> ·
27
+ <a href="#why-specstamp">Why SpecStamp</a> ·
28
+ <a href="#workflow">Workflow</a> ·
29
+ <a href="https://muyuqingqiu.github.io/specstamp/">Documentation</a> ·
30
+ <a href="#community">Community</a>
31
+ </p>
32
+
33
+ # SpecStamp: a local-first workflow for AI coding agents
34
+
35
+ SpecStamp is a Python CLI that brings spec-driven development to Codex, Claude Code, and other AI coding agents. It stores requirements, technical designs, task plans, changes, and acceptance evidence as structured project files, so development does not depend on one conversation or one agent.
36
+
37
+ The primary command is `specstamp`. The compatible `codex-sdlc` command remains available for existing workflows. Agent capabilities are exposed through the bundled `sdlc-*` skills.
38
+
39
+ > **Status:** Beta. SpecStamp supports Python 3.10–3.13 on macOS, Linux, and other POSIX systems. Windows is not currently supported.
40
+
41
+ ## Quick start
42
+
43
+ The following commands install SpecStamp from PyPI in a temporary environment. They do not write to global Agent directories:
44
+
45
+ ```bash
46
+ DEMO_DIR="$(mktemp -d "${TMPDIR:-/tmp}/specstamp-demo.XXXXXX")"
47
+ python3 -m venv "$DEMO_DIR/venv"
48
+ "$DEMO_DIR/venv/bin/pip" install specstamp
49
+ mkdir "$DEMO_DIR/project"
50
+ cd "$DEMO_DIR/project"
51
+ "$DEMO_DIR/venv/bin/specstamp" init-plain
52
+ "$DEMO_DIR/venv/bin/specstamp" next
53
+ ```
54
+
55
+ `next` reads the current formal state and recommends the next workflow step. See the [Quick Start](https://muyuqingqiu.github.io/specstamp/quick-start/) to install Agent skills and use SpecStamp in a real project.
56
+
57
+ ## Why SpecStamp
58
+
59
+ | Common problem | Chat-only workflow | With SpecStamp |
60
+ | --- | --- | --- |
61
+ | A model or session changes | Context must be explained again | Resume from formal project state |
62
+ | Requirements change midway | Design, tasks, and acceptance drift apart | Apply an explicit, versioned change |
63
+ | An agent says a task is done | The claim is difficult to verify | Record commands, exit codes, files, and hashes |
64
+ | Source material is scattered | Requirements, code, and tests lose their links | Preserve references from source material to acceptance |
65
+
66
+ ## Core capabilities
67
+
68
+ - **Local first:** project data lives in `.codex-sdlc/`; no cloud account or automatic upload is required.
69
+ - **Cross-agent:** synchronize one versioned skill set to Codex, Claude Code, and shared Agent directories.
70
+ - **Traceable:** keep source material, decisions, designs, tasks, and changes under stable identifiers with SHA-256 evidence.
71
+ - **Evidence-based completion:** require real commands, integer exit codes, source files, hashes, and acceptance results before completion.
72
+ - **Recoverable:** continue after a new session, branch switch, pause, or restored backup without reconstructing the project from chat history.
73
+
74
+ ## Who it is for
75
+
76
+ - Developers and small teams using Codex, Claude Code, or other coding agents.
77
+ - Projects adopting spec-driven development, requirements management, or auditable delivery.
78
+ - Long-running work that needs requirements, design, tasks, tests, and acceptance to remain connected.
79
+
80
+ SpecStamp is not a cloud collaboration platform and does not provide real-time multi-user editing.
81
+
82
+ ## Workflow
83
+
84
+ ```text
85
+ idea → source material → reviewed requirements → integrated design → formal version
86
+ → task plan → implementation and evidence → acceptance → explicit changes
87
+ ```
88
+
89
+ | Stage | Common commands | Result |
90
+ | --- | --- | --- |
91
+ | Initialize and orient | `init`, `init-plain`, `status`, `next` | Establish project state and identify the next step |
92
+ | Requirements | `material`, `discuss`, `capture`, `grill` | Preserve source material, structured requirements, and decisions |
93
+ | Design and formalize | `design`, `draft`, `start --file` | Create a reviewed requirement and design version |
94
+ | Plan and execute | `tasks`, `plan`, `task` | Define task scope, dependencies, tests, and acceptance |
95
+ | Verify and finish | `task-evidence`, `task-done`, `regression` | Complete work with reproducible evidence |
96
+ | Change and recover | `change-*`, `backup`, `restore`, `handoff` | Handle change explicitly and resume interrupted work |
97
+
98
+ ## Agent integration
99
+
100
+ ```bash
101
+ specstamp agent-sync --dry-run # preview without writing
102
+ specstamp agent-sync --confirm # synchronize managed entries
103
+ specstamp agent-sync --check # verify the result without writing
104
+ ```
105
+
106
+ The synchronization command supports:
107
+
108
+ - **Codex:** versioned `sdlc-*` skills.
109
+ - **Claude Code:** compatible `/sdlc-*` commands.
110
+ - **Shared Agent directories:** the same managed skill source for other agents.
111
+
112
+ ## Design principles
113
+
114
+ Files are more durable than chat history. Reproducible evidence is more reliable than an agent's claim. Explicit changes are safer than silent drift. Agents may change; project facts should not.
115
+
116
+ Read [Philosophy and Inspiration](https://muyuqingqiu.github.io/specstamp/philosophy/) for the full rationale and project boundaries.
117
+
118
+ ## Documentation
119
+
120
+ - [Documentation home](https://muyuqingqiu.github.io/specstamp/)
121
+ - [Quick Start](https://muyuqingqiu.github.io/specstamp/quick-start/)
122
+ - [User Guide](https://muyuqingqiu.github.io/specstamp/user-guide/)
123
+ - [FAQ](https://muyuqingqiu.github.io/specstamp/faq/)
124
+ - [Philosophy and Inspiration](https://muyuqingqiu.github.io/specstamp/philosophy/)
125
+ - [Quality and Security](https://muyuqingqiu.github.io/specstamp/quality-and-security/)
126
+ - [中文文档](https://muyuqingqiu.github.io/specstamp/zh-CN/)
127
+
128
+ ## Community
129
+
130
+ - Ask usage questions and share workflows in [GitHub Discussions](https://github.com/muyuqingqiu/specstamp/discussions).
131
+ - Report reproducible problems through [GitHub Issues](https://github.com/muyuqingqiu/specstamp/issues/new/choose).
132
+ - Read the [contribution guide](CONTRIBUTING.md) before opening a pull request.
133
+ - Report security-sensitive issues through [private vulnerability reporting](https://github.com/muyuqingqiu/specstamp/security/advisories/new).
134
+
135
+ If SpecStamp improves your AI coding workflow, consider starring the repository and sharing what you built with it.
136
+
137
+ ## License
138
+
139
+ SpecStamp is licensed under [Apache-2.0](LICENSE). See the [changelog](CHANGELOG.md) for release history.
@@ -0,0 +1,19 @@
1
+ **English** · [简体中文](SECURITY.zh-CN.md)
2
+
3
+ # Security Policy
4
+
5
+ Do not publish passwords, tokens, private keys, account data, private business material, or directly exploitable vulnerability details in public Issues, pull requests, logs, screenshots, or examples.
6
+
7
+ ## Reporting a vulnerability
8
+
9
+ Use [GitHub private vulnerability reporting](https://github.com/muyuqingqiu/specstamp/security/advisories/new) under **Security → Report a vulnerability**.
10
+
11
+ Include when possible:
12
+
13
+ - affected version or commit;
14
+ - operating environment;
15
+ - minimal reproduction steps;
16
+ - expected impact;
17
+ - whether the issue is already public or actively exploited.
18
+
19
+ Use a normal [Issue](https://github.com/muyuqingqiu/specstamp/issues/new/choose) for installation failures, documentation errors, and functional problems without a security impact.