Skip to content

PY-PORT R1: port scripts/lib/dag_status.py to aprender-ci-tools dag-status #4786

Closed as not planned

Description

@noahgift

Sub-ticket of #4741 (Python helpers ported to the aprender-ci-tools Rust crate). Ports one file.

Port: scripts/lib/dag_status.py → aprender-ci-tools dag-status --root <dir>. It reads the DAG rows as [id, row] JSON pairs on stdin and prints each row's derived status (complete/open, from the leading status: marker of docs/audits/impl-<pmat_id>-receipt.md) plus the D7 lines (a typed status: that disagrees with the receipt).

Acceptance

  • The subcommand prints byte-identical stdout and agrees on success/failure with the original over a case table. The original is taken from git as an external validator. The table includes a bad input (a receipt that is not UTF-8, and a row that is not a mapping), a planted mismatch that must be detected, and a declared case count.
  • Every caller calls the binary directly, with no new shared Python helper: scripts/render_dag.py, scripts/lib/dag_invariants.py, scripts/session_docs_commit.sh, scripts/pp066_state.sh. check_dag_invariants.sh --selftest, pp066_state.sh --self-test and render_dag.py --check stay green.
  • scripts/lib/dag_status.py is deleted.
  • Base: the py-port-2/ci-tools branch of PY-PORT-2: port publishable_crates / package_include_diff / coverage_report_scope to Rust (C301) #4741. Branch only until the PR hold lifts.

Activity

  1. added this to the 0.71.0 milestone on Oct 8, 2026
  2. noahgift commented on Oct 8, 2026

    @noahgift
    MemberAuthor

    Parked by APR-EPIC-001: over E1 budget (rank 32/37). Reopen = pull.

    Claim: owner:aprender-a7w. Branch heads: none. C334 item 2 (#4678's open children to E1 #3998); nothing deleted.

  3. added
    parkedClosed over epic budget (APR-EPIC-001 rule 5). Reopen = pull.
    on Oct 8, 2026
  4. modified the milestones: 0.71.0, backlog on Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    owner:aprender-a7wOwner sessionparkedClosed over epic budget (APR-EPIC-001 rule 5). Reopen = pull.

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions