Skip to content

feat: contributor mode, session awareness, universal RECOMMENDATION format (v0.3.11)#82

Open
garrytan wants to merge 5 commits intogarrytan/team-supabase-storefrom
garrytan/dev-mode
Open

feat: contributor mode, session awareness, universal RECOMMENDATION format (v0.3.11)#82
garrytan wants to merge 5 commits intogarrytan/team-supabase-storefrom
garrytan/dev-mode

Conversation

@garrytan
Copy link
Owner

Summary

  • Contributor modegstack_contributor: true auto-files field reports to ~/.gstack/contributor-logs/ when gstack misbehaves. Casual format ("hey gstack team, ran into this..."), opens report for review, max 3/session, deduped by slug.
  • Concurrent session tracking — detects 3+ active gstack sessions in 2h window, enters "ELI16 mode" where every AskUserQuestion re-grounds the user on project/branch/task/question.
  • Universal RECOMMENDATION format — all skills now follow: context → question → RECOMMENDATION: Choose X because ___ → options. Plan-review skills reference this baseline.
  • Enum & Value Completeness — new CRITICAL review category in /review that traces new enum values through every consumer outside the diff.
  • Renamed {{UPDATE_CHECK}}{{PREAMBLE}} across all 10 templates.
  • DRY'd plan-ceo-review and plan-eng-review AskUserQuestion rules.
  • Rewrote CONTRIBUTING.md with contributor workflow and cross-project testing guide.
  • Added vendored symlink awareness to CLAUDE.md.

Pre-Landing Review

No issues found. Changes are documentation, skill templates, generator script, and tests — no SQL, no database ops, no LLM output handling.

TODOS

No TODO items completed in this PR.

Test plan

  • All static tests pass (95 tests, 642 expect() calls, 0 failures)
  • Generated SKILL.md files are fresh (dry-run verified)
  • No unresolved {{UPDATE_CHECK}} placeholders remain in any template
  • New tests: contributor mode check, session awareness check in generated output

🤖 Generated with Claude Code

garrytan and others added 5 commits March 15, 2026 17:29
…ormat

- Rename {{UPDATE_CHECK}} → {{PREAMBLE}} across all 10 skill templates
- Add session tracking (touch ~/.gstack/sessions/$PPID, count active sessions)
- ELI16 mode when 3+ concurrent sessions detected (re-ground user on context)
- Contributor mode: auto-file field reports to ~/.gstack/contributor-logs/
- Universal AskUserQuestion format: context → question → RECOMMENDATION → options
- Update plan-ceo-review and plan-eng-review to reference preamble baseline
- Add vendored symlink awareness section to CLAUDE.md
- Rewrite CONTRIBUTING.md with contributor workflow and cross-project testing
- Add tests for contributor mode and session awareness in generated output
- Add E2E eval for contributor mode report filing

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
New CRITICAL review category that traces new enum values, status strings,
and type constants through every consumer outside the diff. Catches the
class of bugs where a new value is added but not handled in all switch/case
chains, allowlists, or frontend-backend contracts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants