Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 10 additions & 30 deletions Releases/v5.0.0/.claude/PAI/TOOLS/GenerateTelosSummary.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,43 +98,23 @@ function parseGoals(): { active: string[]; deferred: string[] } {
*/
function parseProblems(): string[] {
const content = readTelosFile('PROBLEMS.md');
const lines: string[] = [];

// Format: ## P0: Title (optional parenthetical)
const headers = [...content.matchAll(/^##\s+(P\d+):\s*(.+?)(?:\s*\(.*\))?\s*$/gm)];
for (const match of headers) {
const title = match[2].trim();
const short = title.length > 60 ? title.substring(0, 57) + '...' : title;
lines.push(`- **${match[1]}**: ${short}`);
}

// Fallback: try list items
if (lines.length === 0) {
const items = parseItems(content);
for (const item of items) {
const title = item.text.split(/[—-]/)[0].trim().replace(/\*\*/g, '');
lines.push(`- **${item.id}**: ${title}`);
}
}

return lines;
return parseItems(content)
.filter(i => /^P\d+$/.test(i.id))
.map(i => {
const title = i.text.split(/[—-]/)[0].trim().replace(/\*\*/g, '');
const short = title.length > 60 ? title.substring(0, 57) + '...' : title;
return `- **${i.id}**: ${short}`;
});
}

/**
* Parse strategies from STRATEGIES.md
*/
function parseStrategies(): string[] {
const content = readTelosFile('STRATEGIES.md');
const lines: string[] = [];

// Extract strategy headers: ## S0: name or ### S1: name
const headers = [...content.matchAll(/^#{2,3}\s+(S\d+):\s*(.+?)(?:\s*\(.*\))?\s*$/gm)];
for (const match of headers) {
const short = match[2].length > 60 ? match[2].substring(0, 57) + '...' : match[2];
lines.push(`- **${match[1]}**: ${short}`);
}

return lines;
return parseItems(content)
.filter(i => /^S\d+$/.test(i.id))
.map(i => `- **${i.id}**: ${truncate(i.text, 60)}`);
}

/**
Expand Down
6 changes: 3 additions & 3 deletions Releases/v5.0.0/.claude/PAI/USER/TELOS/CHALLENGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

> Personal patterns, friction points, and persistent failure modes you're aware of.

- **C0:** (sample) I tend to start more projects than I finish — when something gets hard or boring, a new idea looks more attractive than completing the current one.
- **C1:** (sample) I avoid hard conversations until they become harder than they needed to be.
- **C2:** (sample) I optimize small surface-area tasks (inbox, tweaks) when I'm avoiding the one big thing that actually matters this week.
- **C0**: (sample) I tend to start more projects than I finish — when something gets hard or boring, a new idea looks more attractive than completing the current one.
- **C1**: (sample) I avoid hard conversations until they become harder than they needed to be.
- **C2**: (sample) I optimize small surface-area tasks (inbox, tweaks) when I'm avoiding the one big thing that actually matters this week.

## Notes

Expand Down
6 changes: 3 additions & 3 deletions Releases/v5.0.0/.claude/PAI/USER/TELOS/GOALS.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@

## Active

- **G0:** (sample) Ship MVP of Project X by 2026-Q2 — measurable: 100 daily active users.
- **G1:** (sample) Publish 24 newsletter issues this year — measurable: one every other Sunday, no skipped weeks.
- **G2:** (sample) Reach a sustainable monthly revenue target — measurable: $X MRR by end of year.
- **G0**: (sample) Ship MVP of Project X by 2026-Q2 — measurable: 100 daily active users.
- **G1**: (sample) Publish 24 newsletter issues this year — measurable: one every other Sunday, no skipped weeks.
- **G2**: (sample) Reach a sustainable monthly revenue target — measurable: $X MRR by end of year.

## Deferred / Ongoing

Expand Down
6 changes: 3 additions & 3 deletions Releases/v5.0.0/.claude/PAI/USER/TELOS/MISSION.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

> What you're here to do — the most durable north star.

- **M0:** (sample) Help one million people make better decisions through accessible AI tools.
- **M1:** (sample) Build infrastructure that lets individuals own their data and AI.
- **M2:** (sample — aspirational, optional) Leave behind work that's still useful 50 years after I'm gone.
- **M0**: (sample) Help one million people make better decisions through accessible AI tools.
- **M1**: (sample) Build infrastructure that lets individuals own their data and AI.
- **M2**: (sample — aspirational, optional) Leave behind work that's still useful 50 years after I'm gone.

## Notes

Expand Down
6 changes: 3 additions & 3 deletions Releases/v5.0.0/.claude/PAI/USER/TELOS/NARRATIVES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

> The stories you tell yourself (and others) about the world — the frames your work operates within.

- **N0:** (sample) I build tools that move power from institutions to individuals.
- **N1:** (sample) The next decade rewards people who can ship working software end-to-end without waiting for a team.
- **N2:** (sample — conference one-liner) I'm a [your craft] who helps [your audience] do [your outcome].
- **N0**: (sample) I build tools that move power from institutions to individuals.
- **N1**: (sample) The next decade rewards people who can ship working software end-to-end without waiting for a team.
- **N2**: (sample — conference one-liner) I'm a [your craft] who helps [your audience] do [your outcome].

## Notes

Expand Down
6 changes: 3 additions & 3 deletions Releases/v5.0.0/.claude/PAI/USER/TELOS/PROBLEMS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

> External problems in the world you're working to address.

- **P0:** (sample) Most knowledge workers spend more time fighting their tools than doing the work the tools are supposed to enable.
- **P1:** (sample) High-quality information is unevenly distributed — people without insider networks pay a real cost in worse decisions.
- **P2:** (sample) Personal data is held by platforms that don't share the user's incentives.
- **P0**: (sample) Most knowledge workers spend more time fighting their tools than doing the work the tools are supposed to enable.
- **P1**: (sample) High-quality information is unevenly distributed — people without insider networks pay a real cost in worse decisions.
- **P2**: (sample) Personal data is held by platforms that don't share the user's incentives.

## Notes

Expand Down
6 changes: 3 additions & 3 deletions Releases/v5.0.0/.claude/PAI/USER/TELOS/STRATEGIES.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

> How you approach your missions, goals, and problems — the playbook.

- **S0:** (sample) Ship the crappy version, then iterate in public — speed of feedback beats polish in the first 80%.
- **S1:** (sample) Write before building — if I can't explain it in plain prose, the design isn't ready.
- **S2:** (sample) Default to open — open-source the tools, share the work, let distribution come from usefulness.
- **S0**: (sample) Ship the crappy version, then iterate in public — speed of feedback beats polish in the first 80%.
- **S1**: (sample) Write before building — if I can't explain it in plain prose, the design isn't ready.
- **S2**: (sample) Default to open — open-source the tools, share the work, let distribution come from usefulness.

## Notes

Expand Down