Skip to content

Commit b31df5f

Browse files
authored
Upgrade the latest HL (#23)
Signed-off-by: James Sturtevant <jsturtevant@gmail.com>
1 parent 1623ab5 commit b31df5f

11 files changed

Lines changed: 88 additions & 167 deletions

File tree

.copilot/skills/justfile-ci/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Justfile (root) ← orchestrates everything
2525
└── mod examples_mod 'examples/Justfile'
2626
```
2727

28-
- Root recipes (`test`, `build-all`, `lint`, `fmt`) delegate to subproject recipes via `mod::recipe` syntax
28+
- Root recipes (`test`, `build`, `lint`, `fmt`) delegate to subproject recipes via `mod::recipe` syntax
2929
- Subproject Justfiles own environment setup (e.g. `WIT_WORLD` for WASM)
3030
- Root Justfile uses `set unstable := true` to enable module imports
3131
- Justfiles are organized with `#### SECTION ####` headers (BUILD TARGETS, TESTS, DOCS, etc.)
@@ -41,7 +41,7 @@ See `references/architecture.md` for the full CI job layout and Justfile recipe
4141
## Workflow: Adding a New Step
4242

4343
1. **Add the recipe to the subproject Justfile** — include any env setup, deps, and the actual command
44-
2. **Wire it into the root Justfile** if it should be part of `test`, `lint`, `fmt`, `build-all`, or `examples`
44+
2. **Wire it into the root Justfile** if it should be part of `test`, `lint`, `fmt`, `build`, or `examples`
4545
3. **Add the CI step** — call the `just` recipe from the appropriate CI job
4646
4. **Verify alignment** — root `just test` should run the same test steps that CI runs
4747

.copilot/skills/justfile-ci/references/architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
| Recipe | Delegates to | Purpose |
66
|--------|-------------|---------|
7-
| `build-all` | `wasm::build`, `jss::build`, `nanvix::build`, `python::build` | Build everything |
7+
| `build` | `wasm::build`, `jss::build`, `nanvix::build`, `python::build` | Build everything |
88
| `test` | `test-rust`, `wasm::test`, `python::python-test` | All tests |
99
| `test-rust` | (direct cargo) | Core crate unit + integration tests |
1010
| `lint` | `lint-rust`, `wasm::lint`, `js::lint`, `python::lint` | All linters |

.github/copilot-instructions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
- When running examples in this repository, use the `Justfile` recipes instead of invoking `cargo run` or `python` directly.
44
- Use `just examples` from the repository root to run the full example suite.
55
- To run examples for a specific sandbox, use module-scoped recipes: `just wasm examples`, `just js examples`, `just python examples`.
6-
- Use `just build-all` from the repository root to build all subprojects and SDKs.
6+
- Use `just build` from the repository root to build all subprojects and SDKs.
77
- Reason: the example commands depend on `WIT_WORLD` being set to `src/wasm_sandbox/wit/sandbox-world.wasm`; the `Justfile` handles that setup.
88

99
Make things cross-platform where possible (window/mac/linux). Mac supprot for hyperlight isn't avaliable yet but is coming.
1010

11-
- **After changing WIT interfaces**: you must run `just build-all` (or at minimum rebuild the guest `.wasm` and `.aot` files) before running examples. The pre-compiled guest binaries embed the WIT signature; a mismatch causes "Host function vector parameter missing length" errors at runtime.
11+
- **After changing WIT interfaces**: you must run `just build` (or at minimum rebuild the guest `.wasm` and `.aot` files) before running examples. The pre-compiled guest binaries embed the WIT signature; a mismatch causes "Host function vector parameter missing length" errors at runtime.
1212

1313
- **Formatting and linting**: always use `just fmt` and `just fmt-check` from the repository root instead of invoking `cargo fmt`, `ruff format`, or `ruff check` directly. The Justfile recipes run multiple tools in sequence (e.g. `ruff format` + `ruff check --fix` for Python) and missing a step causes CI failures.

.github/hooks/hooks.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"PostToolUse": [
44
{
55
"type": "command",
6-
"command": "bash .vscode/run-just-post-session.sh",
6+
"command": "bash ./run-just-post-session.sh",
77
"timeout": 1800
88
}
99
]

0 commit comments

Comments
 (0)