Repository Analysis

garrytan/gstack

Use Garry Tan's exact Claude Code setup: 23 opinionated tools that serve as CEO, Designer, Eng Manager, Release Manager, Doc Engineer, and QA

9.6 Low AI signal View on GitHub
9.6
Adjusted Score
9.6
Raw Score
100%
Time Factor
2026-05-30
Last Push
104,591
Stars
TypeScript
Language
251,448
Lines of Code
777
Files
1043
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 10MEDIUM 677LOW 356

Pattern Findings

1043 matches across 11 categories. Click a row to expand file-level details.

Decorative Section Separators669 hits · 1972 pts
SeverityFileLineSnippet
MEDIUMdesign/test/serve.test.ts50// ─── Serve as HTTP module (not subprocess) ────────────────────────
MEDIUMdesign/test/serve.test.ts280// ─── Path traversal protection in /api/reload ─────────────────────
MEDIUMdesign/test/serve.test.ts413// ─── Full lifecycle: regeneration round-trip ──────────────────────
MEDIUMdesign/test/feedback-roundtrip-daemon.test.ts63// ─── Submit round-trip ───────────────────────────────────────────
MEDIUMdesign/test/feedback-roundtrip-daemon.test.ts141// ─── Regenerate + reload round-trip ──────────────────────────────
MEDIUMdesign/test/feedback-roundtrip-daemon.test.ts214// ─── Two-board, one-daemon attach behavior ───────────────────────
MEDIUMdesign/test/daemon.test.ts44// ─── /health ─────────────────────────────────────────────────────
MEDIUMdesign/test/daemon.test.ts67// ─── POST /api/boards (publish) ─────────────────────────────────
MEDIUMdesign/test/daemon.test.ts147// ─── GET /boards/<id> trailing-slash redirect ────────────────────
MEDIUMdesign/test/daemon.test.ts176// ─── POST /boards/<id>/api/feedback ──────────────────────────────
MEDIUMdesign/test/daemon.test.ts257// ─── POST /boards/<id>/api/reload ────────────────────────────────
MEDIUMdesign/test/daemon.test.ts311// ─── GET / (index) ───────────────────────────────────────────────
MEDIUMdesign/test/daemon.test.ts346// ─── /shutdown ───────────────────────────────────────────────────
MEDIUMdesign/test/daemon.test.ts378// ─── LRU + non-done protection ───────────────────────────────────
MEDIUMdesign/test/daemon.test.ts438// ─── Idle + meaningful activity ──────────────────────────────────
MEDIUMdesign/test/daemon.test.ts456// ─── Malformed body negatives ────────────────────────────────────
MEDIUMdesign/test/daemon.test.ts522// ─── Unknown routes ──────────────────────────────────────────────
MEDIUMdesign/test/feedback-roundtrip.test.ts130// ─── The critical test: browser click → file on disk ─────────────
MEDIUMdesign/test/daemon-discovery.test.ts71// ─── healthCheck + readStateFile basics ──────────────────────────
MEDIUMdesign/test/daemon-discovery.test.ts100// ─── ensureDaemon ────────────────────────────────────────────────
MEDIUMdesign/test/daemon-discovery.test.ts287// ─── publishBoard ────────────────────────────────────────────────
MEDIUMdesign/test/daemon-discovery.test.ts318// ─── shutdownDaemon / daemonStatus ───────────────────────────────
MEDIUMdesign/test/daemon-discovery.test.ts506// ─── Concurrent ensureDaemon race (one wins the lock) ───────────
MEDIUMdesign/test/daemon-discovery.test.ts546// ─── Stale-lock reclaim ──────────────────────────────────────────
MEDIUMdesign/src/daemon.ts42// ─── Tunables (env overrides for tests) ──────────────────────────
MEDIUMdesign/src/daemon.ts62// ─── Per-board state ─────────────────────────────────────────────
MEDIUMdesign/src/daemon.ts108// ─── Helpers ─────────────────────────────────────────────────────
MEDIUMdesign/src/daemon.ts192// ─── Shutdown ─────────────────────────────────────────────────────
MEDIUMdesign/src/daemon.ts232// ─── Handlers ─────────────────────────────────────────────────────
MEDIUMdesign/src/daemon.ts467// ─── Router ──────────────────────────────────────────────────────
MEDIUMdesign/src/daemon.ts525// ─── Startup ─────────────────────────────────────────────────────
MEDIUMdesign/src/daemon-client.ts216// ─── Internals ───────────────────────────────────────────────────
MEDIUMextension/sidepanel.js86// ─── Chat path ripped ────────────────────────────────────────────
MEDIUMextension/sidepanel.js92// ─── Reload Sidebar ─────────────────────────────────────────────
MEDIUMextension/sidepanel.js97// ─── Copy Cookies ───────────────────────────────────────────────
MEDIUMextension/sidepanel.js33// ─── Connection State Machine ─────────────────────────────────────
MEDIUMextension/sidepanel.js112// ─── Debug Tabs ─────────────────────────────────────────────────
MEDIUMextension/sidepanel.js155// ─── Activity Feed ──────────────────────────────────────────────
MEDIUMextension/sidepanel.js244// ─── SSE Connection ─────────────────────────────────────────────
MEDIUMextension/sidepanel.js295// ─── Memory Footer Readout ──────────────────────────────────────
MEDIUMextension/sidepanel.js391// ─── Tab guardrail toast (D5 + Codex single-tab flag) ───────
MEDIUMextension/sidepanel.js583// ─── Refs Tab ───────────────────────────────────────────────────
MEDIUMextension/sidepanel.js619// ─── Inspector Tab ──────────────────────────────────────────────
MEDIUMextension/sidepanel.js726// ─── Box Model Rendering ────────────────────────────────────────
MEDIUMextension/sidepanel.js772// ─── Matched Rules Rendering ────────────────────────────────────
MEDIUMextension/sidepanel.js863// ─── Computed Styles Rendering ──────────────────────────────────
MEDIUMextension/sidepanel.js888// ─── Quick Edit ─────────────────────────────────────────────────
MEDIUMextension/sidepanel.js962// ─── Send to Agent ──────────────────────────────────────────────
MEDIUMextension/sidepanel.js1019// ─── Quick Action Helpers (toolbar buttons) ──────────────────────
MEDIUMextension/sidepanel.js1102// ─── Section Toggles ────────────────────────────────────────────
MEDIUMextension/sidepanel.js1117// ─── Inspector SSE ──────────────────────────────────────────────
MEDIUMextension/sidepanel.js1149// ─── Server Discovery ───────────────────────────────────────────
MEDIUMextension/sidepanel.js1199// ─── Port Configuration ─────────────────────────────────────────
MEDIUMextension/sidepanel.js1228// ─── Reconnect / Copy Buttons ────────────────────────────────────
MEDIUMextension/sidepanel.js1339// ─── Message Listener ───────────────────────────────────────────
MEDIUMextension/sidepanel.js1382// ─── v1.44 pagehide: explicit PTY dispose on sidebar close ──────────
MEDIUMextension/background.js16// ─── Port Discovery ────────────────────────────────────────────
MEDIUMextension/background.js33// ─── Auth Token Bootstrap ─────────────────────────────────────
MEDIUMextension/background.js53// ─── Health Polling ────────────────────────────────────────────
MEDIUMextension/background.js132// ─── Command Proxy ─────────────────────────────────────────────
609 more matches not shown…
Fake / Example Data113 hits · 113 pts
SeverityFileLineSnippet
LOWdesign-html/SKILL.md1023 on the plan or user description (never lorem ipsum).
LOWdesign-html/SKILL.md1122- Real content extracted from the mockup (never lorem ipsum)
LOWdesign-html/SKILL.md1449 user's description. Never use "Lorem ipsum", "Your text here", or placeholder content.
LOWdesign-consultation/SKILL.md14163. **Shows the product name** (not "Lorem Ipsum") as the hero heading
LOWios-qa/daemon/test/session-tokens.test.ts15 identity: 'user@example.com',
LOWios-qa/daemon/test/session-tokens.test.ts20 identity: 'user@example.com',
LOWios-qa/daemon/test/tailscale-localapi.test.ts20 UserProfile: { LoginName: 'admin@example.com' },
LOWios-qa/daemon/test/allowlist.test.ts33 entries: [{ identity: 'user@example.com', capabilities: ['observe'], expires_at: null }],
LOWios-qa/daemon/test/allowlist.test.ts37 expect(JSON.parse(raw).entries[0].identity).toBe('user@example.com');
LOWios-qa/daemon/test/allowlist.test.ts43 entries: [{ identity: 'user@example.com', capabilities: ['mutate' as const], expires_at: null }],
LOWios-qa/daemon/test/allowlist.test.ts45 expect(findEntry(list, 'user@example.com')?.identity).toBe('user@example.com');
LOWios-qa/daemon/src/types.ts58 identity: string; // canonicalized: "user@example.com" or "tag:<name>" or "node:<key>"
LOWios-qa/daemon/src/tailscale-localapi.ts91 * "UserProfile": { "LoginName": "user@example.com", ... },
LOWtest/skill-e2e-session-intelligence.test.ts36 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e-autoplan-chain.test.ts60 gitRun(['config', 'user.email', 'test@test.com']);
LOWtest/gbrain-supabase-provision.test.ts101 { id: 'deprec-1', slug: 'acme', name: 'Acme Inc' },
LOWtest/gbrain-supabase-provision.test.ts112 { slug: 'acme', name: 'Acme Inc' },
LOWtest/skill-e2e-bws.test.ts189 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e-bws.test.ts280 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e-plan.test.ts29 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e-plan.test.ts115 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e-plan.test.ts198 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e-plan.test.ts278 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e-plan.test.ts373 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e-plan.test.ts511 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e-plan.test.ts572 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e-plan.test.ts632 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e-plan.test.ts750 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e-office-hours.test.ts39 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e-office-hours.test.ts110 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e-plan-tune.test.ts36 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e-review.test.ts29 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e-review.test.ts102 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e-review.test.ts174 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e-review.test.ts276 run('git', ['config', 'user.email', 'test@test.com'], dir);
LOWtest/skill-e2e-review.test.ts334 run('git', ['config', 'user.email', 'test@test.com'], dir);
LOWtest/skill-e2e-review.test.ts548 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e-deploy.test.ts27 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e-deploy.test.ts99 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e-deploy.test.ts178 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e-deploy.test.ts254 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e-deploy.test.ts315 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e-deploy.test.ts380 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e-context-skills.test.ts39 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e-office-hours-phase4.test.ts58 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e.test.ts335 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e.test.ts466 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e.test.ts523 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e.test.ts595 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e.test.ts858 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e.test.ts944 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e.test.ts1027 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e.test.ts1221 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e.test.ts1321 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e.test.ts1408 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e.test.ts1543 run('git', ['config', 'user.email', 'test@test.com'], dir);
LOWtest/skill-e2e.test.ts1596 run('git', ['config', 'user.email', 'test@test.com'], dir);
LOWtest/skill-e2e.test.ts1725 run('git', ['config', 'user.email', 'test@test.com']);
LOWtest/skill-e2e.test.ts1840 run('git', ['config', 'user.email', 'test@test.com'], upgradeDir);
LOWtest/skill-e2e.test.ts1849 run('git', ['config', 'user.email', 'test@test.com'], mockGstack);
53 more matches not shown…
Over-Commented Block112 hits · 104 pts
SeverityFileLineSnippet
LOWbunfig.toml1[test]
LOWtest-setup.ts21// pollution class where one test sets `process.env.PATH = '/test/bin:/usr/bin'`
LOWdesign/test/daemon-discovery.test.ts361 await publishBoard({ port: d.port, html: makeBoardHtml(workDir) });
LOWextension/sidepanel.js1381
LOWios-qa/daemon/src/tunnel-bootstrap.ts1// Bootstrap the CoreDevice tunnel to a connected iPhone running the iOS app
LOWios-qa/daemon/src/index.ts1// gstack-ios-qa-daemon entrypoint.
LOWios-qa/scripts/gen-accessors.ts1#!/usr/bin/env bun
LOWios-qa/scripts/gen-accessors-tool/Package.swift1// swift-tools-version:5.9
LOWtest/catalog-trim.test.ts101 // can't backtrack past a non-period char. For "DESIGN.md and v1.45.0.0
LOWtest/brain-sync-windows-paths.test.ts1import { describe, test, expect } from 'bun:test';
LOWtest/brain-sync-windows-paths.test.ts21// nothing and the drain silently stages/commits nothing.
LOWtest/skill-llm-eval-spec.test.ts21const describeEval = evalsEnabled ? describe : describe.skip;
LOWtest/skill-validation.test.ts1821 .join(', ');
LOWtest/llm-judge-recommendation.test.ts101B) Client-side
LOWtest/skill-e2e-setup-gbrain-path4-local-pglite.test.ts1// E2E: /setup-gbrain Path 4 with Step 4.5 "Yes" — local PGLite for code search.
LOWtest/skill-e2e-ios-swift-build.test.ts1// Swift-build invariant tests. Runs against the fixture iOS app at
LOWtest/skill-e2e-ios.test.ts1// High-level E2E for /ios-qa skill flow.
LOWtest/skill-e2e-ios-device.test.ts1// GSTACK_HAS_IOS_DEVICE=1 device-path test. Runs only when:
LOWtest/skill-e2e-ios-device.test.ts121 // `swift build --triple arm64-apple-ios` directly because SwiftPM
LOWtest/skill-e2e-ios-device.test.ts141 // - test/fixtures/ios-qa/FixtureApp/FixtureApp.xcodeproj (or generated)
LOWtest/post-rename-doc-regen.test.ts1// Post-rename doc-regen regression: after `bun run gen:skill-docs`, no
LOWtest/skill-e2e-office-hours-brain-writeback.test.ts241 console.log('--- gbrain calls log ---');
LOWtest/setup-gbrain-path4-structure.test.ts1// setup-gbrain Path 4 structural lint.
LOWtest/benchmark-cli.test.ts101 // On a dev machine with full auth configured, the default --dry-run output
LOWtest/skill-e2e-setup-gbrain-remote.test.ts1// E2E: /setup-gbrain Path 4 (Remote MCP) happy path via Agent SDK.
LOWtest/skill-e2e-plan-format.test.ts41// `Recommendation: <choice> because <reason>`, where <choice> is the bare
LOWtest/gstack-memory-ingest.test.ts621 // last segment matching the session id.
LOWtest/plan-tune.test.ts361// that don't appear to map to any registry entry.
LOW…/skill-e2e-ask-user-question-format-compliance.test.ts81 await Bun.sleep(8000);
LOWtest/skill-e2e-setup-gbrain-bad-token.test.ts1// E2E: /setup-gbrain Path 4 with a bad bearer token via Agent SDK.
LOWtest/gen-skill-docs.test.ts321 // when generate-brain-sync-block.ts gained the gbrain_mcp_mode probe +
LOWtest/helpers/touchfiles.ts101 // fallback path (mcp__conductor__AskUserQuestion or plan-file flow) rather
LOWtest/helpers/touchfiles.ts381 // Real-device path — only runs with GSTACK_HAS_IOS_DEVICE=1 + a paired
LOWtest/helpers/touchfiles.ts461
LOWtest/helpers/claude-pty-runner.ts281 }
LOWtest/helpers/claude-pty-runner.ts301// LLM judge — "is the model waiting for user input, working, or hung?"
LOWtest/helpers/claude-pty-runner.ts521
LOWtest/helpers/claude-pty-runner.ts561export function parseNumberedOptions(
LOWtest/helpers/claude-pty-runner.ts1041 * `obs.planFile` (artifact existing), not on `obs.outcome === 'plan_ready'`,
LOWtest/helpers/claude-pty-runner.ts1921// observer for gate-tier floor tests catching the May 2026 transcript bug
LOWbin/gstack-gbrain-lib.sh1# gstack-gbrain-lib.sh — shared helpers for setup-gbrain bin scripts.
LOWbin/gstack-gbrain-lib.sh21#
LOWbin/gstack-pr-title-rewrite.sh1#!/usr/bin/env bash
LOWbin/gstack-gbrain-sync.ts641 // on local engine. The /sync-gbrain Step 1.5 pre-flight surfaces the user
LOWbin/gstack-gbrain-sync.ts701 ok: false,
LOWbin/gstack-gbrain-sync.ts761 // route to this source by default — no --source flag needed.
LOWbin/gstack-memory-ingest.ts781 tags,
LOWbin/gstack-memory-ingest.ts801// → state.sessions[path] = { ... } for prepared files NOT in failed set
LOWbin/gstack-memory-ingest.ts1481 // Split-engine branch per plan D11: in remote-http MCP mode, we stage to a
LOWsupabase/config.sh1#!/usr/bin/env bash
LOWscripts/detect-bump.ts1#!/usr/bin/env bun
LOWscripts/test-free-shards.ts61 { pattern: /\bwhich claude\b/, reason: 'which claude (use Bun.which)' },
LOWscripts/test-free-shards.ts81 // Tests that spawn the browse server as a subprocess via `bun run server.ts`.
LOWscripts/build-app.sh1#!/bin/bash
LOWscripts/gen-skill-docs.ts21import { externalSkillName, extractHookSafetyProse as _extractHookSafetyProse, extractNameAndDescription as _extractName
LOWscripts/gen-skill-docs.ts281
LOWscripts/gen-skill-docs.ts901 failures.push({ host: currentHost, error: new Error('Stale files detected') });
LOWscripts/compare-pr-version.ts1#!/usr/bin/env bun
LOWscripts/resolvers/testing.ts161// Shared methodology for codepath tracing, ASCII diagrams, and test gap analysis.
LOWscripts/resolvers/preamble.ts61import { generateMakePdfSetup } from './make-pdf';
52 more matches not shown…
Hyper-Verbose Identifiers79 hits · 80 pts
SeverityFileLineSnippet
LOWdesign/src/daemon.ts179function findActiveBoardForSourceDir(sourceDir: string): Board | null {
LOWdesign/src/design-to-code.ts22export async function generateDesignToCodePrompt(
LOWdesign/src/daemon-client.ts315async function gracefulShutdownExistingDaemon(port: number): Promise<void> {
LOWdesign/src/variants.ts222async function generateResponsiveVariants(
LOWtest/skill-e2e-plan-ceo-mode-routing.test.ts68async function navigateToModeAskUserQuestion(
LOWtest/skill-e2e-skillify.test.ts130function installBundledHackernewsSkill(workDir: string) {
LOWtest/extension-pty-inject-invariant.test.ts70function findEnclosingFunctionStart(content: string, callerPos: number): number {
LOWtest/gen-skill-docs.test.ts56function extractPreambleBeforeWorkflow(content: string, workflowMarkers: string[]): string {
LOWtest/helpers/agent-sdk-runner.ts144export function passThroughNonAskUserQuestion(
LOWtest/helpers/skill-parser.ts145export function extractRemoteSlugPatterns(rootDir: string, subdirs: string[]): Map<string, string[]> {
LOWtest/helpers/e2e-helpers.ts212export async function assertRecommendationQuality(opts: {
LOWtest/helpers/claude-pty-runner.ts227export function planFileHasDecisionsSection(planFile: string): boolean {
LOWtest/helpers/claude-pty-runner.ts265export function isPermissionDialogVisible(visible: string): boolean {
LOWtest/helpers/claude-pty-runner.ts286export function isNumberedOptionListVisible(visible: string): boolean {
LOWtest/helpers/claude-pty-runner.ts1008export function assertReviewReportAtBottom(
LOWtest/helpers/claude-pty-runner.ts1045export function assertReportAtBottomIfPlanWritten(
LOWbin/gstack-gbrain-sync.ts345export function derivePathOnlyHashLegacyId(repoPath: string): string {
LOWbin/gstack-gbrain-sync.ts372function gbrainSupportsSourcesRename(env?: NodeJS.ProcessEnv): boolean {
LOWbin/gstack-gbrain-sync.ts441export function planHostnameFoldMigration(
LOWbin/gstack-gbrain-sync.ts845export function ensureGbrainSourceGitignored(root: string): void {
LOWbin/gstack-memory-ingest.ts1216function makePersistentTranscriptDir(): string {
LOWscripts/gstack-schema-pack.ts261export function getSchemaPackMutationPayload(): {
LOWscripts/gen-skill-docs.ts64function effectiveSuppressedResolvers(hostConfig: HostConfig): Set<string> {
LOWscripts/gen-skill-docs.ts158function extractNameAndDescription(content: string): { name: string; description: string } {
LOWscripts/gen-skill-docs.ts418function condenseOpenAIShortDescription(description: string): string {
LOWscripts/psychographic-signals.ts253export function validateRegistrySignalKeys(): {
LOWscripts/psychographic-signals.ts285export function normalizeToDimensionValue(total: number): number {
LOWscripts/resolvers/testing.ts182function generateTestCoverageAuditInner(mode: CoverageAuditMode): string {
LOWscripts/resolvers/testing.ts541export function generateTestCoverageAuditPlan(_ctx: TemplateContext): string {
LOWscripts/resolvers/testing.ts545export function generateTestCoverageAuditShip(_ctx: TemplateContext): string {
LOWscripts/resolvers/testing.ts549export function generateTestCoverageAuditReview(_ctx: TemplateContext): string {
LOWscripts/resolvers/review-army.ts14function generateSpecialistSelection(ctx: TemplateContext): string {
LOWscripts/resolvers/review-army.ts85function generateSpecialistDispatch(ctx: TemplateContext): string {
LOWscripts/resolvers/gbrain.ts55export function generateGBrainContextLoad(ctx: TemplateContext): string {
LOWscripts/resolvers/gbrain.ts75export function generateGBrainSaveResults(ctx: TemplateContext): string {
LOWscripts/resolvers/gbrain.ts195export function generateBrainCacheRefresh(ctx: TemplateContext): string {
LOWscripts/resolvers/review.ts73export function generatePlanFileReviewReport(_ctx: TemplateContext): string {
LOWscripts/resolvers/review.ts188export function generateAntiShortcutClause(_ctx: TemplateContext): string {
LOWscripts/resolvers/review.ts305export function generateCodexSecondOpinion(ctx: TemplateContext): string {
LOWscripts/resolvers/review.ts733function generatePlanFileDiscovery(): string {
LOWscripts/resolvers/review.ts769function generatePlanCompletionAuditInner(mode: PlanCompletionMode): string {
LOWscripts/resolvers/review.ts1006export function generatePlanCompletionAuditShip(_ctx: TemplateContext): string {
LOWscripts/resolvers/review.ts1010export function generatePlanCompletionAuditReview(_ctx: TemplateContext): string {
LOWscripts/resolvers/review.ts1016export function generatePlanVerificationExec(_ctx: TemplateContext): string {
LOWscripts/resolvers/question-tuning.ts50export function generateQuestionPreferenceCheck(ctx: TemplateContext): string {
LOWscripts/resolvers/question-tuning.ts68export function generateInlineTuneFeedback(ctx: TemplateContext): string {
LOWscripts/resolvers/design.ts69export function generateDesignMethodology(_ctx: TemplateContext): string {
LOWscripts/resolvers/design.ts541export function generateDesignOutsideVoices(ctx: TemplateContext): string {
LOWscripts/resolvers/design.ts912export function generateDesignShotgunLoop(_ctx: TemplateContext): string {
LOWscripts/resolvers/utility.ts375export function generateChangelogWorkflow(_ctx: TemplateContext): string {
LOWscripts/resolvers/codex-helpers.ts5export function extractNameAndDescription(content: string): { name: string; description: string } {
LOWscripts/resolvers/codex-helpers.ts43export function condenseOpenAIShortDescription(description: string): string {
LOWscripts/resolvers/confidence.ts19export function generateConfidenceCalibration(_ctx: TemplateContext): string {
LOW…s/resolvers/preamble/generate-continuous-checkpoint.ts3export function generateContinuousCheckpoint(): string {
LOW…resolvers/preamble/generate-writing-style-migration.ts3export function generateWritingStyleMigration(ctx: TemplateContext): string {
LOW…s/resolvers/preamble/generate-vendoring-deprecation.ts3export function generateVendoringDeprecation(ctx: TemplateContext): string {
LOW…esolvers/preamble/generate-brain-health-instruction.ts3export function generateBrainHealthInstruction(ctx: TemplateContext): string {
LOW…ts/resolvers/preamble/generate-completeness-section.ts3export function generateCompletenessSection(ctx?: TemplateContext): string {
LOW…s/resolvers/preamble/generate-spawned-session-check.ts3export function generateSpawnedSessionCheck(): string {
LOW…ipts/resolvers/preamble/generate-confusion-protocol.ts3export function generateConfusionProtocol(ctx?: TemplateContext): string {
19 more matches not shown…
Verbosity Indicators50 hits · 68 pts
SeverityFileLineSnippet
LOWdesign/test/serve.test.ts462 // Step 1: User clicks regenerate
LOWdesign/test/serve.test.ts472 // Step 2: Progress shows regenerating
LOWdesign/test/serve.test.ts476 // Step 3: Agent generates new variants and reloads
LOWdesign/test/serve.test.ts487 // Step 4: Progress shows serving (board would auto-refresh)
LOWdesign/test/serve.test.ts491 // Step 5: User submits on round 2
LOWdesign/test/feedback-roundtrip.test.ts296 // Step 1: User clicks Regenerate
LOWdesign/test/feedback-roundtrip.test.ts312 // Step 2: Agent generates new variants and creates a new board
LOWdesign/test/feedback-roundtrip.test.ts321 // Step 3: Agent POSTs /api/reload to swap the board
LOWdesign/test/feedback-roundtrip.test.ts331 // Step 4: Board auto-refreshes (simulated by navigating again)
LOWdesign/test/feedback-roundtrip.test.ts340 // Step 5: User picks variant C on round 2 and submits
LOWdesign/src/evolve.ts35 // Step 1: Analyze current screenshot
LOWdesign/src/evolve.ts39 // Step 2: Generate evolved version using analysis + brief
LOWextension/sidepanel.js1262 // Step 1: Ask background for the port
LOWextension/sidepanel.js1284 // Step 2: If background says connected + has token, use that
LOWextension/sidepanel.js1294 // Step 3: Background not connected yet. Try hitting /health directly.
LOWios-qa/daemon/src/tunnel-bootstrap.ts73 // Step 1: pick a device
LOWios-qa/daemon/src/tunnel-bootstrap.ts92 // Step 2: launch app (idempotent — devicectl returns success if already running)
LOWios-qa/daemon/src/tunnel-bootstrap.ts100 // Step 3: resolve tunnel IPv6. Try devicectl `info details` first (most
LOWios-qa/daemon/src/tunnel-bootstrap.ts119 // Step 4: wait for StateServer to become reachable, then scrape boot token.
LOWios-qa/daemon/src/tunnel-bootstrap.ts146 // Step 5: rotate the boot token to a fresh in-memory-only one.
LOWtest/skill-validation.test.ts1207 // Headings like "## Step 7: Test Coverage Audit" — NOT sub-steps like "## Step 8.1:"
LOWtest/regression-1624-retro-stale-base.test.ts45 const step1 = body.indexOf("### Step 1: Gather Raw Data");
LOWtest/skill-e2e-review.test.ts292 const step0Start = full.indexOf('## Step 0: Detect platform and base branch');
LOWtest/skill-e2e-review.test.ts293 const step1Start = full.indexOf('## Step 1: Check branch');
LOWtest/skill-e2e-review.test.ts349 const step0Start = fullShipSkill.indexOf('## Step 0: Detect platform and base branch');
LOWtest/skill-e2e-review.test.ts350 const step0End = fullShipSkill.indexOf('## Step 1: Pre-flight');
LOWtest/skill-llm-eval.test.ts627 startMarker: '## Step 0: Nuclear Scope Challenge',
LOWtest/skill-llm-eval.test.ts696 startMarker: '## Step 1: Pre-flight',
LOWtest/skill-llm-eval.test.ts732 startMarker: '### Step 2: Detect platform',
LOWtest/skill-e2e.test.ts3295 const step4Start = full.indexOf('## Step 4: Version bump');
LOWtest/skill-e2e.test.ts3297 const step7Start = full.indexOf('## Step 7: Push');
LOWtest/skill-e2e-ios-swift-build.test.ts117 // Step 1: clean + release build (Core only — UI/Touch can't build on macOS)
LOWtest/skill-e2e-ios-swift-build.test.ts129 // Step 2: locate the built object file(s). SwiftPM puts .build artifacts
LOWtest/gen-skill-docs.test.ts307 markers: ['# Mega Plan Review Mode', '## Step 0: Detect platform and base branch'],
LOWbin/gstack-gbrain-sync.ts691 // Step 1: Ensure source registered (idempotent). Single source of truth in lib —
LOWbin/gstack-gbrain-sync.ts708 // Step 2: Always run the page-creating file walk first, then (for --full)
LOWbin/gstack-gbrain-sync.ts759 // Step 3: Pin this worktree's CWD to the source via .gbrain-source. Subsequent
LOWbin/gstack-gbrain-sync.ts775 // Step 4: Deferred hostname-fold cleanup.
LOWscripts/resolvers/utility.ts12 return `## Step 0: Detect platform and base branch
LOWscripts/resolvers/utility.ts376 return `## Step 13: CHANGELOG (auto-generate)
LOWbrowse/test/sidebar-ux.test.ts1343 // Step 1: sidepanel sends sidebarOpened when connected
LOWbrowse/test/sidebar-ux.test.ts1354 // Step 2: background.js accepts and relays sidebarOpened
LOWbrowse/test/sidebar-ux.test.ts1376 // Step 3: content.js fires gstack-extension-ready ONLY on sidebarOpened
LOWbrowse/test/sidebar-ux.test.ts1390 // Step 4: welcome page hides arrow on gstack-extension-ready
LOWbrowse/scripts/build-node-server.sh16# Step 1: Transpile server.ts to a single .mjs bundle (externalize runtime deps)
LOWbrowse/scripts/build-node-server.sh31# Step 2: Post-process
LOWbrowse/scripts/build-node-server.sh37# Step 3: Create the final file with polyfill header injected after the first line
LOWbrowse/scripts/build-node-server.sh51# Step 4: Copy polyfill to dist/
LOWmake-pdf/src/smartypants.ts32 // Step 1: split into preserved + transformed zones.
LOWmake-pdf/src/smartypants.ts54 // Step 2: restore preserved zones.
Magic Placeholder Names5 hits · 28 pts
SeverityFileLineSnippet
HIGHtest/setup-gbrain-path4-structure.test.ts86 expect(tmpl).toMatch(/<YOUR_TOKEN>/);
HIGHtest/setup-gbrain-path4-structure.test.ts124 // - <bearer>, <YOUR_TOKEN>, <TOKEN> (placeholder)
HIGHtest/setup-gbrain-path4-structure.test.ts130 expect(line).toMatch(/Bearer (\$GBRAIN_MCP_TOKEN|<bearer>|<YOUR_TOKEN>|<TOKEN>|\.\.\."?)/);
HIGHsetup-gbrain/SKILL.md1545 -H 'Authorization: Bearer <YOUR_TOKEN>' \
HIGHsetup-gbrain/SKILL.md1551`<YOUR_TOKEN>` so the snippet is safe to copy into chat / share.
Cross-Language Confusion (JS/TS)5 hits · 25 pts
SeverityFileLineSnippet
HIGHtest/ship-version-sync.test.ts49 elif command -v bun >/dev/null 2>&1; then
HIGHscripts/resolvers/design.ts959elif [ -f "$_DESIGN_DIR/feedback-pending.json" ]; then
HIGHscripts/resolvers/confidence.ts47 would live. If "dict.get() might return None", quote the dict initialization.
HIGHscripts/resolvers/preamble/generate-brain-sync-block.ts120elif [ -d "$_GSTACK_HOME/.git" ] && [ "$_BRAIN_SYNC_MODE" != "off" ]; then
HIGHscripts/resolvers/preamble/generate-preamble-bash.ts100elif [ "\${GSTACK_PLAN_MODE:-}" = "active" ]; then
AI Slop Vocabulary6 hits · 18 pts
SeverityFileLineSnippet
MEDIUMtest/skill-e2e-setup-gbrain-path4-local-pglite.test.ts15// Periodic-tier (codex #12: AgentSDK harness is non-deterministic; gate-tier
MEDIUMtest/skill-e2e-office-hours-brain-writeback.test.ts147 // Set up the fake gbrain CLI with robust argv quoting + payload capture.
MEDIUMtest/helpers/touchfiles.ts116 // Real-PTY E2E batch (#6 new tests on the harness).
MEDIUMtest/helpers/touchfiles.ts162 // Periodic-tier per codex #12 (AgentSDK harness is non-deterministic).
MEDIUMscripts/resolvers/testing.ts42### B2. Research best practices
MEDIUMscripts/resolvers/preamble/generate-preamble-bash.ts95# from CLAUDE_PLAN_FILE (set by the harness when plan mode is active) and
Self-Referential Comments2 hits · 6 pts
SeverityFileLineSnippet
MEDIUMbin/gstack-gbrain-lib.sh3# This file is NOT executable; source it:
MEDIUMscripts/build-app.sh181# Create a temporary directory for DMG contents
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippet
LOWscripts/build-app.sh12# Usage:
Excessive Try-Catch Wrapping1 hit · 1 pts
SeverityFileLineSnippet
LOWsetup-gbrain/SKILL.md1350except Exception: