From eb12389353a3e66d41d599d8c8c1e3ae92c1dacb Mon Sep 17 00:00:00 2001 From: jyviko <2501648+jyviko@users.noreply.github.com> Date: Thu, 5 Nov 2026 06:59:28 -0500 Subject: [PATCH 1/3] docs: what to work on now; the SMLib switch came with bugs, and self-found defects wait MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit AGENTS.md §0 replaces 'What to work on first'. It says where the kernel is (solidcore replaced SMLib in 0.40 and not everything works yet), ranks the work (main green, the layer split, the rig's real failures, blends, the shell rebuild), and says what not to work on: defects in code no user reaches, unrequested improvements, speed tricks without a counted root cause. Each PR names the item it serves. CONTRIBUTING.md points to it. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01NvoxKN86CMugvueJfFRNhL --- AGENTS.md | 46 +++++++++++++++++++++++++++++++++------------- CONTRIBUTING.md | 7 +++++++ 2 files changed, 40 insertions(+), 13 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index b515c0c88f..496a1c4df9 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -17,19 +17,39 @@ harness/cpp C++ reference build (build.sh -> bin/cpp) + shim/.c plan/ units/.toml, findings/.md, upstream-issues/.md (one file each), STATUS.md, order.md ``` -**What to work on first: a stable kernel for v1.1.0.** Work is chosen by priority, not first in, -first out. The goal is a stable kernel: blends (fillets, chamfers, corners, Ends, setbacks), STEP -read and write, and the operations a model is built with (booleans and their intersections, -sweeps, offset and shell, the validity check), each giving the correct result or a named -refusal, never a crash or a hang. Issues and PRs for that goal carry the `priority: high` label. -1. Finish what is open before starting anything new: review, fix and land the open - `priority: high` PRs, then take an open `priority: high` issue. -2. Only with no `priority: high` item you can take, work on anything else. -3. Among them, the item that unblocks the most others goes first (a dependency, a layer others - build on); only between equals does the oldest go first. - -A new issue or PR that belongs to the goal gets `priority: high` when it is filed; ask the -maintainers on it if you are unsure. +## 0. What to work on: read this before choosing anything + +**Where the kernel is.** solidcore replaced SMLib as SolidCraft's kernel in 0.40. The switch came +with bugs: not everything that worked before works now, and users meet those failures every day. +The job now is to make what people actually build work again, correctly. It is not to polish code +paths nobody reaches. + +**What matters now, in this order.** Take the highest item you can make progress on; finish what +is open before starting anything new. +1. **Main green.** Main's difftest sweep is red, and every pull request's difftest stays red until + it is green (#2790). Fixing or recording each red unit comes before any other work (#2794). +2. **The layer split.** The exact extension (#2797, then the curve side #2738), and the + operations the kernel rig still reports unported (stitch, `union_all`, loft, `chamfer_sides`, + sweep: `cargo test -p solidcore-ops --test kernel_cases -- --ignored`). +3. **The rig's real failures** (#2793): the knife-edge chamfers (#851; the owner's ruling is that + they build, as the chord between the ball's contact points), the edge counts at tangent holes, + the touching cylinders. +4. **Blends:** the certificate's root cause (#2690) and the G2 setback corner (#2697). +5. **The shell, offset and thicken rebuild** (#2350). + +Issues and pull requests for these carry `priority: high` or `urgent`. + +**What not to work on.** +- **Defects you think you found** in code no user reaches: an overflow from an impossible input, + a branch only a fuzzer finds, an "improvement" to a solver or an integrator nobody asked for. + File an issue with a reproduction from a real use (a rig case, a STEP file, a SolidCraft + design), and leave it for triage. Don't open a pull request for it unless a maintainer asks. + Crashes and hangs from real inputs are still taken: they belong to the list above. +- **Speed tricks.** A speed-up is taken only with its root cause, shown as a count (evaluations, + subdivisions, enclosures), never a timing, on a case that is slow for users or for CI. Making a + slow path a constant factor faster, or making a slow test cheaper, is not taken. +- **Anything off the list** waits. A pull request names, in its first lines, the item above it + serves; one that serves none is reviewed after all the ones that do. ## 1. Hard rules diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a9841d4d7a..206501fdb0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -9,6 +9,13 @@ case, replacing the code they supersede. This page is the short version; ## Before you start +- **Work on what matters now.** solidcore replaced SMLib as SolidCraft's kernel in 0.40, and the + switch came with bugs: not everything works yet. [AGENTS.md §0](AGENTS.md) ranks the work. + Main's difftest sweep comes first (#2794), then the layer split, the rig's real failures, the + blends and the shell rebuild. Take an item from that list. A defect you find in code no user + reaches, an unrequested improvement or a speed trick: file it as an issue with a real + reproduction and leave it for triage. A pull request says in its first lines which item it + serves. - **Put the work in its layer.** [docs/layers.md](docs/layers.md) says where each job lives. Geometry is computed only in the kernel (`solidcore`). The modelling API (`solidcore-ops`) only chooses and sequences kernel calls. Applications compute no geometry. If a workflow needs maths the kernel lacks, add it to the kernel with tests. - **Read the docs for the area.** - For fillets and chamfers, read [docs/generic-blend.md](docs/generic-blend.md): what the blend From 8fe683ec06ee443f4b5c8714b34def82696440be Mon Sep 17 00:00:00 2001 From: jyviko <2501648+jyviko@users.noreply.github.com> Date: Thu, 5 Nov 2026 07:00:00 -0500 Subject: [PATCH 2/3] docs: the list's issues and PRs carry urgent, the only priority label for now Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01NvoxKN86CMugvueJfFRNhL --- AGENTS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index 496a1c4df9..bcef2ca066 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -37,7 +37,7 @@ is open before starting anything new. 4. **Blends:** the certificate's root cause (#2690) and the G2 setback corner (#2697). 5. **The shell, offset and thicken rebuild** (#2350). -Issues and pull requests for these carry `priority: high` or `urgent`. +Issues and pull requests for these carry the `urgent` label (the only priority label for now). **What not to work on.** - **Defects you think you found** in code no user reaches: an overflow from an impossible input, From 0ba199b795adeeff582e6a3698e34e8064f0bd8a Mon Sep 17 00:00:00 2001 From: jyviko <2501648+jyviko@users.noreply.github.com> Date: Thu, 5 Nov 2026 07:00:31 -0500 Subject: [PATCH 3/3] =?UTF-8?q?docs:=20the=20claim=20note=20points=20at=20?= =?UTF-8?q?=C2=A70's=20list;=20the=20list's=20open=20items=20carry=20help?= =?UTF-8?q?=20wanted?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01NvoxKN86CMugvueJfFRNhL --- AGENTS.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index bcef2ca066..c26a5f5227 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -37,7 +37,7 @@ is open before starting anything new. 4. **Blends:** the certificate's root cause (#2690) and the G2 setback corner (#2697). 5. **The shell, offset and thicken rebuild** (#2350). -Issues and pull requests for these carry the `urgent` label (the only priority label for now). +Issues and pull requests for these carry the `urgent` label. Those open for anyone to take also carry `help wanted`: start there. **What not to work on.** - **Defects you think you found** in code no user reaches: an overflow from an impossible input, @@ -210,7 +210,7 @@ Every ported file starts with: Unit list and states: `plan/units/.toml`, one file per unit (format: `plan/modules.schema.md`, order: `plan/order.md`). **The [checklist](https://tangency-labs.github.io/solidcore/PROGRESS.md)** is generated -from `main` by the Pages workflow (`harness/plan/progress.py`; not committed). **Any `todo` unit or unclaimed completion task can be claimed**, after the `priority: high` work above. A claim reserves +from `main` by the Pages workflow (`harness/plan/progress.py`; not committed). **Any `todo` unit or unclaimed completion task can be claimed**, after the work §0 lists. A claim reserves its stated scope, not every future change to the unit. Missing functions, back-edge wiring, exact runner imports, fixtures and demonstrated parity bugs remain useful work in `partial` and `green` units; inspect source and reports, not status alone.