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
4 changes: 2 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ file had to be corrected by hand.
at least one easyconfigs path and refuses a recipe that is not valid Python.
5. Run `eb-stack target doctor` before a build campaign.
6. Run or resume `eb-stack campaign run` on the configured EasyBuild target until the requested claim rung is established.
7. Use `campaign finding claim|resolve` for OMP coordination. Never edit campaign JSON directly or steal an owned finding.
7. Use `campaign finding claim|resolve` for worker coordination. Never edit campaign JSON directly or steal an owned finding.
8. For an **upstream easyconfigs PR**, after recipes are ready, use the EasyBuild
CLI on the build host: `eb --check-contrib`, then
`eb --from-pr <N> --robot --upload-test-report` (see `skills/upstream-pr/SKILL.md`).
Expand All @@ -62,7 +62,7 @@ lint findings remain, and do not comment on the PR.
## Non-negotiables

- Dependency versions, hierarchy choices, site pins, and fallbacks belong inside Resolvo. A package-specific `--dep` override becomes a locked solver pin.
- Boolean satisfiability (SAT) compatibility is not build evidence. Hermes owns classified target/recipe/policy repair and repeats the campaign through verification.
- Boolean satisfiability (SAT) compatibility is not build evidence. The lead owns classified target/recipe/policy repair and repeats the campaign through verification.
- Fix code and recipes under test. Never remove assertions, dependencies, checksums, sanity checks, or tests to clear a failure.
- Run EasyBuild installs on the configured target, scheduler, and runtime. Keep `EASYBUILD_TMPDIR` on durable storage.
- Report `resolves`, `builds`, and `binary-verified` separately. A plan establishes only `resolves`; a build without declared verification does not establish `binary-verified`. `eessi-verified` is a further rung owned by `skills/eessi-extend/SKILL.md`; a build on a normal target never establishes it.
Expand Down
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ than guessed dependencies.

Parser notes are informational. Planning consumes only typed residual records,
so a note about successfully materializing dynamic source logic cannot
accidentally enqueue Hermes work. Genuine residuals carry a category, severity,
accidentally enqueue lead work. Genuine residuals carry a category, severity,
summary, and optional evidence and source provenance.

Conda revision numbers and compiler/stdlib/cross-build template requirements
Expand Down Expand Up @@ -350,19 +350,19 @@ The runnable local target defaults to two parallel EasyBuild jobs so memory-heav

For a local public example, build `skills/new-package/container/rocky9/Containerfile`, populate `/tmp/eb-stack/robot`, and use `examples/targets/local-podman.toml`. Keep bundles below `/tmp/eb-stack/bundles` so host and container paths match.

Hermes and OMP name campaign roles, not required orchestration software.
Hermes is the single owner that reads typed findings, applies repairs, and
retries through the requested claim rung. OMP workers are optional concurrent
The lead and the workers are campaign roles, not required orchestration software.
The lead is the single owner that reads typed findings, applies repairs, and
retries through the requested claim rung. Workers are optional concurrent
participants that coordinate exclusively through finding ownership.

Campaign failures persist as typed findings. OMP workers coordinate repairs through owned queue operations:
Campaign failures persist as typed findings. Workers coordinate repairs through owned queue operations:

