Skip to content

v0.1.13 — Fix all four worker pipelines

Choose a tag to compare

@ssdavidai ssdavidai released this 23 Feb 11:40

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 long on large inbox files

Janitor — YAML crash in autofix

  • _parse_record() now wraps yaml.YAMLError in VaultError
  • Autofix gracefully skips files with malformed frontmatter instead of crashing
  • Malformed files proceed to LLM-based fixing stage

Surveyor — 401 Unauthorized from OpenRouter

  • Added .env file loading to cli.py main entry point and surveyor/__main__.py
  • Environment variables are now resolved before config loading in all code paths

Files Changed (9)

  • vault/ops.py — YAML error → VaultError wrapping
  • curator/pipeline.py — manifest file + prompt temp file pattern
  • curator/backends/openclaw.py — prompt temp file for legacy path
  • distiller/pipeline.py — manifest file + prompt temp file pattern
  • prompts/stage1_analyze.md — write manifest to file instead of stdout
  • prompts/stage1_extract.md — write manifest to file instead of stdout
  • cli.py — add _load_env_file() for .env loading
  • surveyor/__main__.py — add _load_env_file() for standalone runs
  • pyproject.toml — version bump