kubeintellect 2.0.2__tar.gz → 2.4.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 (201) hide show
  1. kubeintellect-2.4.0/.gitignore +189 -0
  2. kubeintellect-2.4.0/LICENSE +661 -0
  3. kubeintellect-2.4.0/PKG-INFO +58 -0
  4. kubeintellect-2.4.0/README.md +10 -0
  5. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/agent/hitl.py +13 -3
  6. kubeintellect-2.4.0/app/agent/nodes/context_fetcher.py +310 -0
  7. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/agent/nodes/coordinator.py +212 -31
  8. kubeintellect-2.4.0/app/agent/nodes/memory_loader.py +130 -0
  9. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/agent/nodes/subagent.py +1 -2
  10. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/agent/playbooks/command_hardcoded_failure.yaml +1 -0
  11. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/agent/playbooks/containercreating_stuck.yaml +10 -0
  12. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/agent/playbooks/crashloopbackoff.yaml +14 -0
  13. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/agent/playbooks/createcontainerconfigerror.yaml +11 -0
  14. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/agent/playbooks/evicted.yaml +10 -0
  15. kubeintellect-2.4.0/app/agent/playbooks/hpa_not_scaling.yaml +27 -0
  16. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/agent/playbooks/imagepullbackoff.yaml +11 -0
  17. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/agent/playbooks/init_container_failing.yaml +12 -0
  18. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/agent/playbooks/job_backoff_limit.yaml +8 -0
  19. kubeintellect-2.4.0/app/agent/playbooks/liveness_probe_failing.yaml +34 -0
  20. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/agent/playbooks/loader.py +30 -4
  21. kubeintellect-2.4.0/app/agent/playbooks/networkpolicy_blocking.yaml +34 -0
  22. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/agent/playbooks/node_not_ready.yaml +11 -0
  23. kubeintellect-2.4.0/app/agent/playbooks/oomkilled.yaml +37 -0
  24. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/agent/playbooks/pending_resources.yaml +8 -0
  25. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/agent/playbooks/pending_scheduling.yaml +9 -0
  26. kubeintellect-2.4.0/app/agent/playbooks/pvc_pending.yaml +37 -0
  27. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/agent/playbooks/quota_exceeded.yaml +8 -0
  28. kubeintellect-2.4.0/app/agent/playbooks/readiness_probe_failing.yaml +31 -0
  29. kubeintellect-2.4.0/app/agent/playbooks/rollout_stuck.yaml +48 -0
  30. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/agent/playbooks/service_no_endpoints.yaml +10 -0
  31. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/agent/playbooks/service_unreachable.yaml +1 -0
  32. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/agent/playbooks/terminating_stuck.yaml +13 -0
  33. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/agent/playbooks/webhook_admission_rejected.yaml +9 -0
  34. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/agent/state.py +11 -1
  35. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/agent/workflow.py +200 -29
  36. kubeintellect-2.4.0/app/answer_contract.py +59 -0
  37. kubeintellect-2.4.0/app/api/middleware.py +77 -0
  38. kubeintellect-2.4.0/app/api/rate_limit.py +184 -0
  39. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/api/v1/auth.py +34 -5
  40. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/api/v1/endpoints/auth.py +22 -1
  41. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/api/v1/endpoints/chat_completions.py +36 -2
  42. kubeintellect-2.4.0/app/api/v1/endpoints/detectors.py +205 -0
  43. kubeintellect-2.4.0/app/api/v1/endpoints/digest.py +19 -0
  44. kubeintellect-2.4.0/app/api/v1/endpoints/episodes.py +89 -0
  45. kubeintellect-2.4.0/app/api/v1/endpoints/events.py +62 -0
  46. kubeintellect-2.4.0/app/api/v1/endpoints/findings.py +45 -0
  47. kubeintellect-2.4.0/app/api/v1/endpoints/health.py +117 -0
  48. kubeintellect-2.4.0/app/api/v1/endpoints/namespaces.py +94 -0
  49. kubeintellect-2.4.0/app/api/v1/endpoints/postmortem.py +43 -0
  50. kubeintellect-2.4.0/app/api/v1/endpoints/preferences.py +75 -0
  51. kubeintellect-2.4.0/app/api/v1/endpoints/v5_status.py +94 -0
  52. kubeintellect-2.4.0/app/api/v1/router.py +59 -0
  53. kubeintellect-2.4.0/app/autonomy/__init__.py +7 -0
  54. kubeintellect-2.4.0/app/autonomy/blast_radius.py +51 -0
  55. kubeintellect-2.4.0/app/autonomy/budget.py +140 -0
  56. kubeintellect-2.4.0/app/autonomy/failure_domain.py +61 -0
  57. kubeintellect-2.4.0/app/autonomy/ladder.py +92 -0
  58. kubeintellect-2.4.0/app/autonomy/promotion_engine.py +136 -0
  59. kubeintellect-2.4.0/app/autonomy/promotion_fixtures.py +98 -0
  60. kubeintellect-2.4.0/app/autonomy/promotion_source.py +208 -0
  61. kubeintellect-2.4.0/app/autonomy/promotion_stats.py +298 -0
  62. kubeintellect-2.4.0/app/autonomy/spend_source.py +43 -0
  63. kubeintellect-2.4.0/app/autonomy/staged_propagation.py +53 -0
  64. kubeintellect-2.4.0/app/autonomy/watchtower.py +223 -0
  65. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/cli.py +799 -111
  66. kubeintellect-2.4.0/app/cluster_id.py +121 -0
  67. kubeintellect-2.4.0/app/core/config.py +817 -0
  68. kubeintellect-2.4.0/app/core/config_audit.py +249 -0
  69. kubeintellect-2.4.0/app/core/leader.py +224 -0
  70. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/core/llm.py +62 -14
  71. kubeintellect-2.4.0/app/core/metrics.py +124 -0
  72. kubeintellect-2.4.0/app/core/readiness.py +45 -0
  73. kubeintellect-2.4.0/app/core/supply_chain.py +250 -0
  74. kubeintellect-2.4.0/app/core/usage.py +151 -0
  75. kubeintellect-2.4.0/app/core/version.py +231 -0
  76. kubeintellect-2.4.0/app/cortex/__init__.py +7 -0
  77. kubeintellect-2.4.0/app/cortex/briefs.py +162 -0
  78. kubeintellect-2.4.0/app/cortex/change_rca.py +80 -0
  79. kubeintellect-2.4.0/app/cortex/graph.py +675 -0
  80. kubeintellect-2.4.0/app/cortex/harness/__init__.py +32 -0
  81. kubeintellect-2.4.0/app/cortex/harness/runner.py +199 -0
  82. kubeintellect-2.4.0/app/cortex/harness/subagent.py +90 -0
  83. kubeintellect-2.4.0/app/cortex/model_router.py +51 -0
  84. kubeintellect-2.4.0/app/cortex/models.py +80 -0
  85. kubeintellect-2.4.0/app/cortex/responsiveness.py +120 -0
  86. kubeintellect-2.4.0/app/cortex/skills.py +46 -0
  87. kubeintellect-2.4.0/app/cortex/verify.py +171 -0
  88. kubeintellect-2.4.0/app/db/audit.py +165 -0
  89. kubeintellect-2.4.0/app/db/backup.py +171 -0
  90. kubeintellect-2.4.0/app/db/chain_export.py +423 -0
  91. kubeintellect-2.4.0/app/db/chain_truncation.py +84 -0
  92. kubeintellect-2.4.0/app/db/flight_recorder.py +749 -0
  93. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/db/memory_store.py +188 -85
  94. kubeintellect-2.4.0/app/db/otel_spans.py +141 -0
  95. kubeintellect-2.4.0/app/db/schema.sql +534 -0
  96. kubeintellect-2.4.0/app/db/schema_version.py +182 -0
  97. kubeintellect-2.4.0/app/detectors/__init__.py +1 -0
  98. kubeintellect-2.4.0/app/detectors/agentic_gpu.py +66 -0
  99. kubeintellect-2.4.0/app/detectors/agentic_gpu_collector.py +104 -0
  100. kubeintellect-2.4.0/app/detectors/authoring.py +183 -0
  101. kubeintellect-2.4.0/app/detectors/detector_promotion.py +48 -0
  102. kubeintellect-2.4.0/app/detectors/engine.py +605 -0
  103. kubeintellect-2.4.0/app/detectors/models.py +242 -0
  104. kubeintellect-2.4.0/app/detectors/perception.py +248 -0
  105. kubeintellect-2.4.0/app/detectors/predicate_shape.py +290 -0
  106. kubeintellect-2.4.0/app/detectors/review.py +172 -0
  107. kubeintellect-2.4.0/app/detectors/rightsizing.py +121 -0
  108. kubeintellect-2.4.0/app/detectors/service.py +216 -0
  109. kubeintellect-2.4.0/app/digest/__init__.py +1 -0
  110. kubeintellect-2.4.0/app/digest/builder.py +245 -0
  111. kubeintellect-2.4.0/app/digest/postmortem.py +331 -0
  112. kubeintellect-2.4.0/app/eval/__init__.py +1 -0
  113. kubeintellect-2.4.0/app/eval/opsmembench.py +122 -0
  114. kubeintellect-2.4.0/app/eval/security_outcome.py +61 -0
  115. kubeintellect-2.4.0/app/main.py +271 -0
  116. kubeintellect-2.4.0/app/memory/__init__.py +8 -0
  117. kubeintellect-2.4.0/app/memory/change_ledger.py +96 -0
  118. kubeintellect-2.4.0/app/memory/consolidation.py +247 -0
  119. kubeintellect-2.4.0/app/memory/episodes.py +530 -0
  120. kubeintellect-2.4.0/app/memory/file_plane.py +129 -0
  121. kubeintellect-2.4.0/app/memory/fleet_exchange.py +56 -0
  122. kubeintellect-2.4.0/app/memory/fleet_signal_store.py +49 -0
  123. kubeintellect-2.4.0/app/memory/fleet_signals.py +62 -0
  124. kubeintellect-2.4.0/app/memory/fleet_store_pg.py +63 -0
  125. kubeintellect-2.4.0/app/memory/kg.py +785 -0
  126. kubeintellect-2.4.0/app/memory/liveness.py +206 -0
  127. kubeintellect-2.4.0/app/memory/pass_health.py +53 -0
  128. kubeintellect-2.4.0/app/memory/preferences.py +267 -0
  129. kubeintellect-2.4.0/app/memory/promotion.py +150 -0
  130. kubeintellect-2.4.0/app/memory/prospective.py +252 -0
  131. kubeintellect-2.4.0/app/memory/retention.py +187 -0
  132. kubeintellect-2.4.0/app/memory/security.py +479 -0
  133. kubeintellect-2.4.0/app/memory/service.py +406 -0
  134. kubeintellect-2.4.0/app/memory/summaries.py +163 -0
  135. kubeintellect-2.4.0/app/memory/writeback.py +74 -0
  136. kubeintellect-2.4.0/app/sensorium/__init__.py +6 -0
  137. kubeintellect-2.4.0/app/sensorium/change_watchdog.py +96 -0
  138. kubeintellect-2.4.0/app/sensorium/k8s_watcher.py +486 -0
  139. kubeintellect-2.4.0/app/sensorium/observations.py +132 -0
  140. kubeintellect-2.4.0/app/sensorium/pre_capture.py +53 -0
  141. kubeintellect-2.4.0/app/sensorium/predictive_fusion.py +54 -0
  142. kubeintellect-2.4.0/app/sensorium/watchdog_dispatch.py +75 -0
  143. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/streaming/emitter.py +57 -84
  144. kubeintellect-2.4.0/app/tools/aci/__init__.py +26 -0
  145. kubeintellect-2.4.0/app/tools/aci/bounds.py +115 -0
  146. kubeintellect-2.4.0/app/tools/aci/fix_pr.py +81 -0
  147. kubeintellect-2.4.0/app/tools/aci/gitops.py +85 -0
  148. kubeintellect-2.4.0/app/tools/aci/kubectl_output.py +117 -0
  149. kubeintellect-2.4.0/app/tools/aci/models.py +96 -0
  150. kubeintellect-2.4.0/app/tools/aci/mutating.py +199 -0
  151. kubeintellect-2.4.0/app/tools/aci/postcondition.py +78 -0
  152. kubeintellect-2.4.0/app/tools/aci/read_verbs.py +257 -0
  153. kubeintellect-2.4.0/app/tools/aci/repair.py +84 -0
  154. kubeintellect-2.4.0/app/tools/aci/sandbox.py +122 -0
  155. kubeintellect-2.4.0/app/tools/aci/transactional.py +134 -0
  156. kubeintellect-2.4.0/app/tools/helm_tool.py +400 -0
  157. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/tools/kubectl_errors.py +20 -1
  158. kubeintellect-2.4.0/app/tools/kubectl_tool.py +1729 -0
  159. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/tools/loki_tool.py +78 -11
  160. kubeintellect-2.4.0/app/tools/namespace_guard.py +184 -0
  161. kubeintellect-2.4.0/app/tools/output_policy.py +106 -0
  162. kubeintellect-2.4.0/app/tools/prometheus_tool.py +252 -0
  163. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/utils/logger.py +0 -1
  164. kubeintellect-2.4.0/app/utils/redact.py +308 -0
  165. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/pyproject.toml +30 -49
  166. kubeintellect-2.0.2/.env.example +0 -244
  167. kubeintellect-2.0.2/PKG-INFO +0 -366
  168. kubeintellect-2.0.2/README.md +0 -322
  169. kubeintellect-2.0.2/app/agent/nodes/context_fetcher.py +0 -149
  170. kubeintellect-2.0.2/app/agent/nodes/memory_loader.py +0 -31
  171. kubeintellect-2.0.2/app/agent/playbooks/oomkilled.yaml +0 -15
  172. kubeintellect-2.0.2/app/agent/playbooks/readiness_probe_failing.yaml +0 -15
  173. kubeintellect-2.0.2/app/api/middleware.py +0 -67
  174. kubeintellect-2.0.2/app/api/v1/endpoints/events.py +0 -33
  175. kubeintellect-2.0.2/app/api/v1/endpoints/health.py +0 -15
  176. kubeintellect-2.0.2/app/api/v1/endpoints/namespaces.py +0 -34
  177. kubeintellect-2.0.2/app/api/v1/router.py +0 -16
  178. kubeintellect-2.0.2/app/cluster_id.py +0 -76
  179. kubeintellect-2.0.2/app/core/config.py +0 -270
  180. kubeintellect-2.0.2/app/db/audit.py +0 -80
  181. kubeintellect-2.0.2/app/db/schema.sql +0 -124
  182. kubeintellect-2.0.2/app/main.py +0 -143
  183. kubeintellect-2.0.2/app/tools/helm_tool.py +0 -148
  184. kubeintellect-2.0.2/app/tools/kubectl_tool.py +0 -485
  185. kubeintellect-2.0.2/app/tools/prometheus_tool.py +0 -147
  186. kubeintellect-2.0.2/app/utils/redact.py +0 -78
  187. kubeintellect-2.0.2/overrides/main.html +0 -6
  188. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/__init__.py +0 -0
  189. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/__main__.py +0 -0
  190. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/agent/__init__.py +0 -0
  191. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/agent/nodes/__init__.py +0 -0
  192. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/agent/playbooks/__init__.py +0 -0
  193. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/api/__init__.py +0 -0
  194. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/api/v1/__init__.py +0 -0
  195. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/api/v1/endpoints/__init__.py +0 -0
  196. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/core/__init__.py +0 -0
  197. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/db/__init__.py +0 -0
  198. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/streaming/__init__.py +0 -0
  199. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/tools/__init__.py +0 -0
  200. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/tools/registry.py +0 -0
  201. {kubeintellect-2.0.2 → kubeintellect-2.4.0}/app/utils/__init__.py +0 -0