```sh
eb-stack campaign finding claim --state /tmp/eon.campaign.json \
--id attempt:1:finding:1 --owner omp-worker-1
--id attempt:1:finding:1 --owner worker-1

eb-stack campaign finding resolve --state /tmp/eon.campaign.json \
--id attempt:1:finding:1 --owner omp-worker-1 \
--id attempt:1:finding:1 --owner worker-1 \
--action "corrected package configuration" \
--evidence "recipe check exits successfully" \
--change examples/packages/eon.toml
Expand Down Expand Up @@ -459,7 +459,7 @@ Two produce recipes, three gate them, three carry them somewhere, one repairs th

Produce:

- [New package](skills/new-package/SKILL.md): conda-forge/Spack to profiles to bundle to Hermes/OMP campaign.
- [New package](skills/new-package/SKILL.md): conda-forge/Spack to profiles to bundle to lead/worker campaign.
- [Annual bump](skills/annual-bump/SKILL.md): EasyBuild recipe to SBOM + Resolvo bump bundle to campaign.

Gate, before anything is built or pushed:
Expand Down
1 change: 1 addition & 0 deletions changelog.d/+generic-campaign-roles.doc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Campaign roles are named the lead and workers in the README, manual, skills and MCP tool text.
2 changes: 1 addition & 1 deletion docs/orgmode/explanation/architecture.org
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ compact evidence, typed findings, ownership, resolutions, and the three claims.
Spawn, controller interruption, and exit failures are data, not lost control
flow. They are classified as transport, executor, runtime, interrupted,
checksum, patch, dependency, configure, compile, link, test, install, sanity,
resource, timeout, or unknown findings. Hermes drives retries; OMP workers
resource, timeout, or unknown findings. The lead drives retries; workers
coordinate through claim/resolve operations.

* API surface
Expand Down
4 changes: 2 additions & 2 deletions docs/orgmode/explanation/fidelity.org
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,8 @@ EB_EASYCONFIGS="$EB_EASYCONFIGS" \

Unresolved dependencies and unsatisfiable locked pins fail the planning
command. Build-compatible claims that fail configure, compile, link, test,
install, or sanity become typed campaign findings. Hermes owns the full repair
loop; OMP workers claim findings, repair the evidence-supported layer, record
install, or sanity become typed campaign findings. The lead owns the full repair
loop; workers claim findings, repair the evidence-supported layer, record
the resolution, and rerun the campaign.

* Next steps
Expand Down
4 changes: 2 additions & 2 deletions docs/orgmode/explanation/lifecycle.org
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,6 @@ A campaign with no verification commands may establish *builds* but leaves
configuration.
- Empirical failures and repair evidence belong in campaign state.

This structure lets Hermes own the build-evaluation loop without turning every
failure into unstructured prompt text. OMP workers can coordinate by finding
This structure lets the lead own the build-evaluation loop without turning every
failure into unstructured prompt text. Workers can coordinate by finding
class and ownership while preserving the exact command and evidence.
4 changes: 2 additions & 2 deletions docs/orgmode/howto/new-package.org
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ Use a runtime-specific ~EASYBUILD_INSTALLPATH~, ~work_root~, and ~tmp_root~ so
host-linked modules cannot leak into a container build. A shared
~EASYBUILD_SOURCEPATH~ is safe for source archives.

* Run the Hermes/OMP repair loop
* Run the lead/worker repair loop

#+begin_src bash
eb-stack campaign run \
Expand All @@ -427,7 +427,7 @@ eb-stack campaign run \
--state /tmp/eb-stack/bundles/eon.campaign.json
#+end_src

Hermes owns the campaign loop. OMP workers claim typed findings, repair the
The lead owns the campaign loop. Workers claim typed findings, repair the
manifest/profile/recipe/target layer appropriate to the class, record evidence,
and rerun the campaign. Build compatibility claims are not proof: configure,
compile, link, test, install, and sanity failures stay empirical findings until
Expand Down
8 changes: 4 additions & 4 deletions docs/orgmode/howto/repair-campaign.org
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ directory.

* Claim the finding

Use a stable worker name. Claims prevent Hermes and OMP workers from applying
Use a stable worker name. Claims prevent the lead and workers from applying
different repairs to the same evidence:

#+begin_src bash
eb-stack campaign finding claim \
--state /tmp/eb-stack/bundles/eon-repair.campaign.json \
--id attempt:1:finding:1 \
--owner hermes
--owner lead
#+end_src

The same owner may claim again safely. Another owner receives an ownership
Expand Down Expand Up @@ -155,14 +155,14 @@ every changed artifact:
eb-stack campaign finding resolve \
--state /tmp/eb-stack/bundles/eon-repair.campaign.json \
--id attempt:1:finding:1 \
--owner hermes \
--owner lead \
--action "point the EasyBuild command at the program the target image provides" \
--evidence "target doctor easybuild check names the missing program" \
--change examples/targets/local-podman.toml
#+end_src

The resolution is an audit record. The finding status becomes ~resolved~
and the owner stays ~hermes~.
and the owner stays ~lead~.

* Retry the same state

Expand Down
2 changes: 1 addition & 1 deletion docs/orgmode/howto/run-annual-bump.org
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ eb-stack campaign run \
--state /tmp/eb-stack/bundles/gromacs-2024a.campaign.json
#+end_src

Hermes owns the retry loop. OMP workers claim findings and repair according to
The lead owns the retry loop. Workers claim findings and repair according to
class:

| Class | Repair surface |
Expand Down
14 changes: 7 additions & 7 deletions docs/orgmode/reference/campaigns.org
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

A campaign turns a resolved package bundle into empirical build and binary
evidence on one named target. The JSON state is durable, resumable, and the
coordination surface for Hermes and OMP workers.
coordination surface for the lead and workers.

Hermes and OMP are role names rather than required orchestration software.
Hermes is the single campaign owner that classifies findings, applies or
coordinates repairs, and retries through the requested claim rung. OMP workers
The lead and the workers are role names rather than required orchestration software.
The lead is the single campaign owner that classifies findings, applies or
coordinates repairs, and retries through the requested claim rung. Workers
are optional concurrent participants; their only shared coordination surface
is finding ownership in the campaign state.

Expand Down Expand Up @@ -164,7 +164,7 @@ Claim an open finding before changing state shared with another worker:
eb-stack campaign finding claim \
--state /tmp/campaign.json \
--id attempt:2:finding:1 \
--owner omp-worker-1
--owner worker-1
#+end_src

Claims are exclusive. Reclaiming with the same owner is idempotent; a different
Expand All @@ -176,7 +176,7 @@ Record the repair and its evidence:
eb-stack campaign finding resolve \
--state /tmp/campaign.json \
--id attempt:2:finding:1 \
--owner omp-worker-1 \
--owner worker-1 \
--action "corrected the container runtime environment" \
--evidence "target doctor and the isolated command exit successfully" \
--change examples/targets/site.example.toml
Expand All @@ -202,7 +202,7 @@ class-to-artifact troubleshooting table. The protocol is:
8. Rerun the full campaign state until every requested recipe and verification
command succeeds.

Hermes owns this whole loop. OMP workers use finding ownership to divide
The lead owns this whole loop. Workers use finding ownership to divide
residual diagnosis without racing on the state file. The executable procedures
are [[https://github.com/stackhands/eb-stack/blob/main/skills/new-package/SKILL.md][new package]]
and [[https://github.com/stackhands/eb-stack/blob/main/skills/annual-bump/SKILL.md][annual bump]].
4 changes: 2 additions & 2 deletions docs/orgmode/reference/glossary.org
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ Flags and exit status stay in the [[file:cli.org][command-line reference]].
5.4.0, or 5.4.1, each tied to the fixture that page records. Those
version strings are not substitutes for one another.

- Hermes :: The campaign role that classifies findings, applies repairs,
- Lead :: The campaign role that classifies findings, applies repairs,
and retries through the requested claim. Not a program that must be
installed beside ~eb-stack~.

- OMP :: On a campaign, an optional worker that claims one finding and
- Worker :: On a campaign, an optional worker that claims one finding and
records the repair. This is not the OpenMP runtime. OpenMP, written in
full, is a toolchain feature on a recipe.

Expand Down
42 changes: 21 additions & 21 deletions llms-full.txt
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ eb-stack campaign run \
--state /tmp/eb-stack/bundles/gromacs-2024a.campaign.json
```

Hermes owns the retry loop. OMP workers claim findings and repair according to
The lead owns the retry loop. Workers claim findings and repair according to
class:

| Class | Repair surface |
Expand Down Expand Up @@ -1138,7 +1138,7 @@ Use a runtime-specific `EASYBUILD_INSTALLPATH`, `work_root`, and `tmp_root` so
host-linked modules cannot leak into a container build. A shared
`EASYBUILD_SOURCEPATH` is safe for source archives.

# Run the Hermes/OMP repair loop
# Run the lead/worker repair loop

```bash
eb-stack campaign run \
Expand All @@ -1148,7 +1148,7 @@ eb-stack campaign run \
--state /tmp/eb-stack/bundles/eon.campaign.json
```

Hermes owns the campaign loop. OMP workers claim typed findings, repair the
The lead owns the campaign loop. Workers claim typed findings, repair the
manifest/profile/recipe/target layer appropriate to the class, record evidence,
and rerun the campaign. Build compatibility claims are not proof: configure,
compile, link, test, install, and sanity failures stay empirical findings until
Expand Down Expand Up @@ -1881,14 +1881,14 @@ directory.

# Claim the finding

Use a stable worker name. Claims prevent Hermes and OMP workers from applying
Use a stable worker name. Claims prevent the lead and workers from applying
different repairs to the same evidence:

```bash
eb-stack campaign finding claim \
--state /tmp/eb-stack/bundles/eon-repair.campaign.json \
--id attempt:1:finding:1 \
--owner hermes
--owner lead
```

The same owner may claim again safely. Another owner receives an ownership
Expand Down Expand Up @@ -1955,14 +1955,14 @@ every changed artifact:
eb-stack campaign finding resolve \
--state /tmp/eb-stack/bundles/eon-repair.campaign.json \
--id attempt:1:finding:1 \
--owner hermes \
--owner lead \
--action "point the EasyBuild command at the program the target image provides" \
--evidence "target doctor easybuild check names the missing program" \
--change examples/targets/local-podman.toml
```

The resolution is an audit record. The finding status becomes `resolved`
and the owner stays `hermes`.
and the owner stays `lead`.

# Retry the same state

Expand Down Expand Up @@ -6704,11 +6704,11 @@ Flags and exit status stay in the [command-line reference](https://eb-stack.rgos
5.4.0, or 5.4.1, each tied to the fixture that page records. Those
version strings are not substitutes for one another.

- Hermes :: The campaign role that classifies findings, applies repairs,
- Lead :: The campaign role that classifies findings, applies repairs,
and retries through the requested claim. Not a program that must be
installed beside `eb-stack`.

- OMP :: On a campaign, an optional worker that claims one finding and
- Worker :: On a campaign, an optional worker that claims one finding and
records the repair. This is not the OpenMP runtime. OpenMP, written in
full, is a toolchain feature on a recipe.

Expand Down Expand Up @@ -10209,11 +10209,11 @@ misspelled target names and missing layers without starting a build.

A campaign turns a resolved package bundle into empirical build and binary
evidence on one named target. The JSON state is durable, resumable, and the
coordination surface for Hermes and OMP workers.
coordination surface for the lead and workers.

Hermes and OMP are role names rather than required orchestration software.
Hermes is the single campaign owner that classifies findings, applies or
coordinates repairs, and retries through the requested claim rung. OMP workers
The lead and the workers are role names rather than required orchestration software.
The lead is the single campaign owner that classifies findings, applies or
coordinates repairs, and retries through the requested claim rung. Workers
are optional concurrent participants; their only shared coordination surface
is finding ownership in the campaign state.

Expand Down Expand Up @@ -10370,7 +10370,7 @@ Claim an open finding before changing state shared with another worker:
eb-stack campaign finding claim \
--state /tmp/campaign.json \
--id attempt:2:finding:1 \
--owner omp-worker-1
--owner worker-1
```

Claims are exclusive. Reclaiming with the same owner is idempotent; a different
Expand All @@ -10382,7 +10382,7 @@ Record the repair and its evidence:
eb-stack campaign finding resolve \
--state /tmp/campaign.json \
--id attempt:2:finding:1 \
--owner omp-worker-1 \
--owner worker-1 \
--action "corrected the container runtime environment" \
--evidence "target doctor and the isolated command exit successfully" \
--change examples/targets/site.example.toml
Expand All @@ -10408,7 +10408,7 @@ class-to-artifact troubleshooting table. The protocol is:
8. Rerun the full campaign state until every requested recipe and verification
command succeeds.

Hermes owns this whole loop. OMP workers use finding ownership to divide
The lead owns this whole loop. Workers use finding ownership to divide
residual diagnosis without racing on the state file. The executable procedures
are [new package](https://github.com/stackhands/eb-stack/blob/main/skills/new-package/SKILL.md)
and [annual bump](https://github.com/stackhands/eb-stack/blob/main/skills/annual-bump/SKILL.md).
Expand Down Expand Up @@ -11647,8 +11647,8 @@ A campaign with no verification commands may establish **builds** but leaves
configuration.
- Empirical failures and repair evidence belong in campaign state.

This structure lets Hermes own the build-evaluation loop without turning every
failure into unstructured prompt text. OMP workers can coordinate by finding
This structure lets the lead own the build-evaluation loop without turning every
failure into unstructured prompt text. Workers can coordinate by finding
class and ownership while preserving the exact command and evidence.

# Architecture
Expand Down Expand Up @@ -11835,7 +11835,7 @@ compact evidence, typed findings, ownership, resolutions, and the three claims.
Spawn, controller interruption, and exit failures are data, not lost control
flow. They are classified as transport, executor, runtime, interrupted,
checksum, patch, dependency, configure, compile, link, test, install, sanity,
resource, timeout, or unknown findings. Hermes drives retries; OMP workers
resource, timeout, or unknown findings. The lead drives retries; workers
coordinate through claim/resolve operations.

# API surface
Expand Down Expand Up @@ -12309,8 +12309,8 @@ EB_EASYCONFIGS="$EB_EASYCONFIGS" \

Unresolved dependencies and unsatisfiable locked pins fail the planning
command. Build-compatible claims that fail configure, compile, link, test,
install, or sanity become typed campaign findings. Hermes owns the full repair
loop; OMP workers claim findings, repair the evidence-supported layer, record
install, or sanity become typed campaign findings. The lead owns the full repair
loop; workers claim findings, repair the evidence-supported layer, record
the resolution, and rerun the campaign.

# Next steps
Expand Down
Loading