Skip to content

P9-S37: importers and eval harness#104

Merged
samrusani merged 1 commit intomainfrom
codex/phase9-sprint-37-importers-eval-harness
Apr 8, 2026
Merged

P9-S37: importers and eval harness#104
samrusani merged 1 commit intomainfrom
codex/phase9-sprint-37-importers-eval-harness

Conversation

@samrusani
Copy link
Copy Markdown
Owner

Summary

  • add Markdown and ChatGPT importers to bring total shipped importer coverage to three
  • generalize provenance and deterministic dedupe handling across importers
  • add a reproducible Phase 9 evaluation harness plus committed baseline report evidence

Validation

  • docker compose up -d
  • ./scripts/migrate.sh
  • ./scripts/load_sample_data.sh
  • ./scripts/load_openclaw_sample_data.sh --user-id 00000000-0000-0000-0000-000000000038 --user-email openclaw-import-038@example.com --display-name "OpenClaw Import 038" --source fixtures/openclaw/workspace_v1.json
  • ./scripts/load_markdown_sample_data.sh --user-id 00000000-0000-0000-0000-000000000038 --source fixtures/importers/markdown/workspace_v1.md
  • ./scripts/load_chatgpt_sample_data.sh --user-id 00000000-0000-0000-0000-000000000038 --source fixtures/importers/chatgpt/workspace_v1.json
  • APP_RELOAD=false ./scripts/api_dev.sh
  • curl -sS http://127.0.0.1:8000/healthz
  • ./.venv/bin/python -m alicebot_api --user-id 00000000-0000-0000-0000-000000000038 recall --thread-id eeeeeeee-eeee-4eee-8eee-eeeeeeeeeeee --project "Markdown Import Project" --query "markdown importer deterministic" --limit 5
  • ./.venv/bin/python -m alicebot_api --user-id 00000000-0000-0000-0000-000000000038 resume --thread-id eeeeeeee-eeee-4eee-8eee-eeeeeeeeeeee --project "Markdown Import Project" --max-recent-changes 5 --max-open-loops 5
  • ./scripts/run_phase9_eval.sh --user-id 00000000-0000-0000-0000-000000000039 --user-email phase9-eval-039@example.com --display-name "Phase9 Eval 039" --report-path eval/reports/phase9_eval_latest.json
  • ./.venv/bin/python -m pytest tests/unit/test_importers.py tests/unit/test_phase9_eval.py -q
  • ./.venv/bin/python -m pytest tests/integration/test_openclaw_import.py tests/integration/test_markdown_import.py tests/integration/test_chatgpt_import.py tests/integration/test_phase9_eval.py -q
  • ./.venv/bin/python -m pytest tests/unit tests/integration
  • pnpm --dir apps/web test

@samrusani samrusani merged commit 6f162ee into main Apr 8, 2026
@samrusani samrusani deleted the codex/phase9-sprint-37-importers-eval-harness branch April 8, 2026 09:10
samrusani pushed a commit that referenced this pull request Apr 9, 2026
Co-authored-by: Sami Rusani <sr@samirusani>
samrusani pushed a commit that referenced this pull request Apr 9, 2026
Co-authored-by: Sami Rusani <sr@samirusani>
samrusani added a commit that referenced this pull request Apr 9, 2026
Co-authored-by: Sami Rusani <sr@samirusani>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant