sinapse-ai 9.4.0 → 9.5.0

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 (266) hide show
  1. package/.claude/CLAUDE.md +10 -4
  2. package/.claude/hooks/enforce-architecture-first.py +197 -197
  3. package/.claude/hooks/enforce-git-push-authority.sh +25 -4
  4. package/.claude/hooks/mind-clone-governance.py +193 -193
  5. package/.claude/hooks/read-protection.py +152 -152
  6. package/.claude/hooks/sql-governance.py +183 -183
  7. package/.claude/hooks/verify-packages.cjs +83 -0
  8. package/.claude/hooks/write-path-validation.py +195 -195
  9. package/.claude/rules/hook-governance.md +1 -0
  10. package/.claude/rules/mandatory-delegation.md +24 -0
  11. package/.claude/rules/project-intelligence.md +63 -0
  12. package/.claude/rules/response-format.md +4 -0
  13. package/.claude/rules/safe-collaboration.md +4 -2
  14. package/.claude/rules/security-data-protection.md +18 -0
  15. package/.claude/rules/squad-awareness.md +93 -67
  16. package/.claude/rules/token-economy.md +148 -0
  17. package/.codex/agents/analyst.md +90 -0
  18. package/.codex/agents/architect.md +78 -0
  19. package/.codex/agents/data-engineer.md +38 -0
  20. package/.codex/agents/developer.md +97 -0
  21. package/.codex/agents/devops.md +121 -0
  22. package/.codex/agents/product-lead.md +27 -0
  23. package/.codex/agents/project-lead.md +28 -0
  24. package/.codex/agents/quality-gate.md +89 -0
  25. package/.codex/agents/sprint-lead.md +28 -0
  26. package/.codex/agents/squad-creator.md +58 -0
  27. package/.codex/agents/ux-design-expert.md +28 -0
  28. package/.sinapse-ai/core/code-intel/registry-syncer.js +56 -3
  29. package/.sinapse-ai/core/doctor/checks/agent-memory.js +5 -1
  30. package/.sinapse-ai/core/doctor/checks/claude-md.js +4 -1
  31. package/.sinapse-ai/core/doctor/checks/code-intel.js +5 -1
  32. package/.sinapse-ai/core/doctor/checks/commands-count.js +4 -1
  33. package/.sinapse-ai/core/doctor/checks/constitution-consistency.js +4 -1
  34. package/.sinapse-ai/core/doctor/checks/core-config.js +4 -1
  35. package/.sinapse-ai/core/doctor/checks/entity-registry.js +6 -1
  36. package/.sinapse-ai/core/doctor/checks/git-hooks.js +5 -1
  37. package/.sinapse-ai/core/doctor/checks/graph-dashboard.js +4 -1
  38. package/.sinapse-ai/core/doctor/checks/hooks-claude-count.js +5 -1
  39. package/.sinapse-ai/core/doctor/checks/ide-sync.js +4 -1
  40. package/.sinapse-ai/core/doctor/checks/node-version.js +4 -1
  41. package/.sinapse-ai/core/doctor/checks/npm-packages.js +4 -1
  42. package/.sinapse-ai/core/doctor/checks/rules-files.js +4 -1
  43. package/.sinapse-ai/core/doctor/checks/settings-json.js +4 -1
  44. package/.sinapse-ai/core/doctor/checks/skills-count.js +4 -1
  45. package/.sinapse-ai/core/doctor/index.js +157 -50
  46. package/.sinapse-ai/core/ids/registry-updater.js +6 -1
  47. package/.sinapse-ai/core/logger/index.js +319 -0
  48. package/.sinapse-ai/core/orchestration/terminal-spawner.js +2 -2
  49. package/.sinapse-ai/core/telemetry/index.js +247 -0
  50. package/.sinapse-ai/data/entity-registry.yaml +1384 -944
  51. package/.sinapse-ai/development/agents/architect.md +5 -0
  52. package/.sinapse-ai/development/agents/data-engineer.md +38 -0
  53. package/.sinapse-ai/development/agents/developer.md +28 -0
  54. package/.sinapse-ai/development/agents/devops.md +4 -0
  55. package/.sinapse-ai/development/agents/product-lead.md +27 -0
  56. package/.sinapse-ai/development/agents/project-lead.md +28 -0
  57. package/.sinapse-ai/development/agents/quality-gate.md +4 -0
  58. package/.sinapse-ai/development/agents/sprint-lead/MEMORY.md +8 -0
  59. package/.sinapse-ai/development/agents/sprint-lead.md +28 -0
  60. package/.sinapse-ai/development/agents/squad-creator.md +58 -0
  61. package/.sinapse-ai/development/agents/ux-design-expert.md +28 -0
  62. package/.sinapse-ai/development/knowledge-base/agent-communication-protocol.md +127 -0
  63. package/.sinapse-ai/development/knowledge-base/database-scaling-patterns.md +374 -0
  64. package/.sinapse-ai/development/knowledge-base/environment-deployment-patterns.md +353 -0
  65. package/.sinapse-ai/development/knowledge-base/gotchas-patterns.md +224 -0
  66. package/.sinapse-ai/development/knowledge-base/infrastructure-decision-framework.md +221 -0
  67. package/.sinapse-ai/development/knowledge-base/security-pre-deploy-checklist.md +410 -0
  68. package/.sinapse-ai/development/knowledge-base/software-architecture-patterns.md +299 -0
  69. package/.sinapse-ai/development/knowledge-base/token-economy-guide.md +198 -0
  70. package/.sinapse-ai/development/scripts/populate-entity-registry.js +5 -1
  71. package/.sinapse-ai/development/skills/captcha-handler.md +82 -0
  72. package/.sinapse-ai/development/skills/chrome-brain.md +81 -0
  73. package/.sinapse-ai/development/skills/deploy-readiness.md +93 -0
  74. package/.sinapse-ai/development/skills/model-router.md +92 -0
  75. package/.sinapse-ai/development/skills/sinapse-methodology.md +175 -0
  76. package/.sinapse-ai/development/skills/story-fast-track.md +71 -0
  77. package/.sinapse-ai/development/tasks/dev-develop-story.md +10 -0
  78. package/.sinapse-ai/development/tasks/environment-promotion-pipeline.md +582 -0
  79. package/.sinapse-ai/development/tasks/generate-agent-handoff.md +223 -0
  80. package/.sinapse-ai/development/tasks/infrastructure-assessment.md +432 -0
  81. package/.sinapse-ai/development/tasks/load-testing-setup.md +611 -0
  82. package/.sinapse-ai/development/tasks/observability-blueprint.md +562 -0
  83. package/.sinapse-ai/development/templates/legal/breach-notification-tmpl.md +113 -0
  84. package/.sinapse-ai/development/templates/legal/privacy-policy-tmpl.md +93 -0
  85. package/.sinapse-ai/development/templates/legal/terms-of-service-tmpl.md +85 -0
  86. package/.sinapse-ai/development/templates/service-template/README.md.hbs +159 -159
  87. package/.sinapse-ai/development/templates/service-template/__tests__/index.test.ts.hbs +238 -238
  88. package/.sinapse-ai/development/templates/service-template/client.ts.hbs +404 -404
  89. package/.sinapse-ai/development/templates/service-template/errors.ts.hbs +183 -183
  90. package/.sinapse-ai/development/templates/service-template/index.ts.hbs +121 -121
  91. package/.sinapse-ai/development/templates/service-template/package.json.hbs +88 -88
  92. package/.sinapse-ai/development/templates/service-template/types.ts.hbs +146 -146
  93. package/.sinapse-ai/development/templates/squad-template/LICENSE +22 -22
  94. package/.sinapse-ai/development/workflows/story-development-cycle.yaml +40 -1
  95. package/.sinapse-ai/hooks/ids-post-commit.js +22 -0
  96. package/.sinapse-ai/infrastructure/contracts/compatibility/README.md +42 -0
  97. package/.sinapse-ai/infrastructure/contracts/compatibility/sinapse-current.yaml +35 -0
  98. package/.sinapse-ai/infrastructure/scripts/llm-routing/templates/claude-free-tracked.cmd +127 -127
  99. package/.sinapse-ai/infrastructure/scripts/llm-routing/templates/deepseek-proxy.cmd +71 -71
  100. package/.sinapse-ai/infrastructure/scripts/llm-routing/templates/deepseek-usage.cmd +51 -51
  101. package/.sinapse-ai/infrastructure/scripts/pr-review-ai.js +16 -13
  102. package/.sinapse-ai/infrastructure/scripts/setup-project-infra.js +128 -0
  103. package/.sinapse-ai/infrastructure/scripts/test-discovery.js +8 -3
  104. package/.sinapse-ai/infrastructure/scripts/validate-manifest-parity.js +380 -0
  105. package/.sinapse-ai/infrastructure/scripts/validate-parity.js +76 -25
  106. package/.sinapse-ai/infrastructure/templates/coderabbit.yaml.template +280 -280
  107. package/.sinapse-ai/infrastructure/templates/config/env.example +16 -0
  108. package/.sinapse-ai/infrastructure/templates/config/gitignore-additions.tmpl +59 -0
  109. package/.sinapse-ai/infrastructure/templates/github/CODEOWNERS.template +12 -0
  110. package/.sinapse-ai/infrastructure/templates/github/PULL_REQUEST_TEMPLATE.md +29 -0
  111. package/.sinapse-ai/infrastructure/templates/github/ci-template.yml +77 -0
  112. package/.sinapse-ai/infrastructure/templates/github/issue-templates/bug_report.md +34 -0
  113. package/.sinapse-ai/infrastructure/templates/github/issue-templates/feature_request.md +19 -0
  114. package/.sinapse-ai/infrastructure/templates/github-workflows/ci.yml.template +170 -170
  115. package/.sinapse-ai/infrastructure/templates/github-workflows/pr-automation.yml.template +331 -331
  116. package/.sinapse-ai/infrastructure/templates/github-workflows/release.yml.template +197 -197
  117. package/.sinapse-ai/infrastructure/templates/gitignore/gitignore-brownfield-merge.tmpl +19 -19
  118. package/.sinapse-ai/infrastructure/templates/gitignore/gitignore-node.tmpl +86 -86
  119. package/.sinapse-ai/infrastructure/templates/gitignore/gitignore-python.tmpl +146 -146
  120. package/.sinapse-ai/infrastructure/templates/gitignore/gitignore-sinapse-base.tmpl +64 -64
  121. package/.sinapse-ai/infrastructure/templates/sinapse-sync.yaml.template +183 -183
  122. package/.sinapse-ai/install-manifest.yaml +275 -140
  123. package/.sinapse-ai/local-config.yaml.template +65 -65
  124. package/.sinapse-ai/monitor/hooks/lib/__init__.py +2 -2
  125. package/.sinapse-ai/monitor/hooks/lib/enrich.py +59 -59
  126. package/.sinapse-ai/monitor/hooks/lib/send_event.py +48 -48
  127. package/.sinapse-ai/monitor/hooks/notification.py +30 -30
  128. package/.sinapse-ai/monitor/hooks/post_tool_use.py +46 -46
  129. package/.sinapse-ai/monitor/hooks/pre_compact.py +30 -30
  130. package/.sinapse-ai/monitor/hooks/pre_tool_use.py +41 -41
  131. package/.sinapse-ai/monitor/hooks/stop.py +30 -30
  132. package/.sinapse-ai/monitor/hooks/subagent_stop.py +30 -30
  133. package/.sinapse-ai/monitor/hooks/user_prompt_submit.py +39 -39
  134. package/.sinapse-ai/product/templates/adr.hbs +126 -126
  135. package/.sinapse-ai/product/templates/dbdr.hbs +242 -242
  136. package/.sinapse-ai/product/templates/epic.hbs +213 -213
  137. package/.sinapse-ai/product/templates/pmdr.hbs +187 -187
  138. package/.sinapse-ai/product/templates/prd-v2.0.hbs +217 -217
  139. package/.sinapse-ai/product/templates/prd.hbs +202 -202
  140. package/.sinapse-ai/product/templates/story-tmpl.yaml +59 -0
  141. package/.sinapse-ai/product/templates/story.hbs +264 -264
  142. package/.sinapse-ai/product/templates/task.hbs +171 -171
  143. package/.sinapse-ai/product/templates/tmpl-comment-on-examples.sql +159 -159
  144. package/.sinapse-ai/product/templates/tmpl-migration-script.sql +92 -92
  145. package/.sinapse-ai/product/templates/tmpl-rls-granular-policies.sql +105 -105
  146. package/.sinapse-ai/product/templates/tmpl-rls-kiss-policy.sql +11 -11
  147. package/.sinapse-ai/product/templates/tmpl-rls-roles.sql +136 -136
  148. package/.sinapse-ai/product/templates/tmpl-rls-simple.sql +78 -78
  149. package/.sinapse-ai/product/templates/tmpl-rls-tenant.sql +153 -153
  150. package/.sinapse-ai/product/templates/tmpl-rollback-script.sql +78 -78
  151. package/.sinapse-ai/product/templates/tmpl-seed-data.sql +141 -141
  152. package/.sinapse-ai/product/templates/tmpl-smoke-test.sql +17 -17
  153. package/.sinapse-ai/product/templates/tmpl-staging-copy-merge.sql +140 -140
  154. package/.sinapse-ai/product/templates/tmpl-stored-proc.sql +141 -141
  155. package/.sinapse-ai/product/templates/tmpl-trigger.sql +153 -153
  156. package/.sinapse-ai/product/templates/tmpl-view-materialized.sql +134 -134
  157. package/.sinapse-ai/product/templates/tmpl-view.sql +178 -178
  158. package/.sinapse-ai/scripts/diagnostics/health-dashboard/package-lock.json +427 -355
  159. package/LICENSE +34 -34
  160. package/README.en.md +167 -20
  161. package/README.md +190 -22
  162. package/bin/cli.js +510 -196
  163. package/bin/postinstall.js +564 -0
  164. package/bin/sinapse-cli +283 -283
  165. package/bin/sinapse-graph.js +9 -0
  166. package/bin/sinapse-init.js +36 -4
  167. package/bin/sinapse-minimal.js +20 -9
  168. package/bin/sinapse.js +202 -122
  169. package/bin/utils/deprecation-warning.js +46 -0
  170. package/bin/utils/pre-push-safety.js +14 -0
  171. package/docs/TELEMETRY.md +131 -0
  172. package/docs/chrome-brain-upgrade-plan.md +624 -0
  173. package/docs/framework/orqx-plan.md +1 -1
  174. package/docs/installation/chrome-brain.md +17 -7
  175. package/docs/mega-upgrade-orchestration-plan.md +71 -0
  176. package/docs/pt/contributing.md +20 -0
  177. package/docs/research-synthesis-for-upgrade.md +511 -0
  178. package/docs/security-audit-report.md +306 -0
  179. package/package.json +20 -8
  180. package/packages/installer/src/config/configure-environment.js +19 -44
  181. package/packages/installer/src/detection/detect-project-type.js +181 -63
  182. package/packages/installer/src/installer/manifest-signature.js +32 -17
  183. package/packages/installer/src/wizard/i18n.js +12 -0
  184. package/packages/installer/src/wizard/ide-config-generator.js +8 -39
  185. package/packages/installer/src/wizard/index.js +119 -14
  186. package/packages/installer/src/wizard/questions.js +2 -3
  187. package/packages/installer/tests/integration/environment-configuration.test.js +7 -5
  188. package/packages/installer/tests/unit/detection/detect-project-type.test.js +138 -1
  189. package/packages/installer/tests/unit/doctor/doctor-orchestrator.test.js +3 -3
  190. package/packages/sinapse-install/bin/edmcp.js +0 -0
  191. package/packages/sinapse-install/bin/sinapse-install.js +0 -0
  192. package/packages/sinapse-pro-cli/bin/sinapse-pro.js +0 -0
  193. package/scripts/check-markdown-links.py +353 -353
  194. package/scripts/coverage-report-summary.js +169 -0
  195. package/scripts/generate-install-manifest.js +6 -2
  196. package/scripts/release-readiness.js +169 -0
  197. package/scripts/test-install-matrix-local.sh +153 -0
  198. package/scripts/validate-install-docs.js +394 -0
  199. package/scripts/validate-no-external-refs.js +376 -0
  200. package/scripts/validate-squad-orqx.js +302 -0
  201. package/scripts/validate-story-meta.js +263 -0
  202. package/squads/claude-code-mastery/CHANGELOG.md +1 -1
  203. package/squads/claude-code-mastery/README.md +2 -2
  204. package/squads/claude-code-mastery/squad.yaml +1 -1
  205. package/squads/squad-artdir/README.md +90 -0
  206. package/squads/squad-artdir/agents/accessibility-guardian.md +184 -0
  207. package/squads/squad-artdir/agents/artdir-orqx.md +145 -0
  208. package/squads/squad-artdir/agents/color-psychologist.md +166 -0
  209. package/squads/squad-artdir/agents/cro-persuasion.md +161 -0
  210. package/squads/squad-artdir/agents/design-system-architect.md +100 -0
  211. package/squads/squad-artdir/agents/ia-architect.md +169 -0
  212. package/squads/squad-artdir/agents/interaction-designer.md +162 -0
  213. package/squads/squad-artdir/agents/layout-engineer.md +163 -0
  214. package/squads/squad-artdir/agents/motion-architect.md +185 -0
  215. package/squads/squad-artdir/agents/platform-aesthetic-director.md +84 -0
  216. package/squads/squad-artdir/agents/premium-packaging-strategist.md +107 -0
  217. package/squads/squad-artdir/agents/product-surface-director.md +86 -0
  218. package/squads/squad-artdir/agents/type-systemist.md +138 -0
  219. package/squads/squad-artdir/agents/visual-strategist.md +127 -0
  220. package/squads/squad-artdir/checklists/seven-pillars-validation-checklist.md +172 -0
  221. package/squads/squad-artdir/knowledge-base/case-nyo-ia-reference.md +289 -0
  222. package/squads/squad-artdir/knowledge-base/deliverables-templates.md +457 -0
  223. package/squads/squad-artdir/knowledge-base/motion-technique-catalog.md +247 -0
  224. package/squads/squad-artdir/knowledge-base/premium-packaging-principles.md +133 -0
  225. package/squads/squad-artdir/knowledge-base/psychological-toolkit.md +229 -0
  226. package/squads/squad-artdir/knowledge-base/saas-art-direction-canon.md +242 -0
  227. package/squads/squad-artdir/knowledge-base/seven-pillars-framework.md +289 -0
  228. package/squads/squad-artdir/knowledge-base/ten-pillars-framework.md +221 -0
  229. package/squads/squad-artdir/package.json +20 -0
  230. package/squads/squad-artdir/squad.yaml +271 -0
  231. package/squads/squad-artdir/tasks/audit-conversion.md +97 -0
  232. package/squads/squad-artdir/tasks/audit-drift-multi-surface.md +55 -0
  233. package/squads/squad-artdir/tasks/consult-saas-canon.md +54 -0
  234. package/squads/squad-artdir/tasks/create-art-direction-brief.md +110 -0
  235. package/squads/squad-artdir/tasks/create-premium-packaging-brief.md +61 -0
  236. package/squads/squad-artdir/tasks/create-wireflow.md +84 -0
  237. package/squads/squad-artdir/tasks/design-color-system.md +81 -0
  238. package/squads/squad-artdir/tasks/design-product-surface.md +60 -0
  239. package/squads/squad-artdir/tasks/design-token-system.md +58 -0
  240. package/squads/squad-artdir/tasks/diagnose-visual-language.md +92 -0
  241. package/squads/squad-artdir/tasks/first-5-minutes-choreography.md +65 -0
  242. package/squads/squad-artdir/tasks/specify-motion-system.md +84 -0
  243. package/squads/squad-artdir/tasks/validate-against-pillars.md +143 -0
  244. package/squads/squad-artdir/templates/art-direction-brief-template.md +215 -0
  245. package/squads/squad-artdir/workflows/conversion-audit-cycle.yaml +78 -0
  246. package/squads/squad-artdir/workflows/full-art-direction-cycle.yaml +98 -0
  247. package/squads/squad-artdir/workflows/saas-platform-art-direction-cycle.yaml +174 -0
  248. package/squads/squad-brand/knowledge-base/ai-visual-generation-canon.md +234 -0
  249. package/squads/squad-brand/squad.yaml +20 -6
  250. package/squads/squad-claude/knowledge-base/context-window-optimization.md +1 -1
  251. package/squads/squad-claude/knowledge-base/swarm-orchestration-patterns.md +2 -2
  252. package/squads/squad-content/knowledge-base/ai-native-content-loop.md +220 -0
  253. package/squads/squad-content/knowledge-base/signal-intelligence-v2.md +234 -0
  254. package/squads/squad-content/knowledge-base/task-ownership-map.md +235 -0
  255. package/squads/squad-content/squad.yaml +187 -27
  256. package/squads/squad-copy/knowledge-base/ai-copy-human-loop-canon.md +235 -0
  257. package/squads/squad-copy/squad.yaml +19 -4
  258. package/squads/squad-design/knowledge-base/cross-surface-token-canon.md +209 -0
  259. package/squads/squad-design/squad.yaml +19 -4
  260. package/.sinapse-ai/core/registry/service-registry.json +0 -6346
  261. package/.sinapse-ai/data/registry-update-log.jsonl +0 -1323
  262. package/.sinapse-ai/manifests/agents.csv +0 -29
  263. package/.sinapse-ai/manifests/tasks.csv +0 -204
  264. package/.sinapse-ai/manifests/workers.csv +0 -196
  265. package/squads/squad-growth/tasks/calculate-sample-size.md +0 -121
  266. package/squads/squad-paidmedia/tasks/calculate-sample-size.md +0 -57
@@ -1,14 +1,14 @@
1
1
  # ══════════════════════════════════════════════════════════════════════════════
2
- # SQUAD MANIFEST — squad-content v1.0
2
+ # SQUAD MANIFEST — squad-content v2.0
3
3
  # ══════════════════════════════════════════════════════════════════════════════
4
4
  # The world-class content intelligence squad for detecting signals, planning
5
5
  # editorially, structuring narratives, producing content at scale, adapting
6
6
  # natively per platform, auditing quality, and measuring performance.
7
- # 7 agents | 90 tasks | 6 workflows | 16 KBs | 7 templates | Full coverage
7
+ # 7 agents | 90 tasks | 6 workflows | 32 KBs | 7 templates | Full coverage
8
8
  # ══════════════════════════════════════════════════════════════════════════════
9
9
 
10
10
  name: squad-content
11
- version: 1.0.0
11
+ version: 2.0.0
12
12
  description: >
13
13
  Squad de classe mundial para inteligencia de conteudo: deteccao de sinais em
14
14
  tempo real, planejamento editorial estrategico, producao de conteudo em escala
@@ -23,16 +23,17 @@ slashPrefix: SINAPSE
23
23
 
24
24
  metadata:
25
25
  created_at: "2026-03-13"
26
- updated_at: "2026-03-13"
26
+ updated_at: "2026-04-12"
27
27
  created_by: "squad-creator (Craft)"
28
+ last_upgraded_by: "Story fw-v2.4 (squad-content v2.0 upgrade) via @sinapse-orqx Imperator"
28
29
  quality_target: "5.0/5.0 em todas as dimensoes"
29
30
  agents_count: 7
30
31
  tasks_count: 90
31
- knowledge_bases_count: 16
32
+ knowledge_bases_count: 32
32
33
  checklists_count: 3
33
34
  templates_count: 7
34
35
  workflows_count: 6
35
- total_files: 130
36
+ total_files: 146
36
37
 
37
38
  # ══════════════════════════════════════════════════════════════════════════════
38
39
  # QUALITY STANDARDS — Regras de Robustez (v1.0)
@@ -281,42 +282,58 @@ components:
281
282
  - onboarding-content-cycle.yaml # Setup de cliente novo: Big Idea → primeiro sprint
282
283
 
283
284
  # ══════════════════════════════════════════════════════════════════════════════
284
- # KNOWLEDGE BASES — 14 BASES
285
+ # KNOWLEDGE BASES — 32 BASES (reconciled to disk 2026-04-12, v2.0.0)
285
286
  # ══════════════════════════════════════════════════════════════════════════════
286
287
 
287
288
  knowledge_bases:
289
+ # Canon playbooks (v2 — story fw-v2.4)
290
+ - ai-native-content-loop.md # Canon 6-phase loop: signal→ai draft→human edit→adapt→measure→retrofeed
291
+ - task-ownership-map.md # 90-task ownership matrix, imbalance audit, routing reference
292
+ - signal-intelligence-v2.md # 2026 source landscape, classification taxonomy, routing, quality scoring
293
+
288
294
  # Strategy & Planning
289
- - content-strategy-frameworks.md # Pulizzi, Halvorson, Rose, CMI, HubSpot
290
- - content-spine-engine.md # Motor central: tese-mecanismo-prova-direcao
291
- - editorial-governance.md # Governanca, RACI, lifecycle, style guide
295
+ - content-strategy-master-reference.md # Master content strategy reference
296
+ - editorial-strategy-frameworks.md # Editorial strategy frameworks (Pulizzi, Halvorson, Rose, CMI, HubSpot)
297
+ - content-architecture-taxonomy.md # Taxonomy, topic clusters, Rosenfeld & Morville
298
+ - content-spine-engine.md # Motor central: tese-mecanismo-prova-direcao
299
+ - content-governance-principles.md # Governanca, RACI, lifecycle, style guide
292
300
 
293
301
  # Narrative & Writing
294
- - narrative-structures.md # Campbell, Miller SB7, Heath SUCCESs, Hook Systems
295
- - writing-rules-engine.md # Regras de escrita por formato, construcao causal
302
+ - narrative-structures-library.md # Campbell, Miller SB7, Heath SUCCESs, Hook Systems
303
+ - hook-formulas-library.md # Hook Point, pattern interrupts, attention capture formulas
304
+ - copywriting-formulas-library.md # Persuasion formulas shared with squad-copy
305
+ - strategic-content-authority.md # Processo visivel como ativo de autoridade
306
+ - ai-leverage-content-framework.md # Transformar updates de IA em consequencia empresarial
307
+ - social-compression-framework.md # Compressao de tese densa sem perder substancia
296
308
 
297
309
  # Platform & Distribution
298
- - platform-algorithms.md # Algoritmo por plataforma, versionado
299
- - template-contract-system.md # Contratos tecnicos por plataforma x formato
300
- - content-atomization-repurposing.md # Atomizacao + matrizes de transformacao
310
+ - platform-algorithm-intelligence.md # Algoritmo por plataforma, versionado
311
+ - social-algorithms-master-reference.md # Master reference for social algorithms
312
+ - template-contract-system.md # Contratos tecnicos por plataforma x formato
313
+ - content-repurposing-playbook.md # Atomizacao + matrizes de transformacao
314
+ - content-formats-encyclopedia.md # Encyclopedia of content formats per platform
315
+ - email-newsletter-strategy.md # Newsletter economics + lifecycle
316
+ - video-audio-content-playbook.md # Video/audio content playbook
301
317
 
302
318
  # Quality & Measurement
303
- - eeat-quality-standards.md # Google E-E-A-T, quality signals, trust
304
- - content-scoring-models.md # Metricas, engagement, predictive, attribution
305
- - viral-potential-scoring.md # SPV unificado pre/pos, STEPPS, Hook Point
319
+ - content-quality-criteria.md # Quality criteria for E-E-A-T, voice, narrative
320
+ - content-measurement-framework.md # Measurement framework, KPIs, attribution
321
+ - viral-potential-scoring.md # SPV unificado pre/pos, STEPPS, Hook Point
306
322
 
307
323
  # Intelligence & Architecture
308
- - signal-detection-methods.md # Deteccao de sinais, trend classification
309
- - information-architecture.md # Taxonomia, topic clusters, Rosenfeld & Morville
324
+ - signal-detection-methods.md # v1 foundational signal definitions (UNTOUCHED in v2)
325
+ - competitor-analysis-methods.md # Competitor content analysis methods
326
+ - seo-content-deep.md # Deep SEO content strategies
327
+ - content-references-bibliography.md # Bibliography of world-class references
310
328
 
311
329
  # AI & Production
312
- - ai-content-production.md # AI-assisted creation, prompt engineering, governance
313
-
314
- # Authority & Process
315
- - strategic-content-authority.md # Processo visivel como ativo de autoridade — bastidor, criterio e prova de competencia
330
+ - ai-content-production.md # AI-assisted creation, prompt engineering, governance
331
+ - content-tech-stack.md # Content ops tech stack
316
332
 
317
- # AI & Leverage
318
- - ai-leverage-content-framework.md # Transformar updates de IA em conteudo de consequencia empresarial
319
- - social-compression-framework.md # Compressao de tese densa em conteudo social-native sem perder substancia
333
+ # Context & Routing
334
+ - brazilian-content-context.md # pt-BR cultural + linguistic context
335
+ - cross-squad-integration-protocol.md # Cross-squad handoff protocol
336
+ - routing-catalog.md # Intra-squad routing catalog
320
337
 
321
338
  checklists:
322
339
  - content-quality-checklist.md # QA pre-publicacao: voice, narrative, E-E-A-T, platform
@@ -403,10 +420,153 @@ cross_squad_connections:
403
420
  - squad-copy: "Tecnicas de persuasao, frameworks de copy, awareness levels"
404
421
  - squad-growth: "SEO keywords, pillar-cluster data, search intent mapping"
405
422
 
423
+ # ══════════════════════════════════════════════════════════════════════════════
424
+ # AGENT TASK OWNERSHIP — v2.0 backfill (source of truth: task-ownership-map.md KB)
425
+ # ══════════════════════════════════════════════════════════════════════════════
426
+ # This block makes task ownership deterministic. Every task has exactly one
427
+ # primary agent. See task-ownership-map.md for secondary mappings and rationale.
428
+ # Added in v2.0 (Story fw-v2.4) — AC2 of the rebalance story.
429
+ # ══════════════════════════════════════════════════════════════════════════════
430
+
431
+ agent_task_ownership:
432
+ content-orqx:
433
+ primary_count: 5
434
+ phase_coverage: "cross-phase (coordinator)"
435
+ tasks:
436
+ - orchestrate-content-pipeline.md
437
+ - manage-content-sprint.md
438
+ - coordinate-cross-squad.md
439
+ - triage-content-requests.md
440
+ - triage-urgent-signal.md
441
+ signal-intelligence:
442
+ primary_count: 10
443
+ phase_coverage: "phase 1 (signal)"
444
+ tasks:
445
+ - scan-daily-signals.md
446
+ - detect-trending-topics.md
447
+ - map-cultural-signals.md
448
+ - curate-weekly-briefing.md
449
+ - monitor-competitor-content.md
450
+ - alert-opportunity-windows.md
451
+ - classify-signal-temperature.md
452
+ - map-signal-to-pillar.md
453
+ - configure-signal-sources.md
454
+ - curate-ugc-signals.md
455
+ editorial-strategist:
456
+ primary_count: 10
457
+ phase_coverage: "pre-phase-1 + phase 6"
458
+ tasks:
459
+ - define-big-idea.md
460
+ - define-editorial-pillars.md
461
+ - create-editorial-calendar.md
462
+ - plan-content-sprint.md
463
+ - align-content-to-funnel.md
464
+ - map-content-gaps.md
465
+ - plan-seasonal-content.md
466
+ - prioritize-themes.md
467
+ - balance-content-mix.md
468
+ - define-content-kpis.md
469
+ content-engineer:
470
+ primary_count: 25
471
+ phase_coverage: "phase 2 (ai draft)"
472
+ load_status: "OVER-LOADED — documented, split candidate for future story"
473
+ tasks:
474
+ - design-content-spine.md
475
+ - design-narrative-arc.md
476
+ - structure-carousel-progression.md
477
+ - structure-video-script.md
478
+ - design-content-series.md
479
+ - apply-storybrand-framework.md
480
+ - design-pillar-cluster-model.md
481
+ - create-content-brief.md
482
+ - design-hook-system.md
483
+ - structure-argument-progression.md
484
+ - define-content-depth-levels.md
485
+ - write-carousel-content.md
486
+ - write-instagram-caption.md
487
+ - write-linkedin-post.md
488
+ - write-blog-article.md
489
+ - write-video-script.md
490
+ - write-reel-script.md
491
+ - write-newsletter-editorial.md
492
+ - write-thread-content.md
493
+ - write-opinion-post.md
494
+ - write-case-study.md
495
+ - write-educational-content.md
496
+ - write-product-content.md
497
+ - verify-algorithmic-hooks.md
498
+ - batch-content-production.md
499
+ platform-specialist:
500
+ primary_count: 17
501
+ phase_coverage: "phase 4 (platform adapt)"
502
+ tasks:
503
+ - adapt-for-instagram-feed.md
504
+ - adapt-for-instagram-stories.md
505
+ - adapt-for-instagram-reels.md
506
+ - adapt-for-linkedin.md
507
+ - adapt-for-blog-seo.md
508
+ - adapt-for-tiktok.md
509
+ - adapt-for-twitter-threads.md
510
+ - define-posting-schedule.md
511
+ - create-platform-guidelines.md
512
+ - optimize-for-algorithm.md
513
+ - design-content-atomization.md
514
+ - register-template-contract.md
515
+ - update-template-specs.md
516
+ - adapt-content-language.md
517
+ - batch-platform-adaptation.md
518
+ - flag-content-for-amplification.md
519
+ - integrate-brand-visual-assets.md
520
+ content-governor:
521
+ primary_count: 12
522
+ phase_coverage: "phase 3 (human edit) + phase 6 (governance)"
523
+ tasks:
524
+ - audit-content-library.md
525
+ - check-brand-consistency.md
526
+ - validate-content-quality.md
527
+ - manage-content-taxonomy.md
528
+ - organize-content-archive.md
529
+ - create-content-governance.md
530
+ - define-content-standards.md
531
+ - audit-template-compliance.md
532
+ - validate-content-compliance.md
533
+ - process-content-rejection.md
534
+ - import-existing-content-library.md
535
+ - update-content-preferences.md
536
+ content-analyst:
537
+ primary_count: 11
538
+ phase_coverage: "phase 5 (measure) + phase 6 (retrofeed)"
539
+ tasks:
540
+ - analyze-content-performance.md
541
+ - score-content-quality.md
542
+ - measure-content-roi.md
543
+ - track-engagement-patterns.md
544
+ - benchmark-against-competitors.md
545
+ - evaluate-eeat-compliance.md
546
+ - generate-content-report.md
547
+ - identify-top-performers.md
548
+ - predict-content-performance.md
549
+ - analyze-audience-behavior.md
550
+ - generate-retrofeed-insights.md
551
+
406
552
  # ══════════════════════════════════════════════════════════════════════════════
407
553
  # CHANGELOG
408
554
  # ══════════════════════════════════════════════════════════════════════════════
409
555
  #
556
+ # v2.0.0 (2026-04-12) — Content Loop Canon + Task Ownership + Signal v2
557
+ # Story: fw-v2.4 (squad-content agent rebalance + AI-native loop)
558
+ # Epic: EPIC-framework-upgrade-v2
559
+ # Changes:
560
+ # - NEW KB: ai-native-content-loop.md — canon 6-phase loop playbook
561
+ # - NEW KB: task-ownership-map.md — 90-task ownership matrix with imbalance audit
562
+ # - NEW KB: signal-intelligence-v2.md — 2026 source landscape, classification, quality scoring
563
+ # - YAML reconciled to disk reality: knowledge_bases_count 16 → 32 (16 prior undeclared)
564
+ # - YAML gained agent_task_ownership block (authoritative primary mapping)
565
+ # - total_files 130 → 146
566
+ # - Zero edits to the 7 agent persona files (AC5 respected)
567
+ # - Zero edits to signal-detection-methods.md v1 (v2 is additive companion)
568
+ # Imbalance audit logged: content-engineer over-loaded (25 primaries) — split candidate for future story
569
+ #
410
570
  # v1.0.0 (2026-03-13) — Initial Release
411
571
  # Squad criada com 3 rodadas de provocacao + micro-rodada cirurgica
412
572
  # 7 agentes, 90 tasks, 6 workflows, 14 KBs, 3 checklists, 7 templates
