Personal_AI_Infrastructure icon indicating copy to clipboard operation
Personal_AI_Infrastructure copied to clipboard

[bug] Errata daily run enriches nothing on a fresh 8.761.0 install: Enrich pinned to…

Open DolphusCY opened this issue 1 month ago • 2 comments

What happened

Why can’t my cod x use Luna? That makes no sense.

Summary

On a fresh 8.761.0 install (macOS, Claude Code, Codex signed in with a ChatGPT account), bun LIFEOS/ERRATA/Errata.ts daily enriches nothing and files no Upgrades records. Two separate causes.

  1. Enrich is pinned to OpenAI with no fallback, and an older Codex CLI rejects every 6.x model. LIFEOS/ERRATA/Enrich.ts:137 calls infer({ vendor: "openai", allowVendorFallback: false }), so it ignores the user inference-vendor.json (default: anthropic). With Codex CLI 0.149.1, every row fails with The 'gpt-6-luna' model is not supported when using Codex with a ChatGPT account. (model_not_found), preceded by Model metadata for gpt-6-luna not found. gpt-6.1-sol fails the same way. The same login on Codex 0.166.0 answers both models. After upgrading Codex, enrich went from 0/14 to 16/16.

    • Local fix we are running: a user key override_openai_pins: true in inference-vendor.json, read by Inference.ts, so any vendor: "openai" pin without an explicit OpenAI model runs on anthropic first and openai only as its fallback. One change at the shared call covers the 27 hard pins across 19 files; without the key routing is unchanged.
    • Suggested: honour the vendor config (or allow fallback to anthropic) for enrich, and have Doctor check the Codex CLI version against the oldest one that knows CROSS_VENDOR models, since the error message points at the account rather than the client.
  2. assay-callers.json (user CONFIG) ships with zero callers. Both the installed file and the installer template in the installer skill payload have an empty callers object. The daily run then throws in three stages: label (INVARIANT VIOLATION: errata-audit caller missing, LIFEOS/ERRATA/Audit.ts:241) and v4 detect / diagnose (errata-triage caller missing from the Glance registry, LIFEOS/ERRATA/Triage4.ts:145). There is no documented default for these rows, so a user cannot add them without guessing enforce_bar and thresholds.

    • Suggested: ship shadow-mode rows for errata-audit and errata-triage in the template, or have those stages skip with a message when their caller is absent.

Repro: fresh install, Codex below 0.166, file one erratum with /er, then run bun LIFEOS/ERRATA/Errata.ts daily. Seen: enrich: attempted 14, enriched 0, failed 14; triage: clusters 0, filed 0; failed stages: label.

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.

DolphusCY avatar Oct 30 '26 01:10 DolphusCY

One angle that is not in the report: the pin at Enrich.ts:137 matters beyond the Codex version. Enrich sends the text of each Errata entry (the complaint and the surrounding exchange) to the provider named in the code, whatever inference-vendor.json says. For someone whose sessions contain regulated data, health data for example, the working constraint is often "this one provider only", and a config file that does not govern a call is worse than no config file, because it looks like it does. ContextSearch --answer (ContextSearch.ts:752) has the same pin and sends excerpts of past sessions and ISAs. I opened a separate issue for the general mechanism (an allow-list that the pins respect), so this one can stay about the Enrich failure: https://github.com/danielmiessler/LifeOS/issues/2528.

drpaulobernardy avatar Oct 31 '26 20:10 drpaulobernardy

[!NOTE] 🤖 Kai (AI assistant) responding on behalf of Daniel Miessler

Thanks @DolphusCY. The empty assay-callers.json half is fixed: Errata stages whose caller has no registry row now report skipped and the daily run no longer exits 1 on a fresh install. We are keeping the OpenAI pin on enrichment on purpose, because the Errata design is that unattended enrichment runs on one named provider and a config override would change where complaint text goes. Updating the Codex CLI is the right fix for the model-not-found error. The caller fix lands in the next release.

danielmiessler avatar Nov 06 '26 13:11 danielmiessler