Skip to content

docs(skills): drop the deleted-Python citations presented as current fact (#765) - #918

Merged
athvin merged 2 commits into
mainfrom
issue/765-stale-python-docs
Nov 8, 2026
Merged

athvin merged 2 commits into
mainfrom
issue/765-stale-python-docs

Conversation

@athvin

@athvin athvin commented Nov 8, 2026 •

Copy link
Copy Markdown
Owner

Closes #765

🚧 Claimed by an agent session — 2026-11-08T21:01:26Z, session 01a1b892-4cde-7a53-bb3e-9ed2e764acdc on Mac.
The claim is this open draft PR: closing it releases the ticket.

Post-merge is part of this pull request. The ledger below records whether
the follow-up work actually happened. /land-pr closes it.

What

Removes the deleted-Python citations that three skill references still present as current fact, per the issue's three sections:

  1. backend-design.md §12 (was §15 in the issue's numbering) — items 1–2 (the er/service.py facade, LakeSettings) rewritten as history in the appendix's voice: what was planned, and "Landed differently:" what actually shipped (er-dag's compiled DAG + er-errors' ExitCode; er-env's four ER_LAKE_* variables + overlay guard). The §-appendix rows already said this; the plan bullets now agree instead of contradicting them.
  2. infrastructure.md — every row the issue's table names, repointed or marked: the advisory-lock rows (now pg_advisory* in er-server/src/pg.rs, with the per-run writer lock recorded as the jobs_one_active_per_dataset index), the DuckDB cgroup row (repointed to dedupe-core/src/session/mod.rs), :208's "Today that seam calls subprocess.Popen" (rewritten past-tense, now er-k8s via exec_task.rs), the backoffLimit/EFS paragraph (citations marked, mechanism repointed to the chart's er-efs volume), the lake-clone check (marked deleted, constraint stands), the launcher/progress plan rows (DONE), the Phase-4 row (SUPERSEDED — Retire the S3 service access key in favour of the credential chain #549/feat(infra): delete the static S3 lake key, which had no consumer (#549) #791, Pod Identity Prod substrate: Pod Identity, ESO and the §9 secrets envs/prod never had #894, The engine cannot open an s3:// lake — build the object-store credential path #792), and PROMOTED_COUNTERS (repointed to er-schema/src/model.rs). Four more present-tense offenders the issue's verify-grep sweeps up are fixed too: §1's "secret:// indirection that already exists", the PATCH /v1/orgs/{org}/resources row (real route — update_resources — dead citation), and both sizing.py "authority" cites (now executor.rs).
  3. infrastructure-decisions.md — D-ARGO restated against er-dag: the in-process premise is recorded as lapsed (the DAG is compiled and fanned out to per-task Jobs), and the rejection is re-affirmed on the grounds that survive — the dispatcher IS the orchestrator Argo would replace — with the retry-taxonomy citation repointed to er-errors/er-k8s' classifier. The D-JOBSPEC repeat of the runner citations is marked the same way.

Nothing outside the three named files is touched. Remaining Python path mentions sit inside dated-history blocks, the docs' own header disclaimers, or the appendix's old-path column — which is exactly where the issue's verify-grep says they may stay.

Why

These are the repo's load-bearing references, and every "Today …" that names a deleted file misdirects the next session that trusts it — the issue's canonical example being §6.2's subprocess.Popen sentence, two rewrites stale.

Proof

The issue's verify-grep run over all three files: every remaining hit is inside a dated-history block, a header disclaimer, or an old-path column (full before/after in Context). Each repoint was verified against the tree rather than assumed: pg_advisory* in pg.rs, jobs_one_active_per_dataset in entities/job/entity.yaml, SET threads in dedupe-core/src/session/mod.rs, the er-efs volume in configmap-task-template.yaml, update_resources at lib.rs:5350, PROMOTED_COUNTERS in er-schema/src/model.rs, ExitCode in er-errors. Two claims were checked and corrected rather than copied: no inline-YAML round-trip exists in the Rust server (clause softened), and PATCH /v1/orgs/{org}/resources does exist (kept, repointed).

make skills-check and make check green. make check-e2e/make frontend: not owed — no code or generated artifact changed.

Risk & rollback

Prose only. The risk is a wrong claim, and each was tree-verified as above; git revert is the rollback.

Post-merge ledger

Closed by: the post-merge watch on 121fbe1a

  • main is green with this change on it — 121fbe1a itself: rust
    success (the full push suite, DuckLake e2e shards included), frontend
    success, infra success, devcontainer success:
  • images correctly never ran — the diff is three skill-reference
    markdown files; no image input changed, and no images run exists on the
    merge SHA:
  • deploy converged by correctly never running — no new image, no
    deploy triggered on 121fbe1a; the running process is the previous
    release (7cfeafc8, whose own deploy succeeded):
  • the push-only surface no pull request can pre-test — deploys green
    on 7cfeafc8/6844d956; drift latest success; kind nightly latest
    success; this change's own full push suite (the e2e legs PRs skip) green:
  • the board card is Done and Deleted Python paths still cited as current in backend-design §15, infrastructure.md and infrastructure-decisions.md #765 closed — both by the automation
    (verified on the board, not by hand):
  • follow-ups are open for everything deferred here — numbers: none
    owed; the issue's named rows are all done, and the remaining Python-path
    mentions sit where the issue's verify allows (dated-history blocks, the
    docs' header disclaimers, the appendix's old-path column):
  • what was learned is written down — the fix IS the writing: the
    three references now name the Rust seam for each mechanism at the point a
    reader needs it; the D-ARGO restatement records that the in-process
    premise lapsed and why the rejection survives:

Specific to this change

Context — plan, discoveries, measurements, files

Plan

Discoveries

Measurements

Files

@athvin
athvin marked this pull request as ready for review November 8, 2026 21:19
@athvin
athvin merged commit 121fbe1 into main Nov 8, 2026
38 checks 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.

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

2 participants