@automagik/genie 4.260421.32 → 4.260421.33

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.

Potentially problematic release.


This version of @automagik/genie might be problematic. Click here for more details.

Files changed (43) hide show
  1. package/README.md +1 -30
  2. package/dist/env-compat.js +1143 -0
  3. package/dist/genie.js +733 -1446
  4. package/dist/public.pem +14 -0
  5. package/package.json +9 -10
  6. package/plugins/genie/.claude-plugin/plugin.json +1 -1
  7. package/plugins/genie/agents/engineer/AGENTS.md +3 -3
  8. package/plugins/genie/agents/pm/AGENTS.md +2 -2
  9. package/plugins/genie/agents/pm/HEARTBEAT.md +1 -1
  10. package/plugins/genie/agents/team-lead/AGENTS.md +5 -5
  11. package/plugins/genie/agents/team-lead/HEARTBEAT.md +2 -2
  12. package/plugins/genie/package.json +1 -1
  13. package/plugins/genie/rules/genie-orchestration.md +3 -3
  14. package/scripts/tmux/genie.tmux.conf +0 -12
  15. package/scripts/tmux/tui-tmux.conf +0 -12
  16. package/skills/brainstorm/SKILL.md +0 -13
  17. package/skills/docs/SKILL.md +0 -13
  18. package/skills/dream/SKILL.md +3 -3
  19. package/skills/fix/SKILL.md +0 -13
  20. package/skills/genie/SKILL.md +4 -80
  21. package/skills/genie/reference/lifecycle.md +1 -1
  22. package/skills/genie-hacks/SKILL.md +5 -5
  23. package/skills/pm/SKILL.md +4 -4
  24. package/skills/refine/SKILL.md +0 -13
  25. package/skills/report/SKILL.md +2 -2
  26. package/skills/review/SKILL.md +0 -13
  27. package/skills/trace/SKILL.md +1 -14
  28. package/skills/wish/SKILL.md +97 -9
  29. package/skills/work/SKILL.md +4 -17
  30. package/src/db/migrations/037_runtime_events_otel_columns.sql +0 -85
  31. package/src/db/migrations/038_runtime_events_partition.sql +0 -258
  32. package/src/db/migrations/039_runtime_events_siblings.sql +0 -181
  33. package/src/db/migrations/040_listen_channel_split.sql +0 -73
  34. package/src/db/migrations/041_rbac_roles.sql +0 -269
  35. package/src/db/migrations/042_executor_turn_columns.sql +0 -37
  36. package/src/db/migrations/043_detector_events_schema.sql +0 -91
  37. package/src/db/migrations/043_executor_read_role.sql +0 -41
  38. package/src/db/migrations/044_phase_b_flip_defaults.sql +0 -124
  39. package/src/db/migrations/044_phase_b_flip_defaults.test.ts +0 -216
  40. package/src/db/migrations/045_fix_stringified_jsonb.sql +0 -55
  41. package/src/db/migrations/detector-migration.test.ts +0 -168
  42. package/src/db/migrations/observability-migrations.test.ts +0 -215
  43. package/templates/wish-template.md +0 -99
package/README.md CHANGED
@@ -25,7 +25,7 @@
25
25
  -->
26
26
 
27
27
  <!-- METRICS:START -->
28
- **⚡ 50 PRs merged** this week · **0 releases** (24h) · **0.7h** avg merge · **100% SHIP**
28
+ **🚀 150 commits** this week · **23 releases** · **+43.0K LoC** · **6 contributors**
29
29
 
30
30
  ![Commits per day (30d, all branches)](.genie/assets/commits-30d.svg)
31
31
 
@@ -157,35 +157,6 @@ v4 is a ground-up rewrite. 700 commits. 300 files. ~19K lines.
157
157
 
158
158
  [Full v4 release notes →](https://github.com/automagik-dev/genie/releases/tag/v4.260402.18)
159
159
 
160
- ### Observability substrate (v0)
161
-
162
- Structured event emission, signed subscription tokens, 4-tier retention, and
163
- an external dead-man's switch. Consumer-compat promises are published at
164
- [docs/observability-contract.md](docs/observability-contract.md); the 5-phase
165
- rollout plan at [docs/observability-rollout.md](docs/observability-rollout.md).
166
-
167
- ### Executor read endpoint
168
-
169
- External consumers (e.g. the omni scope-enforcer) can query ground-truth turn
170
- state directly from `genie serve`. Two paths are supported:
171
-
172
- **HTTP** — `GET http://127.0.0.1:<port>/executors/:id/state` returns
173
- `{state, outcome, closed_at}` as JSON. The default port is `pgserve_port + 2`;
174
- override with `GENIE_EXECUTOR_READ_PORT`. Returns 404 for unknown IDs, 400 for
175
- non-UUID IDs, 200 otherwise. No authz — executor IDs are random UUIDs and the
176
- view exposes no secrets.
177
-
178
- **Direct SQL** — connect to genie-PG as the read-only `executors_reader` role
179
- and `SELECT state, outcome, closed_at FROM executors_public_state WHERE id = $1`.
180
- Layer login credentials on top:
181
-
182
- ```sql
183
- CREATE ROLE omni_scope_enforcer LOGIN PASSWORD '…' IN ROLE executors_reader;
184
- ```
185
-
186
- Response shape (`state` / `outcome` / `closed_at`) is the stable boundary
187
- contract; removing or renaming fields is a coordinated breaking change.
188
-
189
160
  ---
190
161
 
191
162
  <p align="center">