6 Commits

Author SHA1 Message Date
mnovak e950660ca3 Merge docs/resource-rule: the resource rule in CLAUDE.md (PR #4) 2026-11-29 01:56:16 +01:00
mnovak 7f7b2b641a docs(CLAUDE.md): no build or test while CPU or RAM is over 90 %, or a written-to drive over 95 % (Mark) 2026-11-29 01:55:15 +01:00
mnovak 5529560a72 Merge ci/linux: the suite once on Linux, on Fabrica's NixOS runner (PR #3)
Run rjx52agvjswxe: 126/0/5 debug, 127/0/4 release, zeroize probe 1 passed. No library change.
2026-11-29 01:53:08 +01:00
mnovak dafcebdef0 ci(linux): every run line starts with nix, with no && inside, so Fabrica's preflight does not read cargo as a runner tool 2026-11-26 04:24:32 +01:00
mnovak cbde0650a4 ci: the suite once on Linux, on Fabrica's NixOS runner (pipeline linux, flake ci shell)
Mark, 2026-11-26: the Linux run goes on Fabrica's server runner. The flake gives only the
toolchain (nixos-26.05, locked as Ianitor's); the pipeline runs cargo test in debug and release
and the zeroize probe. It builds and switches nothing on the server.
2026-11-26 04:21:08 +01:00
mnovak fc96614fce Merge feature/signatures: v0.2.0, hybrid signatures ML-DSA-65 + Ed25519 (RFC 10073), PR #2
QA review-arcanum-pr2.md: 0 blockers, 0 majors, 12 minors. S-01 to S-06 and
S-09 to S-11 answered in code, tests or docs; S-07, S-08, S-12 and the S-04
stack residue inside ml-dsa recorded as gaps.
Owner fresh clone at 1e7e0bb: 126/0/5 debug, 127/0/4 release; clippy, fmt,
cargo deny and the zeroize probe clean.
2026-11-26 04:06:55 +01:00
4 changed files with 77 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
# Arcanum: the whole suite once on Linux, on the server's NixOS runner (Mark, 2026-11-26: "Fabrica server runner").
# By hand (Artifex → arcanum → linux, or the hub's POST /api/runs with pipeline linux and a ref), or on a push to
# ci/linux. Every run line starts with `nix` and has no `&&`, `;` or `|`: Fabrica's preflight reads the first
# word of each such part as a tool the runner must have, even inside quotes. It builds and switches nothing on the server. The toolchain is the flake's `ci` shell (nixos-26.05).
name: linux
on:
push: [ci/linux]
manual: true
runner: nixos
env:
CARGO_TERM_COLOR: "never"
steps:
- id: toolchain
run: nix --extra-experimental-features "nix-command flakes" develop .#ci -c cargo --version
- id: test-debug
needs: [toolchain]
run: nix --extra-experimental-features "nix-command flakes" develop .#ci -c cargo test --no-fail-fast
- id: test-release
needs: [test-debug]
run: nix --extra-experimental-features "nix-command flakes" develop .#ci -c cargo test --release --no-fail-fast
- id: zeroize-probe
needs: [test-release]
run: nix --extra-experimental-features "nix-command flakes" develop .#ci -c cargo test --release --manifest-path zeroize-probe/Cargo.toml -- --test-threads=1
+10
View File
@@ -16,3 +16,13 @@ Read HANDOVER.md and the day's docs/NN_*.md before writing code.
## Workflow ## Workflow
(D)TDD doc → tests → code. Branch, PR with critical self-review, merge --no-ff, push, verify. (D)TDD doc → tests → code. Branch, PR with critical self-review, merge --no-ff, push, verify.
No AI attribution in commits. No binaries in git. Say which build you are describing. No AI attribution in commits. No binaries in git. Say which build you are describing.
## This PC
- **No build or test while this PC is too busy** (Mark, 2026-11-25; drive limit raised 2026-11-29). Never start a
build or a test run (cargo, npm/pnpm, Playwright, fuzz, e2e, Fabrica runs on this PC) while the CPU or the RAM is
more than 90 % used, or any drive the run writes to (D:, E:, F:) is more than 95 % used. Check first; if one is
over, don't start, wait and check again. A run already going may finish. Never stop other sessions' work to make
room. Merging, pushing and editing files are not builds. In PowerShell: CPU
`(Get-CimInstance Win32_Processor | Measure-Object LoadPercentage -Average).Average`; RAM
`$o=Get-CimInstance Win32_OperatingSystem; (1-$o.FreePhysicalMemory/$o.TotalVisibleMemorySize)*100`; drives
`Get-PSDrive D,E,F`, used / (used + free).
Generated
+27
View File
@@ -0,0 +1,27 @@
{
"nodes": {
"nixpkgs": {
"locked": {
"lastModified": 1793865203,
"narHash": "sha256-/cpdPHaySDIyCgZI6EWngiM6jK3YLUNzv1b7lTzy6Bk=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "c56a87d8e41ce69bd2af57eb35dcc117a9dfca33",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-26.05",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}
+17
View File
@@ -0,0 +1,17 @@
{
description = "The Linux test shell for Fabrica's NixOS runner (.fabrica/artifex/linux.yaml)";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-26.05";
outputs =
{ self, nixpkgs }:
let
pkgs = nixpkgs.legacyPackages.x86_64-linux;
in
{
# nix develop .#ci -c cargo test : the toolchain only; the tests fetch crates from crates.io.
devShells.x86_64-linux.ci = pkgs.mkShell {
packages = with pkgs; [ cargo rustc clippy rustfmt git ];
};
};
}