Skip to content

Deleted Python paths still cited as current in backend-design §15, infrastructure.md and infrastructure-decisions.md #765

Closed

Description

@athvin

Residual of #589, plus the same class in two documents #589 never covered.
#589 was closed COMPLETED by #603, which fixed the appendix — correctly: the
src/er/*.py paths that remain there are the old column of a table whose
other column now says where each seam went. That part is done and should be left
alone.

What is still wrong is everything presented in the voice of current fact.

Revised 2026-11-07 — the docs moved and #549 closed. All three documents
left docs/ for skill references in the docs-into-skills move; every citation
below is re-pointed and re-lined. And the consequence this issue rated highest
retired itself: #549 is closed (the static S3 key deleted by PR #791,
commit 0c96a97c), and its successor #792 was written against the Rust tree —
so §9.2's dead plan no longer misdirects an open ticket. The stale citations
themselves are all still present.

1. backend-design.md §15 — two phase bullets never rewritten

Now .claude/skills/er-server-control-plane/references/backend-design.md.
grep -c 'src/er/' → 12. Ten are the disclaimed header (:11) and the
appendix history table (:382-389). The two that are not:

  • line 311 — "er/service.py facade extracted from src/er/cli.py's
    orchestration sequence … The CLI becomes a thin caller; the runner calls
    this. The single biggest unblocking change."
  • line 312 — "LakeSettings parameterization of src/er/lake/env.py —
    an explicit settings object accepted by connect() / invocation_session() /
    tenant_lock() … without it the API cannot safely serve two tenants from one
    process."

Both describe planned Python refactors as outstanding work. The appendix,
seven screens down, directly contradicts them
(:382): "Not a service
facade.
It became er-dag's compiled DAG."
And :383 records that
LakeSettings became er-env's four explicit variables "rather than a settings
object"
. #589 named this exact failure mode and left it:

Several entries also describe planned refactors that happened differently …
Those should be rewritten as history rather than repointed.

Fix: rewrite 311-312 as history in the appendix's voice, or delete them and
point at the appendix rows that already say it better.

2. infrastructure.md — stale citations presented as live, now partially

disclaimed

Now .claude/skills/infra-platform/references/infrastructure.md. Since filing,
the doc gained a header disclaimer ("Its code references predate the Rust
rewrite… now inline code spans rather than links") and §9.2 a corrective
paragraph (:508: "Both files were deleted with the Python tree"). Those blunt
the class without fixing the per-line claims — and the disclaimer's existence
makes the remaining "Today …" phrasing worse, not better:

Line (was, on 2026-11-05) Claim it supports Reality
66 (was 44-45) the advisory writer lock, via src/er/lake/catalog.py it is a partial unique index now, jobs_one_active_per_dataset in entities/job/entity.yaml — the doc's own :210/:277 already say so
75, 295 (was 54) ER_DUCKDB_THREADS necessity, via src/er/lake/ducklake.py dedupe-core/src/session/ducklake.rs
208 (was 183) "Today that seam calls subprocess.Popen([sys.executable, "-m", "erserver.runner", …])" it is a Kubernetes Job via er-k8s; "today" is two rewrites ago
251 (was 209, 296) the backoffLimit: 0 / EFS argument, via server/src/erserver/runner.py:31 and src/er/ingest/sources.py:146 both files gone
666 (was 602) lake-clone immutability check at src/er/lake/init.py:180 gone
720-721, 729 the launcher and Phase-4 rows name server/src/erserver/*.py, src/er/lake/*.py, dbt/profiles/profiles.yml superseded by :508's own correction
840 (was 776) PROMOTED_COUNTERS in src/er/obs/counters.py gone — and see #670, which is about the promoted counters having no callers

The one that actually costs something is the §9.2 plan for open ticket
#549
— retired: #549 is closed and #792 supersedes the plan. What remains in
this section is tidiness, with :208's "Today that seam calls" still the most
misleading single sentence.

3. infrastructure-decisions.md — the Argo premise, still false

Now .claude/skills/infra-platform/references/infrastructure-decisions.md,
with its own new header disclaimer (:8-9). Line 107 (was 67): the Argo
Workflows rejection still rests on "run_all_full executes ingest →
standardize → train → match → reconcile → assemble as library calls in a single
process via src/er/service.py … There is no artifact to pass between pods, no
step to fan out, and no dependency graph for Kubernetes to resolve."
That
premise is now false
— er-dag compiles a DAG and run_all_full runs as
seven pods. The decision may well still be right, but it needs a current
reason, not that one. The §9.2 runner citations repeat at :370 (was 296).

frontend-design.md's September 2026 inventory cite (now
.claude/skills/frontend-design-system/references/frontend-design.md) is
correctly dated prose and should be left.

Do

Verify

grep -rn 'src/er/\|server/src/erserver/' \
  .claude/skills/er-server-control-plane/references/backend-design.md \
  .claude/skills/infra-platform/references/infrastructure.md \
  .claude/skills/infra-platform/references/infrastructure-decisions.md

Every remaining hit should be inside a dated-history block or an old-path
column, never a citation for present behaviour.

Found reconciling the board's Done column against the tree. The
docs/-understates-the-tree pattern recorded in this repo runs the other way
here: these overstate what exists. Revised 2026-11-07 for the docs move, the
new disclaimers, and #549's closure.

Activity

  1. added
    mvp
    docs-backlog
    on Nov 7, 2026
  2. changed the title [-]Deleted Python paths still cited as current in backend-design §15, infrastructure.md and infrastructure-decisions.md — one of them is open #549's plan[/-] [+]Deleted Python paths still cited as current in backend-design §15, infrastructure.md and infrastructure-decisions.md[/+] on Nov 8, 2026
  3. self-assigned this
    on Nov 8, 2026
  4. athvin commented on Nov 8, 2026

    @athvin
    OwnerAuthor

    Claimed — working in the draft PR linked above. Closing that PR releases the claim.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

docs-backlogmvp

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions