Titan grind

From optave/ops-codegraph-tool · View interactive version

Titan grind is an AI agent skill from the GitHub repository optave/ops-codegraph-tool. Adopt extracted helpers — find dead symbols from forge, wire them into consumers, replace duplicated inline patterns, and gate on dead-symbol delta (Titan Paradigm Phase 4.5)

How to use this skill

Skill file

Titan GRIND — Adopt Extracted Helpers

You are running the GRIND phase of the Titan Paradigm.

Forge shapes the metal. Grind smooths the rough edges. Your goal: find helpers that forge extracted but never wired into consumers, adopt them across the codebase, and gate on a non-positive dead-symbol delta.

Why this phase exists: Forge decomposes god-functions into smaller helpers, but those helpers are only called within their own file. The dead symbol count inflates with every forge phase because the adoption loop is never closed. Grind closes it.

Context budget: One forge phase per invocation. Process all targets from one forge phase's commits, then stop. If context reaches ~80% capacity mid-phase, write all state to disk, print a progress message, and stop — user re-runs for remainder.

Arguments (from $ARGUMENTS):


Step 0 — Pre-flight

  1. Worktree check:

```bash

git rev-parse --show-toplevel && git worktree list

```

If not in a worktree, stop: "Run /worktree first."

  1. Session discovery. Check all worktrees for titan artifacts:

```bash

git worktree list

```

For each worktree, check:

```bash

ls <worktree-path>/.codegraph/titan/titan-state.json 2>/dev/null

```

  1. Sync with main:

```bash

git fetch origin main && git merge origin/main --no-edit

```

If merge conflicts → stop: "Merge conflict detected. Resolve and re-run /titan-grind."

  1. Validate state file integrity:

```bash

node -e "try { JSON.parse(require('fs').readFileSync('.codegraph/titan/titan-state.json','utf8')); console.log('OK'); } catch(e) { console.log('CORRUPT: '+e.message); process.exit(1); }"

```

