Skip to content

docs: bring CLAUDE.md up to date with the v3.0 Prefect architecture#325

Merged
jqnatividad merged 1 commit into
mainfrom
docs-claude-md-v3
May 20, 2026
Merged

docs: bring CLAUDE.md up to date with the v3.0 Prefect architecture#325
jqnatividad merged 1 commit into
mainfrom
docs-claude-md-v3

Conversation

@jqnatividad
Copy link
Copy Markdown
Collaborator

Summary

A documentation audit of the project CLAUDE.md found it materially stale — it still described the v2.0 in-process pipeline. 13 of 38 verified claims were false. This PR rewrites the affected sections to match the v3.0 Prefect architecture on main.

Corrections

Claim Was Now
Version v2.0.0 3.0.0a0 (per pyproject.toml)
Orchestration pipeline.pydatapusher_plus_to_datastore jobs/prefect_flow.pydatapusher_plus_flow @flow
jobs_legacy.py listed as a Key Module does not exist — removed
jobs/ layout 9 stage files only full v3.0 layout: prefect_flow, runtime_context, subflows, events, caching, blocks, artifacts, quarantine, file_persistence + the omitted ai_suggestions stage
Formula type suggest_formula suggestion_formula (actual scheming-YAML key)
qsv floor v4.0.0+ v20.1.0+ (MINIMUM_QSV_VERSION)
preview_rows default 1000 0 (matches config_declaration.yaml + PR #324)
Background jobs RQ (Redis Queue) Prefect 3.7+ (migrate-from-rq handles the upgrade)
CLI commands resubmit, submit + prefect-deploy, migrate-from-rq
Build & Test pytest tests/test_unit.py (no such file) real example + unit/integration split

Verified-correct claims (the plugin.py interface list, formula namespaces, DB models, job_exceptions, logic actions, Python 3.10–3.13) were left intact.

Test plan

  • Docs-only change — no code touched, no tests affected.
  • Every corrected fact cross-checked against the codebase at 5bac296 (file existence, pyproject.toml, cli.py, config.py, jinja2_helpers.py, requirements.txt).

🤖 Generated with Claude Code

A documentation audit found CLAUDE.md materially stale — it still
described the v2.0 in-process pipeline. 13 of 38 verified claims were
false. Corrections:

* Version v2.0.0 → 3.0.0a0 (per pyproject.toml).
* Architecture section rewritten for v3.0: the v2
  ``DataProcessingPipeline`` loop and the named ``pipeline.py`` /
  ``jobs_legacy.py`` files do not exist. Orchestration is
  ``jobs/prefect_flow.py`` with per-stage ``@task`` functions and the
  ``datapusher_plus_flow`` entry ``@flow``. Documented the full v3.0
  jobs-module layout (prefect_flow, runtime_context, subflows, events,
  caching, blocks, artifacts, quarantine, file_persistence) and the
  previously-omitted ``ai_suggestions`` stage.
* Key Modules: dropped the non-existent ``jobs_legacy.py``; added
  ``prefect_client.py``, ``dictionary_stash.py``, ``utils.py``.
* Formula type ``suggest_formula`` → ``suggestion_formula`` (the
  actual scheming-YAML key — verified in jinja2_helpers.py /
  formula.py).
* qsv ``v4.0.0+`` → ``v20.1.0+`` (MINIMUM_QSV_VERSION; two BREAKING
  bumps since 4.0.0).
* ``preview_rows`` default 1000 → 0 (matches config_declaration.yaml
  and config.py after PR #324).
* External Dependencies: RQ → Prefect 3.7+ (the v3.0 runtime;
  requirements.txt pins prefect, not rq).
* CLI commands: added ``prefect-deploy`` and ``migrate-from-rq``.
* Build & Test: ``pytest tests/test_unit.py`` (no such file) replaced
  with a real example + the unit/integration split.

Verified-correct claims (plugin.py interface list, formula
namespaces, models, job_exceptions, logic actions, Python versions)
were left intact.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@jqnatividad jqnatividad merged commit d1c7853 into main May 20, 2026
1 check passed
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