@@ -0,0 +1,235 @@
1
+ # Knowledge Base: AI Copy Human-in-the-Loop Canon
2
+
3
+ > **Status:** Canon — canonical source of truth for when AI drafts ship, when humans intervene, and how the handoff works inside `squad-copy` (Quill).
4
+ > **Version:** 1.0 (shipped with squad-copy v2.0.0 framework-upgrade / fw-v2.5)
5
+ > **Raises to canon:** `ai-copy-production.md` (capability note, still valid as reference)
6
+ > **Depends on:** `market-awareness-spectrum.md`, `persuasion-architecture-framework.md`, `voice-and-tone-system.md`
7
+
8
+ ## Why this doc exists
9
+
10
+ `ai-copy-production.md` documents **capability** — what AI does well, where humans are insubstituible. It is correct and still useful, but it is not a canon — it does not tell an operator "on this specific copy job, should you ship the AI draft, light-edit it, rewrite it, or scrap it and start over?" That decision question is the single most common one in day-to-day copy work in 2026, and getting it wrong in either direction costs money — over-editing wastes hours on copy AI could have drafted well, under-editing ships commodity copy that underperforms.
11
+
12
+ This canon is the decision framework. Every copy agent in `squad-copy` that uses AI assistance MUST run the 4-gate decision tree before deciding the edit depth on a piece of copy.
13
+
14
+ ---
15
+
16
+ ## 1. The 4-gate decision tree
17
+
18
+ Given an AI draft, the operator asks FOUR questions in order. The first **NO** answer determines the action.
19
+
20
+ ```
21
+ Gate 1: TRUST — Can the AI draft ship as-is with spot-check only?
22
+ YES → Ship it (proofread + fact check only)
23
+ NO → Gate 2
24
+
25
+ Gate 2: LIGHT EDIT — Can a 10-20% touch-up make it ship-ready?
26
+ YES → Apply light edit (voice, polish, hooks)
27
+ NO → Gate 3
28
+
29
+ Gate 3: HEAVY REWRITE — Is the structure usable as scaffolding?
30
+ YES → Heavy rewrite on top of AI scaffolding
31
+ NO → Gate 4
32
+
33
+ Gate 4: SCRAP — Is there any salvageable angle or data?
34
+ YES → Extract what's salvageable, start over from brief
35
+ NO → Scrap entirely, write from zero
36
+ ```
37
+
38
+ Each gate has its own signal set. The signals are ordered from highest-leverage to lowest — any strong NO on a high-leverage signal drops the draft to the next gate immediately.
39
+
40
+ ---
41
+
42
+ ## 2. Gate 1 — Trust
43
+
44
+ **Ship the AI draft with only proofreading and fact-checking.**
45
+
46
+ ### When Gate 1 passes
47
+
48
+ All of the following are true:
49
+ - **Stakes are low** — social media post, internal comms, minor UI microcopy, FAQ entry
50
+ - **Market awareness** is informed or aware (per `market-awareness-spectrum.md` Schwartz levels 3-5), i.e. the reader already knows the product/category and needs information, not persuasion
51
+ - **Brand voice is generic-professional** — the brand's voice is not a differentiator, functional clarity is the goal
52
+ - **No claims** — the draft makes no factual/statistical/outcome claims that need verification
53
+ - **Format is standardized** — headline/body/CTA or similar well-trodden pattern
54
+
55
+ ### What Gate 1 copy looks like
56
+ - Product feature bullets, "you can also do X" microcopy, 404 pages, confirmation toasts
57
+ - Social media slot fillers (not hero posts)
58
+ - Internal comms drafts
59
+ - FAQ answers for operational questions
60
+
61
+ ### Required steps before ship
62
+ 1. Proofread (human eye, not AI spell-check)
63
+ 2. Fact-check every claim
64
+ 3. Compliance scan (no regulated claims — health, financial, legal)
65
+ 4. Brand voice sanity check — single pass for "does this sound like us"
66
+
67
+ ### Recommended AI driver
68
+ See §6 prompt library — use the `gate-1-draft` template.
69
+
70
+ ---
71
+
72
+ ## 3. Gate 2 — Light edit (10-20% touch-up)
73
+
74
+ **AI draft is the baseline, human adds voice + polish + conversion levers.**
75
+
76
+ ### When Gate 2 passes (and Gate 1 fails)
77
+
78
+ - **Stakes are moderate** — email body, landing page section, ad copy variant, blog intro
79
+ - **Market awareness** is solution-aware (Schwartz level 3), reader knows the problem but not your solution
80
+ - **Brand voice is distinctive** but the AI can approximate it with strong prompting
81
+ - **Claims exist** but are verifiable and simple
82
+ - **The hook/CTA needs sharpening** but the body is fine
83
+
84
+ ### What the light edit typically changes
85
+ - **Hook** — replace or sharpen the opening 1-2 sentences (AI defaults are generic)
86
+ - **Voice injection** — swap 5-15% of the vocabulary for brand-specific register (lexicon, metaphors, rhythm)
87
+ - **Conversion lever** — add 1-2 persuasion triggers from `persuasion-triggers-catalog.md` the AI missed
88
+ - **CTA** — rewrite from AI's generic "Learn more" / "Saiba mais" to the brand's canonical CTA pattern
89
+ - **Proof** — inject specific proof elements (numbers, testimonials, case studies) AI did not have
90
+ - **Cut** — remove 10-20% of filler the AI added
91
+
92
+ ### What Gate 2 does NOT do
93
+ - Does not rewrite the structure — if the structure is wrong, escalate to Gate 3
94
+ - Does not add a new angle — if the angle is off, escalate to Gate 3
95
+ - Does not fix factual errors by "softening" them — always correct or escalate
96
+
97
+ ---
98
+
99
+ ## 4. Gate 3 — Heavy rewrite
100
+
101
+ **AI draft is scaffolding, human authors 50-80% of the final text on top of it.**
102
+
103
+ ### When Gate 3 passes (and Gate 2 fails)
104
+
105
+ - **Stakes are high** — sales page hero, launch email, ad campaign flagship, VSL script
106
+ - **Market awareness** is product-aware or most-aware (Schwartz levels 4-5), reader needs nuanced persuasion
107
+ - **Brand voice is highly distinctive** and AI approximations lose the specific rhythm, references, or controversy the brand owns
108
+ - **Opinion / point-of-view is required** — AI defaults to consensus, brand defaults to a sharp POV
109
+ - **Complex proof** — multiple studies, custom data, interlocked testimonials
110
+ - **Objection handling is layered** — 3+ objections handled in a specific order with specific reframes
111
+
112
+ ### What the heavy rewrite typically does
113
+ - **Keeps the AI's structural outline** (sections, order, rough length)
114
+ - **Keeps some AI bullets/data points** that are useful (if any)
115
+ - **Replaces 50-80% of the prose** with human-authored voice
116
+ - **Rewrites every section opener** — AI openers are almost always generic
117
+ - **Reorders for conversion** — AI tends to information-order; humans convert-order
118
+ - **Adds the brand's signature moves** — specific metaphors, signature phrases, callbacks
119
+ - **Proof injection at full depth** — not just "we helped N customers" but the specific story
120
+
121
+ ### AI role in Gate 3
122
+ Gate 3 is NOT "AI is useless". AI is still the scaffolding — the outline, the brainstorm, the objection enumeration, the headline variants (pick 1 from 25). The heavy lift is human because the brand signature and POV are non-negotiable on high-stakes copy.
123
+
124
+ ---
125
+
126
+ ## 5. Gate 4 — Scrap and start from zero
127
+
128
+ **AI draft is not usable. Start from the original brief.**
129
+
130
+ ### When Gate 4 passes (and Gate 3 fails)
131
+
132
+ - **The angle is wrong** — AI picked a generic angle when the brief needed a contrarian one
133
+ - **The brand voice is so specific** that AI cannot approximate it without producing cringe (Seth Godin-style blogs, David Ogilvy direct-response longform, Brazilian direct-response with specific regional flavor)
134
+ - **Legal/compliance is delicate** — regulated industry, claim scrutiny, political/cultural sensitivity
135
+ - **The piece requires lived experience** — "I built X and here's what I learned" copy where authenticity IS the value prop
136
+ - **The AI draft shows hallucinations** — made-up statistics, fabricated testimonials, invented product features — at which point the draft is contaminated and cannot be "fixed"
137
+
138
+ ### How to use AI when scrapping to start over
139
+ 1. Generate 20-50 **hooks/angles** with AI (cheap brainstorming)
140
+ 2. Human picks 1 angle
141
+ 3. Human writes the piece from zero
142
+ 4. AI does **editing passes** on the human draft (copy-editing, not re-drafting)
143
+ 5. AI does **variant generation** (headline variants, CTA variants, subject line variants — 10-25 options per slot)
144
+ 6. Human picks finalists, ships
145
+
146
+ The AI is a **research/brainstorm/variant tool** in Gate 4, not a drafter.
147
+
148
+ ---
149
+
150
+ ## 6. AI prompt library (agent-owned)
151
+
152
+ Every copy agent in `squad-copy` owns 1-2 AI prompt templates aligned to their specialty. The templates live in the agent file and are referenced here for the canonical set. Agent ownership prevents drift and ensures accountability.
153
+
154
+ | Prompt template | Purpose | Owner agent | Typical gate |
155
+ |----------------|---------|-------------|-------------|
156
+ | `gate-1-draft` | Generic AI draft for low-stakes copy | copy-editor | Gate 1 |
157
+ | `hook-brainstorm` | 25 hook/angle variations for an offer | headline-specialist | Gate 3-4 |
158
+ | `headline-variants` | 25 headline variations from a single angle | headline-specialist | Any |
159
+ | `objection-enumeration` | Enumerate objections for a given audience + offer | copy-strategist | Gate 2-4 |
160
+ | `objection-handler` | Reframe 1 objection in 3 angles | copy-strategist | Gate 2-3 |
161
+ | `proof-synthesis` | Assemble proof elements (testimonials, data, case studies) into persuasive summary | copy-strategist | Gate 2-3 |
162
+ | `cta-variation` | 10 CTA variations (action verb × reward × urgency) | ad-copywriter | Any |
163
+ | `subject-line-cascade` | Cold → warm → hot subject lines for an email sequence | email-copywriter | Gate 1-2 |
164
+ | `vsl-beat-sheet` | VSL structure beat-by-beat from a brief | vsl-scriptwriter | Gate 3 |
165
+ | `social-compression` | Compress long-form into platform-native short form | social-copywriter | Gate 1-2 |
166
+ | `market-awareness-diagnostic` | Diagnose reader's Schwartz awareness level from a brief | copy-strategist | Pre-draft |
167
+ | `voice-audit` | Audit a draft against brand voice canon, flag drift | copy-editor | Any gate's exit check |
168
+
169
+ **Rule:** Before a prompt template is added to the library, the owner agent must have run the template on ≥ 3 real copy jobs and the quality must be documented in the agent's MEMORY.md. Unproven prompts do not enter the canon library.
170
+
171
+ ---
172
+
173
+ ## 7. Signals cheat sheet — which signals push which way
174
+
175
+ | Signal | Pushes toward |
176
+ |--------|--------------|
177
+ | Low stakes, generic voice, informed audience | Gate 1 |
178
+ | Moderate stakes, distinctive voice, solution-aware audience | Gate 2 |
179
+ | High stakes, sharp POV, most-aware audience | Gate 3 |
180
+ | Regulated industry / legal sensitivity | Gate 3 or 4 |
181
+ | Requires lived experience / authenticity | Gate 4 |
182
+ | AI hallucinated facts | Gate 4 (draft contaminated) |
183
+ | Complex interlocked proof | Gate 3 |
184
+ | Simple verifiable claims | Gate 1 or 2 |
185
+ | Brand has signature moves (metaphors, callbacks, controversy) | Gate 3 |
186
+ | Copy is template-fillable (FAQ, toast, microcopy) | Gate 1 |
187
+ | Multi-step objection handling required | Gate 3 |
188
+ | Single objection, standard reframe | Gate 2 |
189
+
190
+ ---
191
+
192
+ ## 8. Production hygiene (every AI-assisted piece)
193
+
194
+ Every AI-assisted copy deliverable MUST record:
195
+
196
+ 1. **Gate used** — which of the 4 gates (Trust / Light / Heavy / Scrap)
197
+ 2. **Prompt template(s) used** — from the library in §6
198
+ 3. **Model used** — GPT-5, Claude Opus 4.6, Gemini 2.5 Pro, etc.
199
+ 4. **Final edit depth** — rough % AI vs human in the shipped version
200
+ 5. **Conversion outcome** (if tracked) — linked to the attribution system
201
+
202
+ This record belongs in the copy job's handoff artifact. The record is used to:
203
+ - Audit the gate decisions over time (are we systematically over/under-editing?)
204
+ - Train operators on gate selection
205
+ - Feed back into the prompt library (which prompts outperform, which drift)
206
+
207
+ ---
208
+
209
+ ## 9. Anti-patterns (forbidden)
210
+
211
+ - **Skipping gate selection** — shipping whatever AI produced without running the 4-gate decision
212
+ - **Systematic Gate 1** — defaulting to "AI is good enough" for high-stakes copy
213
+ - **Systematic Gate 4** — defaulting to "rewrite everything from zero" for low-stakes copy (wastes the AI leverage)
214
+ - **Editing hallucinated facts instead of flagging them** — a draft with hallucinations is contaminated, escalate to Gate 4 or rerun the prompt with facts in context
215
+ - **Using "in the voice of [living copywriter]"** — legally risky and produces pastiche; use attribute descriptions instead
216
+ - **Shipping without production hygiene (§8)** — if you can't reconstruct the gate + prompt + model used, the job is undocumented
217
+ - **Mixing AI prose and human prose without re-voice-pass** — AI sections stand out from human sections unless a final voice pass unifies them
218
+ - **Treating AI variants as consensus output** — always pick ONE finalist per variant generation, never ship "an average"
219
+ - **Re-generating endlessly to avoid human decision** — if you're on your 10th generation and still unhappy, escalate to Gate 3 or Gate 4 instead of regenerating
220
+
221
+ ---
222
+
223
+ ## 10. Integration with existing KBs
224
+
225
+ - `ai-copy-production.md` — capability reference (what AI does well / where humans are insubstituible). Still valid; this canon builds on it.
226
+ - `market-awareness-spectrum.md` — Gate 1-4 signals reference the Schwartz awareness levels directly.
227
+ - `persuasion-architecture-framework.md` — the "conversion levers" that Gate 2 light-edits inject.
228
+ - `persuasion-triggers-catalog.md` — individual triggers the Gate 2 edit inserts.
229
+ - `voice-and-tone-system.md` — the voice canon that the Gate 2 voice injection and Gate 3 rewrite enforce.
230
+ - `copywriting-formulas-encyclopedia.md` — structural scaffoldings that AI drafts rarely get right without explicit instruction.
231
+ - `legendary-copywriters-frameworks.md` — the POV/signature moves that Gate 3 rewrites restore.
232
+
233
+ ## Change log
234
+
235
+ - **2026-04-12 (v1.0)** — Created as part of squad-copy v2.0.0 / fw-v2.5. Raises `ai-copy-production.md` from capability reference to a canonical 4-gate decision framework covering Trust / Light / Heavy / Scrap with signals, AI prompt library (12 templates mapped to owner agents), production hygiene, integration with existing KBs, and anti-patterns.
@@ -1,5 +1,5 @@
1
1
  name: squad-copy
2
- version: "1.0.0"
2
+ version: "2.0.0"
3
3
  slashPrefix: SINAPSE
4
4
  author: Caio Imori
5
5
  license: UNLICENSED
@@ -10,17 +10,32 @@ description: >
10
10
 
11
11
  metadata:
12
12
  created: "2026-03-12"
13
+ last_updated: "2026-04-12"
13
14
  author: "Sinapse"
14
15
  tier: 1
15
- total_files: 113
16
- agents: 12
16
+ total_files: 135
17
+ agents: 14
17
18
  tasks: 81
18
19
  workflows: 6
19
- knowledge_bases: 14
20
+ knowledge_bases: 24
20
21
  checklists: 3
21
22
  templates: 7
22
23
  preferences: 1
23
24
 
25
+ changelog:
26
+ - version: "2.0.0"
27
+ date: "2026-04-12"
28
+ story: fw-v2.5
29
+ epic: EPIC-framework-upgrade-v2
30
+ highlights:
31
+ - "Shipped ai-copy-human-loop-canon.md KB — 4-gate decision framework (Trust/Light/Heavy/Scrap) for when AI drafts ship vs when humans intervene. Covers signals per gate, AI prompt library (12 templates mapped to owner agents), production hygiene, integration with existing KBs, anti-patterns."
32
+ - "Raises ai-copy-production.md from capability reference to canonical decision framework."
33
+ - "Reconciled yaml counts to disk reality (agents 12->14, knowledge_bases 14->24, total_files 113->135). Prior drift accumulated over multiple minor releases."
34
+ breaking_changes: []
35
+ deferred_to_follow_up:
36
+ - "AC2 — cross-lingual-conversion-copy.md KB (pt-BR <-> en-US adaptation patterns). Scoped out to ship ai-copy-human-loop-canon at canon quality rather than dilute two KBs."
37
+ - "AC3 — rsa-ads-copy-guide.md standalone stub (RSA character limits, pinning strategy). Lower priority, can ship as follow-up."
38
+
24
39
  quality_standards:
25
40
  reference_authors:
26
41
  - David Ogilvy (advertising fundamentals, Ogilvy on Advertising)