If CORRUPT → check .codegraph/titan/titan-state.json.bak:

  1. Load artifacts. Read:
  1. Validate state. Grind runs after forge. Check:
  1. Initialize grind state (if grind block doesn't exist in titan-state.json). Merge into titan-state.json:

```json

{

"grind": {

"completedPhases": [],

"currentPhase": null,

"currentTarget": null,

"processedTargets": [],

"failedTargets": [],

"adoptions": [],

"removals": [],

"falsePositives": [],

"diffWarnings": [],

"deadSymbolBaseline": null,

"deadSymbolCurrent": null

}

}

```

  1. Update top-level state. Set currentPhase to "grind" in titan-state.json. Write immediately.
  1. Back up state:

```bash

cp .codegraph/titan/titan-state.json .codegraph/titan/titan-state.json.bak

```

  1. Ensure graph is current. Rebuild if stale:

```bash

codegraph build

```

  1. Take a graph snapshot before making changes:

```bash

codegraph snapshot save titan-grind-baseline 2>/dev/null || true

```

  1. Capture dead-symbol baseline (only if grind.deadSymbolBaseline is null):

```bash

codegraph roles --role dead -T --json | node -e "const d=[];process.stdin.on('data',c=>d.push(c));process.stdin.on('end',()=>{try{const data=JSON.parse(Buffer.concat(d));console.log(JSON.stringify({total:data.count??0,byRole:data.summary??{}}));}catch(e){console.error('Failed to parse roles --json output: '+e.message);process.exit(1);}})"

```

codegraph roles --json returns { count, summary, symbols } (not a bare array) — summary is already the per-role breakdown (e.g. dead-leaf, dead-entry, dead-ffi, dead-unresolved), so no manual reduce is needed.

Store the total in grind.deadSymbolBaseline. Write titan-state.json immediately.

  1. Drift detection. Compare titan-state.json → mainSHA against current origin/main:

```bash

git rev-list --count <mainSHA>..origin/main

```

If main has advanced, check if any forge-touched files were modified:

```bash

git diff --name-only <mainSHA>..origin/main

```

Cross-reference against files from forge's execution.commits. If >20% of grind candidate files changed on main → WARN: "Main has advanced <N> commits since forge. <M> grind candidate files were modified. Some helpers may already be adopted or removed on main. Consider re-running /titan-recon." Continue unless >50% affected, then stop.

  1. Determine next phase. Use --phase N if provided, otherwise find the lowest forge phase number not in grind.completedPhases.
  1. Update state. Set grind.currentPhase to the target phase number. Write titan-state.json.
  1. Record phase timestamp (only if not already set — may exist from a prior crashed run):

```bash

node -e "const fs=require('fs');const s=JSON.parse(fs.readFileSync('.codegraph/titan/titan-state.json','utf8'));s.phaseTimestamps=s.phaseTimestamps||{};s.phaseTimestamps['grind']=s.phaseTimestamps['grind']||{};if(!s.phaseTimestamps['grind'].startedAt){s.phaseTimestamps['grind'].startedAt=new Date().toISOString();fs.writeFileSync('.codegraph/titan/titan-state.json',JSON.stringify(s,null,2));}"

```

  1. Print plan and ask for confirmation (unless --yes):

```

GRIND — Phase N: <label>

Forge made N commits for this phase.

Dead symbol baseline: <N>

Previously processed: <N> targets (<N> adopted, <N> failed)

Drift: <fresh|N commits behind>

Will: identify new dead symbols, find adoption opportunities, wire helpers into consumers.

Proceed? [y/n]

```


Step 1 — Identify forge's new symbols

Skip if: .codegraph/titan/grind-targets.ndjson already has entries for this phase (resume case). Validate NDJSON integrity first:

node -e "
const fs = require('fs');
const path = '.codegraph/titan/grind-targets.ndjson';
if (!fs.existsSync(path)) { console.log(JSON.stringify({ valid: 0, corrupt: 0, total: 0, missing: true })); process.exit(0); }
const lines = fs.readFileSync(path,'utf8').trim().split('\n');
let valid = 0, corrupt = 0;
for (const line of lines) { try { JSON.parse(line); valid++; } catch { corrupt++; } }
console.log(JSON.stringify({ valid, corrupt, total: lines.length, missing: false }));
"

For the target forge phase, get the commits from titan-state.json → execution.commits that belong to this phase (cross-reference with sync.json → executionOrder[phase].targets).

For each commit, identify changed files:

git diff-tree --no-commit-id --name-only -r <commit-sha>

For each changed file, inventory the symbols:

codegraph where --file <changed-file> -T --json

Collect all symbols defined in files touched by this forge phase. These are the candidate symbols — forge created or modified them.


Step 2 — Find and classify dead helpers

Run dead-code detection scoped to the candidate files:

codegraph roles --role dead -T --file <changed-file> --json

For each file touched by forge in this phase, collect symbols flagged as dead. Filter to:

For each candidate dead symbol, run the full analysis:

2a. Understand the helper

codegraph where <helper-name>
codegraph context <helper-name> -T --json
codegraph audit --quick <helper-name> -T --json

Read the helper's source file to understand its signature, parameters, and behavior. This is critical — you cannot classify or adopt a helper you don't understand.

2b. Check if actually dead (false-positive detection)

codegraph fn-impact <helper-name> -T --json
codegraph ast --kind call <helper-name> -T --json

Check for:

If any of these apply → classify as false-positive. Append to .codegraph/titan/issues.ndjson:

{"phase":"grind","timestamp":"<ISO 8601>","severity":"bug","category":"codegraph","description":"False positive dead-code detection: <symbol> in <file> — <reason>","context":"<detection method that failed>"}

2c. Duplicate-logic scan (codebase-wide — mandatory)

This scan must cover the entire codebase, not just forge-touched files. Stopping after finding the first few matches or only checking files the forge phase touched is the primary cause of redundant helpers being created in later runs. You must prove the pattern is absent elsewhere before classifying.

Read the helper's source to identify its core pattern (the 2–5 token signature that distinguishes it from generic code). Then run all three of the following — not just one:

1. Semantic search (catches renamed or restructured duplicates):

codegraph search "<describe what the helper does in plain language>" --json

Retain these results in memory — Step 2e reuses them. Inline-pattern matches (anonymous code inside functions) belong to Step 2c; named-function results that describe a pre-existing helper belong to Step 2e. Evaluate both in a single pass rather than issuing a second identical query later.

2. Token-level grep across all source files (catches exact inline duplicates):

# Discover actual TypeScript source roots from repo layout (do not assume src/)
node -e "
const fs = require('fs');
const roots = [];
// Check tsconfig for rootDir (strip JSONC comments and trailing commas first)
if (fs.existsSync('tsconfig.json')) {
  try {
    const raw = fs.readFileSync('tsconfig.json','utf8')
      .replace(/\/\/[^\n]*/g,'')       // strip // line comments
      .replace(/,(\s*[}\]])/g,'\$1');  // strip trailing commas
    const tc = JSON.parse(raw);
    if (tc.compilerOptions?.rootDir) roots.push(tc.compilerOptions.rootDir);
  } catch {}
}
// Check package.json workspaces
if (fs.existsSync('package.json')) {
  try {
    const pkg = JSON.parse(fs.readFileSync('package.json','utf8'));
    const wsGlobs = Array.isArray(pkg.workspaces) ? pkg.workspaces : (pkg.workspaces?.packages ?? []);
    wsGlobs.forEach(w => roots.push(w.replace(/\/\*\*?.*$/, '')));
  } catch {}
}
// Fall back to any top-level dir that contains TS/JS source files
if (roots.length === 0) {
  const srcExts = ['.ts','.tsx','.mts','.cts','.js','.jsx'];
  fs.readdirSync('.').filter(d => {
    try { return fs.statSync(d).isDirectory() && fs.readdirSync(d).some(f => srcExts.some(e => f.endsWith(e))); } catch { return false; }
  }).forEach(d => roots.push(d));
}
console.log([...new Set(roots)].join(' ') || 'src');
"
# Use the discovered roots (e.g. src, packages/core, lib) — never hardcode
grep -rn "<key-token-1>" <discovered-ts-roots> --include="*.ts" --include="*.tsx" --include="*.js" --include="*.jsx" --include="*.mts" --include="*.cts" --exclude-dir=node_modules --exclude-dir=dist --exclude-dir=.git --exclude-dir=.cache -l
grep -rn "<key-token-2>" <discovered-ts-roots> --include="*.ts" --include="*.tsx" --include="*.js" --include="*.jsx" --include="*.mts" --include="*.cts" --exclude-dir=node_modules --exclude-dir=dist --exclude-dir=.git --exclude-dir=.cache -l
# Discover Rust workspace members if applicable
if [ -f Cargo.toml ]; then
  cargo metadata --no-deps --format-version 1 2>/dev/null | node -e "
    const d=[];process.stdin.on('data',c=>d.push(c));
    process.stdin.on('end',()=>{ try { const m=JSON.parse(Buffer.concat(d));
      // Use packages[].manifest_path to get actual source directories — workspace_members
      // only contains names, not paths. Print one path per line for xargs to iterate.
      const paths = (m.packages||[]).map(p => require('path').dirname(p.manifest_path));
      const unique = [...new Set(paths)];
      if (unique.length) { console.log(unique.join('\n')); } else { console.log('.'); }
    } catch{} });
  " | xargs -I{} grep -rn "<key-token>" {} --include="*.rs" --exclude-dir=target --exclude-dir=.git -l