@@ -0,0 +1,189 @@
1
+ # ─────────────────────────────────────────────────────────────────────────────
2
+ # .gitignore — KubeIntellect
3
+ # Universal build/junk/secret rules honoured by every git operating in this tree.
4
+ # NOTE: private research materials (design/, papers/, v5/, .claude/, …) are NOT
5
+ # listed here on purpose — they are versioned in the private git and kept out of
6
+ # the public remote by the repo-local allowlist in .git/info/exclude.
7
+ # ─────────────────────────────────────────────────────────────────────────────
8
+
9
+ # ── Secrets ──────────────────────────────────────────────────────────────────
10
+ .env
11
+ .env.*
12
+ # Allow the example template to be versioned — it contains only placeholders.
13
+ # Must come *after* .env.* so the negation takes effect (git check-ignore is last-match-wins).
14
+ !.env.example
15
+ !**/.env.example
16
+ *.local
17
+ *.pem
18
+ *.key
19
+ *.pub
20
+ *.token
21
+ .envrc
22
+ .direnv/
23
+ credentials.json
24
+ secrets.yaml
25
+ secrets.yml
26
+ # Generated Kubernetes/Helm secret overlays (contain real credentials)
27
+ charts/kubeintellect/values-kind-secrets.yaml
28
+ values-prod.yaml
29
+ values-production.yaml
30
+ values-vm.yaml
31
+ values-aks.yaml
32
+ values-eks.yaml
33
+ values-gke.yaml
34
+ charts/*/charts/
35
+
36
+ # ── Python ───────────────────────────────────────────────────────────────────
37
+ __pycache__/
38
+ *.py[cod]
39
+ *$py.class
40
+ *.so
41
+ *.egg
42
+ *.egg-info/
43
+ .eggs/
44
+ develop-eggs/
45
+ .installed.cfg
46
+ MANIFEST
47
+ dist/
48
+ build/
49
+ wheels/
50
+ pip-wheel-metadata/
51
+ share/python-wheels/
52
+ pip-log.txt
53
+ pip-delete-this-directory.txt
54
+ .pybuilder/
55
+ *.manifest
56
+ *.spec
57
+
58
+ # ── Node / Next.js (v4/packages/kube-q/web — the browser demo front-end) ─────
59
+ node_modules/
60
+ .next/
61
+ out/
62
+ .turbo/
63
+ *.tsbuildinfo
64
+ npm-debug.log*
65
+ yarn-error.log*
66
+
67
+ # ── Virtual environments ─────────────────────────────────────────────────────
68
+ .venv/
69
+ venv/
70
+ env/
71
+ ENV/
72
+
73
+ # ── Test / coverage / type-checkers / linters ────────────────────────────────
74
+ .pytest_cache/
75
+ .tox/
76
+ .nox/
77
+ .coverage
78
+ .coverage.*
79
+ coverage.xml
80
+ nosetests.xml
81
+ *.cover
82
+ htmlcov/
83
+ .hypothesis/
84
+ .mypy_cache/
85
+ .dmypy.json
86
+ dmypy.json
87
+ .pyre/
88
+ .pytype/
89
+ .ruff_cache/
90
+
91
+ # ── Jupyter ──────────────────────────────────────────────────────────────────
92
+ .ipynb_checkpoints/
93
+
94
+ # ── Editors / IDEs ───────────────────────────────────────────────────────────
95
+ .vscode/
96
+ .idea/
97
+ *.iml
98
+ *.code-workspace
99
+ *.swp
100
+ *.swo
101
+ *~
102
+
103
+ # ── OS ───────────────────────────────────────────────────────────────────────
104
+ .DS_Store
105
+ ._*
106
+ .Spotlight-V100
107
+ .Trashes
108
+ Thumbs.db
109
+ desktop.ini
110
+
111
+ # ── Logs / temp / runtime ────────────────────────────────────────────────────
112
+ *.log
113
+ *.tmp
114
+ *.temp
115
+ *.bak
116
+ *.orig
117
+ .cache/
118
+ logs/
119
+ *.pid
120
+ .server.log
121
+ .server.pid
122
+ .server.*.pid
123
+ .server.*.log
124
+
125
+ # ── MCP / Playwright tool artifacts ──────────────────────────────────────────
126
+ .playwright-mcp/
127
+ .mcp-*/
128
+ *.playwright.yml
129
+ *.playwright.png
130
+ *.cast
131
+
132
+ # ── Docs build output ────────────────────────────────────────────────────────
133
+ site/
134
+ _site/
135
+ .docusaurus/
136
+
137
+ # ── LaTeX build byproducts (sources kept) ────────────────────────────────────
138
+ *.aux
139
+ *.bbl
140
+ *.blg
141
+ *.fls
142
+ *.fdb_latexmk
143
+ *.out
144
+ *.spl
145
+ *.synctex.gz
146
+ *.toc
147
+ *.lof
148
+ *.lot
149
+
150
+ # ── Terraform / IaC ──────────────────────────────────────────────────────────
151
+ .terraform/
152
+ terraform.tfstate
153
+ terraform.tfstate.backup
154
+ *.tfstate
155
+ *.tfstate.*
156
+
157
+ # ── Snapcraft build byproducts (snap/snapcraft.yaml is tracked) ──────────────
158
+ *.snap
159
+ /parts/
160
+ /stage/
161
+ /prime/
162
+
163
+ # Maintainer's private inbox/backlog (single entry point for ideas + tasks,
164
+ # driven by the mska-note skill). Never published.
165
+ .note
166
+ .note.*
167
+ .mohsen.note
168
+ .mohsen.note.*
169
+
170
+ # ── Demo recordings: narrow re-includes ──────────────────────────────────────
171
+ # Two rules above catch these by accident and both would silently drop the source of record.
172
+ # *.cast is aimed at throwaway MCP/Playwright captures; scripts/demo/casts/ holds reviewed
173
+ # recordings that DEMOS.md and the demo regression test both assert against.
174
+ # env/ is the virtualenv rule; scripts/demo/env/ is Kubernetes manifests. A directory
175
+ # exclusion cannot be undone file-by-file, so the directory is re-included first.
176
+ !scripts/demo/casts/
177
+ !scripts/demo/casts/*.cast
178
+ !scripts/demo/casts-kq/
179
+ !scripts/demo/casts-kq/*.cast
180
+ !scripts/demo/env/
181
+ !scripts/demo/env/*.yaml
182
+
183
+ # ── Narrated demo video: render artifacts, not sources ───────────────────────
184
+ # scenes.py is the source of record; frames, narration audio and the muxed file
185
+ # are all reproducible from it. `out/` was already caught and audio/ only by the
186
+ # public git's own exclude, so `./ship` (which runs `git add -A`) swept 914 PNG
187
+ # frames — 234 MB — into a commit on 2026-08-28. Caught before the push.
188
+ scripts/demo/video/shots-*/
189
+ scripts/demo/video/audio/