v0.1.13 — Fix all four worker pipelines
Fixes
Curator & Distiller — manifest parsing (critical)
- JSON entity/learning manifests are now written to temp files instead of parsed from stdout
- OpenClaw's agent conversation noise was making stdout JSON extraction unreliable (0% success rate)
- Prompts also passed via temp files to avoid
OSError: Argument list too longon large inbox files
Janitor — YAML crash in autofix
_parse_record()now wrapsyaml.YAMLErrorinVaultError- Autofix gracefully skips files with malformed frontmatter instead of crashing
- Malformed files proceed to LLM-based fixing stage
Surveyor — 401 Unauthorized from OpenRouter
- Added
.envfile loading tocli.pymain entry point andsurveyor/__main__.py - Environment variables are now resolved before config loading in all code paths
Files Changed (9)
vault/ops.py— YAML error → VaultError wrappingcurator/pipeline.py— manifest file + prompt temp file patterncurator/backends/openclaw.py— prompt temp file for legacy pathdistiller/pipeline.py— manifest file + prompt temp file patternprompts/stage1_analyze.md— write manifest to file instead of stdoutprompts/stage1_extract.md— write manifest to file instead of stdoutcli.py— add_load_env_file()for .env loadingsurveyor/__main__.py— add_load_env_file()for standalone runspyproject.toml— version bump