Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 22 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,15 @@ jobs:
strategy:
fail-fast: false
matrix:
python: [py310, py313]
beartype: [bt022]
backend: [numpy24, jax09, torch210, optree019]
exclude:
- { python: py310, backend: torch210 }
include:
- { python: py310, beartype: bt022, backend: numpy22 }
- { python: py310, beartype: bt022, backend: jax05 }
- { python: py310, beartype: bt022, backend: torch26 }
- { python: py310, beartype: bt022, backend: optree014 }
- { python: py313, beartype: bt022, backend: numpy24 }
- { python: py313, beartype: bt022, backend: jax09 }
- { python: py313, beartype: bt022, backend: torch210 }
- { python: py313, beartype: bt022, backend: optree019 }
name: ${{ matrix.python }}-${{ matrix.beartype }}-${{ matrix.backend }}
steps:
- uses: actions/checkout@v6
Expand Down Expand Up @@ -114,11 +118,19 @@ jobs:
strategy:
fail-fast: false
matrix:
python: [py310, py312, py313]
beartype: [bt022]
backend: [numpy24, jax09, torch210, optree019]
exclude:
- { python: py310, backend: torch210 }
include:
- { python: py310, beartype: bt022, backend: numpy22 }
- { python: py310, beartype: bt022, backend: jax05 }
- { python: py310, beartype: bt022, backend: torch26 }
- { python: py310, beartype: bt022, backend: optree014 }
- { python: py312, beartype: bt022, backend: numpy24 }
- { python: py312, beartype: bt022, backend: jax09 }
- { python: py312, beartype: bt022, backend: torch210 }
- { python: py312, beartype: bt022, backend: optree019 }
- { python: py313, beartype: bt022, backend: numpy24 }
- { python: py313, beartype: bt022, backend: jax09 }
- { python: py313, beartype: bt022, backend: torch210 }
- { python: py313, beartype: bt022, backend: optree019 }
name: ${{ matrix.python }}-${{ matrix.beartype }}-${{ matrix.backend }}
steps:
- uses: actions/checkout@v6
Expand Down
28 changes: 17 additions & 11 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,23 @@ jobs:
strategy:
fail-fast: false
matrix:
python: [py310, py313]
beartype: [bt020, bt022]
backend:
- numpy22
- numpy24
- jax05
- jax09
- torch26
- torch210
- optree014
- optree019
include:
- { python: py310, beartype: bt020, backend: numpy22 }
- { python: py310, beartype: bt020, backend: jax05 }
- { python: py310, beartype: bt020, backend: torch26 }
- { python: py310, beartype: bt020, backend: optree014 }
- { python: py310, beartype: bt022, backend: numpy22 }
- { python: py310, beartype: bt022, backend: jax05 }
- { python: py310, beartype: bt022, backend: torch26 }
- { python: py310, beartype: bt022, backend: optree014 }
- { python: py313, beartype: bt020, backend: numpy24 }
- { python: py313, beartype: bt020, backend: jax09 }
- { python: py313, beartype: bt020, backend: torch210 }
- { python: py313, beartype: bt020, backend: optree019 }
- { python: py313, beartype: bt022, backend: numpy24 }
- { python: py313, beartype: bt022, backend: jax09 }
- { python: py313, beartype: bt022, backend: torch210 }
- { python: py313, beartype: bt022, backend: optree019 }
name: ${{ matrix.python }}-${{ matrix.beartype }}-${{ matrix.backend }}
steps:
- uses: actions/checkout@v6
Expand Down
3 changes: 3 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ repos:
rev: 1.0.0
hooks:
- id: mdformat
exclude: ^(AGENTS\.md|PLANS\.md|plans/.*\.md)$
language: python # means renovate will also update `additional_dependencies`
args:
- --wrap
Expand All @@ -100,12 +101,14 @@ repos:
rev: v0.48.0
hooks:
- id: markdownlint-fix
exclude: ^(AGENTS\.md|PLANS\.md|plans/.*\.md)$
priority: 40

- repo: https://github.com/rbubley/mirrors-prettier
rev: v3.8.1
hooks:
- id: prettier
exclude: ^docs/assets/js/tesseract\.js$
types_or: [json, yaml, html, css, javascript]
priority: 30

Expand Down
2 changes: 1 addition & 1 deletion PLANS.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,4 @@ Prefer additive code changes followed by subtractions that keep tests passing. P

If you follow the guidance above, a single, stateless agent -- or a human novice -- can read your ExecPlan from top to bottom and produce a working, observable result. That is the bar: SELF-CONTAINED, SELF-SUFFICIENT, NOVICE-GUIDING, OUTCOME-FOCUSED.

When you revise a plan, you must ensure your changes are comprehensively reflected across all sections, including the living document sections, and you must write a note at the bottom of the plan describing the change and the reason why. ExecPlans must describe not just the what but the why for almost everything.
When you revise a plan, you must ensure your changes are comprehensively reflected across all sections, including the living document sections, and you must write a note at the bottom of the plan describing the change and the reason why. ExecPlans must describe not just the what but the why for almost everything.
31 changes: 25 additions & 6 deletions docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
/* ── Modern typography & spacing ── */

:root {
--md-text-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
--md-text-font:
"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
--md-code-font: "JetBrains Mono", "Fira Code", monospace;
}

Expand Down Expand Up @@ -76,7 +77,9 @@
.md-typeset .grid.cards > ol > li {
border-radius: 12px;
border: 1px solid var(--md-default-fg-color--lightest);
transition: border-color 0.2s ease, box-shadow 0.2s ease;
transition:
border-color 0.2s ease,
box-shadow 0.2s ease;
}

.md-typeset .grid.cards > ul > li:hover,
Expand Down Expand Up @@ -183,15 +186,31 @@

[data-md-color-scheme="default"] body {
background:
radial-gradient(circle at 14% 8%, rgba(124, 77, 255, 0.08), transparent 26%),
radial-gradient(circle at 82% 10%, rgba(179, 136, 255, 0.07), transparent 24%),
radial-gradient(
circle at 14% 8%,
rgba(124, 77, 255, 0.08),
transparent 26%
),
radial-gradient(
circle at 82% 10%,
rgba(179, 136, 255, 0.07),
transparent 24%
),
var(--md-default-bg-color) !important;
}

[data-md-color-scheme="slate"] body {
background:
radial-gradient(circle at 16% 7%, rgba(124, 77, 255, 0.14), transparent 24%),
radial-gradient(circle at 84% 12%, rgba(179, 136, 255, 0.1), transparent 22%),
radial-gradient(
circle at 16% 7%,
rgba(124, 77, 255, 0.14),
transparent 24%
),
radial-gradient(
circle at 84% 12%,
rgba(179, 136, 255, 0.1),
transparent 22%
),
var(--md-default-bg-color) !important;
}

Expand Down
40 changes: 20 additions & 20 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,29 +19,29 @@ extra_javascript:
nav:
- Home: index.md
- Getting Started:
- getting-started/index.md
- getting-started/installation.md
- getting-started/quickstart.md
- getting-started/index.md
- getting-started/installation.md
- getting-started/quickstart.md
- Features:
- features/index.md
- features/dimensions.md
- features/static-typing.md
- features/array-types.md
- features/like-types.md
- features/tree-annotations.md
- features/decorator.md
- features/claw.md
- features/index.md
- features/dimensions.md
- features/static-typing.md
- features/array-types.md
- features/like-types.md
- features/tree-annotations.md
- features/decorator.md
- features/claw.md
- API Reference:
- api/index.md
- api/shapix.md
- api/numpy.md
- api/jax.md
- api/torch.md
- api/cupy.md
- api/optree.md
- api/claw.md
- api/index.md
- api/shapix.md
- api/numpy.md
- api/jax.md
- api/torch.md
- api/cupy.md
- api/optree.md
- api/claw.md
- Examples:
- examples/index.md
- examples/index.md

theme:
name: material
Expand Down
2 changes: 1 addition & 1 deletion plans/2026-05-28-baseline-audit.md
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ Type-checking evidence:
30 passed in 22.25s

uv run pyright src tests/typing
0 errors, 0 warnings, 0 informations
0 errors, 0 warnings, 0 information

uv run mypy src tests/typing
Success: no issues found in 26 source files
Expand Down
Loading
Loading