Pulse knowledge: every ISA is titled "ISA" (wiki.ts extractTitle ignores the task: field)

Open Beginner friendly
#3,122 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 5 days

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
84/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
bun, typescript
Domain
full-stack

Research direction

Start with LIFEOS/PULSE/modules/wiki.ts and its extractTitle() function, then trace where indexFile calls it for ISA pages. Reproduce by creating an ISA with task: frontmatter and an ## Ideal State body, then query /api/wiki to confirm its title is currently ISA. Done means ISA titles use the task value while existing title, H1, and filename fallback behavior remains intact.

Written by the indexing model from the issue text.

Description

Version

LifeOS 8.761.0 · attestation: not run

What is broken

On Pulse's /memory/knowledge page, every ISA in Recent Changes (and in the ISA list) is titled "ISA". extractTitle() in LIFEOS/PULSE/modules/wiki.ts looks only at frontmatter title: and then the first H1, and otherwise falls back to the filename. ISAs keep their name in task: (ISAFormat: "task: recommended, falls back to the H1 title"), and ladder-era ISAs start with ## Ideal State and have no H1. So every ISA falls through to its filename, ISA.md, and shows as "ISA". On this install that applied to all 8 ISAs: 8 had a task: and none had an H1.

Where (file:line)

LIFEOS/PULSE/modules/wiki.ts:309

Repro on a clean tree
1. Create any ISA with the current format (frontmatter `task: "..."`, body starting with `## Ideal State`).
2. Open Pulse `/memory/knowledge`.
3. Recent Changes lists it as "ISA". `curl -s localhost:31337/api/wiki | jq '.recentChanges[] | select(.category=="isa") | .title'` prints "ISA" for every ISA.
Negative control

Probe: grep -q 'fm.task' /tmp/claude-1000/-home-<name>-ai-projects-tools-LifeOS/ec2673f7-837d-4c31-ba00-839575e86289/scratchpad/up/LifeOS/install/LIFEOS/PULSE/modules/wiki.ts · exit 1 · captured 2026-12-01T22:56:58.144Z

(no output)
Suggested fix

Use task: for ISA pages before the H1 and filename fallbacks:

function extractTitle(content, fm, filename, category?: string): string {
  if (fm.title) return String(fm.title)
  if (category === "isa" && fm.task) return String(fm.task)
  ...
}
// indexFile: title: extractTitle(raw, fm, filename, options.category),

Tested locally: after a Pulse restart, /api/wiki recentChanges shows each ISA's task instead of "ISA".

Environment
  • OS: Ubuntu 26.04.1 LTS (x64)
  • Harness: claude-code
  • bun: 1.4.5 · git: 2.53.0
  • Doctor broken: none
Dominant language
TypeScript
Stars
20k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from danielmiessler/LifeOS

All issues in danielmiessler/LifeOS

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.