gstack-game icon indicating copy to clipboard operation
gstack-game copied to clipboard

feat: add User Sovereignty principle to preamble

Open fagemx opened this issue 8 months ago • 3 comments

Problem

gstack v0.13.2.0 added User Sovereignty as a core principle: AI models recommend, users decide. When Claude and Codex agree on a scope change, they present it instead of auto-executing.

gstack-game's cross-model validation (#25) already has a premise revision check (user decides), but the principle isn't declared at the preamble level. Without it, skills may auto-incorporate findings without asking.

What to do

Add User Sovereignty statement to skills/shared/preamble-core.md (T1+, all skills):

## User Sovereignty

AI models recommend. You decide. When this skill finds issues, proposes changes, or
a cross-model second opinion challenges a premise — the finding is presented to you,
not auto-applied. Cross-model agreement is a strong signal, not a mandate. Your
direction is the default unless you explicitly change it.

Also update cross-model synthesis in skills/game-review/SKILL.md.tmpl Phase 1.5 to reference this principle: present both perspectives neutrally instead of judging who's right.

Files to change

  1. skills/shared/preamble-core.md — add User Sovereignty section
  2. skills/game-review/SKILL.md.tmpl — reinforce in Phase 1.5 synthesis
  3. bun run build + bun test

Upstream Reference

  • gstack PR #603 (v0.13.2.0)
  • ETHOS.md User Sovereignty section
  • preamble.ts sovereignty statement in all skill voices

Effort: LOW

Single preamble section + one .tmpl tweak. ~15 min.

fagemx avatar Mar 29 '26 05:03 fagemx

Deep Dive: Research

Files examined

File Purpose Key finding
skills/shared/preamble-core.md T1 preamble, all 28 skills Insertion point: after PROACTIVE note (L53), before Completion Status Protocol (L55)
skills/shared/preamble-standard.md T2+ preamble NOT the right place — sovereignty applies to all tiers
skills/game-review/SKILL.md.tmpl Phase 1.5 cross-model synthesis Premise Revision Check already embodies user-decides, but doesn't name the principle. Synthesis bullets imply judging who's right.
scripts/gen-skill-docs.ts Template engine Confirms: preamble-core is injected into ALL tiers (T1/T2/T3)
Upstream gstack ETHOS.md Reference Does NOT contain User Sovereignty (lives in preamble.ts injection, not ETHOS.md)

Summary

  • Clear insertion point in preamble-core.md between the PROACTIVE config note and the Completion Status Protocol section
  • Phase 1.5 already has the right structure (user picks A/B on premise challenges) but the synthesis wording implies the primary review judges correctness rather than presenting neutrally
  • The issue provides exact content to add

fagemx avatar Mar 29 '26 05:03 fagemx

Deep Dive: Innovate

Approach A: Add to preamble-core.md (all tiers) -- RECOMMENDED. All 28 skills get sovereignty. Matches upstream gstack. T1 safety skills need it most.

Approach B: Add to preamble-standard.md (T2+ only). Keeps T1 minimal but misses safety skills. Not recommended.

Phase 1.5: Neutralize synthesis bullets to present both perspectives without judging which is right.

fagemx avatar Mar 29 '26 05:03 fagemx

Deep Dive: Plan

Approach A selected. Three steps:

Step 1: preamble-core.md -- Insert User Sovereignty section after PROACTIVE note (line 53), before Completion Status Protocol (line 55). Exact content from issue body.

Step 2: game-review/SKILL.md.tmpl -- Update Phase 1.5 synthesis bullets (lines 226-229). Change to neutral presentation: present both perspectives, do not judge which is right, user decides on premise challenges.

Step 3: bun run build + bun test -- Regenerate all 28 SKILL.md files, validate with tests.

Files changed: preamble-core.md (6 lines added), game-review/SKILL.md.tmpl (3 lines tweaked), 28 regenerated SKILL.md files.

Risk: None. Content-only change.

fagemx avatar Mar 29 '26 05:03 fagemx