Merge Go frontend (apiserver + xcecli) into meson build
This commit is contained in:
parent
43dc12a36c
commit
c9dc8c4676
205 changed files with 30793 additions and 328 deletions
28
src/scheduler/CLAUDE.md
Normal file
28
src/scheduler/CLAUDE.md
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# XCE Scheduler
|
||||
|
||||
## Overview
|
||||
C-based job scheduling engine with a plugin architecture. Determines job-to-node assignments based on resource requirements and scheduling policies.
|
||||
|
||||
## Build
|
||||
```bash
|
||||
# From workspace root
|
||||
nix develop
|
||||
meson build && ninja -C build
|
||||
```
|
||||
|
||||
## Architecture
|
||||
- Plugin-based: scheduling policies live under `src/plugins/`
|
||||
- Each plugin implements a standard scheduling interface
|
||||
- Core engine selects the active plugin at runtime
|
||||
|
||||
Links against `libxce` from `src/lib/`.
|
||||
|
||||
## Conventions
|
||||
- C standard: C99 or later
|
||||
- Format with `clang-format`
|
||||
- New scheduling policies → add as a plugin under `src/plugins/`, do not modify the core engine
|
||||
- Shared types defined in `src/include/xce/` (libxce)
|
||||
|
||||
## See Also
|
||||
- Shared library: `src/lib/CLAUDE.md`
|
||||
- Root guidelines: `/workspace/CLAUDE.md`
|
||||
Loading…
Add table
Add a link
Reference in a new issue