Li ecosystem baseline — phase 0 (2026-05-22)¶
Purpose: Clean starting point for the lic ecosystem gap loop (scientific / engineering / gaming packages). Out of scope: li-httpd / webserver work (separate agent on cursor/httpd-plan-loop-54aa).
Plan: algorithms-and-libraries-plan.md §7–§12 · Proof honesty: provability-gaps.md
Branch / PR target¶
| Item | Value |
|---|---|
| Implementation branch | New branch from main after #174 merge (phase 0 landed) |
Phase 0 on main | #174 — algorithms plan, LLVM 22, Lean CI, manifest honesty, phase 8p |
| Loop driver | scripts/lic-ecosystem-plan-loop.py (phase 1; start on fresh branch) |
CI while GHA quota exhausted¶
- Do not treat missing GitHub checks as green.
- Run
./scripts/local-ci.shon this branch before merge (see skillrun-local-ci-gha-quota). - Record:
benchmarks/data/latest/local-ci-results.jsonwhen validating a PR number.
8p throughput observability (Linux devbox, LLVM 22 + Lean)¶
| Metric | run_all -j1 | run_all -j8 --max-memory=8192 | Notes |
|---|---|---|---|
| wall_s (full manifest) | not measured | not measured | Re-measure after #205 + integrator PR; target ≤50% vs -j1 (8p plan) |
| peak_rss (full manifest) | not measured | not measured | Use /usr/bin/time -l ./li-tests/run_all.sh … or scripts/profile-memory.sh |
scripts/ci.sh passes explicit -j8 --max-memory=8192 to manifest run_all phases (no LI_TEST_JOBS export).
Stale / parallel work — do not conflate¶
| Track | Branch | Owner |
|---|---|---|
| httpd M1 | cursor/httpd-plan-loop-54aa (#173) | Webserver agent |
| httpd loop infra | — | Merged #172 to main |
| Ecosystem gaps | cursor/lic-ecosystem-plan-loop-54aa | This loop |
Do not edit runtime/li_rt_httpd.c, scripts/httpd-plan-loop.py, or httpd plan YAML on the ecosystem branch unless fixing a shared gate (build/CI only).
Phase 0 checklist¶
-
algorithms-and-libraries-plan.mdon ecosystem branch - This baseline doc
- Agent skill
run-local-ci-gha-quotain roadmap agent-kit (+li-local-ci) - Local CI green on devbox (
li-tests196/0; tier-0verify.pyuses--allow-open-vcto match manifest honesty) - 8p-d CI integrator —
scripts/ci.shusesrun_all.sh -j8 --max-memory=8192(stacked on #205) - 8p wall-time SLO — log
wall_s/peak_rssin table above after greenlocal-ci.sh - LLVM 22 + Lean 4 on devbox (
lake buildindocs/semanticsok) - PR #174 merged to
main - Run CI:
HTTPD_SKIP_LI_ROUTING_BIN=1 ./scripts/local-ci.shif port bind conflicts with another agent - PR opened; human
merge-approvedafter review - Phase 1:
lic-ecosystem-plan-loop.py+data/lic-ecosystem-plan-loop/state.json
Default queue head (phase 1+)¶
Per §7.7 — first implementation slices after gates green:
- P0 Wave A slices (2e/2f) — bounded, no domain kernel scale-up
- P0 AL-11 —
li-mathquaternions +Mat4; wireli-scene - P1 AL-10 —
packages/linalgscaffold +math_linalgtests
Agent continuation¶
- Read §12 handoff in algorithms-and-libraries-plan.md.
- Skill
run-local-ci-gha-quota— run local CI before claiming done. - Work only on
cursor/lic-ecosystem-plan-loop-54aa; PR-only; no self-merge. - Skip httpd todos and httpd-only files.