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

オープン 初心者向け
#3,122 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 5 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
84/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
bun, typescript
領域
full-stack

調査の方向性

LIFEOS/PULSE/modules/wiki.ts とその extractTitle() 関数から始め、ISA ページに対して indexFile がどこでそれを呼び出すかを追跡します。task: フロントマターと ## Ideal State 本文を持つ ISA を作成してから /api/wiki をクエリすることで再現し、現時点ではタイトルが ISA であることを確認します。完了の基準は、ISA のタイトルが task の値を使用し、既存のタイトル、H1、ファイル名のフォールバック動作が維持されることです。

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
TypeScript
スター
20k
フォーク
2.5k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

danielmiessler/LifeOS のほかの issue

danielmiessler/LifeOS の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。