[bug] 发布包漏发 LIFEOS/SETUP/template-hashes.json,SetupInventory.ts status 因此把与出厂模板逐字节相同的…
メンテナーはふだん 5 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- bun, typescript
調査の方向性
Start with LIFEOS/TOOLS/SetupInventory.ts and its tests, then inspect InterviewScan.ts and the release packaging for LIFEOS/SETUP/template-hashes.json. Reproduce the fresh-install status with the listed Bun command and compare its result with fingerprints computed from the install payload. Done means the readiness table handles missing hashes, failed probes, and unchanged sample lines as described; the report says all three fixes are already patched locally.
索引モデルが issue の本文から書いたものです。
説明
What happened
发布包漏发 LIFEOS/SETUP/template-hashes.json,SetupInventory.ts status 因此把与出厂模板逐字节相同的 USER 文件也算作已填,全新安装会报所有系统 ready。
Summary
SetupInventory.ts status reports every system as ready on a fresh install, because the release does not ship LIFEOS/SETUP/template-hashes.json (the installer payload's LIFEOS/SETUP/ holds only SetupManifest.json). With the file absent, status sets the fingerprints to {}, so the "unchanged from the shipped template" check never fires and a USER file byte-identical to its template counts as filled in.
Reproduce (LifeOS 8.761.0)
- Fresh install;
ls LIFEOS/SETUP/shows onlySetupManifest.json. bun LIFEOS/TOOLS/SetupInventory.ts statusprints50 ready · 0 need setup · 0 optional and off.- Computing the fingerprints from the install payload instead (
templateHashes(manifest, "skills/LifeOS/install/USER")) gives27 ready · 3 need setup · 20 optional and offfor the same USER tree.
Two more of the same kind
statusruns a system's probe only with--probe, so a system whose files exist but which does not work still reads ready.InterviewScan.tsscores the TELOS sections that still hold the shipped(sample)lines word for word as 100% "already substantive", because it recognises placeholders only by marker words (TBD, "seed during interview").
Suggested fix
- When
template-hashes.jsonis missing, compute the fingerprints from the install payload's USER tree; when neither exists, never report ready (report unknown). - Run the probes by default, and let a failing probe outrank the files.
- Decide "is this still the template?" by comparing the file line by line with the shipped template rather than by marker words, which works for any language and any placeholder style.
We patched all three locally along these lines, with tests, and the readiness table now matches what actually works.
Details
- Kind: bug
- LifeOS version: 8.761.0
Filed with the LifeOS /feedback command. The reporter approved this exact text before it was sent; paths, secrets and personal details were stripped locally.
- 主要言語
- TypeScript
- スター
- 19.9k
- フォーク
- 2.5k
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
danielmiessler/LifeOS のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 67/100
danielmiessler/LifeOS#2894 ·
メンテナーはふだん 5 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
danielmiessler/LifeOS#2891 ·
メンテナーはふだん 5 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
danielmiessler/LifeOS#2888 ·
メンテナーはふだん 5 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
danielmiessler/LifeOS#2886 ·
メンテナーはふだん 5 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
danielmiessler/LifeOS#2848 ·
メンテナーはふだん 5 日以内に返信
danielmiessler/LifeOS の issue をすべて見る
似ている issue
-
[功能请求] 设置选项语言调整オープン功能请求
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
antithesishq/bombadil#473 ·
メンテナーはふだん 2 日以内に返信
-
The structured output reference promises null results for refusals that carry validation detailsオープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
mattermost/mattermost-mobile#10358 ·
メンテナーはふだん 1 日以内に返信
-
ready-for-agent
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
LucasSantana-Dev/Lucky#3257 ·
メンテナーはふだん 1 日以内に返信