gstack/scripts/resolvers/preamble
Garry Tan 8e46c6e521
fix(telemetry): ingest keeps error_message/failed_step instead of dropping them
The telemetry_events columns exist and bin/gstack-telemetry-log already
sends error_message + failed_step, but the Supabase ingest function dropped
both fields on insert — every error report arrived with no message and no
failing step. Map them through with the same bounded-length sanitization as
error_class (500/100 chars). The completion-status resolver now also passes
--error-message/--failed-step in the generated skill telemetry block, with
instructions to leave them empty on success.

Resolver only for the template side; generated SKILL.md files regenerate
from this source in the docs lane.

Contributed by @sunnnybala (PR #769).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-14 20:21:00 -07:00
..
generate-ask-user-format.ts v1.58.1.0 feat: hermetic local E2E + Conductor prose AskUserQuestion (#2004) 2026-06-14 11:40:57 -07:00
generate-brain-health-instruction.ts
…
generate-brain-sync-block.ts fix(preamble): quoted tilde made Artifacts Sync and telemetry-finalize dead code in 49 skills 2026-08-14 20:20:55 -07:00
generate-completeness-section.ts v1.57.4.0 refactor(ethos): rename Boil the Lake principle to Boil the Ocean (#1912) 2026-06-08 05:41:07 -07:00
generate-completion-status.ts fix(telemetry): ingest keeps error_message/failed_step instead of dropping them 2026-08-14 20:21:00 -07:00
generate-confusion-protocol.ts
…
generate-context-health.ts
…
generate-context-recovery.ts v1.57.5.0 feat: cross-session decision memory + gbrain dream-stage call graph (#1910) 2026-06-08 06:20:58 -07:00
generate-continuous-checkpoint.ts
…
generate-first-run-guidance.ts v1.58.5.0 feat: first-run activation scaffold + gstack router front door (#2078) 2026-06-25 09:42:45 -07:00
generate-lake-intro.ts v1.57.4.0 refactor(ethos): rename Boil the Lake principle to Boil the Ocean (#1912) 2026-06-08 05:41:07 -07:00
generate-preamble-bash.ts fix(preamble): update_check:false gates the prose, not just the binary 2026-08-14 20:20:55 -07:00
generate-proactive-prompt.ts
…
generate-repo-mode-section.ts
…
generate-routing-injection.ts v1.47.0.0 feat: /spec — author backlog-ready spec in 5 phases + optional agent spawn (#1698) (#1733) 2026-05-26 21:36:53 -07:00
generate-search-before-building.ts
…
generate-spawned-session-check.ts
…
generate-telemetry-prompt.ts v1.55.1.0 fix: telemetry consent accuracy + gstack-slug cache sanitization (#1848) 2026-06-02 22:36:34 -07:00
generate-test-failure-triage.ts
…
generate-upgrade-check.ts fix(preamble): update_check:false gates the prose, not just the binary 2026-08-14 20:20:55 -07:00
generate-vendoring-deprecation.ts
…
generate-voice-directive.ts
…
generate-writing-style-migration.ts
…
generate-writing-style.ts
…