8000 Tracking: code improvement plan · Issue #55 · nixidae/nixidae · GitHub
[go: up one dir, main page]

Skip to content

Tracking: code improvement plan #55

Open

Description

@Lillecarl

This issue tracks the roadmap of the code review that
CODE_IMPROVEMENT_PLAN.md reports. Each item below is one issue, with its own
evidence, scope, acceptance criteria and required tests.

Status lives on each issue, and nowhere else. GitHub renders every
reference below as open or closed, so this list never needs a checkbox and
never goes stale. It carried 20 checkboxes until 2026-08-02, and 11 of them
were wrong -- closed issues still showing unchecked, under a heading that
claimed this was the source of truth. A status you have to maintain by hand is
a status that disagrees with reality.

CODE_IMPROVEMENT_PLAN.md maps a finding to an issue number and holds no
status of its own, for the same reason.

Phase 0 -- correctness and safety

Phase 1 -- lifecycle hardening

Phase 2 -- API and type safety

Phase 3 -- test architecture

Phase 4 -- tooling and documentation

Baseline at the time of the review

Command Result
pytest tests --nix-test-backends local,daemon 2534 passed, 0 failed, 3 skipped, 691.5 s
pyright 0 errors
ruff check All checks passed
ruff check --config ruff-strict.toml All checks passed
ruff format --check 259 files already formatted

No item above comes from a failing test. Every confirmed defect is a
behaviour that the suite does not exercise. That is the main conclusion about
the test strategy: the checks that exist all pass, and the gaps are where the
checks are absent.

Order

Phase 0 and Phase 1 are the defects. Do not start Phase 2 before they land:
#43 and #45 refactor the layer that #37 and #40 correct.

Reasoning that is not an issue

Four parts of the review are not work items. They live in docs/:

  • docs/nanopynix/architecture-principles.md -- layer boundaries, ownership
    of a native resource, the error taxonomy, the sync and async policy, and the
    compatibility policy.
  • docs/nanopynix/quality-gates.md -- the exact commands, and which gate runs
    when.
  • docs/nanopynix/decisions.md -- the ideas that this review rejected or
    deferred, and the open questions with a recommended default for each.

Metadata

Metadata

Assignees

No one assigned

    Labels

    source: nanopynix

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0