fi

3. Symbol-level duplicate scan (catches helpers with different names but identical purpose):

# Extract 2-3 meaningful tokens from the helper name and filter dead symbols by those tokens.
# This keeps output focused on candidates actually worth reviewing — not the full dead-symbol list.
codegraph roles --role dead -T --json | node -e "
const helperName = '<helper-name>';
// Split camelCase/snake_case into tokens; take the 2-3 most distinctive (skip generic words)
const stopWords = new Set(['get','set','is','has','to','from','by','on','of','the','a','an','format','parse','build','make','create','handle','process','run','check','with','use']);
const tokens = helperName
  .replace(/([a-z])([A-Z])/g,'\$1 \$2')
  .replace(/[_-]+/g,' ')
  .toLowerCase()
  .split(' ')
  .filter(t => t.length > 2 && !stopWords.has(t))
  .slice(0, 3);
const d=[];process.stdin.on('data',c=>d.push(c));
process.stdin.on('end',()=>{ try {
  const data=JSON.parse(Buffer.concat(d));
  const candidates = (data.symbols || []).filter(i =>
    i.name !== helperName &&
    tokens.some(t => i.name.toLowerCase().includes(t))
  );
  console.log(JSON.stringify(candidates));
} catch { console.log('[]'); } });
"

For each file that produces a match in any of the three scans: read the matching region, confirm whether it duplicates the helper's logic, and add it to the consumer list if so. A match list of zero across all three scans is required before concluding "no duplicates found" — do not assume absence without running all three.

Look for:

2d. Consumer-wiring scan (all call sites — mandatory)

Check if the helper should be called by existing code that currently does the same work. This must scan the full codebase, not only files in the current forge phase.

codegraph fn-impact <helper-name> -T --json

For borderline cases where you need to confirm whether a path exists between the helper and a specific suspected consumer:

codegraph path <helper-name> <potential-consumer> -T --json

If the helper wraps an underlying operation, find every call site of that underlying operation across the entire codebase:

codegraph ast --kind call <underlying-function> -T --json

The result is a list of all call sites. For each site NOT already using the helper: read the surrounding code and determine if the helper is a drop-in replacement. Add every adoptable site to the consumer list — not just the ones in forge-touched files.

If the underlying operation is called in >10 files and fewer than half are in the consumer list, that is a red flag — re-run the grep and semantic search before classifying.

2e. Pre-existing duplicate helper check

Before classifying as adopt, promote, or re-export, check whether a semantically equivalent helper already exists elsewhere in the codebase (a different name, same purpose). This is how redundant helpers accumulate across Titan runs.

Re-use Scan 1 results from Step 2c if already completed — do not issue a second identical query. The semantic search from Step 2c covers the same space; here you are evaluating named-function results (not inline patterns) from that result set. Only rerun if the Step 2c results were not retained:

codegraph search "<describe helper purpose>" --json

Evaluate the named-function results against the current helper:

```bash

gh issue create --title "Consolidate duplicate helpers: <new> and <existing>" --body "Both do <purpose>. Created by forge phase N. Consolidate in a follow-up." --label "follow-up" || gh issue create --title "Consolidate duplicate helpers: <new> and <existing>" --body "Both do <purpose>. Created by forge phase N. Consolidate in a follow-up."

```

2f. Re-export check

If the helper is in a module with a barrel file (index.ts, mod.rs), check if it needs to be re-exported:

codegraph exports <barrel-file> -T --json

2g. Classify and persist

For each grind target, assign one of:

| Classification | Action |

|---------------|--------|

| adopt | Found N sites where this helper replaces duplicated code. Wire it in. |

| re-export | Helper is consumed internally but missing from barrel. Add re-export. |

| promote | Helper is file-local but useful elsewhere. Export and wire consumers. |

| false-positive | Not actually dead (dynamic import, closure, re-export chain). Skip. |

| intentionally-private | Helper is file-local and only used within its file. Remove export or leave as-is. |

| remove | Helper is genuinely unused and has no adoption opportunity. Delete it. |

Persist each classification immediately to .codegraph/titan/grind-targets.ndjson (one JSON object per line, append-only):

{"target":"<name>","file":"<file>","phase":N,"classification":"adopt|re-export|promote|false-positive|intentionally-private|remove","reason":"<why>","consumers":["file1.ts"],"pattern":"<what to search for>","redirect_to":"<existing-helper-name-or-null>","redirect_to_file":"<path/to/file-or-null>","timestamp":"<ISO 8601>"}

redirect_to and redirect_to_file are only set when classification is remove and the removal reason is a pre-existing equivalent identified in Step 2e. redirect_to_file records the file path of the target helper so import rewiring is unambiguous on resume (two helpers may share a name across different modules). Leave both null (or omit) for ordinary removals.

This ensures resume works — if interrupted, re-running loads existing entries and skips already-classified targets.

If zero actionable grind targets (only false-positives and intentionally-private) → print "Phase N: no dead helpers to adopt. Forge wired everything correctly (or all dead symbols are false positives)." Mark phase complete, skip to Step 5.


Step 3 — Execute adoptions (per-target loop)

For each grind target classified as adopt, re-export, promote, or remove:

  1. Skip if done. Check if target is already in grind.processedTargets. If so, skip.
  1. Update state. Set grind.currentTarget in titan-state.json. Write immediately. Back up:

```bash

cp .codegraph/titan/titan-state.json .codegraph/titan/titan-state.json.bak

```

  1. Reload grind-targets.ndjson entry for this target to get classification, consumers, and pattern.
  1. Understand before touching. Run codegraph commands to get current state (code may have changed since classification):

```bash

codegraph context <target> -T --json

codegraph fn-impact <target> -T --json

```

For adopt targets, also understand each consumer site:

```bash

codegraph audit --quick <consumer-file> -T --json

codegraph where --file <consumer-file> -T --json

```

  1. Check if still dead. The target may have been adopted by a previous grind commit or by changes merged from main:

```bash

codegraph roles --role dead -T --file <target-file> --json

```

If the target is no longer dead → skip with note: "Target already adopted (by prior grind commit or main merge)."

  1. Read source file(s). Read the helper source and each consumer site. Understand the code before editing.
  1. Apply the change based on classification:
  1. Stage changed files:

```bash

git add <specific changed files>

```

Never git add . or git add -A.

  1. Diff review (intent verification):

Collect the context:

```bash

git diff --cached --stat

git diff --cached

```

DR1. Scope — only expected files touched:

Compare staged file paths against the consumer list from grind-targets.ndjson. Flag any file NOT associated with the current target or its known consumers.

DR2. Intent match — diff aligns with classification:

If the diff does something entirely different from the classification → DIFF FAIL

DR3. Deletion audit (for remove targets):

If lines removed > 10, verify deleted symbols have no active callers not updated in this diff:

```bash

codegraph fn-impact <deleted-symbol> -T --json 2>/dev/null

```

If deleted symbol has callers not in the staged diff → DIFF FAIL: "Deleted <symbol> still has <N> callers not updated."

On DIFF FAIL:

```bash

git restore --staged $(git diff --cached --name-only)

git checkout -- $(git diff --name-only)

```

Add to grind.failedTargets with reason "diff-review: <detail>". Continue to next target.

On DIFF WARN: Log to grind.diffWarnings:

```json

{ "target": "<name>", "check": "<DR1|DR2|DR3>", "message": "<warning text>", "phase": N }

```

Proceed to tests.

  1. Verify impact:

```bash

codegraph diff-impact --staged -T --json

```

Review the blast radius. If transitive callers > 30 for a simple adoption, something is wrong — review the change carefully.

  1. Run tests (fast-fail before gate):

```bash

testCmd=$(node -e "const p=require('./package.json');const s=p.scripts||{};const script=s.test?'test':s['test:ci']?'test:ci':null;if(!script){console.log('NO_TEST_SCRIPT');process.exit(0);}const fs=require('fs');const runner=fs.existsSync('yarn.lock')?'yarn':fs.existsSync('pnpm-lock.yaml')?'pnpm':fs.existsSync('bun.lockb')?'bun':'npm';console.log(runner+(script==='test'?' test':' run '+script));")

```

  1. Run /titan-gate:

Use the Skill tool to invoke titan-gate.

```bash

git restore --staged $(git diff --cached --name-only) 2>/dev/null

git checkout -- $(git diff --name-only) 2>/dev/null

```

Add to grind.failedTargets with reason, continue to next target. Do NOT go to step 15.

  1. Commit on success:

```bash

git commit -m "grind(<scope>): adopt <helper> across <N> consumers"

```

For removals:

```bash

git commit -m "grind(<scope>): remove unused <helper>"

```

For re-exports:

```bash

git commit -m "grind(<scope>): re-export <helper> from barrel"

```

  1. Update state on success. Write titan-state.json immediately after each commit:

```json

{

"target": "<helper-name>",

"classification": "adopt|re-export|promote|remove",

"consumers": ["file1.ts", "file2.ts"],

"commit": "<sha>",

"phase": N

}

```

```bash

cp .codegraph/titan/titan-state.json .codegraph/titan/titan-state.json.bak

```

  1. On failure (test or gate cycle/test/lint/build rollback):

```bash

# Restore graph snapshot

codegraph snapshot restore titan-grind-baseline 2>/dev/null || true

# Revert working tree

git restore --staged $(git diff --cached --name-only) 2>/dev/null

git checkout -- $(git diff --name-only) 2>/dev/null

# Rebuild graph from clean state

codegraph build

```

  1. Rebuild graph after successful changes to keep it current for the next target:

```bash

codegraph build

```

  1. Take a fresh snapshot for the next target's rollback safety:

```bash

codegraph snapshot save titan-grind-baseline 2>/dev/null || true

```

For false-positive and intentionally-private targets: add to grind.processedTargets and grind.falsePositives, write state and backup, but make no code changes.


Step 4 — Dead-symbol delta gate

After all targets in the phase are processed:

codegraph build
codegraph roles --role dead -T --json | node -e "const d=[];process.stdin.on('data',c=>d.push(c));process.stdin.on('end',()=>{try{const data=JSON.parse(Buffer.concat(d));console.log(JSON.stringify({total:data.count??0,byRole:data.summary??{}}));}catch(e){console.error('Failed to parse roles --json output: '+e.message);process.exit(1);}})"

Store in grind.deadSymbolCurrent. Write titan-state.json.

Compute delta: current - baseline.

| Delta | Verdict |

|-------|---------|

| delta < 0 | PASS — grind reduced dead symbols |

| delta == 0 | PASS — neutral (all new helpers were adopted or removed) |

| delta > 0, delta <= 10 | WARN — slight increase, likely false positives from type-level symbols |

| delta > 10 | FAIL — forge created helpers that grind couldn't adopt. Review grind.adoptions for missed opportunities |

On FAIL: print the new dead symbols that were not addressed and their files. Do NOT block — log the warning and continue.


Step 5 — Phase completion

  1. Add phase number to grind.completedPhases
  2. Update grind.deadSymbolBaseline to grind.deadSymbolCurrent (rolling baseline for next phase)
  3. Clear grind.currentPhase
  4. Clear grind.currentTarget
  5. Write updated titan-state.json
  6. Back up state:

```bash

cp .codegraph/titan/titan-state.json .codegraph/titan/titan-state.json.bak

```

When ALL forge phases are ground (all entries in execution.completedPhases are in grind.completedPhases):

  1. Record phaseTimestamps.grind.completedAt:

```bash

node -e "const fs=require('fs');const s=JSON.parse(fs.readFileSync('.codegraph/titan/titan-state.json','utf8'));s.phaseTimestamps=s.phaseTimestamps||{};s.phaseTimestamps['grind']=s.phaseTimestamps['grind']||{};s.phaseTimestamps['grind'].completedAt=new Date().toISOString();fs.writeFileSync('.codegraph/titan/titan-state.json',JSON.stringify(s,null,2));"

```

  1. Clean up grind snapshot:

```bash

codegraph snapshot delete titan-grind-baseline 2>/dev/null || true

```


Step 6 — Report

Print:

## Grind Phase N Complete: <label>

Dead symbols: <baseline> → <current> (delta: <+/-N>)
Targets: <processed>/<total> processed, <failed> failed
Adoptions: <N> helpers wired into <M> consumers
Removals: <N> unused helpers deleted
False positives: <N> (codegraph resolution bugs → logged to issues.ndjson)
Intentionally private: <N>

### Adoptions:
- <helper>: adopted by <N> consumers (<classification>)
  Commit: <sha>

### Removals:
- <helper>: removed (no adoption opportunity)
  Commit: <sha>

### Failed targets (if any):
- <target>: <reason>

### Diff review warnings (if any):
- <target>: <check> — <message>

### False positives (codegraph bugs — issues filed):
- <symbol>: <reason> (dynamic import / re-export chain / closure)

### Next: Phase M — <label>
Run /titan-grind to continue.

If all phases are complete:

## All grind phases complete

Dead symbols: <initial baseline> → <final> (total delta: <+/-N>)
Total adoptions: <N> across <M> consumers
Total removals: <N>
Total false positives: <N>
Total failed: <N>

Run /titan-close to finalize.

Edge Cases


Rules

Relationship to Other Skills

| Skill | Relationship |

|-------|-------------|

| /titan-forge | Grind runs after forge — processes forge's output |

| /titan-gate | Called per-commit for validation (same as forge) |

| /titan-close | Runs after grind — reads grind state block, grind-targets.ndjson, and grind entries in issues.ndjson for the final report |

| /titan-sync | Grind reads sync.json to map commits to phases and check alignment |

| /titan-recon | Grind reads titan-state.json produced by recon |

| /titan-run | Orchestrator that dispatches grind as Step 4.5 between forge and close |

| /titan-reset | Cleans grind artifacts (grind-targets.ndjson, titan-grind-baseline snapshot) |

| /titan-gauntlet | Gauntlet recommendations inform what forge extracted, which is what grind processes |

Self-Improvement

This skill lives at .claude/skills/titan-grind/SKILL.md. Edit if adoption strategies need refinement or the dead-symbol delta thresholds need adjustment after dogfooding.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.