asicrs-build
- Repo stars 28
- License Apache-2.0
- Author repo proto-fleet
asicrs-build
just build-plugins and just test-contract rebuild ASIC-rs only when its
freshness check (mtime against the BIN plus a find -newer over
plugin/asicrs sdk/rust server/sdk/v1/pb) trips. That check is robust for
typical edits but skips when the binary mtime is newer than the source —
which is true after a clean checkout or when switching branches.
What to do
- After editing any source under
plugin/asicrs/,sdk/rust/, orserver/sdk/v1/pb/, force a rebuild:- Local development:
just rebuild-plugin asicrs - Docker dev runtime (Linux ARM64): same command — it sets
_asicrs-build-dockerafter removing the platform marker.
- Local development:
- Run
just test-contractif the change affects miner-driver behavior. - If switching between native and Docker runtimes, expect a full rebuild
the first time — the
.asicrs-platformmarker is what disambiguates.
What to avoid
- Don't hand-edit
server/plugins/asicrs-config.yamlto make tests pass — the contract harness rewrites it per suite, and your edits will be overwritten.
- Fluxly category
- Engineering
- Author-declared agents
- No explicit declaration found; this is not inferred or tested compatibility
- Static check
- 94 / 100 · heuristic scan, not runtime safety proof
- Author / version / license
- @block · Apache-2.0
- Fluxly token estimate
- Lean
- Fluxly setup estimate
- Guided setup
- External API key
- No requirement detected
- Detected OS requirements
- Linux · Docker
- Runtime requirements
- Docker
- Detected file/system behavior
-
- Read-only
- Write / modify
- Detected network behavior
- Local-only
- Install commands
- None (reference only)
Profile is derived at build time from SKILL.md and install vectors. Subject to drift from author intent.
Heads up: 未限定 allowed-tools,默认拥有全部工具权限。
The current SKILL.md does not define a fixed output example. After editing any source under plugin/asicrs/, sdk/rust/, or server/sdk/v1/pb/, force a rebuild: Local development: just rebuild-plugin asicrs
Don't hand-edit server/plugins/asicrs-config.yaml to make tests pass — the contract harness rewrites it per suite, and your edits will be overwritten.
# asicrs-build
`just build-plugins` and `just test-contract` rebuild ASIC-rs only when its
freshness check (mtime against the `BIN` plus a `find -newer` over
`plugin/asicrs sdk/rust server/sdk/v1/pb`) trips. That check is robust for
typical edits but skips when the binary mtime is newer than the source —
which is true after a clean checkout or when switching branches.
## What to do
1. After editing any source under `plugin/asicrs/`, `sdk/rust/`, or
`server/sdk/v1/pb/`, force a rebuild:
- Local development: `just rebuild-plugin asicrs`
- Docker dev runtime (Linux ARM64): same command — it sets
`_asicrs-build-docker` after removing the platform marker.
2. Run `just test-contract` if the change affects miner-driver behavior.
3. If switching between native and Docker runtimes, expect a full rebuild
the first time — the `.asicrs-platform` marker is what disambiguates.
## What to avoid
- Don't hand-edit `server/plugins/asicrs-config.yaml` to make tests pass —
the contract harness rewrites it per suite, and your edits will be
overwritten. Author text anchors workflow facts; Fluxly only indexes current sections, terms, files, and commands.
sections -> What to do → What to avoid
terms -> no emphasized key terms
files/cmd -> just build-plugins · just test-contract · BIN · find -newer · plugin/asicrs sdk/rust server/sdk/v1/pb · plugin/asicrs/ · sdk/rust/ · server/sdk/v1/pb/
body sha256 -> cb974c79335a
Decide Fit First
plugin/asicrs/,sdk/rust/, orserver/sdk/v1/pb/(which the asicrs build also consumes). The A…Design Intent
How To Use It
Boundaries And Review