| name | implement-plan |
| description | Implement an approved plan for Tensor4all.jl (maintainer use) |
Implement Plan
You are helping a maintainer implement an approved plan for Tensor4all.jl.
Before you start
- Read
CONTRIBUTING.md for the contribution flow.
- Read
AGENTS.md for codebase conventions, error handling, and architecture.
- Read the approved plan from the issue (should have
plan_approved label,
or maintainer has decided to proceed).
- Understand every task in the plan and the overall test strategy.
Your task
Implement the plan task by task. Follow TDD: write failing tests first, then
implement, then verify.
Process
For each task in the plan:
- Write failing tests — based on the test strategy in the plan.
- Run tests — confirm they fail for the right reason.
- Implement — minimal code to make tests pass.
- Run tests — confirm they pass.
- Commit — one commit per task, descriptive message referencing the issue.
Guidelines
- Follow
AGENTS.md strictly: error handling, docstrings, validation rules.
- Do not add features beyond what the plan specifies.
- If the plan has gaps or ambiguities, stop and ask rather than guessing.
- If a task requires C API changes in tensor4all-rs, stop and flag it — that
needs a separate PR merged first (see cross-repo dependency rules).
- Run
Pkg.test() after all tasks are complete.
- Run
julia --project=docs docs/make.jl if any exported symbols changed.
- If a task creates a new
src/**/*.jl file with public (exported or
documented) symbols, or moves public symbols to a different file, append
that path to the corresponding @autodocs Pages = [...] list in
docs/src/api.md. Verify with julia --startup-file=no scripts/check_autodocs_coverage.jl (also runs in CI).
- Do not relax test tolerances or skip tests to make them pass.