[bug] 发布包漏发 LIFEOS/SETUP/template-hashes.json,SetupInventory.ts status 因此把与出厂模板逐字节相同的…
I maintainer di solito rispondono entro 5 giorni
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- bun, typescript
- Ambito
- backend-api-design, testing
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- TypeScript
- Stelle
- 19.9k
- Fork
- 2.5k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di danielmiessler/LifeOS
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
danielmiessler/LifeOS#2894 ·
I maintainer di solito rispondono entro 5 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
danielmiessler/LifeOS#2891 ·
I maintainer di solito rispondono entro 5 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
danielmiessler/LifeOS#2888 ·
I maintainer di solito rispondono entro 5 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
danielmiessler/LifeOS#2886 ·
I maintainer di solito rispondono entro 5 giorni
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
danielmiessler/LifeOS#2848 ·
I maintainer di solito rispondono entro 5 giorni
Tutte le issue di danielmiessler/LifeOS
Issue simili
-
[功能请求] 设置选项语言调整Aperta功能请求
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
antithesishq/bombadil#473 ·
I maintainer di solito rispondono entro 2 giorni
-
The structured output reference promises null results for refusals that carry validation detailsApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
mattermost/mattermost-mobile#10358 ·
I maintainer di solito rispondono entro 1 giorno
-
ready-for-agent
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
LucasSantana-Dev/Lucky#3257 ·
I maintainer di solito rispondono entro 1 giorno