diff --git a/.ledger/PLAN.md b/.ledger/PLAN.md index 0a95e11..d6033f1 100644 --- a/.ledger/PLAN.md +++ b/.ledger/PLAN.md @@ -17,6 +17,10 @@ ## Current milestone +- [CC-75: w530 Initiatives scenario and demo](tasks/blocked/cc75-w530-initiatives-scenario.md): + phase 1 inventory and [plan](plans/cc75-w530-initiatives-scenario-plan.md) + await human review; w530 unreachable; relay credentials are the human's step. + - [CC-61: PR #8 manual merge preparation](tasks/done/cc61-pr8.md): isolated fallback [PR #10](https://github.com/jctanner/breadboard/pull/10) is ready for manual merge after reviewed fixes and passing W530 strict conformance. Nonblocking [conformance evidence automation](bugs/open/conformance-evidence-automation.md) remains a follow-up. diff --git a/.ledger/plans/cc75-w530-initiatives-scenario-plan.md b/.ledger/plans/cc75-w530-initiatives-scenario-plan.md new file mode 100644 index 0000000..8405347 --- /dev/null +++ b/.ledger/plans/cc75-w530-initiatives-scenario-plan.md @@ -0,0 +1,284 @@ +# Plan: Initiatives test scenario and demo on w530 (CC-75) + +Status: **Phase 2 rehearsal completed 2026-11-17** (see "Results"). Written +2026-11-15 on p15, branch `cc-75-w530-initiatives`; this is a condensed +public version of the plan and its progress log. + +Details that depend on private sources (the mirror's patches and production +configuration) are kept outside this repository. + +## Goal + +Mirror the Initiative-related pipelines and repos into a breadboard stack on +w530, seeded with fully synthetic Initiatives, so that: + +1. it serves as a **test scenario** for the Initiative work (rfe-creator + Initiative autofix, strat-creator `initiative-strategy`, epic-creator + decomposition, strat-pipeline `workflow-batch-initiative`). The scenario + must run without production Jira, without a `staging` branch and without + GitLab approvals. +2. it also serves as an **end-to-end demo**: + Outcome → Initiative → autofix review → strategy → Epics. + +The scenario reuses and generalises `var/demos/strat-pipeline-replication` +rather than forking it. The fixture is +[`var/demos/initiatives/`](../../var/demos/initiatives/README.md). + +## Components + +| Component | Source | Role in the scenario | Mirror target | +| --- | --- | --- | --- | +| strat-creator | GitHub `fullsend-ai/strat-creator` (public) | `initiative-strategy` type; #124 adds the `strat-creator-ignore`/`initiative-ignore` exclusions | GitHub emulator (`main`, `pr-124`, `cc75-emulator`) | +| assess-strat | GitHub `opendatahub-io/assess-strat` (public) | Strategy review rubric | GitHub emulator | +| rfe-creator | GitHub `fullsend-ai/rfe-creator` (public) | Initiative autofix (`--type initiative`) | GitHub emulator (`main`, `ci-prod`, `ci-stage`) | +| epic-creator | GitHub `fullsend-ai/epic-creator` (public) | Decomposition into `RHAI` Epics; #40 adds the `rhai-initiative` workload | GitHub emulator (`main`, `pr-40`) | +| strat-pipeline | GitLab `redhat/rhel-ai/agentic-ci/strat-pipeline` (private) | `workflow-batch-initiative` job | GitLab emulator, same path | +| strat-pipeline-data | GitLab (private) | Strategy results repo | GitLab emulator, starts empty | +| strat-dashboard | GitLab (private) | Dashboard; not used on Initiative runs | GitLab emulator | +| rfe-autofixer | GitLab (private) | `autofix-initiative` job | GitLab emulator, same path | +| rfe-autofixer-results | GitLab (private) | Autofix results repo | GitLab emulator, starts empty | +| epic-decomposer | GitLab (private) | Decomposition job | GitLab emulator, same path | + +The private code repos are mirrored as history-free snapshots with emulator +adaptations applied as tracked patches kept outside this repository. Their +data repos were not copied; they start empty. Public pins are recorded in the +fixture's manifests. + +## Approach + +- **Hosts.** w530 runs the stack (`BREADBOARD_DOMAIN=w530.local`). p15 + authors the fixture; w530 runs it from a separate worktree synced from p15. +- **Emulators.** Jira, GitHub and GitLab emulators stand in for production. + A project-config import adds the Outcome issue type, Release Pending, an + RHAISTRAT workflow, `Incorporates`/`Depend` link types and the `RHAI` + project. +- **CI.** The GitLab emulator's Kubernetes-executor runner `glemu-k8s-runner` + (privileged, emulator CA mounted) runs the mirrored jobs. Each job brings up + its own Fullsend stack (Fullsend 0.55.0 and an OpenShell gateway, as pinned + by strat-creator) with podman inside the job pod. The breadboard-deployed + Fullsend is not used on this path. +- **Schedules.** Created on `main` only and **inactive**; scenarios trigger + them with "play", so nothing runs on cron unattended. Schedule names: + `initiative-dry`, `initiative-live-emulator`, `autofix-initiative` and + `rfe-batch`. +- **CI variables set by our scripts** include `INITIATIVE_STRATEGIES`, + `INITIATIVE_LIVE`, `STRAT_EXECUTOR`, `STRAT_DRY_RUN`, `FULLSEND_PUBLISH`, + `BATCH_SIZE`, `AUTOFIX_SCHEDULE`, `AUTOFIX_LIMIT`, `RESULTS_REPO`, + `CLAUDE_REPO`, `CLAUDE_REPO_BRANCH` and `JIRA_USERNAME`. Credentials are a + synthetic Jira bot PAT, a GitLab results PAT and a Model Relay key, stored as + masked variables; `bootstrap_credentials.py` generates them without + printing them. +- **Model.** Standing rule from the human: **always use Model Relay**; no + real model keys in CI. A dedicated relay project `cc75-initiatives` routes to + a Vertex upstream account with an allowlist of `claude-opus-5-5`. Inside the + sandbox the relay key is an OpenShell provider credential (the agent sees a + placeholder), and the emulator CA is baked into a per-job sandbox image. This + reuses the recipe already proven in `var/demos/fullsend-claude-workflow/`. +- **Synthetic seeding and snapshots.** A seeder creates the catalogue top-down + and takes jira-emulator snapshots (`cc75-pre-seed`, `cc75-baseline`). + Scenarios and the demo reset by restoring a snapshot. + +## Synthetic Initiatives + +- **Fully synthetic:** fictional product areas and codenames, fictional people + (`synth-pm-01`, `synth-eng-03`) and neutral components (`synth-runtime`, + `synth-ui`). No real text, names or Jira keys. Every summary is prefixed + `[SYNTH]` and every issue carries `cc75-synthetic`. +- **Deterministic:** `generate_initiatives.py` renders the committed + `catalogue.yaml` from hand-authored templates (no LLM), so reruns are + byte-stable. +- **Idempotent:** issues are looked up by a `cc75-fx-` label and created + top-down (Outcome → Initiative → Epic → Story), because the emulator cannot + change `parent` later. +- **Range of quality and size:** good (rich goals and requirements, complete + template, Outcome parent), typical (Stories-only tracker, missing fields, no + Epics) and poor (punctuation-only summary, cryptic summary, title only), plus + a strategy-rich Initiative already signed off. Initiatives range from no Epic + children to a long tail, with children in RHAI, RHOAIENG and AIPCC, and some + with a legacy `Incorporates` link. +- **Variant labels:** opted in (`initiative-autofix-opt-in`), rubric-pass, + needs-attention, ignored (`initiative-ignore`/`strat-creator-ignore`), a + stale `strat-creator-processing` lock, closed-but-labelled, and not opted in. +- **Catalogue:** 79 issues after the I25 exemplar was added (3 Outcomes, + 25 Initiatives, 2 RFEs, Epics and Stories); the first seed had 78. +- **Oracle:** the generator also writes `expected.yaml` from the catalogue, + not from Jira: the set each discovery query must select, the Initiatives + epic-creator must skip and why, the expected label transitions and the + bounds on generated Epic counts. +- **Codenames** that collided with well-known software were renamed (Harbor → + Brackwater, Heron → Thornbill, Kestrel → Saltmarsh) after the model read + "Harbor" as the CNCF registry in S6. +- **I25 exemplar** (RHAISTRAT-75028) was written to pass strategy review, for + the demo. + +## Scenarios + +"Model?" says whether the scenario spends model tokens. + +| ID | Scenario | Model? | Observable acceptance | +| --- | --- | --- | --- | +| S0 | Bootstrap: preflight, topology, credentials, config import, seed, snapshot; run twice | No | Second run creates nothing; issue count, parents, labels, status and link order match the catalogue; `cc75-baseline` exists | +| S1 | Discovery oracle: strat-creator, autofix opt-in and epic-creator skip queries against the emulator | No | Selected sets equal `expected.yaml` | +| S1b | The same through each tool's own discovery code | No | Matches the oracle | +| S2 | CI lint and contracts; gateway and sandbox smoke inside a CI job | No | Lint valid; Initiative job present and gated; the job-owned Fullsend stack starts on the pod runner | +| S3 | Tripwire: `INITIATIVE_STRATEGIES=on` without the dry flags on `main` | No | The pipeline fails closed; no Jira writes | +| S4 | Dry run with nothing selected | No | Pipeline succeeds with no work; no sandbox, no model, no writes | +| S5 | Initiative autofix on opted-in Initiatives | Yes | Only opted-in Initiatives are touched; gate labels applied; summaries unchanged; results in `rfe-autofixer-results` | +| S6 | Strategy dry canary, `BATCH_SIZE=1` | Yes | One oracle-predicted Initiative processed; zero Jira writes | +| S7 | Strategy live on the emulators (`BATCH_SIZE=1`, then 3) | Yes | Strategy and review attached to the Initiative; lock set and released; gate labels match the review; results under `initiative-strategy/` in `strat-pipeline-data` | +| S8 | Decomposition of signed-off Initiatives | Yes | `RHAI` Epics with `parent` = Initiative and `Blocks` between siblings; `epic-creator-auto-decomposed` set; Initiatives with existing Epics or a legacy link skipped; rerun creates nothing | +| S9 | Kill switch and rollback | No | Flag off runs only the old path; snapshot restore returns exactly the baseline | +| S10 | Feature regression: single RFE → Feature | Yes (1 item) | Behaves as before; no `initiative-*` labels on Features or RFEs | + +Evidence is written to `var/demos/initiatives/evidence/` as sanitised JSON +(ids, label diffs, oracle comparison). + +## Results + +### No-model scenarios (2026-11-16) + +| Item | Result | Evidence | +| --- | --- | --- | +| Mirror | GitHub emulator mirrors of the public repos; GitLab emulator mirrors of the private repos; re-runs converge | `topology-manifest.json`, `pipeline-manifest.json` | +| S0 | **Pass.** 78 issues seeded; read-back passes; second run converges (0 created) | `evidence/seed-*.json` | +| S1 | **Pass.** All discovery queries match the oracle | `evidence/discovery-*.json` | +| S1b | **Finding:** strat-creator `main` does not exclude `initiative-ignore` or `strat-creator-ignore` and selects two ignored fixture Initiatives; **#124** matches the intended contract exactly. The scenario pins #124; `main` stays mirrored to show the gap | `evidence/tool-discovery-*.json` | +| S2 gateway smoke | **Pass, first run.** The Fullsend 0.55.0 tarball passes its checksum; podman, the gateway and the sandbox come up in the job pod; Claude Code runs in the sandbox; 199 s total | `evidence/smoke-fullsend-gateway-*.json` | +| S3 | **Pass.** Without the dry flags the pipeline fails closed; with them it passes; 0 Jira writes | `evidence/S3-*.json` | +| S4 | **Pass.** Discovery selects nothing; the run is skipped with no sandbox or model; 0 Jira writes | `evidence/S4-20261116T010846Z.json` | +| S9 | **Pass.** Fingerprints of all fixture issues differ from the baseline only on the four S7 Initiatives; restoring the baseline matches exactly | `evidence/S9-20261116T160904Z.json` | + +### Model-backed scenarios (2026-11-16; spend approved by the human) + +| Item | Result | Spend | +| --- | --- | --- | +| S6 dry canary | **Pass.** Only the oracle's RHAISTRAT-75006 selected; create → refine → review; 109 relay requests, all 200; 0 Jira writes; review REVISE 4/8 | $6.03 (plus about $6 in earlier attempts) | +| S7a, first attempt | **Failed:** attachment written, read-back refused by the sandbox proxy because the emulator returned URLs on its public base URL. Fixed by using the emulator's canonical `https://jira.` everywhere | $2.84 | +| S7a | **Pass** (pipeline 26, job 54): 75006 got strategy and review attachments, `strat-creator-auto-refined` + `strat-creator-needs-attention`, a comment; lock released; writes only to 75006; snapshot `cc75-after-S7a` | $6.15 | +| S7b | **Pass** (pipeline 27, job 57): `BATCH_SIZE` 3 selected exactly 75009, 75010, 75019 and skipped 75006; all REVISE 4/8 with gate labels; snapshot `cc75-after-S7b` | $17.11 | +| S5 | **Pass** (pipeline 56): 3 opted-in Initiatives (75004, 75006, 75009); writes only to them; summaries unchanged; 75006 revised 6 → 9/10. 75004 and 75009 pass and are also flagged for a human, so the plan's "exactly one label" check was corrected | $6.04 | +| S8 | **Decomposes; both oracle skips fail** (pipeline 65). 75025 → 7 RHAI Epics, correctly linked and labelled. **Duplicate Epics:** 75026 (3 existing Epics) got 5 more and 75027 (legacy `Incorporates` link) got 4. Rerun selects nothing | about $24 including two earlier failed runs | +| S10 | **Pass** (pipeline 67): one synthetic RFE → one RHAISTRAT Feature, `strat-creator-rubric-pass`, no `initiative-*` labels, results only under `RHAISTRAT/` | $6.61 | +| I25 live check | Pipeline 69: review 5/8 REVISE (feasibility, testability and scope 1/2) | $7.40 | +| I25 tightened | Scope narrowed to one runtime, REST only, a defined benchmark. Pipeline 71: **7/8 APPROVE**, `strat-creator-rubric-pass`; snapshot `cc75-demo-75028-approved` | $8.30 | +| I25 end to end | Signed off, then decomposed: **11 RHAI Epics** after one review revision, `epic-creator-auto-decomposed`; Jira restored afterwards | $5.06 | + +Spend to this point: about $92 in Fullsend/OTEL estimates. + +### Eventual-state rehearsal (2026-11-17; about $20 approved by the human) + +The mirror ran the private pipelines at the revisions expected to reach +production, with only `JIRA_USERNAME`, a live run on `main` with +`INITIATIVE_LIVE=on`, and emulator values supplied as project, schedule or +pipeline variables. + +| Step | Result | Spend | +| --- | --- | --- | +| Autofix (schedule, limit 3), pipeline 89 | **Success:** 3 Initiatives, 2 pass, 1 rejected; labels applied | $4.01 | +| Live strategy on 75028, pipeline 90 | **Success:** strategy and review attached, `strat-creator-rubric-pass` | $7.53 | +| Decompose, pipeline 92 | 14 Epics, review accepted; **failed** before submit because our run left `RESULTS_REPO` pointing outside the emulator | $5.02 | +| Decompose, pipeline 96 (from snapshot `cc75-rehearsal-end`) | 10 Epics, review 14/14 accepted; **failed** at submit because our run did not point the job at the mirrored epic-creator #40 branch | $5.22 | +| Decompose, pipeline 99 (after the fix; the human said continue) | **Success:** review 11/14 → revise → 14/14; 12 Epics created (RHAI-75044..75055, parent 75028); 75028 labelled `epic-creator-auto-decomposed`; results pushed to the emulator; `JIRA_USERNAME` accepted | $5.47 | + +Total $27.25 (about $20 approved; the last $5 after the human said to +continue). Fix (`f8df0d5`): `run_decompose.py` and `demo.py decompose` pass +`CLAUDE_REPO`/`CLAUDE_REPO_BRANCH` (GitHub emulator `pr-40`) and +`RESULTS_REPO` (emulator) as pipeline variables. Snapshots: +`cc75-rehearsal-end` (after strategy and sign-off) and +`cc75-rehearsal5-decomposed` (12 Epics). Jira is back at `cc75-baseline`. + +## Findings in public components + +- **strat-creator `main`** does not honour the ignore labels in Initiative + discovery; **#124** fixes it (S1b). +- **epic-creator #40, duplicate Epics.** With the `rhai-initiative` workload, + `--skip-if-has-epics` checks only `epic-creator-auto-decomposed`, so + Initiatives with hand-made Epics or a legacy `Incorporates` link get + duplicates. Confirmed by S8. +- **epic-creator #40, idle run fails.** With nothing to submit, + `submit.py --workload rhai-initiative --all` exits 1, so a scheduled run + with no work would go red. +- **Fullsend 0.55.0** allows harness fetches only from `github.com` and + `raw.githubusercontent.com` with no override, so a stock binary cannot fetch + a harness from an in-cluster forge, emulator or GitHub Enterprise. Local + relative sources work and the mirror uses them. Worth raising upstream. +- **strat-creator** builds its results remote from `gitlab.com`; the mirror + redirects it to the GitLab emulator through an opt-in variable. +- **OpenShell 0.0.112:** inside a Kubernetes pod the gateway takes its + in-cluster bootstrap and exits unless `KUBERNETES_SERVICE_*` is unset; a + TLS-terminating Jira provider fails certificate verification, so Jira is an + opaque tunnel with an extra CA file. +- **Model Relay** requires Claude Code 2.1.280+ for `claude-opus-5-5`; the + per-job sandbox image uses the Fullsend sandbox image's Claude Code. +- **Emulator gaps:** jira-emulator cannot change `parent` on update and drops + unknown parents silently (G1), and has no `parent IN (...)` (G2); neither + blocks the scenario. The GitLab emulator appears to count a failing + `after_script` against the job, and turns a bare `true` list item into + `True`. +- **w530** (no AVX2) cannot run x86-64-v3 images; the mirror uses images that + run on it. + +## Human decisions and approvals + +- Phase 2 SSH work on w530 approved; sleep disabled on w530 to stop idle + suspend. +- Pins: strat-creator #124 for Initiative scenarios; epic-creator #40 head + (already bound to RHAISTRAT, so no rebind was needed). +- Private sources fetched by the human's chosen method and copied to w530; the + data repos were not copied. +- Relay upstream: Vertex, through the dedicated `cc75-initiatives` project. +- Model spend approved in steps (S5–S8, S10, then about $20 for the rehearsal + plus $5 more). +- Staging: CC-75 builds no staging branch, staging pipeline or sync MR. The + only non-main branch is the emulator-only `cc75-live` of strat-pipeline, + flagged to the human as a candidate to become a variable on `main`. +- VM-based runners deferred: job-owned podman in a pod is also the production + design. + +## Risks + +| Risk | Status | +| --- | --- | +| Job-owned Fullsend stack inside a CI pod (podman-in-pod, egress, cold start) | Retired by the S2 gateway smoke | +| Image pull access from w530 | Retired: the job images pull anonymously | +| Upstream moves during the build (#124, #40, rfe-creator `ci-prod`) | Pins recorded in the fixture manifests; refreshing a pin is a deliberate ledger entry | +| Emulator fidelity (G1, G2, variable masking) | Seeder read-back checks, oracle loops and shell fallbacks | +| Synthetic text resembling real content | Hand-authored catalogue, `[SYNTH]` prefix, a lint that rejects real-looking keys and names outside the synthetic roster; human review of `catalogue.yaml` | +| Model spend and long jobs | `BATCH_SIZE=1` canaries, a dedicated relay project, inactive schedules | + +## Demo outline (about 25 minutes) + +`scripts/demo.py` runs each step through the verified jobs, and +`demo-script.md` follows RHAISTRAT-75028 from strategy to Epics. A full run +costs about $35 of model use when every signed-off Initiative is decomposed. + +1. **Reset:** restore `cc75-baseline`; show the Outcomes and the `[SYNTH]` + Initiatives, one good, one typical and one poor. +2. **Opt-in:** add `initiative-autofix-opt-in` to three Initiatives; the + opt-in label is the canary boundary. +3. **Autofix review:** play `autofix-initiative`; good Initiatives get + `initiative-autofix-rubric-pass`, the poor one + `initiative-needs-attention` with an `[Initiative Creator]` comment. +4. **Tripwire:** a non-dry Initiative run on `main` fails closed; staging is a + run configuration, not a branch (CC-74). +5. **Dry strategy:** play `initiative-dry` (`BATCH_SIZE=1`); the strategy + artefact appears in the job with zero Jira changes. +6. **Live on the emulators:** show the strategy and review attachments, the + gate labels and the `initiative-strategy/` folder in the data repo. +7. **Sign-off and decomposition:** add `strat-creator-human-sign-off` with + `demo.py signoff`, run `demo.py decompose`, and show the RHAI Epics with + `Blocks` links and `epic-creator-auto-decomposed`. +8. **Rollback:** turn the flag off and restore the snapshot. + +## Main-only rollout patterns exercised (CC-74) + +| Pattern | Exercised by | +| --- | --- | +| Default-off flags (`INITIATIVE_STRATEGIES`, `STRAT_EXECUTOR`) | S2, S9 | +| Dry run (`STRAT_DRY_RUN=1`, `FULLSEND_PUBLISH=0`) | S4, S6 | +| A staging schedule on `main` (`initiative-dry`) | S4, S6 | +| Scoped canary (opt-in label, `BATCH_SIZE=1`, `AUTOFIX_LIMIT`) | S5, S6, S7 | +| Emulators as the pre-production test bed | the whole fixture | +| Kill switch and fail-closed tripwire; live cutover rehearsed on the emulators | S3, S7, S9 | +| Oracle and label-diff evidence before widening from 1 to 3 | S6 → S7 | +| Pinned versions bumped deliberately | fixture manifests | diff --git a/.ledger/tasks/blocked/cc75-w530-initiatives-scenario.md b/.ledger/tasks/blocked/cc75-w530-initiatives-scenario.md new file mode 100644 index 0000000..aa4103c --- /dev/null +++ b/.ledger/tasks/blocked/cc75-w530-initiatives-scenario.md @@ -0,0 +1,33 @@ +# Task: CC-75 Initiatives test scenario and demo on w530 + +## Goal + +Mirror the Initiative pipelines and repos (strat-pipeline, strat-creator, +rfe-creator/rfe-autofixer, epic-creator/epic-decomposer) into breadboard on w530, +seeded with fully synthetic Initiatives. The result is both a test scenario and +an end-to-end demo. + +## Plan + +[cc75-w530-initiatives-scenario-plan.md](../../plans/cc75-w530-initiatives-scenario-plan.md) + +## Status + +2026-11-16: phase 2 has started. S0, S1, S1b and the S2 gateway smoke are done (see the plan's "Phase 2 progress"). +Model-free scenarios through S4 pass, and the relay route and sandbox egress are in place. S6 (dry strategy canary) passes through Model Relay. S7 is next; S5 and S8 need their own adaptations. + +Blocked on human review of the phase 1 plan, and on w530 being unreachable +(2026-11-15). Model scenarios also wait on the human configuring Claude +credentials in w530's Model Relay (plan §7). + +## Acceptance criteria + +- [x] Inventory: what's needed and what's available; prior work reviewed (phase 1) +- [x] Human approves proceeding (2026-11-15); Q4 and R6 settled by the code; Q1 recommendation: #124 +- [x] Human configures the relay upstream account (`rh-vertex-strat-evals`) +- [x] Route a relay project to it (`cc75-initiatives`, approved 2026-11-16) +- [x] Human: enable `claude-opus-5-5` in the `rh-vertex-strat-evals` inventory (2026-11-16) +- [x] glab working for the private GitLab sources (2026-11-16) +- [x] S0, S1, S1b, S2 gateway smoke, S3, S4 pass without a model (S9 pending) +- [ ] S5–S8, S10 pass with a model; evidence recorded (S6 passed 2026-11-16) +- [ ] Demo rehearsed diff --git a/var/demos/initiatives/README.md b/var/demos/initiatives/README.md new file mode 100644 index 0000000..b7f5774 --- /dev/null +++ b/var/demos/initiatives/README.md @@ -0,0 +1,57 @@ +# Initiatives scenario fixture (CC-75) + +A resettable breadboard scenario for the Initiative flow (rfe-creator autofix +→ strat-creator `initiative-strategy` → epic-creator decomposition), seeded +with **fully synthetic** Initiatives. Plan: +[`.ledger/plans/cc75-w530-initiatives-scenario-plan.md`](../../../.ledger/plans/cc75-w530-initiatives-scenario-plan.md). + +All data is fictional. Summaries start with `[SYNTH]`, and every issue carries +`cc75-synthetic` plus `cc75-fx-`. Keys are in the `-75001+` block. + +## Environment + +Run from this directory on the stack host: + +```bash +export BREADBOARD_DOMAIN=w530.local # the full ingress domain +kubectl get configmap internal-ca-cert -n ai-pipeline -o jsonpath='{.data.ca\.crt}' \ + > ~/.cache/cc75/w530-ca.crt +export BREADBOARD_CA_FILE=~/.cache/cc75/w530-ca.crt +``` + +Jira and GitLab use the emulators' development defaults (`admin:admin`). +`mirror_github.py` needs the GitHub emulator's development admin token in +`GITHUB_API_TOKEN`; it is defined in `deploy/k8s/10-github-emulator.yaml`. + +## Steps + +| Step | Command | Scenario | +| --- | --- | --- | +| Render catalogue (deterministic; lint for synthetic-only content) | `python3 scripts/generate_initiatives.py` (`--check` in CI) | — | +| Seed Jira: config import, issue import, read-back, `cc75-baseline` snapshot | `python3 scripts/seed_initiatives.py` | S0 | +| Discovery queries vs oracle | `python3 scripts/check_discovery.py` | S1 | +| strat-creator's own discovery JQL, per mirrored ref | `python3 scripts/check_tool_discovery.py` | S1b | +| Mirror public repos into the GitHub emulator | `python3 scripts/mirror_github.py` | — | +| Job-owned Fullsend/OpenShell gateway smoke in GitLab CI, no model | `python3 scripts/run_smoke.py fullsend-gateway` | S2 (part) | + +To reset Jira, restore the `cc75-baseline` snapshot +(`POST /api/admin/snapshots//restore`). Do not use `/api/admin/reset`, +which drops the imported project configuration. + +## Files + +- `catalogue.yaml`: the 24 Initiatives, 3 Outcomes and 2 RFEs (fictional). +- `generated/issues.json` and `expected.yaml`: rendered from the catalogue; + do not edit by hand. +- `source-manifest.json`: public upstreams and refs. Private GitLab sources + are listed but still pending. +- `topology-manifest.json`: mirrored paths and commits (no credentials). +- `patches/strat-creator/`: emulator patches for the public strat-creator. + The patches for the private GitLab projects quote private source, so they + live outside this repository, in `$CC75_PRIVATE_PATCHES` (default + `~/.cache/cc75/private-patches`). +- `smoke/`: CI smoke projects pushed to the GitLab emulator as `cc75/`. +- `recording/`: records the demo as a captioned, narrated video; see + [`recording/README.md`](recording/README.md). +- `evidence/`: sanitised run summaries. Full CI traces stay on the host under + `~/.cache/cc75/traces/`. diff --git a/var/demos/initiatives/catalogue.yaml b/var/demos/initiatives/catalogue.yaml new file mode 100644 index 0000000..e67b414 --- /dev/null +++ b/var/demos/initiatives/catalogue.yaml @@ -0,0 +1,412 @@ +# CC-75 synthetic Initiative catalogue. +# +# Everything here is fictional: product areas, people, components and text. +# No real Red Hat Jira keys, names or ticket text. The Initiatives deliberately +# span a range of quality, length and decomposition. generate_initiatives.py renders this file into +# Jira-API-shaped issues plus the expected.yaml oracle. + +version: 1 +anchor_date: "2026-11-01T12:00:00.000+0000" # created dates count back from here +key_base: 75001 # synthetic key block per project +fixture_label: cc75-synthetic + +roster: + pms: [synth-pm-01, synth-pm-02, synth-pm-03, synth-pm-04, synth-pm-05, synth-pm-06] + engineers: [synth-eng-01, synth-eng-02, synth-eng-03, synth-eng-04] + +outcomes: + - id: O1 + summary: Trustworthy platform foundations + reporter: synth-pm-01 + assignee: synth-pm-01 + status: In Progress + created_days_ago: 300 + - id: O2 + summary: Multi-cluster operations at scale + reporter: synth-pm-02 + assignee: synth-pm-02 + status: In Progress + created_days_ago: 260 + - id: O3 + summary: Developer productivity for model builders + reporter: synth-pm-03 + assignee: synth-pm-03 + status: New + created_days_ago: 120 + +# Synthetic RFEs, only to be the source of Cloners links. +rfes: + - id: R1 + summary: Show GPU quota consumption per team + reporter: synth-pm-04 + - id: R2 + summary: Report CI spend per repository + reporter: synth-pm-06 + +# Pipeline label variants (see plan section 4.3): +# opted-in initiative-autofix-opt-in +# rubric-pass opted-in + initiative-autofix-rubric-pass +# needs-attn opted-in + initiative-needs-attention +initiatives: + - id: I01 + archetype: G-rich + area: Lanternfish telemetry + summary: Fleet-wide inference telemetry with Lanternfish + template: freehand + ac: true + status: In Progress + created_days_ago: 150 + reporter: synth-pm-01 + assignee: synth-eng-01 + components: [synth-observability] + outcome: O1 + variant: opted-in + epics: [{project: RHAI, count: 4, blocks: [[1, 2], [2, 3]]}] + links: [{type: Relates, to: I13}] + + - id: I02 + archetype: T-killed + area: Saltmarsh batch scheduler + summary: Priority queues for the Saltmarsh batch scheduler + template: freehand + status: Closed + resolution: Won't Do + created_days_ago: 280 + resolved_days_ago: 190 + reporter: synth-pm-02 + assignee: synth-eng-02 + components: [synth-runtime] + noise_labels: [synth-theme-aurora, synth-scrum-teal] + target_version: synth-1.4 + epics: [{project: RHAI, count: 2, status: Closed}] + links: [{type: Blocks, to: I21}] + + - id: I03 + archetype: G-tight + area: Brackwater artefact cache + summary: Brackwater artefact cache for offline model installs + template: fpdor + ac: true + status: New + created_days_ago: 40 + reporter: synth-pm-01 + assignee: synth-pm-01 + components: [synth-runtime, synth-installer] + outcome: O1 + target_version: synth-2.0 + variant: rubric-pass + + - id: I04 + archetype: T-eng-phased + area: Quillwork design reviews + summary: Formalise design review checkpoints with Quillwork + template: phased + status: Closed + resolution: Obsolete + created_days_ago: 330 + resolved_days_ago: 200 + reporter: synth-eng-03 + assignee: synth-eng-03 + epics: [{project: RHOAIENG, count: 1, status: Closed}] + + - id: I05 + archetype: G-template + area: Basalt base images + summary: Basalt base images with preinstalled accelerator libraries + template: fpdor + ac: true + status: Closed + resolution: Done + created_days_ago: 240 + resolved_days_ago: 90 + reporter: synth-pm-03 + assignee: synth-eng-04 + components: [synth-images] + outcome: O1 + noise_labels: [synth-high-impact] + target_version: synth-1.6 + rice: {score: 42, effort: 5} + epics: + - {project: RHAI, count: 5, status: Closed, blocks: [[1, 2]]} + - {project: RHOAIENG, count: 1, status: Closed} + links: [{type: Blocks, to: I03}, {type: Relates, to: I14}] + + - id: I06 + archetype: T-fieldgap + area: Driftwood notebook sync + summary: Two-way notebook sync with Driftwood + template: freehand + dod: true + status: Refinement + created_days_ago: 70 + reporter: synth-eng-01 + assignee: synth-eng-01 + outcome: O3 + variant: rubric-pass + epics: [{project: RHAI, count: 2}] + links: [{type: Relates, to: I12}] + + - id: I07 + archetype: T-median + area: Marigold evaluation harness + summary: Marigold evaluation harness for fine-tuned models + template: freehand + status: New + created_days_ago: 25 + reporter: synth-pm-04 + assignee: synth-eng-02 + components: [synth-evaluation] + variant: rubric-pass + + - id: I08 + archetype: P-glyph + summary_raw: "==================" + template: empty + status: New + created_days_ago: 610 + reporter: synth-pm-05 + variant: opted-in + links: [{type: Relates, to: I17}] + + - id: I09 + archetype: P-titleonly + area: Tidewater codec + summary: Pending legal sign-off for Tidewater codec redistribution + template: empty + status: New + created_days_ago: 95 + reporter: synth-pm-05 + + - id: I10 + archetype: T-tracker + area: Sparrow runtime team + summary: Onboard new Sparrow runtime team members + template: tracker + status: Closed + resolution: Done + created_days_ago: 160 + resolved_days_ago: 80 + reporter: synth-eng-02 + assignee: synth-eng-02 + components: [synth-runtime] + stories: {project: RHAI, count: 3, status: Closed} + + - id: I11 + archetype: P-cryptic + summary_raw: QXR + template: empty + status: Backlog + created_days_ago: 400 + reporter: synth-eng-04 + links: [{type: Duplicate, to: I09}] + + - id: I12 + archetype: T-fpdor-eng + area: Pumice GPU quotas + summary: Pumice GPU quota dashboard for platform teams + template: fpdor + ac: true + status: In Progress + created_days_ago: 110 + reporter: synth-pm-04 + assignee: synth-eng-03 + components: [synth-ui] + noise_labels: [synth-scrum-teal] + variant: opted-in + epics: [{project: RHOAIENG, count: 3}] + links: [{type: Cloners, to: R1}] + + - id: I13 + archetype: T-table + area: Cobalt serving autoscaler + summary: Cobalt autoscaler for model-serving replicas + template: freehand + table: true + ac: true + status: Review + created_days_ago: 130 + reporter: synth-pm-02 + assignee: synth-eng-04 + components: [synth-serving] + outcome: O1 + target_version: synth-2.0 + epics: + - {project: RHAI, count: 2} + - {project: AIPCC, count: 1} + + - id: I14 + archetype: T-tail + area: Ironbark multi-cluster rollout + summary: Ironbark staged rollout across managed clusters + template: strategy + status: In Progress + created_days_ago: 200 + reporter: synth-pm-02 + assignee: synth-pm-02 + components: [synth-fleet, synth-installer] + outcome: O2 + noise_labels: [synth-theme-aurora] + target_version: synth-2.0 + rice: {score: 77, effort: 13} + epics: [{project: RHAI, count: 12, blocks: [[1, 2], [2, 3], [3, 5], [8, 9]]}] + links: [{type: Blocks, to: I22}] + + - id: I15 + archetype: T-eng-phased + area: Fennel release engineering + summary: Fennel release engineering for the inference stack + template: phased + status: To Do + created_days_ago: 45 + reporter: synth-eng-03 + assignee: synth-eng-01 + variant: opted-in + epics: [{project: RHAI, count: 2}] + links: [{type: Relates, to: I04}, {type: Depend, to: I14}] + + - id: I16 + archetype: T-long + area: Juniper data lineage + summary: End-to-end data lineage with Juniper + template: freehand + long: true + ac: true + status: Refinement + created_days_ago: 60 + reporter: synth-pm-03 + assignee: synth-pm-03 + components: [synth-data] + variant: rubric-pass + links: [{type: Relates, to: I07}] + + # I17-I19: a bulk-created batch (same day, one reporter, different owners). + - id: I17 + archetype: T-bulk + area: Wren test-failure visibility + summary: Wren test-failure visibility for release owners + template: freehand + status: New + created_days_ago: 12 + reporter: synth-pm-06 + assignee: synth-eng-01 + components: [synth-ci] + variant: needs-attn + epics: [{project: RHAI, count: 1}] + + - id: I18 + archetype: T-bulk + area: Wren flaky-test quarantine + summary: Wren flaky-test quarantine and triage + template: fpdor + ac: true + status: In Progress + created_days_ago: 12 + reporter: synth-pm-06 + assignee: synth-eng-02 + components: [synth-ci] + variant: rubric-pass + pipeline_labels_extra: [initiative-ignore] + epics: [{project: RHAI, count: 2}] + + - id: I19 + archetype: T-bulk + area: Wren CI cost reporting + summary: Wren CI cost reporting per repository + template: freehand + status: To Do + created_days_ago: 12 + reporter: synth-pm-06 + assignee: synth-eng-04 + components: [synth-ci] + variant: rubric-pass + pipeline_labels_extra: [strat-creator-ignore] + epics: [{project: RHAI, count: 1}] + links: [{type: Cloners, to: R2}] + + - id: I20 + archetype: P-short + area: Ember sandbox hardening + summary: Ember sandbox hardening + template: short + status: In Progress + created_days_ago: 30 + reporter: synth-eng-04 + assignee: synth-eng-04 + variant: rubric-pass + pipeline_labels_extra: [strat-creator-processing] # stale lock + + - id: I21 + archetype: G-closed-labelled + area: Slate audit logging + summary: Slate audit logging for administrative actions + template: fpdor + ac: true + status: Closed + resolution: Done + created_days_ago: 210 + resolved_days_ago: 70 + reporter: synth-pm-05 + assignee: synth-eng-03 + components: [synth-security] + variant: rubric-pass + epics: [{project: RHAI, count: 3, status: Closed}] + + # I22-I24: already through strat-creator and human sign-off; decomposition inputs. + - id: I22 + archetype: S-signed + area: Thornbill network policy baseline + summary: Thornbill default network policy baseline for workloads + template: strategy + status: Release Pending + created_days_ago: 100 + reporter: synth-eng-02 + assignee: synth-eng-02 + components: [synth-security, synth-networking] + outcome: O2 + variant: rubric-pass + pipeline_labels_extra: [strat-creator-auto-refined, strat-creator-rubric-pass, strat-creator-human-sign-off] + + - id: I23 + archetype: S-signed-children + area: Alder secrets rotation + summary: Alder automatic secrets rotation for platform services + template: freehand + ac: true + status: In Progress + created_days_ago: 140 + reporter: synth-pm-01 + assignee: synth-eng-03 + components: [synth-security] + variant: rubric-pass + pipeline_labels_extra: [strat-creator-auto-refined, strat-creator-rubric-pass, strat-creator-human-sign-off] + epics: [{project: RHAI, count: 3, blocks: [[1, 2]]}] + + - id: I24 + archetype: S-signed-legacy + area: Osprey SBOM publication + summary: Osprey SBOM publication for shipped images + template: strategy + status: Refinement + created_days_ago: 180 + reporter: synth-pm-03 + assignee: synth-eng-04 + components: [synth-images] + variant: rubric-pass + pipeline_labels_extra: [strat-creator-auto-refined, strat-creator-rubric-pass, strat-creator-human-sign-off] + legacy_incorporates_epic: {project: RHAI} + + # I25: written to pass strategy review (demo), unlike the archetypes above. Bounded scope, + # measurable requirements, explicit non-goals and dependencies on existing public components. + - id: I25 + archetype: G-exemplar + area: Bramblewick MLServer trace export + summary: Bramblewick trace export from the MLServer runtime for predictive serving + template: exemplar + status: New + created_days_ago: 12 + reporter: synth-pm-02 + assignee: synth-eng-03 + components: [synth-serving, synth-observability] + outcome: O1 + target_version: synth-2.0 + variant: rubric-pass diff --git a/var/demos/initiatives/credentials-manifest.json b/var/demos/initiatives/credentials-manifest.json new file mode 100644 index 0000000..e14f877 --- /dev/null +++ b/var/demos/initiatives/credentials-manifest.json @@ -0,0 +1,50 @@ +{ + "version": 1, + "checked_at": "2026-11-17T01:47:25.214018+00:00", + "jira_bot": "cc75-strat-bot", + "jira_token_rotated": false, + "jira_basic_auth_check": true, + "gitlab_token_rotated": false, + "projects": { + "strat-pipeline": 4, + "rfe-autofixer": 6, + "epic-decomposer": 7 + }, + "username_variable": { + "strat-pipeline": "JIRA_USERNAME", + "rfe-autofixer": "JIRA_USERNAME", + "epic-decomposer": "JIRA_USERNAME" + }, + "ca_file_variables": [ + "SSL_CERT_FILE", + "REQUESTS_CA_BUNDLE", + "CURL_CA_BUNDLE", + "GIT_SSL_CAINFO", + "NODE_EXTRA_CA_CERTS", + "CC75_SANDBOX_CA" + ], + "project_settings": { + "rfe-autofixer": { + "CC75_SKIP_PERMISSIONS_PROBE": "1", + "CLAUDE_CONTAINER_IMAGE": "quay.io/aipcc/agentic-ci/claude-sandbox:0.3.46" + } + }, + "variables_visible": [ + "JIRA_SERVER", + "EXTRA_CA_FILE", + "STRAT_CREATOR_RAW_BASE", + "STRAT_RESULTS_GIT_BASE", + "RESULTS_REPO", + "GCP_PROJECT_ID" + ], + "variables_masked": [ + "JIRA_API_TOKEN", + "RESULTS_PUSH_TOKEN" + ], + "variables_file": [ + "GOOGLE_APPLICATION_CREDENTIALS" + ], + "notes": [ + "Raw credentials are not written to this report." + ] +} diff --git a/var/demos/initiatives/demo-script.md b/var/demos/initiatives/demo-script.md new file mode 100644 index 0000000..936973b --- /dev/null +++ b/var/demos/initiatives/demo-script.md @@ -0,0 +1,113 @@ +# Initiatives demo on the emulators (about 25 minutes) + +The Initiative flow end to end on w530, with no production systems: +rfe-creator autofix → strat-creator Initiative strategy → human sign-off → +epic-creator decomposition. Every step runs the production job that a scenario +verified (S3–S10); nothing is simulated. All data is synthetic (`[SYNTH]` +summaries, `cc75-*` labels, `75001+` keys). Model calls go through Model Relay +(`claude-opus-5-5`). + +Run the commands on w530 from `~/breadboard-cc75/var/demos/initiatives`: + +```bash +export BREADBOARD_DOMAIN=w530.local BREADBOARD_CA_FILE=~/.cache/cc75/w530-ca.crt PYTHONUNBUFFERED=1 +``` + +Open beside the terminal: the Jira emulator (`https://jira.w530.local`), the +GitLab emulator (`https://gitlab.w530.local`) and the Model Relay console +(`https://relay.w530.local`, project `cc75-initiatives`). + +Model steps take 14–24 minutes each, so start them while you talk (the +command returns once the job is playing; `--wait` follows it to the end). The +timings and costs below are from the 2026-11-17 rehearsal on the eventual-state +mirror (`main`, `JIRA_USERNAME`; rehearsals 3 and 5 in the ledger). + +| # | Step | Command | Time | Model cost | Verified by | +| --- | --- | --- | --- | --- | --- | +| 0 | Reset | `python3 scripts/demo.py reset` | 1 min | — | S9 | +| 1 | The board | `python3 scripts/demo.py board` | 2 min | — | S0, S1 | +| 2 | Opt-in | `python3 scripts/demo.py optin RHAISTRAT-75005` | 1 min | — | S1 | +| 3 | Autofix | `python3 scripts/demo.py autofix` | 14 min (background) | ~$4 (3 Initiatives) | S5, rehearsal 3 | +| 4 | Tripwire | `python3 scripts/demo.py tripwire` | 2 min | — | S3 | +| 5 | Live strategy | `python3 scripts/demo.py live RHAISTRAT-75028` | 24 min (background) | ~$8 | S7, rehearsal 3 (rubric pass) | +| 6 | Human sign-off | `python3 scripts/demo.py signoff RHAISTRAT-75028` | 1 min | — | S8, demo check | +| 7 | Decomposition | `python3 scripts/demo.py decompose` | 20 min (background) | ~$5.50 per Initiative | S8, rehearsal 5 (12 Epics) | +| 8 | Switch off and roll back | `python3 scripts/demo.py killswitch`, then `reset` | 2 min | — | S9 | + +Total model cost is about $18 with 75028 decomposed alone, or about $35 with every +signed-off Initiative decomposed (see step 7). Steps 3, 5 and 7 can run in parallel with +the talk track; start 3 and 5 early. + +## Talk track + +0. **Reset.** The Jira emulator returns to the `cc75-baseline` snapshot: 3 + Outcomes, 25 Initiatives, their child Epics and 2 RFEs, all synthetic. +1. **The board.** Initiatives span the quality range on purpose: tight ones + (75004–75006), field gaps, poor and very long ones, ones already signed off, + and one with hand-made Epics (75026). Point at `initiative-autofix-opt-in`: + only opted-in Initiatives are ever touched. +2. **Opt-in.** The owner opts one more in. The label is the canary boundary; + rfe-autofixer and strat-creator both require it. +3. **Autofix.** rfe-autofixer's production schedule-only job, played from an + inactive schedule, reviews the first opted-in Initiatives. Expect a revised + Initiative (S5: 75006 went from 6 to 9/10) and `[Initiative Creator]` + comments. `initiative-needs-attention` can sit next to + `initiative-autofix-rubric-pass`: the Initiative passed, and a human should + still look. +4. **Tripwire.** A live Initiative run on strat-pipeline `main` without + `INITIATIVE_LIVE=on` is refused: its `python-tests` job fails. Rollout + is flags and run configuration on `main`, not a staging + branch. +5. **Live strategy.** On strat-pipeline `main` with `INITIATIVE_LIVE=on` (the + proposed cutover flag: the tripwire stays, and the owners flip one variable to + go live), strat-creator writes + the strategy for RHAISTRAT-75028, the Initiative written to pass review. + `demo.py show RHAISTRAT-75028`: the `-strategy.md` and `-review.md` + attachments and `strat-creator-rubric-pass`; `demo.py results` for + `initiative-strategy/` in the data repo. In the check run it scored 7/8 + (APPROVE). Contrast: the archetypes scored 4/8 and an earlier, broader draft + of 75028 5/8 (REVISE): "every inference request" pulled in runtimes without + tracing hooks and a gRPC path the ingress does not route. Snapshot + `cc75-demo-75028-approved` holds this state if the run is skipped. +6. **Human sign-off.** The one manual gate: `demo.py signoff RHAISTRAT-75028` + adds `strat-creator-human-sign-off`. +7. **Decomposition.** epic-creator #40 (rhai-initiative workload) through + epic-decomposer creates RHAI Epics under every signed-off Initiative, with + `Blocks` links and `epic-creator-auto-decomposed`. In rehearsal 5 75028 + became 12 Epics (three spikes, the product decisions, the MLServer patch and + wheel rebuild, controller injection and admission warning, collector + ingress, the parallel-worker span, the attribute allowlist, the e2e suite and + benchmark), after one review/revise round (11/14 -> 14/14); + `demo.py show RHAISTRAT-75028` lists them. Snapshot + `cc75-rehearsal5-decomposed` holds that state (`cc75-demo-75028-decomposed` + is the earlier 11-Epic run). The job YAML is production's; `demo.py` + passes `CLAUDE_REPO`/`CLAUDE_REPO_BRANCH` (#40, `pr-40` in the GitHub + emulator) and `RESULTS_REPO` (emulator) as pipeline variables. The fixture's 75025–75027 are + also signed off, so the run decomposes them too (about $5 each) and shows the + finding: RHAISTRAT-75026 already had three Epics and gets more (S8: +5), + because #40 skips only on its own label. To decompose 75028 alone, remove + `strat-creator-human-sign-off` from 75025–75027 first. +8. **Switch off and roll back.** With `INITIATIVE_STRATEGIES` unset the + pipeline offers only the RFE batch; `reset` restores the baseline exactly + (S9 compares every issue). + +## If a step fails + +Each step is the same job the scenario runners use, with the same evidence +under `evidence/`. A failed model step costs nothing to retry until the agent +starts; check the job trace link the command prints. The scenario runners +(`scripts/run_*.py`) re-check a step with assertions. + +## Known differences from production + +The mirror adapts the private GitLab projects to the emulators and to w530 +(sandbox images its CPU can run, emulator gaps, Model Relay). Those patches +quote private source, so they live outside this repository +(`$CC75_PRIVATE_PATCHES`, default `~/.cache/cc75/private-patches`). In +behaviour: + +- `decompose-initiatives` is a proposed epic-decomposer job, and needs + epic-creator #40. +- Every project carries `JIRA_USERNAME` only, as production will. +- A live Initiative run uses the proposed `INITIATIVE_LIVE=on` flag on `main`; + production has no live path yet. diff --git a/var/demos/initiatives/evidence/S10-20261116T203842Z.json b/var/demos/initiatives/evidence/S10-20261116T203842Z.json new file mode 100644 index 0000000..2f9dd31 --- /dev/null +++ b/var/demos/initiatives/evidence/S10-20261116T203842Z.json @@ -0,0 +1,100 @@ +{ + "scenario": "S10", + "pipeline": 67, + "variables": { + "STRAT_EXECUTOR": "fullsend", + "RFE_KEY": "RHAIRFE-75003", + "STRAT_CREATOR_REPO": "https://github-emulator.ai-pipeline.svc.cluster.local/fullsend-ai/strat-creator.git", + "STRAT_CREATOR_BRANCH": "cc75-emulator" + }, + "jobs": { + "fullsend-input-check": "success", + "python-tests": "success", + "workflow-single-rfe": "success", + "build-dashboard": "success" + }, + "rfe": "RHAIRFE-75003", + "new_rhaistrat": [ + "RHAISTRAT-75028" + ], + "feature_labels": [ + "cc75-s10", + "cc75-synthetic", + "strat-creator-3.7", + "strat-creator-auto-created", + "strat-creator-auto-refined", + "strat-creator-clone-c5ac5167b95e6f0b90cffadcca46a29d", + "strat-creator-rubric-pass" + ], + "rfe_labels": [ + "cc75-s10", + "cc75-synthetic", + "rfe-creator-autofix-rubric-pass", + "strat-creator-3.7" + ], + "clone_links": { + "RHAISTRAT-75028": [ + [ + "Cloners", + "RHAIRFE-75003" + ] + ] + }, + "written_keys": [ + "RHAIRFE-75003", + "RHAISTRAT-75028" + ], + "write_paths": [ + "POST /rest/api/3/issue", + "POST /rest/api/3/issue/RHAISTRAT-75028/attachments", + "POST /rest/api/3/issue/RHAISTRAT-75028/comment", + "POST /rest/api/3/issueLink", + "PUT /rest/api/3/issue/RHAIRFE-75003", + "PUT /rest/api/3/issue/RHAISTRAT-75028" + ], + "data_repo_new_paths": { + "RHAISTRAT": [ + "RHAISTRAT/current", + "RHAISTRAT/run-gitlab-job-277/.publication.json", + "RHAISTRAT/run-gitlab-job-277/pipeline-data.json", + "RHAISTRAT/run-gitlab-job-277/reports/report.html", + "RHAISTRAT/run-gitlab-job-277/strat-originals/RHAIRFE-75003-comments.md", + "RHAISTRAT/run-gitlab-job-277/strat-originals/RHAIRFE-75003.md", + "RHAISTRAT/run-gitlab-job-277/strat-reviews/RHAISTRAT-75028-review-architecture.md", + "RHAISTRAT/run-gitlab-job-277/strat-reviews/RHAISTRAT-75028-review-comment.md", + "RHAISTRAT/run-gitlab-job-277/strat-reviews/RHAISTRAT-75028-review-feasibility.md", + "RHAISTRAT/run-gitlab-job-277/strat-reviews/RHAISTRAT-75028-review-provenance.json", + "RHAISTRAT/run-gitlab-job-277/strat-reviews/RHAISTRAT-75028-review-scope.md", + "RHAISTRAT/run-gitlab-job-277/strat-reviews/RHAISTRAT-75028-review-scorer.md", + "RHAISTRAT/run-gitlab-job-277/strat-reviews/RHAISTRAT-75028-review-testability.md", + "RHAISTRAT/run-gitlab-job-277/strat-reviews/RHAISTRAT-75028-review.md", + "RHAISTRAT/run-gitlab-job-277/strat-tasks/RHAISTRAT-75028.md", + "RHAISTRAT/run-gitlab-job-277/strat-tickets.md", + "RHAISTRAT/summary-production.json", + "RHAISTRAT/summary.json" + ], + "initiative-strategy": [] + }, + "cost_lines": [ + "6.6074", + "6.6074" + ], + "checks": { + "job success": true, + "python-tests success": true, + "exactly one new RHAISTRAT issue": true, + "it is a Feature": true, + "cloned from the RFE": true, + "Feature has a gate label": true, + "Feature has no initiative-* label": true, + "RFE has no initiative-* label": true, + "writes only to the RFE and the new Feature": true, + "no Initiative written": true, + "results under RHAISTRAT/": true, + "nothing new under initiative-strategy/": true + }, + "ok": true, + "kept_as_snapshot": "snapshot_cc75-after-S10_20261116_203842.db", + "restored_after": "snapshot_cc75-baseline_20261116_182256.db", + "checked_at": "2026-11-16T20:38:42.056307+00:00" +} diff --git a/var/demos/initiatives/evidence/S3-20261116T005039Z.json b/var/demos/initiatives/evidence/S3-20261116T005039Z.json new file mode 100644 index 0000000..bde1297 --- /dev/null +++ b/var/demos/initiatives/evidence/S3-20261116T005039Z.json @@ -0,0 +1,32 @@ +{ + "scenario": "S3", + "pipeline": 4, + "variables": { + "INITIATIVE_STRATEGIES": "on", + "STRAT_EXECUTOR": "fullsend" + }, + "jobs": { + "fullsend-input-check": { + "id": 4, + "status": "failed", + "stage": "validate" + }, + "python-tests": { + "id": 5, + "status": "failed", + "stage": "validate", + "expected_status": "failed", + "status_ok": true, + "marker": "", + "marker_found": true + }, + "workflow-batch-initiative": { + "id": 6, + "status": "manual", + "stage": "strategy" + } + }, + "jira_writes": [], + "ok": true, + "checked_at": "2026-11-16T00:50:39.419276+00:00" +} diff --git a/var/demos/initiatives/evidence/S3-20261116T115338Z.json b/var/demos/initiatives/evidence/S3-20261116T115338Z.json new file mode 100644 index 0000000..9108f96 --- /dev/null +++ b/var/demos/initiatives/evidence/S3-20261116T115338Z.json @@ -0,0 +1,39 @@ +{ + "scenario": "S3", + "pipeline": 23, + "variables": { + "INITIATIVE_STRATEGIES": "on", + "STRAT_EXECUTOR": "fullsend" + }, + "ref": "main", + "fixture": null, + "jobs": { + "fullsend-input-check": { + "id": 45, + "status": "running", + "stage": "validate" + }, + "python-tests": { + "id": 46, + "status": "failed", + "stage": "validate", + "expected_status": "failed", + "status_ok": true, + "marker": "", + "marker_found": true + }, + "workflow-batch-initiative": { + "id": 47, + "status": "manual", + "stage": "strategy" + } + }, + "live": null, + "jira_writes": [], + "jira_read_posts": [], + "ok": true, + "checked_at": "2026-11-16T11:53:38.209804+00:00", + "post_review": { + "note": "Re-run after adding the cc75-live branch: the emulator main still refuses a live Initiative run." + } +} diff --git a/var/demos/initiatives/evidence/S3-20261116T230324Z.json b/var/demos/initiatives/evidence/S3-20261116T230324Z.json new file mode 100644 index 0000000..5f05791 --- /dev/null +++ b/var/demos/initiatives/evidence/S3-20261116T230324Z.json @@ -0,0 +1,36 @@ +{ + "scenario": "S3", + "pipeline": 80, + "variables": { + "INITIATIVE_STRATEGIES": "on", + "STRAT_EXECUTOR": "fullsend" + }, + "ref": "main", + "fixture": null, + "jobs": { + "fullsend-input-check": { + "id": 318, + "status": "failed", + "stage": "validate" + }, + "python-tests": { + "id": 319, + "status": "failed", + "stage": "validate", + "expected_status": "failed", + "status_ok": true, + "marker": "", + "marker_found": true + }, + "workflow-batch-initiative": { + "id": 320, + "status": "manual", + "stage": "strategy" + } + }, + "live": null, + "jira_writes": [], + "jira_read_posts": [], + "ok": true, + "checked_at": "2026-11-16T23:03:24.795730+00:00" +} diff --git a/var/demos/initiatives/evidence/S3-control-20261116T005113Z.json b/var/demos/initiatives/evidence/S3-control-20261116T005113Z.json new file mode 100644 index 0000000..e2e66d1 --- /dev/null +++ b/var/demos/initiatives/evidence/S3-control-20261116T005113Z.json @@ -0,0 +1,32 @@ +{ + "scenario": "S3-control", + "pipeline": 5, + "variables": { + "INITIATIVE_STRATEGIES": "on", + "STRAT_EXECUTOR": "fullsend", + "STRAT_DRY_RUN": "1", + "FULLSEND_PUBLISH": "0" + }, + "jobs": { + "fullsend-input-check": { + "id": 7, + "status": "failed", + "stage": "validate" + }, + "python-tests": { + "id": 8, + "status": "success", + "stage": "validate", + "expected_status": "success", + "status_ok": true + }, + "workflow-batch-initiative": { + "id": 9, + "status": "manual", + "stage": "strategy" + } + }, + "jira_writes": [], + "ok": true, + "checked_at": "2026-11-16T00:51:13.521158+00:00" +} diff --git a/var/demos/initiatives/evidence/S4-20261116T005801Z.json b/var/demos/initiatives/evidence/S4-20261116T005801Z.json new file mode 100644 index 0000000..5c8478f --- /dev/null +++ b/var/demos/initiatives/evidence/S4-20261116T005801Z.json @@ -0,0 +1,45 @@ +{ + "scenario": "S4", + "pipeline": 6, + "variables": { + "INITIATIVE_STRATEGIES": "on", + "STRAT_EXECUTOR": "fullsend", + "STRAT_DRY_RUN": "1", + "FULLSEND_PUBLISH": "0", + "STRAT_CREATOR_REPO": "https://github-emulator.ai-pipeline.svc.cluster.local/fullsend-ai/strat-creator.git", + "STRAT_CREATOR_BRANCH": "cc75-emulator", + "BATCH_SIZE": "1" + }, + "fixture": { + "baseline": "snapshot_cc75-baseline_20261116_003128.db", + "variant": "no-opt-in", + "opt_in_removed": 16, + "restored_after": "snapshot_cc75-baseline_20261116_003128.db" + }, + "jobs": { + "fullsend-input-check": { + "id": 10, + "status": "success", + "stage": "validate", + "expected_status": "success", + "status_ok": true + }, + "python-tests": { + "id": 11, + "status": "success", + "stage": "validate", + "expected_status": "success", + "status_ok": true + }, + "workflow-batch-initiative": { + "id": 12, + "status": "failed", + "stage": "strategy", + "expected_status": "success", + "status_ok": false + } + }, + "jira_writes": [], + "ok": false, + "checked_at": "2026-11-16T00:58:01.821898+00:00" +} diff --git a/var/demos/initiatives/evidence/S4-20261116T010351Z.json b/var/demos/initiatives/evidence/S4-20261116T010351Z.json new file mode 100644 index 0000000..759b78d --- /dev/null +++ b/var/demos/initiatives/evidence/S4-20261116T010351Z.json @@ -0,0 +1,56 @@ +{ + "scenario": "S4", + "pipeline": 7, + "variables": { + "INITIATIVE_STRATEGIES": "on", + "STRAT_EXECUTOR": "fullsend", + "STRAT_DRY_RUN": "1", + "FULLSEND_PUBLISH": "0", + "STRAT_CREATOR_REPO": "https://github-emulator.ai-pipeline.svc.cluster.local/fullsend-ai/strat-creator.git", + "STRAT_CREATOR_BRANCH": "cc75-emulator", + "BATCH_SIZE": "1" + }, + "fixture": { + "baseline": "snapshot_cc75-baseline_20261116_003128.db", + "variant": "no-opt-in", + "opt_in_removed": 16, + "restored_after": "snapshot_cc75-baseline_20261116_003128.db" + }, + "jobs": { + "fullsend-input-check": { + "id": 13, + "status": "success", + "stage": "validate", + "expected_status": "success", + "status_ok": true + }, + "python-tests": { + "id": 14, + "status": "success", + "stage": "validate", + "expected_status": "success", + "status_ok": true + }, + "workflow-batch-initiative": { + "id": 15, + "status": "success", + "stage": "strategy", + "expected_status": "success", + "status_ok": true + } + }, + "jira_writes": [ + { + "method": "POST", + "path": "/rest/api/3/search/jql", + "status": 200 + }, + { + "method": "POST", + "path": "/rest/api/3/search/jql", + "status": 200 + } + ], + "ok": false, + "checked_at": "2026-11-16T01:03:51.069670+00:00" +} diff --git a/var/demos/initiatives/evidence/S4-20261116T010846Z.json b/var/demos/initiatives/evidence/S4-20261116T010846Z.json new file mode 100644 index 0000000..92af3d8 --- /dev/null +++ b/var/demos/initiatives/evidence/S4-20261116T010846Z.json @@ -0,0 +1,59 @@ +{ + "scenario": "S4", + "pipeline": 8, + "variables": { + "INITIATIVE_STRATEGIES": "on", + "STRAT_EXECUTOR": "fullsend", + "STRAT_DRY_RUN": "1", + "FULLSEND_PUBLISH": "0", + "STRAT_CREATOR_REPO": "https://github-emulator.ai-pipeline.svc.cluster.local/fullsend-ai/strat-creator.git", + "STRAT_CREATOR_BRANCH": "cc75-emulator", + "BATCH_SIZE": "1" + }, + "fixture": { + "baseline": "snapshot_cc75-baseline_20261116_003128.db", + "variant": "no-opt-in", + "opt_in_removed": 16, + "restored_after": "snapshot_cc75-baseline_20261116_003128.db" + }, + "jobs": { + "fullsend-input-check": { + "id": 16, + "status": "success", + "stage": "validate", + "expected_status": "success", + "status_ok": true + }, + "python-tests": { + "id": 17, + "status": "success", + "stage": "validate", + "expected_status": "success", + "status_ok": true + }, + "workflow-batch-initiative": { + "id": 18, + "status": "success", + "stage": "strategy", + "expected_status": "success", + "status_ok": true + } + }, + "jira_writes": [], + "jira_read_posts": [ + { + "method": "POST", + "path": "/rest/api/3/search/jql", + "status": 200, + "user": "cc75-strat-bot" + }, + { + "method": "POST", + "path": "/rest/api/3/search/jql", + "status": 200, + "user": "cc75-strat-bot" + } + ], + "ok": true, + "checked_at": "2026-11-16T01:08:46.969578+00:00" +} diff --git a/var/demos/initiatives/evidence/S4-20261116T013408Z.json b/var/demos/initiatives/evidence/S4-20261116T013408Z.json new file mode 100644 index 0000000..e67d76a --- /dev/null +++ b/var/demos/initiatives/evidence/S4-20261116T013408Z.json @@ -0,0 +1,59 @@ +{ + "scenario": "S4", + "pipeline": 13, + "variables": { + "INITIATIVE_STRATEGIES": "on", + "STRAT_EXECUTOR": "fullsend", + "STRAT_DRY_RUN": "1", + "FULLSEND_PUBLISH": "0", + "STRAT_CREATOR_REPO": "https://github-emulator.ai-pipeline.svc.cluster.local/fullsend-ai/strat-creator.git", + "STRAT_CREATOR_BRANCH": "cc75-emulator", + "BATCH_SIZE": "1" + }, + "fixture": { + "baseline": "snapshot_cc75-baseline_20261116_003128.db", + "variant": "no-opt-in", + "opt_in_removed": 16, + "restored_after": "snapshot_cc75-baseline_20261116_003128.db" + }, + "jobs": { + "fullsend-input-check": { + "id": 23, + "status": "success", + "stage": "validate", + "expected_status": "success", + "status_ok": true + }, + "python-tests": { + "id": 24, + "status": "success", + "stage": "validate", + "expected_status": "success", + "status_ok": true + }, + "workflow-batch-initiative": { + "id": 25, + "status": "success", + "stage": "strategy", + "expected_status": "success", + "status_ok": true + } + }, + "jira_writes": [], + "jira_read_posts": [ + { + "method": "POST", + "path": "/rest/api/3/search/jql", + "status": 200, + "user": "cc75-strat-bot" + }, + { + "method": "POST", + "path": "/rest/api/3/search/jql", + "status": 200, + "user": "cc75-strat-bot" + } + ], + "ok": true, + "checked_at": "2026-11-16T01:34:08.332635+00:00" +} diff --git a/var/demos/initiatives/evidence/S4-20261116T025615Z.json b/var/demos/initiatives/evidence/S4-20261116T025615Z.json new file mode 100644 index 0000000..92fa7af --- /dev/null +++ b/var/demos/initiatives/evidence/S4-20261116T025615Z.json @@ -0,0 +1,59 @@ +{ + "scenario": "S4", + "pipeline": 19, + "variables": { + "INITIATIVE_STRATEGIES": "on", + "STRAT_EXECUTOR": "fullsend", + "STRAT_DRY_RUN": "1", + "FULLSEND_PUBLISH": "0", + "STRAT_CREATOR_REPO": "https://github-emulator.ai-pipeline.svc.cluster.local/fullsend-ai/strat-creator.git", + "STRAT_CREATOR_BRANCH": "cc75-emulator", + "BATCH_SIZE": "1" + }, + "fixture": { + "baseline": "snapshot_cc75-baseline_20261116_003128.db", + "variant": "no-opt-in", + "opt_in_removed": 16, + "restored_after": "snapshot_cc75-baseline_20261116_003128.db" + }, + "jobs": { + "fullsend-input-check": { + "id": 35, + "status": "success", + "stage": "validate", + "expected_status": "success", + "status_ok": true + }, + "python-tests": { + "id": 36, + "status": "success", + "stage": "validate", + "expected_status": "success", + "status_ok": true + }, + "workflow-batch-initiative": { + "id": 37, + "status": "success", + "stage": "strategy", + "expected_status": "success", + "status_ok": true + } + }, + "jira_writes": [], + "jira_read_posts": [ + { + "method": "POST", + "path": "/rest/api/3/search/jql", + "status": 200, + "user": "cc75-strat-bot" + }, + { + "method": "POST", + "path": "/rest/api/3/search/jql", + "status": 200, + "user": "cc75-strat-bot" + } + ], + "ok": true, + "checked_at": "2026-11-16T02:56:15.452628+00:00" +} diff --git a/var/demos/initiatives/evidence/S4-20261116T230830Z.json b/var/demos/initiatives/evidence/S4-20261116T230830Z.json new file mode 100644 index 0000000..d770ba4 --- /dev/null +++ b/var/demos/initiatives/evidence/S4-20261116T230830Z.json @@ -0,0 +1,61 @@ +{ + "scenario": "S4", + "pipeline": 81, + "variables": { + "INITIATIVE_STRATEGIES": "on", + "STRAT_EXECUTOR": "fullsend", + "STRAT_DRY_RUN": "1", + "FULLSEND_PUBLISH": "0", + "STRAT_CREATOR_REPO": "https://github-emulator.ai-pipeline.svc.cluster.local/fullsend-ai/strat-creator.git", + "STRAT_CREATOR_BRANCH": "cc75-emulator", + "BATCH_SIZE": "1" + }, + "ref": "main", + "fixture": { + "baseline": "snapshot_cc75-baseline_20261116_210711.db", + "variant": "no-opt-in", + "opt_in_removed": 17, + "restored_after": "snapshot_cc75-baseline_20261116_210711.db" + }, + "jobs": { + "fullsend-input-check": { + "id": 321, + "status": "success", + "stage": "validate", + "expected_status": "success", + "status_ok": true + }, + "python-tests": { + "id": 322, + "status": "success", + "stage": "validate", + "expected_status": "success", + "status_ok": true + }, + "workflow-batch-initiative": { + "id": 323, + "status": "success", + "stage": "strategy", + "expected_status": "success", + "status_ok": true + } + }, + "live": null, + "jira_writes": [], + "jira_read_posts": [ + { + "method": "POST", + "path": "/rest/api/3/search/jql", + "status": 200, + "user": "cc75-strat-bot" + }, + { + "method": "POST", + "path": "/rest/api/3/search/jql", + "status": 200, + "user": "cc75-strat-bot" + } + ], + "ok": true, + "checked_at": "2026-11-16T23:08:30.957446+00:00" +} diff --git a/var/demos/initiatives/evidence/S5-20261116T174417Z.json b/var/demos/initiatives/evidence/S5-20261116T174417Z.json new file mode 100644 index 0000000..845791e --- /dev/null +++ b/var/demos/initiatives/evidence/S5-20261116T174417Z.json @@ -0,0 +1,144 @@ +{ + "scenario": "S5", + "pipeline": 56, + "schedule": 1, + "job": 197, + "jobs": { + "compare-parallel-period": "manual", + "python-tests": "success", + "test-alt-gcp-key": "manual", + "autofix-initiative": "success", + "autofix-initiative-stage-dry": "manual", + "autofix-rfe": "manual", + "autofix-rfe-alt-dry-run": "manual", + "autofix-rfe-alt-dry-run-46": "manual", + "autofix-rfe-anthropic": "manual", + "autofix-rfe-dry-fullsend": "manual", + "autofix-rfe-stage-dry": "manual" + }, + "checks": { + "job_success": true, + "watchdog_limit_ok": true, + "trace: cc75: model via Model Relay": true, + "trace: cc75: autofix limit 3, batch size 3": true, + "trace: Jira identity probe OK": true, + "trace: Jira permissions probe skipped": true, + "writes_only_opted_in": true, + "written_within_limit": true, + "results_pushed": true, + "RHAISTRAT-75004_summary_unchanged": true, + "RHAISTRAT-75006_summary_unchanged": true, + "RHAISTRAT-75009_summary_unchanged": true, + "RHAISTRAT-75004_has_outcome_label": true, + "RHAISTRAT-75006_has_outcome_label": true, + "RHAISTRAT-75009_has_outcome_label": true + }, + "written_keys": [ + "RHAISTRAT-75004", + "RHAISTRAT-75006", + "RHAISTRAT-75009" + ], + "label_changes": { + "RHAISTRAT-75004": { + "before": [ + "cc75-fx-i01", + "cc75-synthetic", + "initiative-autofix-opt-in" + ], + "after": [ + "cc75-fx-i01", + "cc75-synthetic", + "initiative-alignment-partial", + "initiative-autofix-opt-in", + "initiative-autofix-rubric-pass", + "initiative-feasibility-pass", + "initiative-needs-attention" + ] + }, + "RHAISTRAT-75006": { + "before": [ + "cc75-fx-i03", + "cc75-synthetic", + "initiative-autofix-opt-in", + "initiative-autofix-rubric-pass" + ], + "after": [ + "cc75-fx-i03", + "cc75-synthetic", + "initiative-alignment-partial", + "initiative-auto-revised", + "initiative-autofix-opt-in", + "initiative-autofix-rubric-pass", + "initiative-feasibility-pass" + ] + }, + "RHAISTRAT-75009": { + "before": [ + "cc75-fx-i06", + "cc75-synthetic", + "initiative-autofix-opt-in", + "initiative-autofix-rubric-pass" + ], + "after": [ + "cc75-fx-i06", + "cc75-synthetic", + "initiative-alignment-partial", + "initiative-autofix-opt-in", + "initiative-autofix-rubric-pass", + "initiative-feasibility-pass", + "initiative-needs-attention" + ] + } + }, + "comments_added": { + "RHAISTRAT-75004": 1, + "RHAISTRAT-75006": 0, + "RHAISTRAT-75009": 1 + }, + "initiative_creator_comments": { + "RHAISTRAT-75004": 1, + "RHAISTRAT-75006": 0, + "RHAISTRAT-75009": 1 + }, + "write_paths": [ + "POST /rest/api/3/issue/RHAISTRAT-75004/comment", + "POST /rest/api/3/issue/RHAISTRAT-75009/comment", + "PUT /rest/api/3/issue/RHAISTRAT-75004", + "PUT /rest/api/3/issue/RHAISTRAT-75006", + "PUT /rest/api/3/issue/RHAISTRAT-75009" + ], + "data_repo_new_paths": [ + "initiative-rhaistrat/20261116-173311/auto-fix-runs/initiative-run-20261116-173311-report.html", + "initiative-rhaistrat/20261116-173311/auto-fix-runs/initiative-run-20261116-173311.yaml", + "initiative-rhaistrat/20261116-173311/auto-fix-runs/initiative-snapshot-20261116-173315.yaml", + "initiative-rhaistrat/20261116-173311/initiative-originals/RHAISTRAT-75004.md", + "initiative-rhaistrat/20261116-173311/initiative-originals/RHAISTRAT-75006.md", + "initiative-rhaistrat/20261116-173311/initiative-originals/RHAISTRAT-75009.md", + "initiative-rhaistrat/20261116-173311/initiative-reviews/RHAISTRAT-75004-alignment.md", + "initiative-rhaistrat/20261116-173311/initiative-reviews/RHAISTRAT-75004-feasibility.md", + "initiative-rhaistrat/20261116-173311/initiative-reviews/RHAISTRAT-75004-review.md", + "initiative-rhaistrat/20261116-173311/initiative-reviews/RHAISTRAT-75006-alignment.md", + "initiative-rhaistrat/20261116-173311/initiative-reviews/RHAISTRAT-75006-feasibility.md", + "initiative-rhaistrat/20261116-173311/initiative-reviews/RHAISTRAT-75006-review.md", + "initiative-rhaistrat/20261116-173311/initiative-reviews/RHAISTRAT-75009-alignment.md", + "initiative-rhaistrat/20261116-173311/initiative-reviews/RHAISTRAT-75009-feasibility.md", + "initiative-rhaistrat/20261116-173311/initiative-reviews/RHAISTRAT-75009-review.md", + "initiative-rhaistrat/20261116-173311/initiatives/RHAISTRAT-75004.md", + "initiative-rhaistrat/20261116-173311/initiatives/RHAISTRAT-75006.md", + "initiative-rhaistrat/20261116-173311/initiatives/RHAISTRAT-75009.md", + "initiative-rhaistrat/20261116-173311/rfe-rubric.md", + "initiative-rhaistrat/latest" + ], + "ok": true, + "checked_at": "2026-11-16T17:44:17.920765+00:00", + "restored_after": "snapshot_cc75-baseline_20261116_003128.db", + "ok_as_recorded": false, + "post_review": { + "result": "pass after correcting the acceptance check (no re-run)", + "correction": "The plan required exactly one of initiative-autofix-rubric-pass / initiative-needs-attention. Upstream allows both: rfe-creator flags a passing Initiative for a human (strat-creator config/initiative-settings.yaml). 75004 and 75009 passed and were flagged; 75006 was revised (6 -> 9/10) and passes.", + "cost_estimate_usd": 6.04, + "duration_s": 589, + "route": "agentic-ci API-key provider -> Model Relay (claude-opus-5-5), Claude Code 2.1.296 in a per-job claude-sandbox:0.3.46 copy with the emulator CA", + "end_state": "not kept as a snapshot (recorded ok was False); Jira restored to cc75-baseline" + } +} diff --git a/var/demos/initiatives/evidence/S6-20261116T014254Z.json b/var/demos/initiatives/evidence/S6-20261116T014254Z.json new file mode 100644 index 0000000..8279605 --- /dev/null +++ b/var/demos/initiatives/evidence/S6-20261116T014254Z.json @@ -0,0 +1,63 @@ +{ + "scenario": "S6", + "pipeline": 14, + "variables": { + "INITIATIVE_STRATEGIES": "on", + "STRAT_EXECUTOR": "fullsend", + "STRAT_DRY_RUN": "1", + "FULLSEND_PUBLISH": "0", + "STRAT_CREATOR_REPO": "https://github-emulator.ai-pipeline.svc.cluster.local/fullsend-ai/strat-creator.git", + "STRAT_CREATOR_BRANCH": "cc75-emulator", + "BATCH_SIZE": "1" + }, + "fixture": { + "baseline": "snapshot_cc75-baseline_20261116_003128.db", + "variant": "baseline", + "restored_after": "snapshot_cc75-baseline_20261116_003128.db" + }, + "jobs": { + "fullsend-input-check": { + "id": 26, + "status": "success", + "stage": "validate", + "expected_status": "success", + "status_ok": true + }, + "python-tests": { + "id": 27, + "status": "success", + "stage": "validate", + "expected_status": "success", + "status_ok": true + }, + "workflow-batch-initiative": { + "id": 28, + "status": "failed", + "stage": "strategy", + "markers": { + "RHAISTRAT-75006": true, + "Created sandbox": false, + "Job succeeded": false + }, + "expected_status": "success", + "status_ok": false + } + }, + "jira_writes": [], + "jira_read_posts": [ + { + "method": "POST", + "path": "/rest/api/3/search/jql", + "status": 200, + "user": "cc75-strat-bot" + }, + { + "method": "POST", + "path": "/rest/api/3/search/jql", + "status": 200, + "user": "cc75-strat-bot" + } + ], + "ok": false, + "checked_at": "2026-11-16T01:42:54.848754+00:00" +} diff --git a/var/demos/initiatives/evidence/S6-20261116T024459Z.json b/var/demos/initiatives/evidence/S6-20261116T024459Z.json new file mode 100644 index 0000000..16054b1 --- /dev/null +++ b/var/demos/initiatives/evidence/S6-20261116T024459Z.json @@ -0,0 +1,98 @@ +{ + "scenario": "S6", + "pipeline": 18, + "variables": { + "INITIATIVE_STRATEGIES": "on", + "STRAT_EXECUTOR": "fullsend", + "STRAT_DRY_RUN": "1", + "FULLSEND_PUBLISH": "0", + "STRAT_CREATOR_REPO": "https://github-emulator.ai-pipeline.svc.cluster.local/fullsend-ai/strat-creator.git", + "STRAT_CREATOR_BRANCH": "cc75-emulator", + "BATCH_SIZE": "1" + }, + "fixture": { + "baseline": "snapshot_cc75-baseline_20261116_003128.db", + "variant": "baseline", + "restored_after": "snapshot_cc75-baseline_20261116_003128.db" + }, + "jobs": { + "fullsend-input-check": { + "id": 32, + "status": "success", + "stage": "validate", + "expected_status": "success", + "status_ok": true + }, + "python-tests": { + "id": 33, + "status": "success", + "stage": "validate", + "expected_status": "success", + "status_ok": true + }, + "workflow-batch-initiative": { + "id": 34, + "status": "success", + "stage": "strategy", + "markers": { + "RHAISTRAT-75006": true, + "Created sandbox": false, + "Job succeeded": true + }, + "expected_status": "success", + "status_ok": true + } + }, + "jira_writes": [], + "jira_read_posts": [ + { + "method": "POST", + "path": "/rest/api/3/search/jql", + "status": 200, + "user": "cc75-strat-bot" + }, + { + "method": "POST", + "path": "/rest/api/3/search/jql", + "status": 200, + "user": "cc75-strat-bot" + } + ], + "ok": false, + "checked_at": "2026-11-16T02:44:59.956437+00:00", + "post_review": { + "note": "Marker 'Created sandbox' was wrong (Fullsend prints 'Sandbox created'); the trace shows 'Sandbox created', 'Validation passed' and 'Job succeeded'. Corrected in run_scenario.py.", + "agent": { + "model": "claude-opus-5-5", + "claude_code": "2.1.296", + "exit": 0, + "seconds": 880.2, + "fullsend_cost_estimate_usd": 5.8745 + }, + "relay": { + "project": "cc75-initiatives", + "requests": 116, + "http_statuses": [ + 200 + ], + "input_tokens": 105103, + "output_tokens": 76896, + "cache_creation_input_tokens": 573364, + "cache_read_input_tokens": 4872229 + }, + "result": { + "key": "RHAISTRAT-75006", + "recommendation": "revise", + "score": "4/8", + "dimensions": { + "feasibility": 1, + "testability": 1, + "scope": 1, + "architecture": 1 + }, + "needs_attention": true, + "validation": "passed (dry run, Jira readback skipped)" + }, + "ok_after_review": true + } +} \ No newline at end of file diff --git a/var/demos/initiatives/evidence/S6-20261116T033310Z.json b/var/demos/initiatives/evidence/S6-20261116T033310Z.json new file mode 100644 index 0000000..a0e8463 --- /dev/null +++ b/var/demos/initiatives/evidence/S6-20261116T033310Z.json @@ -0,0 +1,67 @@ +{ + "scenario": "S6", + "pipeline": 20, + "variables": { + "INITIATIVE_STRATEGIES": "on", + "STRAT_EXECUTOR": "fullsend", + "STRAT_DRY_RUN": "1", + "FULLSEND_PUBLISH": "0", + "STRAT_CREATOR_REPO": "https://github-emulator.ai-pipeline.svc.cluster.local/fullsend-ai/strat-creator.git", + "STRAT_CREATOR_BRANCH": "cc75-emulator", + "BATCH_SIZE": "1" + }, + "fixture": { + "baseline": "snapshot_cc75-baseline_20261116_003128.db", + "variant": "baseline", + "restored_after": "snapshot_cc75-baseline_20261116_003128.db" + }, + "jobs": { + "fullsend-input-check": { + "id": 38, + "status": "success", + "stage": "validate", + "expected_status": "success", + "status_ok": true + }, + "python-tests": { + "id": 39, + "status": "success", + "stage": "validate", + "expected_status": "success", + "status_ok": true + }, + "workflow-batch-initiative": { + "id": 40, + "status": "failed", + "stage": "strategy", + "markers": { + "RHAISTRAT-75006": true, + "Sandbox created": true, + "Validation passed": false, + "Job succeeded": false + }, + "expected_status": "success", + "status_ok": false + } + }, + "jira_writes": [], + "jira_read_posts": [ + { + "method": "POST", + "path": "/rest/api/3/search/jql", + "status": 200, + "user": "cc75-strat-bot" + }, + { + "method": "POST", + "path": "/rest/api/3/search/jql", + "status": 200, + "user": "cc75-strat-bot" + } + ], + "ok": false, + "checked_at": "2026-11-16T03:33:10.857557+00:00", + "post_review": { + "note": "Corsair recipe with Jira as a TLS-terminating provider: model via relay worked, but the sandboxed Python Jira client failed CERTIFICATE_VERIFY_FAILED against the OpenShell proxy certificate; create never ran; ~$1.50. Superseded by S6-20261116T035436Z (Jira on production's opaque-tunnel design)." + } +} \ No newline at end of file diff --git a/var/demos/initiatives/evidence/S6-20261116T035436Z.json b/var/demos/initiatives/evidence/S6-20261116T035436Z.json new file mode 100644 index 0000000..c146554 --- /dev/null +++ b/var/demos/initiatives/evidence/S6-20261116T035436Z.json @@ -0,0 +1,91 @@ +{ + "scenario": "S6", + "pipeline": 21, + "variables": { + "INITIATIVE_STRATEGIES": "on", + "STRAT_EXECUTOR": "fullsend", + "STRAT_DRY_RUN": "1", + "FULLSEND_PUBLISH": "0", + "STRAT_CREATOR_REPO": "https://github-emulator.ai-pipeline.svc.cluster.local/fullsend-ai/strat-creator.git", + "STRAT_CREATOR_BRANCH": "cc75-emulator", + "BATCH_SIZE": "1" + }, + "fixture": { + "baseline": "snapshot_cc75-baseline_20261116_003128.db", + "variant": "baseline", + "restored_after": "snapshot_cc75-baseline_20261116_003128.db" + }, + "jobs": { + "fullsend-input-check": { + "id": 41, + "status": "success", + "stage": "validate", + "expected_status": "success", + "status_ok": true + }, + "python-tests": { + "id": 42, + "status": "success", + "stage": "validate", + "expected_status": "success", + "status_ok": true + }, + "workflow-batch-initiative": { + "id": 43, + "status": "success", + "stage": "strategy", + "markers": { + "RHAISTRAT-75006": true, + "Sandbox created": true, + "Validation passed": true, + "Job succeeded": true + }, + "expected_status": "success", + "status_ok": true + } + }, + "jira_writes": [], + "jira_read_posts": [ + { + "method": "POST", + "path": "/rest/api/3/search/jql", + "status": 200, + "user": "cc75-strat-bot" + }, + { + "method": "POST", + "path": "/rest/api/3/search/jql", + "status": 200, + "user": "cc75-strat-bot" + } + ], + "ok": true, + "checked_at": "2026-11-16T03:54:36.577796+00:00", + "post_review": { + "recipe": "model via OpenShell provider model-relay (Messages API, key held by OpenShell); Jira via production opaque tunnel + STRAT_EXTRA_CA_FILE", + "agent": { + "model": "claude-opus-5-5", + "seconds": 812.8, + "fullsend_cost_estimate_usd": 6.0327, + "validation": "passed" + }, + "relay": { + "requests": 109, + "client_apis": [ + "anthropic" + ], + "http_statuses": [ + 200 + ], + "input_tokens": 91184, + "output_tokens": 74910, + "cache_creation_input_tokens": 697258, + "cache_read_input_tokens": 4486751 + }, + "review": { + "key": "RHAISTRAT-75006", + "verdict": "REVISE", + "score": "4/8" + } + } +} \ No newline at end of file diff --git a/var/demos/initiatives/evidence/S7a-20261116T120610Z.json b/var/demos/initiatives/evidence/S7a-20261116T120610Z.json new file mode 100644 index 0000000..ab5cb5b --- /dev/null +++ b/var/demos/initiatives/evidence/S7a-20261116T120610Z.json @@ -0,0 +1,135 @@ +{ + "scenario": "S7a", + "pipeline": 24, + "variables": { + "INITIATIVE_STRATEGIES": "on", + "STRAT_EXECUTOR": "fullsend", + "STRAT_DRY_RUN": "0", + "FULLSEND_PUBLISH": "1", + "STRAT_CREATOR_REPO": "https://github-emulator.ai-pipeline.svc.cluster.local/fullsend-ai/strat-creator.git", + "STRAT_CREATOR_BRANCH": "cc75-emulator", + "BATCH_SIZE": "1" + }, + "ref": "cc75-live", + "fixture": { + "baseline": "snapshot_cc75-baseline_20261116_003128.db", + "variant": "baseline", + "kept_as_snapshot": "snapshot_cc75-after-S7a_20261116_120610.db" + }, + "jobs": { + "fullsend-input-check": { + "id": 48, + "status": "success", + "stage": "validate", + "expected_status": "success", + "status_ok": true + }, + "python-tests": { + "id": 49, + "status": "success", + "stage": "validate", + "expected_status": "success", + "status_ok": true, + "marker": "cc75: live Initiative run", + "marker_found": true + }, + "workflow-batch-initiative": { + "id": 50, + "status": "failed", + "stage": "strategy", + "markers": { + "RHAISTRAT-75006": true, + "Validation passed": false, + "Job succeeded": false + }, + "expected_status": "success", + "status_ok": false + } + }, + "live": { + "checks": { + "writes_only_to_selected": true, + "every_selected_written": true, + "untouched_not_written": true, + "RHAISTRAT-75006_strategy_attachment": true, + "RHAISTRAT-75006_gate_label": false, + "RHAISTRAT-75006_lock_released": true, + "results_published": false + }, + "issues": { + "RHAISTRAT-75006": { + "labels": [ + "cc75-fx-i03", + "cc75-synthetic", + "initiative-autofix-opt-in", + "initiative-autofix-rubric-pass" + ], + "status": "New", + "attachments": [ + "RHAISTRAT-75006-strategy.md" + ] + }, + "RHAISTRAT-75009": { + "labels": [ + "cc75-fx-i06", + "cc75-synthetic", + "initiative-autofix-opt-in", + "initiative-autofix-rubric-pass" + ], + "status": "Refinement", + "attachments": [] + }, + "RHAISTRAT-75010": { + "labels": [ + "cc75-fx-i07", + "cc75-synthetic", + "initiative-autofix-opt-in", + "initiative-autofix-rubric-pass" + ], + "status": "New", + "attachments": [] + }, + "RHAISTRAT-75019": { + "labels": [ + "cc75-fx-i16", + "cc75-synthetic", + "initiative-autofix-opt-in", + "initiative-autofix-rubric-pass" + ], + "status": "Refinement", + "attachments": [] + } + }, + "write_keys": [ + "RHAISTRAT-75006" + ], + "write_paths": [ + "POST /rest/api/3/issue/RHAISTRAT-75006/attachments", + "PUT /rest/api/3/issue/RHAISTRAT-75006" + ], + "data_repo_new_paths": [] + }, + "jira_writes": 3, + "jira_read_posts": [ + { + "method": "POST", + "path": "/rest/api/3/search/jql", + "status": 200, + "user": "cc75-strat-bot" + }, + { + "method": "POST", + "path": "/rest/api/3/search/jql", + "status": 200, + "user": "cc75-strat-bot" + } + ], + "ok": false, + "checked_at": "2026-11-16T12:06:10.326741+00:00", + "post_review": { + "result": "failed (pipeline 24, job 50; Fullsend cost estimate $2.84)", + "cause": "The live push wrote RHAISTRAT-75006-strategy.md and updated the issue, then its read-back of the attachment was refused by the sandbox proxy (Tunnel connection failed: 403). The Jira emulator returns attachment content URLs on its BASE_URL (https://jira.w530.local) while JIRA_SERVER was the in-cluster service name, which was the only Jira host the sandbox policy allowed.", + "fix": "JIRA_SERVER and the sandbox's opaque Jira tunnel use the emulator's canonical URL jira., as production uses its site URL (commit after 6f21dd8). The end-state snapshot this run left was deleted so S7b cannot start from it.", + "checks_that_held": "writes touched only RHAISTRAT-75006; the lock was released by the CI cleanup; nothing was published" + } +} diff --git a/var/demos/initiatives/evidence/S7a-20261116T122933Z.json b/var/demos/initiatives/evidence/S7a-20261116T122933Z.json new file mode 100644 index 0000000..338413a --- /dev/null +++ b/var/demos/initiatives/evidence/S7a-20261116T122933Z.json @@ -0,0 +1,157 @@ +{ + "scenario": "S7a", + "pipeline": 26, + "variables": { + "INITIATIVE_STRATEGIES": "on", + "STRAT_EXECUTOR": "fullsend", + "STRAT_DRY_RUN": "0", + "FULLSEND_PUBLISH": "1", + "STRAT_CREATOR_REPO": "https://github-emulator.ai-pipeline.svc.cluster.local/fullsend-ai/strat-creator.git", + "STRAT_CREATOR_BRANCH": "cc75-emulator", + "BATCH_SIZE": "1" + }, + "ref": "cc75-live", + "fixture": { + "baseline": "snapshot_cc75-baseline_20261116_003128.db", + "variant": "baseline", + "kept_as_snapshot": "snapshot_cc75-after-S7a_20261116_122933.db" + }, + "jobs": { + "fullsend-input-check": { + "id": 52, + "status": "success", + "stage": "validate", + "expected_status": "success", + "status_ok": true + }, + "python-tests": { + "id": 53, + "status": "success", + "stage": "validate", + "expected_status": "success", + "status_ok": true, + "marker": "cc75: live Initiative run", + "marker_found": true + }, + "workflow-batch-initiative": { + "id": 54, + "status": "success", + "stage": "strategy", + "markers": { + "RHAISTRAT-75006": true, + "Validation passed": true, + "Job succeeded": true + }, + "expected_status": "success", + "status_ok": true + } + }, + "live": { + "checks": { + "writes_only_to_selected": true, + "every_selected_written": true, + "untouched_not_written": true, + "RHAISTRAT-75006_strategy_attachment": true, + "RHAISTRAT-75006_gate_label": true, + "RHAISTRAT-75006_lock_released": true, + "results_published": true + }, + "issues": { + "RHAISTRAT-75006": { + "labels": [ + "cc75-fx-i03", + "cc75-synthetic", + "initiative-autofix-opt-in", + "initiative-autofix-rubric-pass", + "strat-creator-auto-refined", + "strat-creator-needs-attention" + ], + "status": "New", + "attachments": [ + "RHAISTRAT-75006-review.md", + "RHAISTRAT-75006-strategy.md" + ] + }, + "RHAISTRAT-75009": { + "labels": [ + "cc75-fx-i06", + "cc75-synthetic", + "initiative-autofix-opt-in", + "initiative-autofix-rubric-pass" + ], + "status": "Refinement", + "attachments": [] + }, + "RHAISTRAT-75010": { + "labels": [ + "cc75-fx-i07", + "cc75-synthetic", + "initiative-autofix-opt-in", + "initiative-autofix-rubric-pass" + ], + "status": "New", + "attachments": [] + }, + "RHAISTRAT-75019": { + "labels": [ + "cc75-fx-i16", + "cc75-synthetic", + "initiative-autofix-opt-in", + "initiative-autofix-rubric-pass" + ], + "status": "Refinement", + "attachments": [] + } + }, + "write_keys": [ + "RHAISTRAT-75006" + ], + "write_paths": [ + "POST /rest/api/3/issue/RHAISTRAT-75006/attachments", + "POST /rest/api/3/issue/RHAISTRAT-75006/comment", + "PUT /rest/api/3/issue/RHAISTRAT-75006" + ], + "data_repo_new_paths": [ + "initiative-strategy/current", + "initiative-strategy/run-gitlab-job-54/.publication.json", + "initiative-strategy/run-gitlab-job-54/pipeline-data.json", + "initiative-strategy/run-gitlab-job-54/reports/report.html", + "initiative-strategy/run-gitlab-job-54/strat-originals/RHAISTRAT-75006-comments.md", + "initiative-strategy/run-gitlab-job-54/strat-originals/RHAISTRAT-75006.md", + "initiative-strategy/run-gitlab-job-54/strat-reviews/RHAISTRAT-75006-review-architecture.md", + "initiative-strategy/run-gitlab-job-54/strat-reviews/RHAISTRAT-75006-review-comment.md", + "initiative-strategy/run-gitlab-job-54/strat-reviews/RHAISTRAT-75006-review-feasibility.md", + "initiative-strategy/run-gitlab-job-54/strat-reviews/RHAISTRAT-75006-review-provenance.json", + "initiative-strategy/run-gitlab-job-54/strat-reviews/RHAISTRAT-75006-review-scope.md", + "initiative-strategy/run-gitlab-job-54/strat-reviews/RHAISTRAT-75006-review-scorer.md", + "initiative-strategy/run-gitlab-job-54/strat-reviews/RHAISTRAT-75006-review-testability.md", + "initiative-strategy/run-gitlab-job-54/strat-reviews/RHAISTRAT-75006-review.md", + "initiative-strategy/run-gitlab-job-54/strat-tasks/RHAISTRAT-75006.md", + "initiative-strategy/summary-production.json", + "initiative-strategy/summary.json" + ] + }, + "jira_writes": 7, + "jira_read_posts": [ + { + "method": "POST", + "path": "/rest/api/3/search/jql", + "status": 200, + "user": "cc75-strat-bot" + }, + { + "method": "POST", + "path": "/rest/api/3/search/jql", + "status": 200, + "user": "cc75-strat-bot" + } + ], + "ok": true, + "checked_at": "2026-11-16T12:29:33.829722+00:00", + "post_review": { + "cost_estimate_usd": 6.15, + "duration_s": 843, + "review": "REVISE 4/8, needs_attention", + "published": "initiative-strategy/run-gitlab-job-54 in strat-pipeline-data; Org Pulse skipped (Initiative subdir)" + } +} diff --git a/var/demos/initiatives/evidence/S7b-20261116T125308Z.json b/var/demos/initiatives/evidence/S7b-20261116T125308Z.json new file mode 100644 index 0000000..9db45b5 --- /dev/null +++ b/var/demos/initiatives/evidence/S7b-20261116T125308Z.json @@ -0,0 +1,207 @@ +{ + "scenario": "S7b", + "pipeline": 27, + "variables": { + "INITIATIVE_STRATEGIES": "on", + "STRAT_EXECUTOR": "fullsend", + "STRAT_DRY_RUN": "0", + "FULLSEND_PUBLISH": "1", + "STRAT_CREATOR_REPO": "https://github-emulator.ai-pipeline.svc.cluster.local/fullsend-ai/strat-creator.git", + "STRAT_CREATOR_BRANCH": "cc75-emulator", + "BATCH_SIZE": "3" + }, + "ref": "cc75-live", + "fixture": { + "baseline": "snapshot_cc75-after-S7a_20261116_122933.db", + "variant": "after-S7a", + "kept_as_snapshot": "snapshot_cc75-after-S7b_20261116_125308.db" + }, + "jobs": { + "fullsend-input-check": { + "id": 55, + "status": "success", + "stage": "validate", + "expected_status": "success", + "status_ok": true + }, + "python-tests": { + "id": 56, + "status": "success", + "stage": "validate", + "expected_status": "success", + "status_ok": true, + "marker": "cc75: live Initiative run", + "marker_found": true + }, + "workflow-batch-initiative": { + "id": 57, + "status": "success", + "stage": "strategy", + "markers": { + "RHAISTRAT-75009": true, + "RHAISTRAT-75010": true, + "RHAISTRAT-75019": true, + "Validation passed": true, + "Job succeeded": true + }, + "expected_status": "success", + "status_ok": true + } + }, + "live": { + "checks": { + "writes_only_to_selected": true, + "every_selected_written": true, + "untouched_not_written": true, + "RHAISTRAT-75009_strategy_attachment": true, + "RHAISTRAT-75009_gate_label": true, + "RHAISTRAT-75009_lock_released": true, + "RHAISTRAT-75010_strategy_attachment": true, + "RHAISTRAT-75010_gate_label": true, + "RHAISTRAT-75010_lock_released": true, + "RHAISTRAT-75019_strategy_attachment": true, + "RHAISTRAT-75019_gate_label": true, + "RHAISTRAT-75019_lock_released": true, + "results_published": true + }, + "issues": { + "RHAISTRAT-75009": { + "labels": [ + "cc75-fx-i06", + "cc75-synthetic", + "initiative-autofix-opt-in", + "initiative-autofix-rubric-pass", + "strat-creator-auto-refined", + "strat-creator-needs-attention" + ], + "status": "Refinement", + "attachments": [ + "RHAISTRAT-75009-review.md", + "RHAISTRAT-75009-strategy.md" + ] + }, + "RHAISTRAT-75010": { + "labels": [ + "cc75-fx-i07", + "cc75-synthetic", + "initiative-autofix-opt-in", + "initiative-autofix-rubric-pass", + "strat-creator-auto-refined", + "strat-creator-needs-attention" + ], + "status": "New", + "attachments": [ + "RHAISTRAT-75010-review.md", + "RHAISTRAT-75010-strategy.md" + ] + }, + "RHAISTRAT-75019": { + "labels": [ + "cc75-fx-i16", + "cc75-synthetic", + "initiative-autofix-opt-in", + "initiative-autofix-rubric-pass", + "strat-creator-auto-refined", + "strat-creator-needs-attention" + ], + "status": "Refinement", + "attachments": [ + "RHAISTRAT-75019-review.md", + "RHAISTRAT-75019-strategy.md" + ] + }, + "RHAISTRAT-75006": { + "labels": [ + "cc75-fx-i03", + "cc75-synthetic", + "initiative-autofix-opt-in", + "initiative-autofix-rubric-pass", + "strat-creator-auto-refined", + "strat-creator-needs-attention" + ], + "status": "New", + "attachments": [ + "RHAISTRAT-75006-review.md", + "RHAISTRAT-75006-strategy.md" + ] + } + }, + "write_keys": [ + "RHAISTRAT-75009", + "RHAISTRAT-75010", + "RHAISTRAT-75019" + ], + "write_paths": [ + "POST /rest/api/3/issue/RHAISTRAT-75009/attachments", + "POST /rest/api/3/issue/RHAISTRAT-75009/comment", + "POST /rest/api/3/issue/RHAISTRAT-75010/attachments", + "POST /rest/api/3/issue/RHAISTRAT-75010/comment", + "POST /rest/api/3/issue/RHAISTRAT-75019/attachments", + "POST /rest/api/3/issue/RHAISTRAT-75019/comment", + "PUT /rest/api/3/issue/RHAISTRAT-75009", + "PUT /rest/api/3/issue/RHAISTRAT-75010", + "PUT /rest/api/3/issue/RHAISTRAT-75019" + ], + "data_repo_new_paths": [ + "initiative-strategy/run-gitlab-job-57/.publication.json", + "initiative-strategy/run-gitlab-job-57/pipeline-data.json", + "initiative-strategy/run-gitlab-job-57/reports/report.html", + "initiative-strategy/run-gitlab-job-57/strat-originals/RHAISTRAT-75009-comments.md", + "initiative-strategy/run-gitlab-job-57/strat-originals/RHAISTRAT-75009.md", + "initiative-strategy/run-gitlab-job-57/strat-originals/RHAISTRAT-75010-comments.md", + "initiative-strategy/run-gitlab-job-57/strat-originals/RHAISTRAT-75010.md", + "initiative-strategy/run-gitlab-job-57/strat-originals/RHAISTRAT-75019-comments.md", + "initiative-strategy/run-gitlab-job-57/strat-originals/RHAISTRAT-75019.md", + "initiative-strategy/run-gitlab-job-57/strat-reviews/RHAISTRAT-75009-review-architecture.md", + "initiative-strategy/run-gitlab-job-57/strat-reviews/RHAISTRAT-75009-review-comment.md", + "initiative-strategy/run-gitlab-job-57/strat-reviews/RHAISTRAT-75009-review-feasibility.md", + "initiative-strategy/run-gitlab-job-57/strat-reviews/RHAISTRAT-75009-review-provenance.json", + "initiative-strategy/run-gitlab-job-57/strat-reviews/RHAISTRAT-75009-review-scope.md", + "initiative-strategy/run-gitlab-job-57/strat-reviews/RHAISTRAT-75009-review-scorer.md", + "initiative-strategy/run-gitlab-job-57/strat-reviews/RHAISTRAT-75009-review-testability.md", + "initiative-strategy/run-gitlab-job-57/strat-reviews/RHAISTRAT-75009-review.md", + "initiative-strategy/run-gitlab-job-57/strat-reviews/RHAISTRAT-75010-review-architecture.md", + "initiative-strategy/run-gitlab-job-57/strat-reviews/RHAISTRAT-75010-review-comment.md", + "initiative-strategy/run-gitlab-job-57/strat-reviews/RHAISTRAT-75010-review-feasibility.md", + "initiative-strategy/run-gitlab-job-57/strat-reviews/RHAISTRAT-75010-review-provenance.json", + "initiative-strategy/run-gitlab-job-57/strat-reviews/RHAISTRAT-75010-review-scope.md", + "initiative-strategy/run-gitlab-job-57/strat-reviews/RHAISTRAT-75010-review-scorer.md", + "initiative-strategy/run-gitlab-job-57/strat-reviews/RHAISTRAT-75010-review-testability.md", + "initiative-strategy/run-gitlab-job-57/strat-reviews/RHAISTRAT-75010-review.md", + "initiative-strategy/run-gitlab-job-57/strat-reviews/RHAISTRAT-75019-review-architecture.md", + "initiative-strategy/run-gitlab-job-57/strat-reviews/RHAISTRAT-75019-review-comment.md", + "initiative-strategy/run-gitlab-job-57/strat-reviews/RHAISTRAT-75019-review-feasibility.md", + "initiative-strategy/run-gitlab-job-57/strat-reviews/RHAISTRAT-75019-review-provenance.json", + "initiative-strategy/run-gitlab-job-57/strat-reviews/RHAISTRAT-75019-review-scope.md", + "initiative-strategy/run-gitlab-job-57/strat-reviews/RHAISTRAT-75019-review-scorer.md", + "initiative-strategy/run-gitlab-job-57/strat-reviews/RHAISTRAT-75019-review-testability.md", + "initiative-strategy/run-gitlab-job-57/strat-reviews/RHAISTRAT-75019-review.md", + "initiative-strategy/run-gitlab-job-57/strat-tasks/RHAISTRAT-75009.md", + "initiative-strategy/run-gitlab-job-57/strat-tasks/RHAISTRAT-75010.md", + "initiative-strategy/run-gitlab-job-57/strat-tasks/RHAISTRAT-75019.md" + ] + }, + "jira_writes": 21, + "jira_read_posts": [ + { + "method": "POST", + "path": "/rest/api/3/search/jql", + "status": 200, + "user": "cc75-strat-bot" + }, + { + "method": "POST", + "path": "/rest/api/3/search/jql", + "status": 200, + "user": "cc75-strat-bot" + } + ], + "ok": true, + "checked_at": "2026-11-16T12:53:08.822980+00:00", + "post_review": { + "cost_estimate_usd": 17.11, + "duration_s": 984, + "review": "all three REVISE 4/8, needs_attention; scope 0 on one", + "skipped_already_processed": "RHAISTRAT-75006 (strat-creator-needs-attention from S7a) was not selected or written" + } +} diff --git a/var/demos/initiatives/evidence/S8-20261116T185348Z.json b/var/demos/initiatives/evidence/S8-20261116T185348Z.json new file mode 100644 index 0000000..b765b4e --- /dev/null +++ b/var/demos/initiatives/evidence/S8-20261116T185348Z.json @@ -0,0 +1,161 @@ +{ + "scenario": "S8", + "fixture": { + "baseline": "snapshot_cc75-baseline_20261116_182256.db", + "strategies_attached": [ + "RHAISTRAT-75025", + "RHAISTRAT-75026", + "RHAISTRAT-75027" + ] + }, + "first": { + "pipeline": 62, + "job": 245, + "status": "failed", + "markers": { + "cc75: model via Model Relay": true, + "cc75: Model Relay route; skipping setup-gcp-credentials.py": true, + "Jira identity probe OK for the JIRA_USERNAME username": true, + "OK: model via ANTHROPIC_BASE_URL": true + }, + "cost_lines": [] + }, + "rerun": { + "pipeline": 63, + "job": 252, + "status": "failed", + "markers": { + "cc75: model via Model Relay": true, + "cc75: Model Relay route; skipping setup-gcp-credentials.py": true, + "Jira identity probe OK for the JIRA_USERNAME username": true, + "OK: model via ANTHROPIC_BASE_URL": true + }, + "cost_lines": [], + "new_issues": [], + "jira_writes": 0 + }, + "checks": { + "job_success": false, + "trace: cc75: model via Model Relay": true, + "trace: cc75: Model Relay route; skipping setup-gcp-credentials.py": true, + "trace: Jira identity probe OK for the JIRA_USERNAME username": true, + "trace: OK: model via ANTHROPIC_BASE_URL": true, + "RHAISTRAT-75025 decomposed into 2..8 Epics": false, + "RHAISTRAT-75025 new Epics are RHAI Epics": false, + "RHAISTRAT-75025 labelled epic-creator-auto-decomposed": false, + "RHAISTRAT-75026 skipped (existing Epic children): no new Epics": true, + "RHAISTRAT-75026 skipped (existing Epic children): not labelled": true, + "RHAISTRAT-75027 skipped (legacy Incorporates link to an Epic): no new Epics": true, + "RHAISTRAT-75027 skipped (legacy Incorporates link to an Epic): not labelled": true, + "sibling links are Blocks only": true, + "writes only to candidates and new Epics": true, + "results pushed": true, + "rerun job success": false, + "rerun creates no Epics": true + }, + "new_epics_by_parent": {}, + "sibling_link_types": [], + "new_epic_summaries": {}, + "candidate_labels": { + "RHAISTRAT-75025": [ + "cc75-fx-i22", + "cc75-synthetic", + "initiative-autofix-opt-in", + "initiative-autofix-rubric-pass", + "strat-creator-auto-refined", + "strat-creator-human-sign-off", + "strat-creator-rubric-pass" + ], + "RHAISTRAT-75026": [ + "cc75-fx-i23", + "cc75-synthetic", + "initiative-autofix-opt-in", + "initiative-autofix-rubric-pass", + "strat-creator-auto-refined", + "strat-creator-human-sign-off", + "strat-creator-rubric-pass" + ], + "RHAISTRAT-75027": [ + "cc75-fx-i24", + "cc75-synthetic", + "initiative-autofix-opt-in", + "initiative-autofix-rubric-pass", + "strat-creator-auto-refined", + "strat-creator-human-sign-off", + "strat-creator-rubric-pass" + ] + }, + "written_keys": [], + "write_paths": [], + "data_repo_new_paths": [ + "2026-11-16T18-24-01Z/decompose-runs/.gitkeep", + "2026-11-16T18-24-01Z/decompose-runs/2026-11-16T18-24-01Z-report.html", + "2026-11-16T18-24-01Z/decompose-runs/2026-11-16T18-24-01Z.yaml", + "2026-11-16T18-24-01Z/epic-reviews/.gitkeep", + "2026-11-16T18-24-01Z/epic-reviews/RHAISTRAT-75025-decomp-review.md", + "2026-11-16T18-24-01Z/epic-reviews/RHAISTRAT-75026-decomp-review.md", + "2026-11-16T18-24-01Z/epic-reviews/RHAISTRAT-75027-decomp-review.md", + "2026-11-16T18-24-01Z/epic-tasks/.gitkeep", + "2026-11-16T18-24-01Z/epic-tasks/RHAISTRAT-75025-E001-ai-signals.md", + "2026-11-16T18-24-01Z/epic-tasks/RHAISTRAT-75025-E001.md", + "2026-11-16T18-24-01Z/epic-tasks/RHAISTRAT-75025-E002-ai-signals.md", + "2026-11-16T18-24-01Z/epic-tasks/RHAISTRAT-75025-E002.md", + "2026-11-16T18-24-01Z/epic-tasks/RHAISTRAT-75025-E003-ai-signals.md", + "2026-11-16T18-24-01Z/epic-tasks/RHAISTRAT-75025-E003.md", + "2026-11-16T18-24-01Z/epic-tasks/RHAISTRAT-75025-E004-ai-signals.md", + "2026-11-16T18-24-01Z/epic-tasks/RHAISTRAT-75025-E004.md", + "2026-11-16T18-24-01Z/epic-tasks/RHAISTRAT-75025-E005-ai-signals.md", + "2026-11-16T18-24-01Z/epic-tasks/RHAISTRAT-75025-E005.md", + "2026-11-16T18-24-01Z/epic-tasks/RHAISTRAT-75025-E006-ai-signals.md", + "2026-11-16T18-24-01Z/epic-tasks/RHAISTRAT-75025-E006.md", + "2026-11-16T18-24-01Z/epic-tasks/RHAISTRAT-75025-E007-ai-signals.md", + "2026-11-16T18-24-01Z/epic-tasks/RHAISTRAT-75025-E007.md", + "2026-11-16T18-24-01Z/epic-tasks/RHAISTRAT-75025-decomposition.md", + "2026-11-16T18-24-01Z/epic-tasks/RHAISTRAT-75026-E001-ai-signals.md", + "2026-11-16T18-24-01Z/epic-tasks/RHAISTRAT-75026-E001.md", + "2026-11-16T18-24-01Z/epic-tasks/RHAISTRAT-75026-E002-ai-signals.md", + "2026-11-16T18-24-01Z/epic-tasks/RHAISTRAT-75026-E002.md", + "2026-11-16T18-24-01Z/epic-tasks/RHAISTRAT-75026-E003-ai-signals.md", + "2026-11-16T18-24-01Z/epic-tasks/RHAISTRAT-75026-E003.md", + "2026-11-16T18-24-01Z/epic-tasks/RHAISTRAT-75026-E004-ai-signals.md", + "2026-11-16T18-24-01Z/epic-tasks/RHAISTRAT-75026-E004.md", + "2026-11-16T18-24-01Z/epic-tasks/RHAISTRAT-75026-E005-ai-signals.md", + "2026-11-16T18-24-01Z/epic-tasks/RHAISTRAT-75026-E005.md", + "2026-11-16T18-24-01Z/epic-tasks/RHAISTRAT-75026-decomposition.md", + "2026-11-16T18-24-01Z/epic-tasks/RHAISTRAT-75027-E001-ai-signals.md", + "2026-11-16T18-24-01Z/epic-tasks/RHAISTRAT-75027-E001.md", + "2026-11-16T18-24-01Z/epic-tasks/RHAISTRAT-75027-E002-ai-signals.md", + "2026-11-16T18-24-01Z/epic-tasks/RHAISTRAT-75027-E002.md", + "2026-11-16T18-24-01Z/epic-tasks/RHAISTRAT-75027-E003-ai-signals.md", + "2026-11-16T18-24-01Z/epic-tasks/RHAISTRAT-75027-E003.md", + "2026-11-16T18-24-01Z/epic-tasks/RHAISTRAT-75027-E004-ai-signals.md", + "2026-11-16T18-24-01Z/epic-tasks/RHAISTRAT-75027-E004.md", + "2026-11-16T18-24-01Z/epic-tasks/RHAISTRAT-75027-decomposition.md", + "2026-11-16T18-24-01Z/strat-tasks/.gitkeep", + "2026-11-16T18-24-01Z/strat-tasks/RHAISTRAT-75025.md", + "2026-11-16T18-24-01Z/strat-tasks/RHAISTRAT-75026.md", + "2026-11-16T18-24-01Z/strat-tasks/RHAISTRAT-75027.md", + "latest" + ], + "kept_as_snapshot": "snapshot_cc75-S8-failed_20261116_185348.db", + "restored_after": "snapshot_cc75-baseline_20261116_182256.db", + "ok": false, + "checked_at": "2026-11-16T18:53:48.880872+00:00", + "post_review": { + "result": "failed at submit; nothing written to Jira (pipelines 62 and 63)", + "cause": "The stand-in job ran epic-creator #40's legacy submit line `submit.py --all`; #40 refuses typed (workload) artifacts without --workload ('typed artifacts require explicit --workload selection'). Fixed in the mirror's epic-decomposer adaptations.", + "vacuous_checks": "The 75026/75027 'skipped' checks passed only because submission created nothing; run_decompose.py now requires submitted Epics for them to count.", + "observed_before_submit": "#40 planned Epics for all three signed-off Initiatives: 75025 (7), 75026 (4) and 75027 (4), and every plan passed review (13-14/14). 75026 already has Epic children and 75027 a legacy Incorporates link, so the skip gap is visible in planning; submit would create the duplicates.", + "cost_estimate_usd": { + "job_245_first": 7.4, + "job_252_rerun": "about 7.4 (same plan)", + "job_231_stopped_at_bootstrap": "small" + }, + "plumbing_verified": [ + "Model Relay route; Google key steps skipped", + "identity probe accepted JIRA_USERNAME", + "Claude Code installed on the job host", + "results pushed to epic-decomposer-results" + ] + } +} diff --git a/var/demos/initiatives/evidence/S8-20261116T195742Z.json b/var/demos/initiatives/evidence/S8-20261116T195742Z.json new file mode 100644 index 0000000..4a28b4e --- /dev/null +++ b/var/demos/initiatives/evidence/S8-20261116T195742Z.json @@ -0,0 +1,253 @@ +{ + "scenario": "S8", + "fixture": { + "baseline": "snapshot_cc75-baseline_20261116_182256.db", + "strategies_attached": [ + "RHAISTRAT-75025", + "RHAISTRAT-75026", + "RHAISTRAT-75027" + ] + }, + "first": { + "pipeline": 65, + "job": 266, + "status": "success", + "markers": { + "cc75: model via Model Relay": true, + "cc75: Model Relay route; skipping setup-gcp-credentials.py": true, + "Jira identity probe OK for the JIRA_USERNAME username": true, + "OK: model via ANTHROPIC_BASE_URL": true + }, + "cost_lines": [ + "8.8180" + ] + }, + "rerun": { + "pipeline": 66, + "job": 273, + "status": "failed", + "markers": { + "cc75: model via Model Relay": true, + "cc75: Model Relay route; skipping setup-gcp-credentials.py": true, + "Jira identity probe OK for the JIRA_USERNAME username": true, + "OK: model via ANTHROPIC_BASE_URL": true + }, + "cost_lines": [ + "0.2251" + ], + "new_issues": [], + "jira_writes": 0 + }, + "checks": { + "job_success": true, + "trace: cc75: model via Model Relay": true, + "trace: cc75: Model Relay route; skipping setup-gcp-credentials.py": true, + "trace: Jira identity probe OK for the JIRA_USERNAME username": true, + "trace: OK: model via ANTHROPIC_BASE_URL": true, + "RHAISTRAT-75025 decomposed into 2..8 Epics": true, + "RHAISTRAT-75025 new Epics are RHAI Epics": true, + "RHAISTRAT-75025 labelled epic-creator-auto-decomposed": true, + "RHAISTRAT-75026 skipped (existing Epic children): no new Epics": false, + "RHAISTRAT-75026 skipped (existing Epic children): not labelled": false, + "RHAISTRAT-75027 skipped (legacy Incorporates link to an Epic): no new Epics": false, + "RHAISTRAT-75027 skipped (legacy Incorporates link to an Epic): not labelled": false, + "sibling links are Blocks only": true, + "writes only to candidates and new Epics": true, + "results pushed": true, + "rerun job success": false, + "rerun creates no Epics": true + }, + "new_epics_by_parent": { + "RHAISTRAT-75025": [ + "RHAI-75044", + "RHAI-75045", + "RHAI-75046", + "RHAI-75047", + "RHAI-75048", + "RHAI-75049", + "RHAI-75050" + ], + "RHAISTRAT-75026": [ + "RHAI-75051", + "RHAI-75052", + "RHAI-75053", + "RHAI-75054", + "RHAI-75055" + ], + "RHAISTRAT-75027": [ + "RHAI-75056", + "RHAI-75057", + "RHAI-75058", + "RHAI-75059" + ] + }, + "sibling_link_types": [ + "Blocks" + ], + "new_epic_summaries": { + "RHAI-75044": "Security review of the default-deny network policy baseline set", + "RHAI-75045": "Fail-mode analysis for network policy baseline and allow-list reconciliation", + "RHAI-75046": "Default-deny network policy baseline with per-namespace audit-only mode", + "RHAI-75047": "Allow-policy controller rendering from component peer declarations", + "RHAI-75048": "Denied-flow metrics export and sustained-denial alert rule", + "RHAI-75049": "Denied-flow panels on the platform dashboard", + "RHAI-75050": "Documentation: peer declaration format and audit-only to enforce migration", + "RHAI-75051": "Rotation fail-mode and consumer credential-reload analysis", + "RHAI-75052": "Security review of automatic secrets rotation", + "RHAI-75053": "Scheduled secrets rotation controller with dual-validity window and audit logging", + "RHAI-75054": "On-demand secrets rotation through a custom resource", + "RHAI-75055": "Platform service consumer adaptation for rotated credentials", + "RHAI-75056": "Build-time SPDX SBOM generation and signed attestation for shipped images", + "RHAI-75057": "Per-release SBOM publication index", + "RHAI-75058": "Release gate enforcement for verified SBOM attestations", + "RHAI-75059": "SBOM documentation: consumer attestation verification and documentation-index exposure" + }, + "candidate_labels": { + "RHAISTRAT-75025": [ + "cc75-fx-i22", + "cc75-synthetic", + "epic-creator-auto-decomposed", + "initiative-autofix-opt-in", + "initiative-autofix-rubric-pass", + "strat-creator-auto-refined", + "strat-creator-human-sign-off", + "strat-creator-rubric-pass" + ], + "RHAISTRAT-75026": [ + "cc75-fx-i23", + "cc75-synthetic", + "epic-creator-auto-decomposed", + "initiative-autofix-opt-in", + "initiative-autofix-rubric-pass", + "strat-creator-auto-refined", + "strat-creator-human-sign-off", + "strat-creator-rubric-pass" + ], + "RHAISTRAT-75027": [ + "cc75-fx-i24", + "cc75-synthetic", + "epic-creator-auto-decomposed", + "initiative-autofix-opt-in", + "initiative-autofix-rubric-pass", + "strat-creator-auto-refined", + "strat-creator-human-sign-off", + "strat-creator-rubric-pass" + ] + }, + "written_keys": [ + "RHAI-75044", + "RHAI-75045", + "RHAI-75046", + "RHAI-75047", + "RHAI-75048", + "RHAI-75049", + "RHAI-75050", + "RHAI-75051", + "RHAI-75052", + "RHAI-75053", + "RHAI-75054", + "RHAI-75055", + "RHAI-75056", + "RHAI-75057", + "RHAI-75058", + "RHAI-75059", + "RHAISTRAT-75025", + "RHAISTRAT-75026", + "RHAISTRAT-75027" + ], + "write_paths": [ + "POST /rest/api/3/issue", + "POST /rest/api/3/issue/RHAI-75044/attachments", + "POST /rest/api/3/issue/RHAI-75045/attachments", + "POST /rest/api/3/issue/RHAI-75046/attachments", + "POST /rest/api/3/issue/RHAI-75047/attachments", + "POST /rest/api/3/issue/RHAI-75048/attachments", + "POST /rest/api/3/issue/RHAI-75049/attachments", + "POST /rest/api/3/issue/RHAI-75050/attachments", + "POST /rest/api/3/issue/RHAI-75051/attachments", + "POST /rest/api/3/issue/RHAI-75052/attachments", + "POST /rest/api/3/issue/RHAI-75053/attachments", + "POST /rest/api/3/issue/RHAI-75054/attachments", + "POST /rest/api/3/issue/RHAI-75055/attachments", + "POST /rest/api/3/issue/RHAI-75056/attachments", + "POST /rest/api/3/issue/RHAI-75057/attachments", + "POST /rest/api/3/issue/RHAI-75058/attachments", + "POST /rest/api/3/issue/RHAI-75059/attachments", + "POST /rest/api/3/issueLink", + "PUT /rest/api/3/issue/RHAISTRAT-75025", + "PUT /rest/api/3/issue/RHAISTRAT-75026", + "PUT /rest/api/3/issue/RHAISTRAT-75027" + ], + "data_repo_new_paths": [ + "2026-11-16T19-40-42Z/decompose-runs/.gitkeep", + "2026-11-16T19-40-42Z/decompose-runs/2026-11-16T19-40-42Z-report.html", + "2026-11-16T19-40-42Z/decompose-runs/2026-11-16T19-40-42Z.yaml", + "2026-11-16T19-40-42Z/epic-reviews/.gitkeep", + "2026-11-16T19-40-42Z/epic-reviews/RHAISTRAT-75025-decomp-review.md", + "2026-11-16T19-40-42Z/epic-reviews/RHAISTRAT-75026-decomp-review.md", + "2026-11-16T19-40-42Z/epic-reviews/RHAISTRAT-75027-decomp-review.md", + "2026-11-16T19-40-42Z/epic-tasks/.gitkeep", + "2026-11-16T19-40-42Z/epic-tasks/RHAISTRAT-75025-E001-ai-signals.md", + "2026-11-16T19-40-42Z/epic-tasks/RHAISTRAT-75025-E001.md", + "2026-11-16T19-40-42Z/epic-tasks/RHAISTRAT-75025-E002-ai-signals.md", + "2026-11-16T19-40-42Z/epic-tasks/RHAISTRAT-75025-E002.md", + "2026-11-16T19-40-42Z/epic-tasks/RHAISTRAT-75025-E003-ai-signals.md", + "2026-11-16T19-40-42Z/epic-tasks/RHAISTRAT-75025-E003.md", + "2026-11-16T19-40-42Z/epic-tasks/RHAISTRAT-75025-E004-ai-signals.md", + "2026-11-16T19-40-42Z/epic-tasks/RHAISTRAT-75025-E004.md", + "2026-11-16T19-40-42Z/epic-tasks/RHAISTRAT-75025-E005-ai-signals.md", + "2026-11-16T19-40-42Z/epic-tasks/RHAISTRAT-75025-E005.md", + "2026-11-16T19-40-42Z/epic-tasks/RHAISTRAT-75025-E006-ai-signals.md", + "2026-11-16T19-40-42Z/epic-tasks/RHAISTRAT-75025-E006.md", + "2026-11-16T19-40-42Z/epic-tasks/RHAISTRAT-75025-E007-ai-signals.md", + "2026-11-16T19-40-42Z/epic-tasks/RHAISTRAT-75025-E007.md", + "2026-11-16T19-40-42Z/epic-tasks/RHAISTRAT-75025-decomposition.md", + "2026-11-16T19-40-42Z/epic-tasks/RHAISTRAT-75026-E001-ai-signals.md", + "2026-11-16T19-40-42Z/epic-tasks/RHAISTRAT-75026-E001.md", + "2026-11-16T19-40-42Z/epic-tasks/RHAISTRAT-75026-E002-ai-signals.md", + "2026-11-16T19-40-42Z/epic-tasks/RHAISTRAT-75026-E002.md", + "2026-11-16T19-40-42Z/epic-tasks/RHAISTRAT-75026-E003-ai-signals.md", + "2026-11-16T19-40-42Z/epic-tasks/RHAISTRAT-75026-E003.md", + "2026-11-16T19-40-42Z/epic-tasks/RHAISTRAT-75026-E004-ai-signals.md", + "2026-11-16T19-40-42Z/epic-tasks/RHAISTRAT-75026-E004.md", + "2026-11-16T19-40-42Z/epic-tasks/RHAISTRAT-75026-E005-ai-signals.md", + "2026-11-16T19-40-42Z/epic-tasks/RHAISTRAT-75026-E005.md", + "2026-11-16T19-40-42Z/epic-tasks/RHAISTRAT-75026-decomposition.md", + "2026-11-16T19-40-42Z/epic-tasks/RHAISTRAT-75027-E001-ai-signals.md", + "2026-11-16T19-40-42Z/epic-tasks/RHAISTRAT-75027-E001.md", + "2026-11-16T19-40-42Z/epic-tasks/RHAISTRAT-75027-E002-ai-signals.md", + "2026-11-16T19-40-42Z/epic-tasks/RHAISTRAT-75027-E002.md", + "2026-11-16T19-40-42Z/epic-tasks/RHAISTRAT-75027-E003-ai-signals.md", + "2026-11-16T19-40-42Z/epic-tasks/RHAISTRAT-75027-E003.md", + "2026-11-16T19-40-42Z/epic-tasks/RHAISTRAT-75027-E004-ai-signals.md", + "2026-11-16T19-40-42Z/epic-tasks/RHAISTRAT-75027-E004.md", + "2026-11-16T19-40-42Z/epic-tasks/RHAISTRAT-75027-decomposition.md", + "2026-11-16T19-40-42Z/strat-tasks/.gitkeep", + "2026-11-16T19-40-42Z/strat-tasks/RHAISTRAT-75025.md", + "2026-11-16T19-40-42Z/strat-tasks/RHAISTRAT-75026.md", + "2026-11-16T19-40-42Z/strat-tasks/RHAISTRAT-75027.md", + "2026-11-16T19-40-42Z/submissions/rhai-initiative/RHAISTRAT-75025.json", + "2026-11-16T19-40-42Z/submissions/rhai-initiative/RHAISTRAT-75025.lock", + "2026-11-16T19-40-42Z/submissions/rhai-initiative/RHAISTRAT-75026.json", + "2026-11-16T19-40-42Z/submissions/rhai-initiative/RHAISTRAT-75026.lock", + "2026-11-16T19-40-42Z/submissions/rhai-initiative/RHAISTRAT-75027.json", + "2026-11-16T19-40-42Z/submissions/rhai-initiative/RHAISTRAT-75027.lock" + ], + "kept_as_snapshot": "snapshot_cc75-S8-failed_20261116_195742.db", + "restored_after": "snapshot_cc75-baseline_20261116_182256.db", + "ok": false, + "checked_at": "2026-11-16T19:57:42.444140+00:00", + "post_review": { + "result": "decomposition works; the two oracle skips fail, confirming the predicted epic-creator #40 gap", + "decomposed": "RHAISTRAT-75025 -> 7 RHAI Epics (RHAI-75044..75050), parent = the Initiative, Blocks between dependent siblings, labelled epic-creator-auto-decomposed", + "finding_duplicate_epics": "With --workload rhai-initiative (skip_policy: processed-label), --skip-if-has-epics checks only the epic-creator-auto-decomposed label; the legacy existing-Epics check is bypassed. 75026 (3 existing Epic children) got 5 more Epics and 75027 (legacy Incorporates link to an Epic) got 4; both were labelled decomposed.", + "rerun": "idempotent by label: the query selected 0 Initiatives, 0 Jira writes, 0 Epics ($0.23)", + "finding_idle_run_fails": "With nothing to submit, `submit.py --workload rhai-initiative --all` exits 1 ('No decompositions for selected workload'), so an idle scheduled Initiative run would go red.", + "cost_estimate_usd": { + "first": 8.82, + "rerun": 0.23, + "S8_total_including_earlier_attempts": "about 24" + }, + "end_state": "kept as snapshot cc75-S8-failed_20261116_195742 (shows the duplicates); Jira restored to cc75-baseline" + } +} diff --git a/var/demos/initiatives/evidence/S9-20261116T160904Z.json b/var/demos/initiatives/evidence/S9-20261116T160904Z.json new file mode 100644 index 0000000..8791c71 --- /dev/null +++ b/var/demos/initiatives/evidence/S9-20261116T160904Z.json @@ -0,0 +1,61 @@ +{ + "scenario": "S9", + "kill_switch": { + "off": { + "pipeline": 28, + "variables": { + "STRAT_EXECUTOR": "fullsend", + "STRAT_DRY_RUN": "1", + "FULLSEND_PUBLISH": "0" + }, + "jobs": { + "fullsend-input-check": "failed", + "python-tests": "success", + "workflow-batch-jql": "manual" + } + }, + "on": { + "pipeline": 29, + "variables": { + "STRAT_EXECUTOR": "fullsend", + "STRAT_DRY_RUN": "1", + "FULLSEND_PUBLISH": "0", + "INITIATIVE_STRATEGIES": "on" + }, + "jobs": { + "fullsend-input-check": "failed", + "python-tests": "success", + "workflow-batch-initiative": "manual" + } + }, + "checks": { + "off_python_tests_success": true, + "off_offers_rfe_batch": true, + "off_has_no_initiative_job": true, + "on_python_tests_success": true, + "on_offers_initiative_job": true, + "on_suppresses_rfe_batch": true + } + }, + "rollback": { + "baseline": "snapshot_cc75-baseline_20261116_003128.db", + "after_s7b": "snapshot_cc75-after-S7b_20261116_125308.db", + "issues": 78, + "changed_by_s7": [ + "RHAISTRAT-75006", + "RHAISTRAT-75009", + "RHAISTRAT-75010", + "RHAISTRAT-75019" + ], + "restore_differences": [], + "catalogue_problems": [], + "checks": { + "restore_is_exact": true, + "s7_changes_were_present": true, + "matches_catalogue": true, + "baseline_has_no_strategy_artifacts": true + } + }, + "ok": true, + "checked_at": "2026-11-16T16:09:04.778408+00:00" +} diff --git a/var/demos/initiatives/evidence/S9-20261116T231233Z.json b/var/demos/initiatives/evidence/S9-20261116T231233Z.json new file mode 100644 index 0000000..a5ba7b1 --- /dev/null +++ b/var/demos/initiatives/evidence/S9-20261116T231233Z.json @@ -0,0 +1,61 @@ +{ + "scenario": "S9", + "kill_switch": { + "off": { + "pipeline": 84, + "variables": { + "STRAT_EXECUTOR": "fullsend", + "STRAT_DRY_RUN": "1", + "FULLSEND_PUBLISH": "0" + }, + "jobs": { + "fullsend-input-check": "failed", + "python-tests": "success", + "workflow-batch-jql": "manual" + } + }, + "on": { + "pipeline": 85, + "variables": { + "STRAT_EXECUTOR": "fullsend", + "STRAT_DRY_RUN": "1", + "FULLSEND_PUBLISH": "0", + "INITIATIVE_STRATEGIES": "on" + }, + "jobs": { + "fullsend-input-check": "failed", + "python-tests": "success", + "workflow-batch-initiative": "manual" + } + }, + "checks": { + "off_python_tests_success": true, + "off_offers_rfe_batch": true, + "off_has_no_initiative_job": true, + "on_python_tests_success": true, + "on_offers_initiative_job": true, + "on_suppresses_rfe_batch": true + } + }, + "rollback": { + "baseline": "snapshot_cc75-baseline_20261116_210711.db", + "changed_state": "snapshot_cc75-demo-75028-decomposed_20261116_215114.db", + "issues": 79, + "changed_in_that_state": [ + "RHAISTRAT-75025", + "RHAISTRAT-75026", + "RHAISTRAT-75027", + "RHAISTRAT-75028" + ], + "restore_differences": [], + "catalogue_problems": [], + "checks": { + "restore_is_exact": true, + "changed_state_differs": true, + "matches_catalogue": true, + "baseline_has_no_attachments": true + } + }, + "ok": true, + "checked_at": "2026-11-16T23:12:33.266433+00:00" +} diff --git a/var/demos/initiatives/evidence/discovery-20261116T003142Z.json b/var/demos/initiatives/evidence/discovery-20261116T003142Z.json new file mode 100644 index 0000000..0b77b81 --- /dev/null +++ b/var/demos/initiatives/evidence/discovery-20261116T003142Z.json @@ -0,0 +1,308 @@ +{ + "strat_creator_jql": { + "expected": [ + "RHAISTRAT-75006", + "RHAISTRAT-75009", + "RHAISTRAT-75010", + "RHAISTRAT-75019", + "RHAISTRAT-75025", + "RHAISTRAT-75026", + "RHAISTRAT-75027" + ], + "got": [ + "RHAISTRAT-75006", + "RHAISTRAT-75009", + "RHAISTRAT-75010", + "RHAISTRAT-75019", + "RHAISTRAT-75025", + "RHAISTRAT-75026", + "RHAISTRAT-75027" + ], + "non_fixture_selected": [] + }, + "rfe_autofixer_optin": { + "jql": "project = RHAISTRAT AND issuetype = Initiative AND labels = 'initiative-autofix-opt-in' ORDER BY key ASC", + "expected": [ + "RHAISTRAT-75004", + "RHAISTRAT-75006", + "RHAISTRAT-75009", + "RHAISTRAT-75010", + "RHAISTRAT-75011", + "RHAISTRAT-75015", + "RHAISTRAT-75018", + "RHAISTRAT-75019", + "RHAISTRAT-75020", + "RHAISTRAT-75021", + "RHAISTRAT-75022", + "RHAISTRAT-75023", + "RHAISTRAT-75024", + "RHAISTRAT-75025", + "RHAISTRAT-75026", + "RHAISTRAT-75027" + ], + "got": [ + "RHAISTRAT-75004", + "RHAISTRAT-75006", + "RHAISTRAT-75009", + "RHAISTRAT-75010", + "RHAISTRAT-75011", + "RHAISTRAT-75015", + "RHAISTRAT-75018", + "RHAISTRAT-75019", + "RHAISTRAT-75020", + "RHAISTRAT-75021", + "RHAISTRAT-75022", + "RHAISTRAT-75023", + "RHAISTRAT-75024", + "RHAISTRAT-75025", + "RHAISTRAT-75026", + "RHAISTRAT-75027" + ], + "non_fixture_selected": [] + }, + "epic_creator_skip": { + "RHAISTRAT-75025": { + "expected": "decompose", + "got": "decompose", + "epic_children": [], + "legacy_incorporates": [] + }, + "RHAISTRAT-75026": { + "expected": "skip", + "got": "skip", + "epic_children": [ + "RHAI-75040", + "RHAI-75041", + "RHAI-75042" + ], + "legacy_incorporates": [] + }, + "RHAISTRAT-75027": { + "expected": "skip", + "got": "skip", + "epic_children": [], + "legacy_incorporates": [ + "RHAI-75043" + ] + } + }, + "epic_child_rollup": { + "RHAISTRAT-75004": { + "expected": [ + "RHAI-75001", + "RHAI-75002", + "RHAI-75003", + "RHAI-75004" + ], + "got": [ + "RHAI-75001", + "RHAI-75002", + "RHAI-75003", + "RHAI-75004" + ] + }, + "RHAISTRAT-75005": { + "expected": [ + "RHAI-75005", + "RHAI-75006" + ], + "got": [ + "RHAI-75005", + "RHAI-75006" + ] + }, + "RHAISTRAT-75006": { + "expected": [], + "got": [] + }, + "RHAISTRAT-75007": { + "expected": [ + "RHOAIENG-75001" + ], + "got": [ + "RHOAIENG-75001" + ] + }, + "RHAISTRAT-75008": { + "expected": [ + "RHAI-75007", + "RHAI-75008", + "RHAI-75009", + "RHAI-75010", + "RHAI-75011", + "RHOAIENG-75002" + ], + "got": [ + "RHAI-75007", + "RHAI-75008", + "RHAI-75009", + "RHAI-75010", + "RHAI-75011", + "RHOAIENG-75002" + ] + }, + "RHAISTRAT-75009": { + "expected": [ + "RHAI-75012", + "RHAI-75013" + ], + "got": [ + "RHAI-75012", + "RHAI-75013" + ] + }, + "RHAISTRAT-75010": { + "expected": [], + "got": [] + }, + "RHAISTRAT-75011": { + "expected": [], + "got": [] + }, + "RHAISTRAT-75012": { + "expected": [], + "got": [] + }, + "RHAISTRAT-75013": { + "expected": [], + "got": [] + }, + "RHAISTRAT-75014": { + "expected": [], + "got": [] + }, + "RHAISTRAT-75015": { + "expected": [ + "RHOAIENG-75003", + "RHOAIENG-75004", + "RHOAIENG-75005" + ], + "got": [ + "RHOAIENG-75003", + "RHOAIENG-75004", + "RHOAIENG-75005" + ] + }, + "RHAISTRAT-75016": { + "expected": [ + "AIPCC-75001", + "RHAI-75017", + "RHAI-75018" + ], + "got": [ + "AIPCC-75001", + "RHAI-75017", + "RHAI-75018" + ] + }, + "RHAISTRAT-75017": { + "expected": [ + "RHAI-75019", + "RHAI-75020", + "RHAI-75021", + "RHAI-75022", + "RHAI-75023", + "RHAI-75024", + "RHAI-75025", + "RHAI-75026", + "RHAI-75027", + "RHAI-75028", + "RHAI-75029", + "RHAI-75030" + ], + "got": [ + "RHAI-75019", + "RHAI-75020", + "RHAI-75021", + "RHAI-75022", + "RHAI-75023", + "RHAI-75024", + "RHAI-75025", + "RHAI-75026", + "RHAI-75027", + "RHAI-75028", + "RHAI-75029", + "RHAI-75030" + ] + }, + "RHAISTRAT-75018": { + "expected": [ + "RHAI-75031", + "RHAI-75032" + ], + "got": [ + "RHAI-75031", + "RHAI-75032" + ] + }, + "RHAISTRAT-75019": { + "expected": [], + "got": [] + }, + "RHAISTRAT-75020": { + "expected": [ + "RHAI-75033" + ], + "got": [ + "RHAI-75033" + ] + }, + "RHAISTRAT-75021": { + "expected": [ + "RHAI-75034", + "RHAI-75035" + ], + "got": [ + "RHAI-75034", + "RHAI-75035" + ] + }, + "RHAISTRAT-75022": { + "expected": [ + "RHAI-75036" + ], + "got": [ + "RHAI-75036" + ] + }, + "RHAISTRAT-75023": { + "expected": [], + "got": [] + }, + "RHAISTRAT-75024": { + "expected": [ + "RHAI-75037", + "RHAI-75038", + "RHAI-75039" + ], + "got": [ + "RHAI-75037", + "RHAI-75038", + "RHAI-75039" + ] + }, + "RHAISTRAT-75025": { + "expected": [], + "got": [] + }, + "RHAISTRAT-75026": { + "expected": [ + "RHAI-75040", + "RHAI-75041", + "RHAI-75042" + ], + "got": [ + "RHAI-75040", + "RHAI-75041", + "RHAI-75042" + ] + }, + "RHAISTRAT-75027": { + "expected": [], + "got": [] + } + }, + "failures": [], + "ok": true, + "checked_at": "2026-11-16T00:31:42.342982+00:00" +} diff --git a/var/demos/initiatives/evidence/discovery-20261116T203942Z.json b/var/demos/initiatives/evidence/discovery-20261116T203942Z.json new file mode 100644 index 0000000..687a27e --- /dev/null +++ b/var/demos/initiatives/evidence/discovery-20261116T203942Z.json @@ -0,0 +1,316 @@ +{ + "strat_creator_jql": { + "expected": [ + "RHAISTRAT-75006", + "RHAISTRAT-75009", + "RHAISTRAT-75010", + "RHAISTRAT-75019", + "RHAISTRAT-75025", + "RHAISTRAT-75026", + "RHAISTRAT-75027", + "RHAISTRAT-75028" + ], + "got": [ + "RHAISTRAT-75006", + "RHAISTRAT-75009", + "RHAISTRAT-75010", + "RHAISTRAT-75019", + "RHAISTRAT-75025", + "RHAISTRAT-75026", + "RHAISTRAT-75027", + "RHAISTRAT-75028" + ], + "non_fixture_selected": [] + }, + "rfe_autofixer_optin": { + "jql": "project = RHAISTRAT AND issuetype = Initiative AND labels = 'initiative-autofix-opt-in' ORDER BY key ASC", + "expected": [ + "RHAISTRAT-75004", + "RHAISTRAT-75006", + "RHAISTRAT-75009", + "RHAISTRAT-75010", + "RHAISTRAT-75011", + "RHAISTRAT-75015", + "RHAISTRAT-75018", + "RHAISTRAT-75019", + "RHAISTRAT-75020", + "RHAISTRAT-75021", + "RHAISTRAT-75022", + "RHAISTRAT-75023", + "RHAISTRAT-75024", + "RHAISTRAT-75025", + "RHAISTRAT-75026", + "RHAISTRAT-75027", + "RHAISTRAT-75028" + ], + "got": [ + "RHAISTRAT-75004", + "RHAISTRAT-75006", + "RHAISTRAT-75009", + "RHAISTRAT-75010", + "RHAISTRAT-75011", + "RHAISTRAT-75015", + "RHAISTRAT-75018", + "RHAISTRAT-75019", + "RHAISTRAT-75020", + "RHAISTRAT-75021", + "RHAISTRAT-75022", + "RHAISTRAT-75023", + "RHAISTRAT-75024", + "RHAISTRAT-75025", + "RHAISTRAT-75026", + "RHAISTRAT-75027", + "RHAISTRAT-75028" + ], + "non_fixture_selected": [] + }, + "epic_creator_skip": { + "RHAISTRAT-75025": { + "expected": "decompose", + "got": "decompose", + "epic_children": [], + "legacy_incorporates": [] + }, + "RHAISTRAT-75026": { + "expected": "skip", + "got": "skip", + "epic_children": [ + "RHAI-75040", + "RHAI-75041", + "RHAI-75042" + ], + "legacy_incorporates": [] + }, + "RHAISTRAT-75027": { + "expected": "skip", + "got": "skip", + "epic_children": [], + "legacy_incorporates": [ + "RHAI-75043" + ] + } + }, + "epic_child_rollup": { + "RHAISTRAT-75004": { + "expected": [ + "RHAI-75001", + "RHAI-75002", + "RHAI-75003", + "RHAI-75004" + ], + "got": [ + "RHAI-75001", + "RHAI-75002", + "RHAI-75003", + "RHAI-75004" + ] + }, + "RHAISTRAT-75005": { + "expected": [ + "RHAI-75005", + "RHAI-75006" + ], + "got": [ + "RHAI-75005", + "RHAI-75006" + ] + }, + "RHAISTRAT-75006": { + "expected": [], + "got": [] + }, + "RHAISTRAT-75007": { + "expected": [ + "RHOAIENG-75001" + ], + "got": [ + "RHOAIENG-75001" + ] + }, + "RHAISTRAT-75008": { + "expected": [ + "RHAI-75007", + "RHAI-75008", + "RHAI-75009", + "RHAI-75010", + "RHAI-75011", + "RHOAIENG-75002" + ], + "got": [ + "RHAI-75007", + "RHAI-75008", + "RHAI-75009", + "RHAI-75010", + "RHAI-75011", + "RHOAIENG-75002" + ] + }, + "RHAISTRAT-75009": { + "expected": [ + "RHAI-75012", + "RHAI-75013" + ], + "got": [ + "RHAI-75012", + "RHAI-75013" + ] + }, + "RHAISTRAT-75010": { + "expected": [], + "got": [] + }, + "RHAISTRAT-75011": { + "expected": [], + "got": [] + }, + "RHAISTRAT-75012": { + "expected": [], + "got": [] + }, + "RHAISTRAT-75013": { + "expected": [], + "got": [] + }, + "RHAISTRAT-75014": { + "expected": [], + "got": [] + }, + "RHAISTRAT-75015": { + "expected": [ + "RHOAIENG-75003", + "RHOAIENG-75004", + "RHOAIENG-75005" + ], + "got": [ + "RHOAIENG-75003", + "RHOAIENG-75004", + "RHOAIENG-75005" + ] + }, + "RHAISTRAT-75016": { + "expected": [ + "AIPCC-75001", + "RHAI-75017", + "RHAI-75018" + ], + "got": [ + "AIPCC-75001", + "RHAI-75017", + "RHAI-75018" + ] + }, + "RHAISTRAT-75017": { + "expected": [ + "RHAI-75019", + "RHAI-75020", + "RHAI-75021", + "RHAI-75022", + "RHAI-75023", + "RHAI-75024", + "RHAI-75025", + "RHAI-75026", + "RHAI-75027", + "RHAI-75028", + "RHAI-75029", + "RHAI-75030" + ], + "got": [ + "RHAI-75019", + "RHAI-75020", + "RHAI-75021", + "RHAI-75022", + "RHAI-75023", + "RHAI-75024", + "RHAI-75025", + "RHAI-75026", + "RHAI-75027", + "RHAI-75028", + "RHAI-75029", + "RHAI-75030" + ] + }, + "RHAISTRAT-75018": { + "expected": [ + "RHAI-75031", + "RHAI-75032" + ], + "got": [ + "RHAI-75031", + "RHAI-75032" + ] + }, + "RHAISTRAT-75019": { + "expected": [], + "got": [] + }, + "RHAISTRAT-75020": { + "expected": [ + "RHAI-75033" + ], + "got": [ + "RHAI-75033" + ] + }, + "RHAISTRAT-75021": { + "expected": [ + "RHAI-75034", + "RHAI-75035" + ], + "got": [ + "RHAI-75034", + "RHAI-75035" + ] + }, + "RHAISTRAT-75022": { + "expected": [ + "RHAI-75036" + ], + "got": [ + "RHAI-75036" + ] + }, + "RHAISTRAT-75023": { + "expected": [], + "got": [] + }, + "RHAISTRAT-75024": { + "expected": [ + "RHAI-75037", + "RHAI-75038", + "RHAI-75039" + ], + "got": [ + "RHAI-75037", + "RHAI-75038", + "RHAI-75039" + ] + }, + "RHAISTRAT-75025": { + "expected": [], + "got": [] + }, + "RHAISTRAT-75026": { + "expected": [ + "RHAI-75040", + "RHAI-75041", + "RHAI-75042" + ], + "got": [ + "RHAI-75040", + "RHAI-75041", + "RHAI-75042" + ] + }, + "RHAISTRAT-75027": { + "expected": [], + "got": [] + }, + "RHAISTRAT-75028": { + "expected": [], + "got": [] + } + }, + "failures": [], + "ok": true, + "checked_at": "2026-11-16T20:39:42.962904+00:00" +} diff --git a/var/demos/initiatives/evidence/model-route-20261116T012104Z.json b/var/demos/initiatives/evidence/model-route-20261116T012104Z.json new file mode 100644 index 0000000..1d6c768 --- /dev/null +++ b/var/demos/initiatives/evidence/model-route-20261116T012104Z.json @@ -0,0 +1,68 @@ +{ + "checked_at": "2026-11-16T01:21:04.931461+00:00", + "relay_project": "cc75-initiatives", + "project_action": "created", + "upstream_profile": "rh-vertex-strat-evals", + "allowed_models": [ + "claude-opus-5-5" + ], + "auth_status": { + "backend": "anthropic", + "enabled": true, + "project_id": "cc75-initiatives", + "routing": { + "default_upstream": "rh-vertex-strat-evals", + "model_overrides": {} + }, + "synthetic": false, + "upstream_auth": { + "configured": true, + "error": null, + "expires_at": "2026-11-16T01:09:44.404699087+00:00", + "mode": "google-service-account", + "project_id": "", + "region": "global", + "state": "ready" + }, + "upstream_profile": "rh-vertex-strat-evals", + "upstreams": [ + { + "backend": "anthropic", + "synthetic": false, + "upstream_auth": { + "configured": true, + "error": null, + "expires_at": "2026-11-16T01:09:44.404699087+00:00", + "mode": "google-service-account", + "project_id": "", + "region": "global", + "state": "ready" + }, + "upstream_profile": "rh-vertex-strat-evals" + } + ] + }, + "workload_key": "issued", + "exchange_only_direct_messages_status": 403, + "ci_projects": { + "strat-pipeline": 4, + "rfe-autofixer": 6, + "epic-decomposer": 7 + }, + "ci_file_variables": [ + "CC75_RELAY_WORKLOAD_KEY (masked)", + "GOOGLE_APPLICATION_CREDENTIALS" + ], + "smoke": { + "exchange_status": 200, + "raw_predict_status": 403, + "seconds": 0.01, + "model": null, + "usage": null, + "stop_reason": null, + "error_type": "permission_error" + }, + "notes": [ + "No key or token values are recorded." + ] +} diff --git a/var/demos/initiatives/evidence/model-route-20261116T012117Z.json b/var/demos/initiatives/evidence/model-route-20261116T012117Z.json new file mode 100644 index 0000000..4eb9327 --- /dev/null +++ b/var/demos/initiatives/evidence/model-route-20261116T012117Z.json @@ -0,0 +1,69 @@ +{ + "checked_at": "2026-11-16T01:21:17.418313+00:00", + "relay_project": "cc75-initiatives", + "project_action": "unchanged", + "upstream_profile": "rh-vertex-strat-evals", + "allowed_models": [ + "claude-opus-5-5" + ], + "auth_status": { + "backend": "anthropic", + "enabled": true, + "project_id": "cc75-initiatives", + "routing": { + "default_upstream": "rh-vertex-strat-evals", + "model_overrides": {} + }, + "synthetic": false, + "upstream_auth": { + "configured": true, + "error": null, + "expires_at": "2026-11-16T01:09:44.404699087+00:00", + "mode": "google-service-account", + "project_id": "", + "region": "global", + "state": "ready" + }, + "upstream_profile": "rh-vertex-strat-evals", + "upstreams": [ + { + "backend": "anthropic", + "synthetic": false, + "upstream_auth": { + "configured": true, + "error": null, + "expires_at": "2026-11-16T01:09:44.404699087+00:00", + "mode": "google-service-account", + "project_id": "", + "region": "global", + "state": "ready" + }, + "upstream_profile": "rh-vertex-strat-evals" + } + ] + }, + "workload_key": "reused", + "exchange_only_direct_messages_status": 403, + "ci_projects": { + "strat-pipeline": 4, + "rfe-autofixer": 6, + "epic-decomposer": 7 + }, + "ci_file_variables": [ + "CC75_RELAY_WORKLOAD_KEY (masked)", + "GOOGLE_APPLICATION_CREDENTIALS" + ], + "smoke": { + "exchange_status": 200, + "raw_predict_status": 403, + "seconds": 0.01, + "model": null, + "usage": null, + "stop_reason": null, + "error_type": "permission_error", + "error_message": "Model access denied" + }, + "notes": [ + "No key or token values are recorded." + ] +} diff --git a/var/demos/initiatives/evidence/model-route-20261116T013642Z.json b/var/demos/initiatives/evidence/model-route-20261116T013642Z.json new file mode 100644 index 0000000..8f6e57c --- /dev/null +++ b/var/demos/initiatives/evidence/model-route-20261116T013642Z.json @@ -0,0 +1,82 @@ +{ + "checked_at": "2026-11-16T01:36:42.631109+00:00", + "relay_project": "cc75-initiatives", + "project_action": "unchanged", + "upstream_profile": "rh-vertex-strat-evals", + "allowed_models": [ + "claude-opus-5-5" + ], + "auth_status": { + "backend": "anthropic", + "enabled": true, + "project_id": "cc75-initiatives", + "routing": { + "default_upstream": "rh-vertex-strat-evals", + "model_overrides": {} + }, + "synthetic": false, + "upstream_auth": { + "configured": true, + "error": null, + "expires_at": "2026-11-16T01:09:44.404699087+00:00", + "mode": "google-service-account", + "project_id": "", + "region": "global", + "state": "ready" + }, + "upstream_profile": "rh-vertex-strat-evals", + "upstreams": [ + { + "backend": "anthropic", + "synthetic": false, + "upstream_auth": { + "configured": true, + "error": null, + "expires_at": "2026-11-16T01:09:44.404699087+00:00", + "mode": "google-service-account", + "project_id": "", + "region": "global", + "state": "ready" + }, + "upstream_profile": "rh-vertex-strat-evals" + } + ] + }, + "workload_key": "reused", + "exchange_only_direct_messages_status": 403, + "ci_projects": { + "strat-pipeline": 4, + "rfe-autofixer": 6, + "epic-decomposer": 7 + }, + "ci_file_variables": [ + "CC75_RELAY_WORKLOAD_KEY (masked)", + "GOOGLE_APPLICATION_CREDENTIALS" + ], + "smoke": { + "exchange_status": 200, + "raw_predict_status": 200, + "seconds": 1.21, + "model": "claude-opus-5-5", + "usage": { + "input_tokens": 18, + "cache_creation_input_tokens": 0, + "cache_read_input_tokens": 0, + "cache_creation": { + "ephemeral_5m_input_tokens": 0, + "ephemeral_1h_input_tokens": 0 + }, + "output_tokens": 4, + "output_tokens_details": { + "thinking_tokens": 0 + }, + "speed": "standard" + }, + "stop_reason": "end_turn", + "error_type": null, + "error_message": "" + }, + "notes": [ + "No key or token values are recorded." + ] +} diff --git a/var/demos/initiatives/evidence/model-route-20261116T021332Z.json b/var/demos/initiatives/evidence/model-route-20261116T021332Z.json new file mode 100644 index 0000000..a007e6f --- /dev/null +++ b/var/demos/initiatives/evidence/model-route-20261116T021332Z.json @@ -0,0 +1,61 @@ +{ + "checked_at": "2026-11-16T02:13:32.030078+00:00", + "relay_project": "cc75-initiatives", + "project_action": "unchanged", + "upstream_profile": "rh-vertex-strat-evals", + "allowed_models": [ + "claude-opus-5-5" + ], + "auth_status": { + "backend": "anthropic", + "enabled": true, + "project_id": "cc75-initiatives", + "routing": { + "default_upstream": "rh-vertex-strat-evals", + "model_overrides": {} + }, + "synthetic": false, + "upstream_auth": { + "configured": true, + "error": null, + "expires_at": "2026-11-16T02:36:40.574595741+00:00", + "mode": "google-service-account", + "project_id": "", + "region": "global", + "state": "ready" + }, + "upstream_profile": "rh-vertex-strat-evals", + "upstreams": [ + { + "backend": "anthropic", + "synthetic": false, + "upstream_auth": { + "configured": true, + "error": null, + "expires_at": "2026-11-16T02:36:40.574595741+00:00", + "mode": "google-service-account", + "project_id": "", + "region": "global", + "state": "ready" + }, + "upstream_profile": "rh-vertex-strat-evals" + } + ] + }, + "workload_key": "reused", + "exchange_only_direct_messages_status": 403, + "ci_projects": { + "strat-pipeline": 4, + "rfe-autofixer": 6, + "epic-decomposer": 7, + "cc75/sandbox-relay": 11 + }, + "ci_file_variables": [ + "CC75_RELAY_WORKLOAD_KEY (masked)", + "GOOGLE_APPLICATION_CREDENTIALS" + ], + "smoke": null, + "notes": [ + "No key or token values are recorded." + ] +} diff --git a/var/demos/initiatives/evidence/model-route-20261116T022404Z.json b/var/demos/initiatives/evidence/model-route-20261116T022404Z.json new file mode 100644 index 0000000..f7e3ada --- /dev/null +++ b/var/demos/initiatives/evidence/model-route-20261116T022404Z.json @@ -0,0 +1,106 @@ +{ + "checked_at": "2026-11-16T02:24:04.321086+00:00", + "relay_project": "cc75-initiatives", + "project_action": "unchanged", + "upstream_profile": "rh-vertex-strat-evals", + "allowed_models": [ + "claude-opus-5-5" + ], + "auth_status": { + "backend": "anthropic", + "enabled": true, + "project_id": "cc75-initiatives", + "routing": { + "default_upstream": "rh-vertex-strat-evals", + "model_overrides": {} + }, + "synthetic": false, + "upstream_auth": { + "configured": true, + "error": null, + "expires_at": "2026-11-16T02:36:40.574595741+00:00", + "mode": "google-service-account", + "project_id": "", + "region": "global", + "state": "ready" + }, + "upstream_profile": "rh-vertex-strat-evals", + "upstreams": [ + { + "backend": "anthropic", + "synthetic": false, + "upstream_auth": { + "configured": true, + "error": null, + "expires_at": "2026-11-16T02:36:40.574595741+00:00", + "mode": "google-service-account", + "project_id": "", + "region": "global", + "state": "ready" + }, + "upstream_profile": "rh-vertex-strat-evals" + } + ] + }, + "workload_key": "reused", + "exchange_only_direct_messages_status": 403, + "ci_projects": { + "strat-pipeline": 4, + "rfe-autofixer": 6, + "epic-decomposer": 7, + "cc75/sandbox-relay": 11 + }, + "ci_file_variables": [ + "CC75_RELAY_WORKLOAD_KEY (masked)", + "GOOGLE_APPLICATION_CREDENTIALS" + ], + "ci_env_variables": [ + "CC75_RELAY_API_KEY (masked)" + ], + "smoke": { + "exchange_status": 200, + "exchanged_token": { + "status": 200, + "model": "claude-opus-5-5", + "usage": { + "input_tokens": 18, + "cache_creation_input_tokens": 0, + "cache_read_input_tokens": 0, + "cache_creation": { + "ephemeral_5m_input_tokens": 0, + "ephemeral_1h_input_tokens": 0 + }, + "output_tokens": 4, + "output_tokens_details": { + "thinking_tokens": 0 + }, + "speed": "standard" + }, + "error_message": "" + }, + "api_key_bearer": { + "status": 200, + "model": "claude-opus-5-5", + "usage": { + "input_tokens": 18, + "cache_creation_input_tokens": 0, + "cache_read_input_tokens": 0, + "cache_creation": { + "ephemeral_5m_input_tokens": 0, + "ephemeral_1h_input_tokens": 0 + }, + "output_tokens": 4, + "output_tokens_details": { + "thinking_tokens": 0 + }, + "speed": "standard" + }, + "error_message": "" + }, + "raw_predict_status": 200 + }, + "notes": [ + "No key or token values are recorded." + ], + "api_key_action": "issued" +} \ No newline at end of file diff --git a/var/demos/initiatives/evidence/model-route-20261116T025111Z.json b/var/demos/initiatives/evidence/model-route-20261116T025111Z.json new file mode 100644 index 0000000..9780a72 --- /dev/null +++ b/var/demos/initiatives/evidence/model-route-20261116T025111Z.json @@ -0,0 +1,125 @@ +{ + "checked_at": "2026-11-16T02:51:11.008705+00:00", + "relay_project": "cc75-initiatives", + "project_action": "unchanged", + "upstream_profile": "rh-vertex-strat-evals", + "allowed_models": [ + "claude-opus-5-5" + ], + "auth_status": { + "backend": "anthropic", + "enabled": true, + "project_id": "cc75-initiatives", + "routing": { + "default_upstream": "rh-vertex-strat-evals", + "model_overrides": {} + }, + "synthetic": false, + "upstream_auth": { + "configured": true, + "error": null, + "expires_at": "2026-11-16T03:36:21.125603191+00:00", + "mode": "google-service-account", + "project_id": "", + "region": "global", + "state": "ready" + }, + "upstream_profile": "rh-vertex-strat-evals", + "upstreams": [ + { + "backend": "anthropic", + "synthetic": false, + "upstream_auth": { + "configured": true, + "error": null, + "expires_at": "2026-11-16T03:36:21.125603191+00:00", + "mode": "google-service-account", + "project_id": "", + "region": "global", + "state": "ready" + }, + "upstream_profile": "rh-vertex-strat-evals" + } + ] + }, + "workload_key": "reused", + "api_key_action": "issued", + "exchange_only_direct_messages_status": 403, + "ci_projects": { + "strat-pipeline": 4, + "rfe-autofixer": 6, + "epic-decomposer": 7, + "cc75/sandbox-relay": 11 + }, + "ci_file_variables": [ + "CC75_RELAY_WORKLOAD_KEY (masked)", + "GOOGLE_APPLICATION_CREDENTIALS" + ], + "ci_env_variables": [ + "CC75_RELAY_API_KEY (masked)" + ], + "smoke": { + "exchange_status": 200, + "exchanged_token": { + "status": 200, + "model": "claude-opus-5-5", + "usage": { + "input_tokens": 18, + "cache_creation_input_tokens": 0, + "cache_read_input_tokens": 0, + "cache_creation": { + "ephemeral_5m_input_tokens": 0, + "ephemeral_1h_input_tokens": 0 + }, + "output_tokens": 4, + "output_tokens_details": { + "thinking_tokens": 0 + }, + "speed": "standard" + }, + "error_message": "" + }, + "api_key_bearer": { + "status": 200, + "model": "claude-opus-5-5", + "usage": { + "input_tokens": 18, + "cache_creation_input_tokens": 0, + "cache_read_input_tokens": 0, + "cache_creation": { + "ephemeral_5m_input_tokens": 0, + "ephemeral_1h_input_tokens": 0 + }, + "output_tokens": 4, + "output_tokens_details": { + "thinking_tokens": 0 + }, + "speed": "standard" + }, + "error_message": "" + }, + "messages_api_key": { + "status": 200, + "model": "claude-opus-5-5", + "usage": { + "input_tokens": 18, + "cache_creation_input_tokens": 0, + "cache_read_input_tokens": 0, + "cache_creation": { + "ephemeral_5m_input_tokens": 0, + "ephemeral_1h_input_tokens": 0 + }, + "output_tokens": 4, + "output_tokens_details": { + "thinking_tokens": 0 + }, + "speed": "standard" + }, + "error_message": "" + }, + "raw_predict_status": 200 + }, + "notes": [ + "No key or token values are recorded." + ] +} diff --git a/var/demos/initiatives/evidence/model-route-20261116T141205Z.json b/var/demos/initiatives/evidence/model-route-20261116T141205Z.json new file mode 100644 index 0000000..00e5cf4 --- /dev/null +++ b/var/demos/initiatives/evidence/model-route-20261116T141205Z.json @@ -0,0 +1,124 @@ +{ + "checked_at": "2026-11-16T14:12:05.039314+00:00", + "relay_project": "cc75-initiatives", + "project_action": "unchanged", + "upstream_profile": "rh-vertex-strat-evals", + "allowed_models": [ + "claude-opus-5-5" + ], + "auth_status": { + "backend": "anthropic", + "enabled": true, + "project_id": "cc75-initiatives", + "routing": { + "default_upstream": "rh-vertex-strat-evals", + "model_overrides": {} + }, + "synthetic": false, + "upstream_auth": { + "configured": true, + "error": null, + "expires_at": "2026-11-16T15:10:52.856799103+00:00", + "mode": "google-service-account", + "project_id": "", + "region": "global", + "state": "ready" + }, + "upstream_profile": "rh-vertex-strat-evals", + "upstreams": [ + { + "backend": "anthropic", + "synthetic": false, + "upstream_auth": { + "configured": true, + "error": null, + "expires_at": "2026-11-16T15:10:52.856799103+00:00", + "mode": "google-service-account", + "project_id": "", + "region": "global", + "state": "ready" + }, + "upstream_profile": "rh-vertex-strat-evals" + } + ] + }, + "workload_key": "reused", + "api_key_action": "reused", + "exchange_only_direct_messages_status": 403, + "ci_projects": { + "strat-pipeline": 4, + "rfe-autofixer": 6, + "epic-decomposer": 7 + }, + "ci_file_variables": [ + "CC75_RELAY_WORKLOAD_KEY (masked)", + "GOOGLE_APPLICATION_CREDENTIALS" + ], + "ci_env_variables": [ + "CC75_RELAY_API_KEY (masked)" + ], + "smoke": { + "exchange_status": 200, + "exchanged_token": { + "status": 200, + "model": "claude-opus-5-5", + "usage": { + "input_tokens": 18, + "cache_creation_input_tokens": 0, + "cache_read_input_tokens": 0, + "cache_creation": { + "ephemeral_5m_input_tokens": 0, + "ephemeral_1h_input_tokens": 0 + }, + "output_tokens": 4, + "output_tokens_details": { + "thinking_tokens": 0 + }, + "speed": "standard" + }, + "error_message": "" + }, + "api_key_bearer": { + "status": 200, + "model": "claude-opus-5-5", + "usage": { + "input_tokens": 18, + "cache_creation_input_tokens": 0, + "cache_read_input_tokens": 0, + "cache_creation": { + "ephemeral_5m_input_tokens": 0, + "ephemeral_1h_input_tokens": 0 + }, + "output_tokens": 4, + "output_tokens_details": { + "thinking_tokens": 0 + }, + "speed": "standard" + }, + "error_message": "" + }, + "messages_api_key": { + "status": 200, + "model": "claude-opus-5-5", + "usage": { + "input_tokens": 18, + "cache_creation_input_tokens": 0, + "cache_read_input_tokens": 0, + "cache_creation": { + "ephemeral_5m_input_tokens": 0, + "ephemeral_1h_input_tokens": 0 + }, + "output_tokens": 4, + "output_tokens_details": { + "thinking_tokens": 0 + }, + "speed": "standard" + }, + "error_message": "" + }, + "raw_predict_status": 200 + }, + "notes": [ + "No key or token values are recorded." + ] +} diff --git a/var/demos/initiatives/evidence/model-route-20261116T230212Z.json b/var/demos/initiatives/evidence/model-route-20261116T230212Z.json new file mode 100644 index 0000000..6db7f2d --- /dev/null +++ b/var/demos/initiatives/evidence/model-route-20261116T230212Z.json @@ -0,0 +1,64 @@ +{ + "checked_at": "2026-11-16T23:02:12.566415+00:00", + "relay_project": "cc75-initiatives", + "project_action": "unchanged", + "upstream_profile": "rh-vertex-strat-evals", + "allowed_models": [ + "claude-opus-5-5" + ], + "auth_status": { + "backend": "anthropic", + "enabled": true, + "project_id": "cc75-initiatives", + "routing": { + "default_upstream": "rh-vertex-strat-evals", + "model_overrides": {} + }, + "synthetic": false, + "upstream_auth": { + "configured": true, + "error": null, + "expires_at": "2026-11-16T22:43:56.115838347+00:00", + "mode": "google-service-account", + "project_id": "", + "region": "global", + "state": "ready" + }, + "upstream_profile": "rh-vertex-strat-evals", + "upstreams": [ + { + "backend": "anthropic", + "synthetic": false, + "upstream_auth": { + "configured": true, + "error": null, + "expires_at": "2026-11-16T22:43:56.115838347+00:00", + "mode": "google-service-account", + "project_id": "", + "region": "global", + "state": "ready" + }, + "upstream_profile": "rh-vertex-strat-evals" + } + ] + }, + "workload_key": "reused", + "api_key_action": "reused", + "exchange_only_direct_messages_status": 403, + "ci_projects": { + "strat-pipeline": 4, + "rfe-autofixer": 6, + "epic-decomposer": 7 + }, + "ci_file_variables": [ + "CC75_RELAY_WORKLOAD_KEY (masked)", + "GOOGLE_APPLICATION_CREDENTIALS" + ], + "ci_env_variables": [ + "CC75_RELAY_API_KEY (masked)" + ], + "smoke": null, + "notes": [ + "No key or token values are recorded." + ] +} diff --git a/var/demos/initiatives/evidence/seed-20261116T003128Z.json b/var/demos/initiatives/evidence/seed-20261116T003128Z.json new file mode 100644 index 0000000..68bc7f1 --- /dev/null +++ b/var/demos/initiatives/evidence/seed-20261116T003128Z.json @@ -0,0 +1,46 @@ +{ + "jira_url": "https://jira.w530.local", + "issues_in_fixture": 78, + "started": "2026-11-16T00:31:22.387250+00:00", + "config:rhaistrat-initiatives.json": { + "statuses": 8, + "issue_types": 1, + "priorities": 0, + "resolutions": 0, + "link_types": 2, + "custom_fields": 3, + "workflows": 1, + "projects": 1 + }, + "config:rhai-project.json": { + "statuses": 0, + "issue_types": 0, + "priorities": 0, + "resolutions": 0, + "link_types": 0, + "custom_fields": 0, + "workflows": 0, + "projects": 1 + }, + "import": { + "imported": 78, + "updated": 0, + "projects_created": [], + "users_created": [ + "synth.pm.01", + "synth.pm.02", + "synth.pm.03", + "synth.pm.04", + "synth.pm.06", + "synth.eng.01", + "synth.eng.02", + "synth.eng.03", + "synth.eng.04", + "synth.pm.05" + ] + }, + "verify_problems": [], + "fixture_issue_count": 78, + "snapshot": "snapshot_cc75-baseline_20261116_003128.db", + "ok": true +} diff --git a/var/demos/initiatives/evidence/seed-20261116T003140Z.json b/var/demos/initiatives/evidence/seed-20261116T003140Z.json new file mode 100644 index 0000000..c6dceea --- /dev/null +++ b/var/demos/initiatives/evidence/seed-20261116T003140Z.json @@ -0,0 +1,34 @@ +{ + "jira_url": "https://jira.w530.local", + "issues_in_fixture": 78, + "started": "2026-11-16T00:31:35.107836+00:00", + "config:rhaistrat-initiatives.json": { + "statuses": 8, + "issue_types": 1, + "priorities": 0, + "resolutions": 0, + "link_types": 2, + "custom_fields": 3, + "workflows": 1, + "projects": 1 + }, + "config:rhai-project.json": { + "statuses": 0, + "issue_types": 0, + "priorities": 0, + "resolutions": 0, + "link_types": 0, + "custom_fields": 0, + "workflows": 0, + "projects": 1 + }, + "import": { + "imported": 0, + "updated": 78, + "projects_created": [], + "users_created": [] + }, + "verify_problems": [], + "fixture_issue_count": 78, + "ok": true +} diff --git a/var/demos/initiatives/evidence/seed-20261116T182256Z.json b/var/demos/initiatives/evidence/seed-20261116T182256Z.json new file mode 100644 index 0000000..40c28a3 --- /dev/null +++ b/var/demos/initiatives/evidence/seed-20261116T182256Z.json @@ -0,0 +1,65 @@ +{ + "jira_url": "https://jira.w530.local", + "issues_in_fixture": 78, + "started": "2026-11-16T18:22:50.090956+00:00", + "config:rhaistrat-initiatives.json": { + "statuses": 8, + "issue_types": 1, + "priorities": 0, + "resolutions": 0, + "link_types": 2, + "custom_fields": 3, + "workflows": 1, + "projects": 1 + }, + "config:rhai-project.json": { + "statuses": 0, + "issue_types": 0, + "priorities": 0, + "resolutions": 0, + "link_types": 0, + "custom_fields": 0, + "workflows": 0, + "projects": 1 + }, + "import": { + "imported": 0, + "updated": 78, + "projects_created": [], + "users_created": [] + }, + "rhai_components": { + "wanted": [ + "synth-ci", + "synth-data", + "synth-evaluation", + "synth-fleet", + "synth-images", + "synth-installer", + "synth-networking", + "synth-observability", + "synth-runtime", + "synth-security", + "synth-serving", + "synth-ui" + ], + "created": [ + "synth-ci", + "synth-data", + "synth-evaluation", + "synth-fleet", + "synth-images", + "synth-installer", + "synth-networking", + "synth-observability", + "synth-runtime", + "synth-security", + "synth-serving", + "synth-ui" + ] + }, + "verify_problems": [], + "fixture_issue_count": 78, + "snapshot": "snapshot_cc75-baseline_20261116_182256.db", + "ok": true +} diff --git a/var/demos/initiatives/evidence/seed-20261116T203935Z.json b/var/demos/initiatives/evidence/seed-20261116T203935Z.json new file mode 100644 index 0000000..75c41ce --- /dev/null +++ b/var/demos/initiatives/evidence/seed-20261116T203935Z.json @@ -0,0 +1,52 @@ +{ + "jira_url": "https://jira.w530.local", + "issues_in_fixture": 79, + "started": "2026-11-16T20:39:29.583762+00:00", + "config:rhaistrat-initiatives.json": { + "statuses": 8, + "issue_types": 1, + "priorities": 0, + "resolutions": 0, + "link_types": 2, + "custom_fields": 3, + "workflows": 1, + "projects": 1 + }, + "config:rhai-project.json": { + "statuses": 0, + "issue_types": 0, + "priorities": 0, + "resolutions": 0, + "link_types": 0, + "custom_fields": 0, + "workflows": 0, + "projects": 1 + }, + "import": { + "imported": 1, + "updated": 78, + "projects_created": [], + "users_created": [] + }, + "rhai_components": { + "wanted": [ + "synth-ci", + "synth-data", + "synth-evaluation", + "synth-fleet", + "synth-images", + "synth-installer", + "synth-networking", + "synth-observability", + "synth-runtime", + "synth-security", + "synth-serving", + "synth-ui" + ], + "created": [] + }, + "verify_problems": [], + "fixture_issue_count": 79, + "snapshot": "snapshot_cc75-baseline_20261116_203935.db", + "ok": true +} diff --git a/var/demos/initiatives/evidence/seed-20261116T203941Z.json b/var/demos/initiatives/evidence/seed-20261116T203941Z.json new file mode 100644 index 0000000..a2881a0 --- /dev/null +++ b/var/demos/initiatives/evidence/seed-20261116T203941Z.json @@ -0,0 +1,51 @@ +{ + "jira_url": "https://jira.w530.local", + "issues_in_fixture": 79, + "started": "2026-11-16T20:39:35.432295+00:00", + "config:rhaistrat-initiatives.json": { + "statuses": 8, + "issue_types": 1, + "priorities": 0, + "resolutions": 0, + "link_types": 2, + "custom_fields": 3, + "workflows": 1, + "projects": 1 + }, + "config:rhai-project.json": { + "statuses": 0, + "issue_types": 0, + "priorities": 0, + "resolutions": 0, + "link_types": 0, + "custom_fields": 0, + "workflows": 0, + "projects": 1 + }, + "import": { + "imported": 0, + "updated": 79, + "projects_created": [], + "users_created": [] + }, + "rhai_components": { + "wanted": [ + "synth-ci", + "synth-data", + "synth-evaluation", + "synth-fleet", + "synth-images", + "synth-installer", + "synth-networking", + "synth-observability", + "synth-runtime", + "synth-security", + "synth-serving", + "synth-ui" + ], + "created": [] + }, + "verify_problems": [], + "fixture_issue_count": 79, + "ok": true +} diff --git a/var/demos/initiatives/evidence/seed-20261116T210711Z.json b/var/demos/initiatives/evidence/seed-20261116T210711Z.json new file mode 100644 index 0000000..5bf89b2 --- /dev/null +++ b/var/demos/initiatives/evidence/seed-20261116T210711Z.json @@ -0,0 +1,52 @@ +{ + "jira_url": "https://jira.w530.local", + "issues_in_fixture": 79, + "started": "2026-11-16T21:07:06.403651+00:00", + "config:rhaistrat-initiatives.json": { + "statuses": 8, + "issue_types": 1, + "priorities": 0, + "resolutions": 0, + "link_types": 2, + "custom_fields": 3, + "workflows": 1, + "projects": 1 + }, + "config:rhai-project.json": { + "statuses": 0, + "issue_types": 0, + "priorities": 0, + "resolutions": 0, + "link_types": 0, + "custom_fields": 0, + "workflows": 0, + "projects": 1 + }, + "import": { + "imported": 0, + "updated": 79, + "projects_created": [], + "users_created": [] + }, + "rhai_components": { + "wanted": [ + "synth-ci", + "synth-data", + "synth-evaluation", + "synth-fleet", + "synth-images", + "synth-installer", + "synth-networking", + "synth-observability", + "synth-runtime", + "synth-security", + "synth-serving", + "synth-ui" + ], + "created": [] + }, + "verify_problems": [], + "fixture_issue_count": 79, + "snapshot": "snapshot_cc75-baseline_20261116_210711.db", + "ok": true +} diff --git a/var/demos/initiatives/evidence/smoke-agentic-ci-sandbox-20261116T172648Z.json b/var/demos/initiatives/evidence/smoke-agentic-ci-sandbox-20261116T172648Z.json new file mode 100644 index 0000000..8afd03a --- /dev/null +++ b/var/demos/initiatives/evidence/smoke-agentic-ci-sandbox-20261116T172648Z.json @@ -0,0 +1,81 @@ +{ + "project": "cc75/agentic-ci-sandbox", + "commit": "818f431438b4624799bfc84922dd12714c43d2ae", + "pipeline": 54, + "status": "success", + "wall_seconds": 518, + "jobs": [ + { + "id": 183, + "name": "sandbox-probe", + "status": "success", + "markers": [ + "SMOKE built localhost/cc75-claude-sandbox:0.3.46-ca", + "SMOKE sandbox created from local image", + "SMOKE_DONE" + ], + "trace_tail": [ + "2026-11-16T17:23:09.999380Z 01O \u25b6 Configuring provider", + "2026-11-16T17:23:09.999385Z 01O exec: openshell provider get ci-gcp", + "2026-11-16T17:23:09.999392Z 01O Creating Anthropic API key provider", + "2026-11-16T17:23:09.999407Z 01O exec: openshell provider create --name ci-gcp --type anthropic --credential ANTHROPIC_API_KEY", + "2026-11-16T17:23:09.999417Z 01O \u001b[1m\u001b[32m\u2713\u001b[39m\u001b[0m Created provider ci-gcp", + "2026-11-16T17:23:09.999427Z 01O \u25b6 Creating sandbox (image: localhost/cc75-claude-sandbox:0.3.46-ca)", + "2026-11-16T17:23:09.999435Z 01O exec: openshell sandbox create --name ci --no-tty --no-auto-providers --provider ci-gcp --from localhost/cc75-claude-sandbox:0.3.46-ca --detach -- sleep infinity", + "2026-11-16T17:23:21.510520Z 01O ", + "2026-11-16T17:23:21.510535Z 01O \u001b[1m\u001b[36mCreated sandbox:\u001b[39m\u001b[0m \u001b[1mci\u001b[0m", + "2026-11-16T17:23:21.510540Z 01O ", + "2026-11-16T17:23:21.510553Z 01O \u001b[2m[0.0s]\u001b[0m Requesting compute...", + "2026-11-16T17:23:21.510558Z 01O Policy source: --policy flag (/tmp/policy.yml)", + "2026-11-16T17:23:21.510565Z 01O exec: openshell policy update --wait --binary /usr/local/bin/claude --binary /usr/local/sbin/claude --binary /usr/local/bin/opencode --binary /usr/local/sbin/opencode --binary /usr/local/bin/codex --binary /usr/local/sbin/codex --add-endpoint github.com:443:full --add-endpoint *.github.com:443:full --add-endpoint gitlab.com:443:full --add-endpoint *.gitlab.com:443:full --add-endpoint pypi.org:443:read-only --add-endpoint files.pythonhosted.org:443:read-only --add-endpoint api.anthropic.com:443:read-write --add-endpoint jira.w530.local:443:read-write --add-endpoint relay-api.w530.local:443:read-write ci", + "2026-11-16T17:23:21.510572Z 01O \u001b[1m\u001b[32m\u2713\u001b[39m\u001b[0m Policy version 2 submitted (hash: d8dd24f8432f)", + "2026-11-16T17:23:31.522434Z 01O \u001b[1m\u001b[32m\u2713\u001b[39m\u001b[0m Policy version 2 loaded (active version: 2)", + "2026-11-16T17:23:31.522446Z 01O exec: openshell policy get --base -o json ci", + "2026-11-16T17:23:31.522452Z 01O \u25b6 Uploading workdir", + "2026-11-16T17:23:31.522458Z 01O exec: openshell sandbox upload --no-git-ignore ci /tmp/work", + "2026-11-16T17:23:31.522461Z 01O Uploading /tmp/work -> sandbox:~", + "2026-11-16T17:23:31.522465Z 01O \u001b[1m\u001b[32m\u2713\u001b[39m\u001b[0m Upload complete", + "2026-11-16T17:23:31.522470Z 01O \u001b[1m\u001b[32m\u2713\u001b[39m\u001b[0m Policy version 3 submitted (hash: c3c69da01b74)", + "2026-11-16T17:23:42.036413Z 01O \u001b[1m\u001b[32m\u2713\u001b[39m\u001b[0m Policy version 3 loaded (active version: 3)", + "2026-11-16T17:23:42.036446Z 01O SMOKE sandbox created from local image", + "2026-11-16T17:23:42.036453Z 01O exec: openshell sandbox exec --name ci --no-tty -- bash -c for u in https://relay-api.w530.local/v1/models https://jira.w530.local/rest/api/2/serverInfo; do echo CURL_PROBE $u $(curl -s -o /tmp/b -w '%{http_code} verify=%{ssl_verify_result}' $u 2>&1) $(head -c 160 /tmp/b); done", + "2026-11-16T17:23:42.036462Z 01O CURL_PROBE https://relay-api.w530.local/v1/models 401 verify=0 {\"error\":{\"message\":\"Invalid or missing local key\",\"type\":\"authentication_error\"},\"type\":\"error\"}", + "2026-11-16T17:23:42.036465Z 01O CURL_PROBE https://jira.w530.local/rest/api/2/serverInfo 200 verify=0 {\"baseUrl\":\"https://jira-emulator.atlassian.net\",\"displayUrl\":\"https://jira-emulator.atlassian.net\",\"displayUrlServicedeskHelpCenter\":\"https://jira-emulator.atl", + "2026-11-16T17:23:42.036470Z 01O exec: openshell sandbox exec --name ci --no-tty -- bash -c ", + "2026-11-16T17:23:42.036491Z 01O echo \"== claude: $(claude --version 2>&1 | head -1)\"; echo \"== trust has emulator CA:\"; grep -c \"BEGIN CERTIFICATE\" /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem", + "2026-11-16T17:23:42.036501Z 01O cd /tmp && ANTHROPIC_BASE_URL=https://relay-api.w530.local ANTHROPIC_API_KEY=cc75-placeholder-not-a-key \\", + "2026-11-16T17:23:42.036507Z 01O CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 timeout 120 claude -p \"reply ok\" --model claude-opus-5-5 \\", + "2026-11-16T17:23:42.036516Z 01O --output-format json >/tmp/c.json 2>/tmp/c.err", + "2026-11-16T17:23:42.036519Z 01O echo \"claude rc=$?\"", + "2026-11-16T17:23:42.036525Z 01O echo \"CLAUDE_STDOUT $(head -c 700 /tmp/c.json)\"", + "2026-11-16T17:23:42.036532Z 01O echo \"CLAUDE_STDERR $(grep -v -e backup -e \"restore it\" -e \"^$\" /tmp/c.err | tail -4 | tr \"\\n\" \" \" | head -c 600)\"", + "2026-11-16T17:23:42.036534Z 01O ", + "2026-11-16T17:23:43.038179Z 01O == claude: 2.1.296 (Claude Code)", + "2026-11-16T17:23:43.038194Z 01O == trust has emulator CA:", + "2026-11-16T17:23:43.038206Z 01O 149", + "2026-11-16T17:25:42.685179Z 01O claude rc=124", + "2026-11-16T17:25:42.685218Z 01O CLAUDE_STDOUT ", + "2026-11-16T17:25:42.685225Z 01O CLAUDE_STDERR Claude configuration file not found at: /sandbox/.claude.json Claude configuration file not found at: /sandbox/.claude.json ", + "2026-11-16T17:25:42.685233Z 01O exec: openshell status", + "2026-11-16T17:25:43.187315Z 01O exec: openshell sandbox get ci", + "2026-11-16T17:25:43.187339Z 01O exec: openshell sandbox delete ci", + "2026-11-16T17:26:29.244191Z 01O \u001b[1m\u001b[32m\u2713\u001b[39m\u001b[0m Deleted sandbox ci", + "2026-11-16T17:26:29.244208Z 01O \u25b6 Sandbox deleted", + "2026-11-16T17:26:29.244217Z 01O exec: openshell gateway remove ci", + "2026-11-16T17:26:39.266255Z 01O \u25b6 Gateway stopped", + "2026-11-16T17:26:39.266286Z 01O SMOKE_DONE", + "2026-11-16T17:26:39.266290Z 01O \u001b[32;1m$ true\u001b[0;m", + "2026-11-16T17:26:39.266296Z 01O ", + "2026-11-16T17:26:39.266338Z 00O section_end:1794849999:step_script", + "\u001b[0K", + "2026-11-16T17:26:39.266763Z 00O+section_start:1794849999:cleanup_file_variables", + "\u001b[0K", + "2026-11-16T17:26:39.266770Z 00O+\u001b[0K\u001b[36;1mCleaning up project directory and file based variables\u001b[0;m\u001b[0;m", + "2026-11-16T17:26:39.766993Z 01O ", + "2026-11-16T17:26:39.767036Z 00O section_end:1794849999:cleanup_file_variables", + "\u001b[0K", + "2026-11-16T17:26:39.773515Z 00O \u001b[32;1mJob succeeded\u001b[0;m" + ] + } + ] +} diff --git a/var/demos/initiatives/evidence/smoke-fullsend-gateway-20261116T004227Z.json b/var/demos/initiatives/evidence/smoke-fullsend-gateway-20261116T004227Z.json new file mode 100644 index 0000000..aa2fe45 --- /dev/null +++ b/var/demos/initiatives/evidence/smoke-fullsend-gateway-20261116T004227Z.json @@ -0,0 +1,77 @@ +{ + "project": "cc75/fullsend-gateway", + "commit": "e128a78fd3ce42d27570b4d56c4aa08440790882", + "pipeline": 1, + "status": "success", + "wall_seconds": 243, + "jobs": [ + { + "id": 1, + "name": "gateway-smoke", + "status": "success", + "markers": [], + "trace_tail": [ + "2026-11-16T00:42:13.475770Z 01O ----- tail smoke-output/sandbox-create-help.txt", + "2026-11-16T00:42:13.475779Z 01O UPLOAD FLAGS:", + "2026-11-16T00:42:13.475792Z 01O --upload ", + "2026-11-16T00:42:13.475799Z 01O Upload local files into the sandbox before running.", + "2026-11-16T00:42:13.475807Z 01O ", + "2026-11-16T00:42:13.475844Z 01O Format: `[:]`. When `SANDBOX_PATH` is omitted, files are uploaded to the container's working directory. `.gitignore` rules are applied by default; use `--no-git-ignore` to upload everything.", + "2026-11-16T00:42:13.475853Z 01O ", + "2026-11-16T00:42:13.475885Z 01O --no-git-ignore", + "2026-11-16T00:42:13.475901Z 01O Disable `.gitignore` filtering for `--upload`", + "2026-11-16T00:42:13.475912Z 01O ", + "2026-11-16T00:42:13.475936Z 01O GATEWAY FLAGS:", + "2026-11-16T00:42:13.475950Z 01O -g, --gateway ", + "2026-11-16T00:42:13.475965Z 01O Gateway name to operate on (resolved from stored metadata)", + "2026-11-16T00:42:13.475980Z 01O ", + "2026-11-16T00:42:13.475987Z 01O [env: OPENSHELL_GATEWAY=]", + "2026-11-16T00:42:13.475995Z 01O ", + "2026-11-16T00:42:13.476008Z 01O --gateway-endpoint ", + "2026-11-16T00:42:13.476023Z 01O Gateway endpoint URL (e.g. ). Connects directly without looking up gateway metadata", + "2026-11-16T00:42:13.476063Z 01O ", + "2026-11-16T00:42:13.476083Z 01O [env: OPENSHELL_GATEWAY_ENDPOINT=]", + "2026-11-16T00:42:13.476094Z 01O ", + "2026-11-16T00:42:13.476112Z 01O --gateway-insecure", + "2026-11-16T00:42:13.476120Z 01O Skip TLS certificate verification for gateway connections", + "2026-11-16T00:42:13.476129Z 01O ", + "2026-11-16T00:42:13.476143Z 01O [env: OPENSHELL_GATEWAY_INSECURE=]", + "2026-11-16T00:42:13.476148Z 01O ", + "2026-11-16T00:42:13.476168Z 01O GLOBAL FLAGS:", + "2026-11-16T00:42:13.476180Z 01O --workspace ", + "2026-11-16T00:42:13.476194Z 01O Workspace scope for resource operations", + "2026-11-16T00:42:13.476212Z 01O ", + "2026-11-16T00:42:13.476231Z 01O [env: OPENSHELL_WORKSPACE=]", + "2026-11-16T00:42:13.476244Z 01O [default: default]", + "2026-11-16T00:42:13.476256Z 01O ", + "2026-11-16T00:42:13.476262Z 01O -v, --verbose...", + "2026-11-16T00:42:13.476271Z 01O Increase verbosity (-v, -vv, -vvv)", + "2026-11-16T00:42:13.476367Z 01O ", + "2026-11-16T00:42:13.476380Z 01O -h, --help", + "2026-11-16T00:42:13.476404Z 01O Print help", + "2026-11-16T00:42:13.476414Z 01O ", + "2026-11-16T00:42:13.476427Z 01O -V, --version", + "2026-11-16T00:42:13.476440Z 01O Print version", + "2026-11-16T00:42:13.476445Z 01O ", + "2026-11-16T00:42:13.476553Z 00O section_end:1794789733:step_script", + "\u001b[0K", + "2026-11-16T00:42:13.477798Z 00O+section_start:1794789733:upload_artifacts_on_success", + "\u001b[0K", + "2026-11-16T00:42:13.477813Z 00O+\u001b[0K\u001b[36;1mUploading artifacts for successful job\u001b[0;m\u001b[0;m", + "2026-11-16T00:42:13.975119Z 01O \u001b[32;1mUploading artifacts...\u001b[0;m", + "2026-11-16T00:42:13.975134Z 01O smoke-output/: found 10 matching artifact files and directories\u001b[0;m ", + "2026-11-16T00:42:14.476516Z 01O Uploading artifacts as \"archive\" to coordinator... 201 Created\u001b[0;m correlation_id\u001b[0;m=c90d6c67269847e79b328e4c7807e171 id\u001b[0;m=1 status\u001b[0;m=201 token\u001b[0;m=gljt-[MASKED]", + "2026-11-16T00:42:14.476559Z 01O ", + "2026-11-16T00:42:14.476686Z 00O section_end:1794789734:upload_artifacts_on_success", + "\u001b[0K", + "2026-11-16T00:42:14.477010Z 00O+section_start:1794789734:cleanup_file_variables", + "\u001b[0K", + "2026-11-16T00:42:14.477030Z 00O+\u001b[0K\u001b[36;1mCleaning up project directory and file based variables\u001b[0;m\u001b[0;m", + "2026-11-16T00:42:14.976188Z 01O ", + "2026-11-16T00:42:14.976226Z 00O section_end:1794789734:cleanup_file_variables", + "\u001b[0K", + "2026-11-16T00:42:14.980667Z 00O \u001b[32;1mJob succeeded\u001b[0;m" + ] + } + ] +} diff --git a/var/demos/initiatives/evidence/smoke-sandbox-egress-20261116T012317Z.json b/var/demos/initiatives/evidence/smoke-sandbox-egress-20261116T012317Z.json new file mode 100644 index 0000000..cb18e2b --- /dev/null +++ b/var/demos/initiatives/evidence/smoke-sandbox-egress-20261116T012317Z.json @@ -0,0 +1,88 @@ +{ + "project": "cc75/sandbox-egress", + "commit": "941494a45f4494519ecfdb4358028fdf82bcb1c9", + "pipeline": 9, + "status": "failed", + "wall_seconds": 198, + "jobs": [ + { + "id": 19, + "name": "egress-probe", + "status": "failed", + "markers": [ + "SMOKE strat-creator 7a792ad54c17982d3b84ab5d3e4266908eb766d4", + "SMOKE policy flags:", + "SMOKE --policy ", + "SMOKE Path to a custom sandbox policy YAML file. Overrides the built-in default and the `OPENSHELL_SANDBOX_POLICY` env var", + "SMOKE Approval mode for agent-authored policy proposals.", + "SMOKE variant=skip", + "SMOKE variant=skip create_exit=2", + "SMOKE variant=default", + "SMOKE variant=default create_exit=2", + "SMOKE_PASS" + ], + "trace_tail": [ + "2026-11-16T01:23:12.613680Z 01O ", + "2026-11-16T01:23:12.613683Z 01O For more information, try '--help'.", + "2026-11-16T01:23:12.613686Z 01O SMOKE variant=skip create_exit=2", + "2026-11-16T01:23:12.613690Z 01O SMOKE variant=default", + "2026-11-16T01:23:12.613692Z 01O error: the argument '--upload ' cannot be used with '[COMMAND]...'", + "2026-11-16T01:23:12.613695Z 01O ", + "2026-11-16T01:23:12.613700Z 01O Usage: openshell sandbox create --name --from --no-keep --policy --upload [-- ...]", + "2026-11-16T01:23:12.613701Z 01O ", + "2026-11-16T01:23:12.613704Z 01O For more information, try '--help'.", + "2026-11-16T01:23:12.613717Z 01O SMOKE variant=default create_exit=2", + "2026-11-16T01:23:12.613720Z 01O SMOKE_PASS", + "2026-11-16T01:23:12.613728Z 01O \u001b[32;1m$ for f in smoke-output/podman.log smoke-output/sandbox-build.log smoke-output/gateway.log smoke-output/gateway-cleanup.log smoke-output/sandbox-create-help.txt; do # collapsed multi-line command\u001b[0;m", + "2026-11-16T01:23:12.613741Z 01O ----- tail smoke-output/podman.log", + "2026-11-16T01:23:12.613745Z 01O ----- tail smoke-output/sandbox-build.log", + "2026-11-16T01:23:12.613749Z 01O 0e689d9a7c5182dfd9972b50637279c8aaf8236b2393b7e633bc24a669d81427", + "2026-11-16T01:23:12.613754Z 01O ----- tail smoke-output/gateway.log", + "2026-11-16T01:23:12.613757Z 01O \u001b[2m2026-11-16T01:23:10.146525Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[2mopenshell_server::cli\u001b[0m\u001b[2m:\u001b[0m TLS enabled \u2014 listening on encrypted HTTPS", + "2026-11-16T01:23:12.613761Z 01O \u001b[2m2026-11-16T01:23:10.146563Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[2mopenshell_server::cli\u001b[0m\u001b[2m:\u001b[0m TLS client certificate verification enabled", + "2026-11-16T01:23:12.613768Z 01O \u001b[2m2026-11-16T01:23:10.146580Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[2mopenshell_server::cli\u001b[0m\u001b[2m:\u001b[0m mTLS user authentication enabled", + "2026-11-16T01:23:12.613771Z 01O \u001b[2m2026-11-16T01:23:10.146585Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[2mopenshell_server::cli\u001b[0m\u001b[2m:\u001b[0m Starting OpenShell server \u001b[3mbind\u001b[0m\u001b[2m=\u001b[0m0.0.0.0:17670", + "2026-11-16T01:23:12.613775Z 01O \u001b[2m2026-11-16T01:23:10.161061Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[2mopenshell_server\u001b[0m\u001b[2m:\u001b[0m gateway-minted sandbox JWT enabled \u001b[3mgateway_id\u001b[0m\u001b[2m=\u001b[0mopenshell \u001b[3mttl_secs\u001b[0m\u001b[2m=\u001b[0m0", + "2026-11-16T01:23:12.613782Z 01O \u001b[2m2026-11-16T01:23:10.408577Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[2mopenshell_server\u001b[0m\u001b[2m:\u001b[0m Using compute driver \u001b[3mdriver\u001b[0m\u001b[2m=\u001b[0mpodman", + "2026-11-16T01:23:12.613786Z 01O \u001b[2m2026-11-16T01:23:10.483326Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[2mopenshell_driver_podman::driver\u001b[0m\u001b[2m:\u001b[0m Connected to Podman \u001b[3mcgroup_version\u001b[0m\u001b[2m=\u001b[0mv2 \u001b[3mnetwork_backend\u001b[0m\u001b[2m=\u001b[0mnetavark \u001b[3mrootless\u001b[0m\u001b[2m=\u001b[0mfalse \u001b[3mrootless_network_cmd\u001b[0m\u001b[2m=\u001b[0mpasta", + "2026-11-16T01:23:12.613794Z 01O \u001b[2m2026-11-16T01:23:10.485451Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[2mopenshell_driver_podman::driver\u001b[0m\u001b[2m:\u001b[0m Bridge network ready \u001b[3mnetwork\u001b[0m\u001b[2m=\u001b[0mopenshell-strat-19 \u001b[3mgateway_ip\u001b[0m\u001b[2m=\u001b[0mSome(\"10.89.0.1\")", + "2026-11-16T01:23:12.613852Z 01O \u001b[2m2026-11-16T01:23:10.485641Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mdriver.initialize\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"driver.initialize\" \u001b[3mdriver.name\u001b[0m\u001b[2m=\u001b[0mpodman\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::compute\u001b[0m\u001b[2m:\u001b[0m Compute driver connected \u001b[3mconfigured_driver\u001b[0m\u001b[2m=\u001b[0mpodman \u001b[3madvertised_driver\u001b[0m\u001b[2m=\u001b[0mpodman \u001b[3min_tree\u001b[0m\u001b[2m=\u001b[0mtrue", + "2026-11-16T01:23:12.613863Z 01O \u001b[2m2026-11-16T01:23:10.485689Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[2mopenshell_server\u001b[0m\u001b[2m:\u001b[0m provider profile sources configured \u001b[3msources\u001b[0m\u001b[2m=\u001b[0m[\"builtin\", \"user\"]", + "2026-11-16T01:23:12.613869Z 01O \u001b[2m2026-11-16T01:23:10.511150Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[2mopenshell_server\u001b[0m\u001b[2m:\u001b[0m Created default workspace", + "2026-11-16T01:23:12.613872Z 01O \u001b[2m2026-11-16T01:23:10.511255Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[2mopenshell_server::gateway_listener\u001b[0m\u001b[2m:\u001b[0m Gateway listener bound \u001b[3maddress\u001b[0m\u001b[2m=\u001b[0m0.0.0.0:17670 \u001b[3mlistener_purpose\u001b[0m\u001b[2m=\u001b[0m\"primary\" \u001b[3mauthorization_scope\u001b[0m\u001b[2m=\u001b[0m\"full-multiplexed-api\"", + "2026-11-16T01:23:12.613877Z 01O \u001b[2m2026-11-16T01:23:10.512204Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[2mopenshell_server::provider_refresh\u001b[0m\u001b[2m:\u001b[0m provider credential refresh worker started \u001b[3minterval_seconds\u001b[0m\u001b[2m=\u001b[0m60", + "2026-11-16T01:23:12.613883Z 01O \u001b[2m2026-11-16T01:23:10.512288Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[2mopenshell_server\u001b[0m\u001b[2m:\u001b[0m Health server listening \u001b[3maddress\u001b[0m\u001b[2m=\u001b[0m0.0.0.0:17671", + "2026-11-16T01:23:12.613886Z 01O \u001b[2m2026-11-16T01:23:10.512359Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[2mopenshell_server\u001b[0m\u001b[2m:\u001b[0m Metrics server disabled", + "2026-11-16T01:23:12.613891Z 01O \u001b[2m2026-11-16T01:23:10.512955Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[2mopenshell_server::tls\u001b[0m\u001b[2m:\u001b[0m TLS certificate file watcher started \u001b[3mdirs\u001b[0m\u001b[2m=\u001b[0m[\"/builds/cc75/sandbox-egress/.private/gateway/state/openshell/tls/server\", \"/builds/cc75/sandbox-egress/.private/gateway/state/openshell/tls\"]", + "2026-11-16T01:23:12.613899Z 01O \u001b[2m2026-11-16T01:23:10.513686Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrefresh\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"refresh.provider_credentials\" \u001b[3mwatched_count\u001b[0m\u001b[2m=\u001b[0m0 \u001b[3mdue_count\u001b[0m\u001b[2m=\u001b[0m0\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::provider_refresh\u001b[0m\u001b[2m:\u001b[0m provider credential refresh worker sweep \u001b[3mwatched_count\u001b[0m\u001b[2m=\u001b[0m0 \u001b[3mdue_count\u001b[0m\u001b[2m=\u001b[0m0 \u001b[3mrotation_requested_count\u001b[0m\u001b[2m=\u001b[0m0", + "2026-11-16T01:23:12.613905Z 01O \u001b[2m2026-11-16T01:23:12.170079Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/Health\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"d0ede355-63f2-47cd-8a69-00202634195f\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/Health \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"Health\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m0", + "2026-11-16T01:23:12.613917Z 01O \u001b[2m2026-11-16T01:23:12.207551Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/UpdateConfig\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"7d4491e4-e4e0-4bcd-85d9-640d8f574218\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/UpdateConfig \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"UpdateConfig\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m27", + "2026-11-16T01:23:12.613930Z 01O \u001b[2m2026-11-16T01:23:12.225556Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[2mopenshell_server\u001b[0m\u001b[2m:\u001b[0m Shutdown signal received; stopping gateway", + "2026-11-16T01:23:12.613938Z 01O ----- tail smoke-output/gateway-cleanup.log", + "2026-11-16T01:23:12.613944Z 01O \u001b[1m\u001b[32m\u2713\u001b[39m\u001b[0m Gateway registration 'strat-19' removed.", + "2026-11-16T01:23:12.613946Z 01O openshell-strat-19", + "2026-11-16T01:23:12.613949Z 01O command_exit=0", + "2026-11-16T01:23:12.613954Z 01O cleanup_exit=0", + "2026-11-16T01:23:12.613981Z 01O ", + "2026-11-16T01:23:12.621428Z 00O section_end:1794792192:step_script", + "\u001b[0K", + "2026-11-16T01:23:12.621886Z 00O+section_start:1794792192:upload_artifacts_on_failure", + "\u001b[0K", + "2026-11-16T01:23:12.621892Z 00O+\u001b[0K\u001b[36;1mUploading artifacts for failed job\u001b[0;m\u001b[0;m", + "2026-11-16T01:23:13.114331Z 01O \u001b[32;1mUploading artifacts...\u001b[0;m", + "2026-11-16T01:23:13.114343Z 01O smoke-output/: found 9 matching artifact files and directories\u001b[0;m ", + "2026-11-16T01:23:13.114353Z 01O Uploading artifacts as \"archive\" to coordinator... 201 Created\u001b[0;m correlation_id\u001b[0;m=c7b09e91a2124536a9b5f6bb819ccecf id\u001b[0;m=19 status\u001b[0;m=201 token\u001b[0;m=gljt-[MASKED]", + "2026-11-16T01:23:13.114358Z 01O ", + "2026-11-16T01:23:13.114389Z 00O section_end:1794792193:upload_artifacts_on_failure", + "\u001b[0K", + "2026-11-16T01:23:13.114487Z 00O+section_start:1794792193:cleanup_file_variables", + "\u001b[0K", + "2026-11-16T01:23:13.114492Z 00O+\u001b[0K\u001b[36;1mCleaning up project directory and file based variables\u001b[0;m\u001b[0;m", + "2026-11-16T01:23:13.615035Z 01O ", + "2026-11-16T01:23:13.615092Z 00O section_end:1794792193:cleanup_file_variables", + "\u001b[0K", + "2026-11-16T01:23:13.621358Z 00O \u001b[31;1mERROR: Job failed: command terminated with exit code 1\u001b[0;m" + ] + } + ] +} diff --git a/var/demos/initiatives/evidence/smoke-sandbox-egress-20261116T012821Z.json b/var/demos/initiatives/evidence/smoke-sandbox-egress-20261116T012821Z.json new file mode 100644 index 0000000..59f1d65 --- /dev/null +++ b/var/demos/initiatives/evidence/smoke-sandbox-egress-20261116T012821Z.json @@ -0,0 +1,92 @@ +{ + "project": "cc75/sandbox-egress", + "commit": "39e6d310e3c96b001346677f3d643181af88ca9f", + "pipeline": 11, + "status": "success", + "wall_seconds": 273, + "jobs": [ + { + "id": 21, + "name": "egress-probe", + "status": "success", + "markers": [ + "SMOKE strat-creator 7a792ad54c17982d3b84ab5d3e4266908eb766d4", + "SMOKE policy flags:", + "SMOKE --policy ", + "SMOKE Path to a custom sandbox policy YAML file. Overrides the built-in default and the `OPENSHELL_SANDBOX_POLICY` env var", + "SMOKE Approval mode for agent-authored policy proposals.", + "SMOKE variant=skip", + "PROBE skip jira_https 200", + "PROBE skip relay_8080_health 200", + "PROBE skip relay_8082_token 422", + "PROBE skip denied_example ERR URLError: ", + "PROBE skip proxy_env {\"HTTPS_PROXY\": true, \"HTTP_PROXY\": true, \"https_proxy\": true, \"http_proxy\": true, \"NO_PROXY\": true}", + "SMOKE variant=default", + "SMOKE variant=default create_exit=1", + "SMOKE_PASS" + ], + "trace_tail": [ + "2026-11-16T01:28:06.995755Z 01O \u001b[2m2026-11-16T01:27:52.633271Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/CreateSandbox\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"e331e383-844a-447a-8f17-d2c8deba4581\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/CreateSandbox \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"CreateSandbox\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::grpc::sandbox\u001b[0m\u001b[2m:\u001b[0m minted sandbox JWT \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0m862b2663-e200-4b5c-bcc3-e9561e8cc70b", + "2026-11-16T01:28:06.995770Z 01O \u001b[2m2026-11-16T01:27:52.671167Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/CreateSandbox\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"e331e383-844a-447a-8f17-d2c8deba4581\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/CreateSandbox \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"CreateSandbox\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mdriver\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"driver.create_sandbox\" \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"client\" \u001b[3mdriver.name\u001b[0m\u001b[2m=\u001b[0mpodman \u001b[3msandbox.id\u001b[0m\u001b[2m=\u001b[0m\"862b2663-e200-4b5c-bcc3-e9561e8cc70b\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mdriver_rpc\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"driver.create_sandbox\" \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.compute.v1.ComputeDriver\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"create_sandbox\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mpodman.create_sandbox\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"podman.create_sandbox\" \u001b[3msandbox.id\u001b[0m\u001b[2m=\u001b[0m862b2663-e200-4b5c-bcc3-e9561e8cc70b \u001b[3msandbox.name\u001b[0m\u001b[2m=\u001b[0megress-skip-21\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_driver_podman::driver\u001b[0m\u001b[2m:\u001b[0m Creating sandbox container \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0m862b2663-e200-4b5c-bcc3-e9561e8cc70b \u001b[3msandbox_name\u001b[0m\u001b[2m=\u001b[0megress-skip-21 \u001b[3mcontainer\u001b[0m\u001b[2m=\u001b[0mopenshell-default--egress-skip-21-862b2663-e200-4b5c-bcc3-e9561e8cc70b", + "2026-11-16T01:28:06.995784Z 01O \u001b[2m2026-11-16T01:27:52.671219Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/CreateSandbox\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"e331e383-844a-447a-8f17-d2c8deba4581\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/CreateSandbox \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"CreateSandbox\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mdriver\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"driver.create_sandbox\" \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"client\" \u001b[3mdriver.name\u001b[0m\u001b[2m=\u001b[0mpodman \u001b[3msandbox.id\u001b[0m\u001b[2m=\u001b[0m\"862b2663-e200-4b5c-bcc3-e9561e8cc70b\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mdriver_rpc\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"driver.create_sandbox\" \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.compute.v1.ComputeDriver\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"create_sandbox\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mpodman.create_sandbox\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"podman.create_sandbox\" \u001b[3msandbox.id\u001b[0m\u001b[2m=\u001b[0m862b2663-e200-4b5c-bcc3-e9561e8cc70b \u001b[3msandbox.name\u001b[0m\u001b[2m=\u001b[0megress-skip-21\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mpodman.prepare_images\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"podman.prepare_images\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_driver_podman::driver\u001b[0m\u001b[2m:\u001b[0m Ensuring supervisor image \u001b[3mimage\u001b[0m\u001b[2m=\u001b[0mquay.io/opendatahub/odh-openshell-supervisor:v0.0.112-rhaiv.0 \u001b[3mpolicy\u001b[0m\u001b[2m=\u001b[0m\"missing\"", + "2026-11-16T01:28:06.995798Z 01O \u001b[2m2026-11-16T01:27:52.673491Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/CreateSandbox\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"e331e383-844a-447a-8f17-d2c8deba4581\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/CreateSandbox \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"CreateSandbox\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mdriver\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"driver.create_sandbox\" \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"client\" \u001b[3mdriver.name\u001b[0m\u001b[2m=\u001b[0mpodman \u001b[3msandbox.id\u001b[0m\u001b[2m=\u001b[0m\"862b2663-e200-4b5c-bcc3-e9561e8cc70b\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mdriver_rpc\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"driver.create_sandbox\" \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.compute.v1.ComputeDriver\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"create_sandbox\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mpodman.create_sandbox\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"podman.create_sandbox\" \u001b[3msandbox.id\u001b[0m\u001b[2m=\u001b[0m862b2663-e200-4b5c-bcc3-e9561e8cc70b \u001b[3msandbox.name\u001b[0m\u001b[2m=\u001b[0megress-skip-21\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mpodman.prepare_images\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"podman.prepare_images\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_driver_podman::driver\u001b[0m\u001b[2m:\u001b[0m Ensuring sandbox image \u001b[3mimage\u001b[0m\u001b[2m=\u001b[0mlocalhost/strat-fullsend:21 \u001b[3mpolicy\u001b[0m\u001b[2m=\u001b[0mmissing", + "2026-11-16T01:28:06.995853Z 01O \u001b[2m2026-11-16T01:28:01.588025Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/CreateSandbox\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"e331e383-844a-447a-8f17-d2c8deba4581\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/CreateSandbox \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"CreateSandbox\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mdriver\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"driver.create_sandbox\" \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"client\" \u001b[3mdriver.name\u001b[0m\u001b[2m=\u001b[0mpodman \u001b[3msandbox.id\u001b[0m\u001b[2m=\u001b[0m\"862b2663-e200-4b5c-bcc3-e9561e8cc70b\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mdriver_rpc\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"driver.create_sandbox\" \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.compute.v1.ComputeDriver\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"create_sandbox\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mpodman.create_sandbox\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"podman.create_sandbox\" \u001b[3msandbox.id\u001b[0m\u001b[2m=\u001b[0m862b2663-e200-4b5c-bcc3-e9561e8cc70b \u001b[3msandbox.name\u001b[0m\u001b[2m=\u001b[0megress-skip-21\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_driver_podman::driver\u001b[0m\u001b[2m:\u001b[0m Sandbox container started \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0m862b2663-e200-4b5c-bcc3-e9561e8cc70b \u001b[3msandbox_name\u001b[0m\u001b[2m=\u001b[0megress-skip-21", + "2026-11-16T01:28:06.995864Z 01O \u001b[2m2026-11-16T01:28:01.588096Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/CreateSandbox\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"e331e383-844a-447a-8f17-d2c8deba4581\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/CreateSandbox \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"CreateSandbox\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::grpc::sandbox\u001b[0m\u001b[2m:\u001b[0m CreateSandbox request completed successfully \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0m862b2663-e200-4b5c-bcc3-e9561e8cc70b \u001b[3msandbox_name\u001b[0m\u001b[2m=\u001b[0megress-skip-21", + "2026-11-16T01:28:06.995873Z 01O \u001b[2m2026-11-16T01:28:01.588337Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/CreateSandbox\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"e331e383-844a-447a-8f17-d2c8deba4581\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/CreateSandbox \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"CreateSandbox\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m8962", + "2026-11-16T01:28:06.995891Z 01O \u001b[2m2026-11-16T01:28:01.591425Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/WatchSandbox\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"0846e7f8-efda-4418-ac95-7be049576eaa\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/WatchSandbox \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"WatchSandbox\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m0", + "2026-11-16T01:28:06.995929Z 01O \u001b[2m2026-11-16T01:28:01.833795Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/GetSandboxConfig\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"965c9417-9a2d-4c7f-bb50-8c75c259bbf1\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/GetSandboxConfig \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"GetSandboxConfig\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::grpc::policy\u001b[0m\u001b[2m:\u001b[0m GetSandboxConfig served from spec (backfilled version 1) \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0m862b2663-e200-4b5c-bcc3-e9561e8cc70b", + "2026-11-16T01:28:06.995947Z 01O \u001b[2m2026-11-16T01:28:01.834492Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/GetSandboxConfig\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"965c9417-9a2d-4c7f-bb50-8c75c259bbf1\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/GetSandboxConfig \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"GetSandboxConfig\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m162", + "2026-11-16T01:28:06.995966Z 01O \u001b[2m2026-11-16T01:28:01.850049Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/GetSandboxProviderEnvironment\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"14f379e9-5f54-4f65-b387-a823d8baf9cb\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/GetSandboxProviderEnvironment \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"GetSandboxProviderEnvironment\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::grpc::policy\u001b[0m\u001b[2m:\u001b[0m GetSandboxProviderEnvironment request completed successfully \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0m862b2663-e200-4b5c-bcc3-e9561e8cc70b \u001b[3mprovider_count\u001b[0m\u001b[2m=\u001b[0m0 \u001b[3menv_count\u001b[0m\u001b[2m=\u001b[0m0 \u001b[3mprovider_env_revision\u001b[0m\u001b[2m=\u001b[0m3176606324465211593", + "2026-11-16T01:28:06.995979Z 01O \u001b[2m2026-11-16T01:28:01.850172Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/GetSandboxProviderEnvironment\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"14f379e9-5f54-4f65-b387-a823d8baf9cb\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/GetSandboxProviderEnvironment \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"GetSandboxProviderEnvironment\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m1", + "2026-11-16T01:28:06.995993Z 01O \u001b[2m2026-11-16T01:28:01.978263Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.inference.v1.Inference/GetInferenceBundle\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"a4130d61-2e72-437e-9845-00d92ff017a5\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.inference.v1.Inference/GetInferenceBundle \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.inference.v1.Inference\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"GetInferenceBundle\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m0", + "2026-11-16T01:28:06.996022Z 01O \u001b[2m2026-11-16T01:28:01.982816Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.inference.v1.Inference/GetInferenceBundle\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"fb1184eb-9fc1-4f51-bc79-52c602c0bb02\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.inference.v1.Inference/GetInferenceBundle \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.inference.v1.Inference\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"GetInferenceBundle\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m0", + "2026-11-16T01:28:06.996030Z 01O \u001b[2m2026-11-16T01:28:01.983745Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/GetSandboxConfig\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"e7acbfbd-5a4b-4870-aef5-bca0b120842d\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/GetSandboxConfig \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"GetSandboxConfig\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m1", + "2026-11-16T01:28:06.996037Z 01O \u001b[2m2026-11-16T01:28:02.073700Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/ReportPolicyStatus\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"2ef56b3d-642a-4d9f-8464-2171ab4d5a03\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/ReportPolicyStatus \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"ReportPolicyStatus\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::grpc::policy\u001b[0m\u001b[2m:\u001b[0m ReportPolicyStatus: sandbox reported policy load result \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0m862b2663-e200-4b5c-bcc3-e9561e8cc70b \u001b[3mversion\u001b[0m\u001b[2m=\u001b[0m1 \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0mloaded", + "2026-11-16T01:28:06.996047Z 01O \u001b[2m2026-11-16T01:28:02.073772Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/ReportPolicyStatus\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"2ef56b3d-642a-4d9f-8464-2171ab4d5a03\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/ReportPolicyStatus \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"ReportPolicyStatus\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m89", + "2026-11-16T01:28:06.996054Z 01O \u001b[2m2026-11-16T01:28:02.089036Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/GetSandboxConfig\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"0880083b-014e-44b3-a601-be020a3e20f1\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/GetSandboxConfig \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"GetSandboxConfig\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m105", + "2026-11-16T01:28:06.996062Z 01O \u001b[2m2026-11-16T01:28:02.097287Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/ConnectSupervisor\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"95964496-a6b8-4e83-a737-7831a906d0fa\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/ConnectSupervisor \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"ConnectSupervisor\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::supervisor_session\u001b[0m\u001b[2m:\u001b[0m supervisor session: accepted \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0m862b2663-e200-4b5c-bcc3-e9561e8cc70b \u001b[3msession_id\u001b[0m\u001b[2m=\u001b[0mfec04ca6-67a3-4abd-b600-31903408b4e4 \u001b[3minstance_id\u001b[0m\u001b[2m=\u001b[0mffa36438-74eb-4105-8781-c3652472b632", + "2026-11-16T01:28:06.996085Z 01O \u001b[2m2026-11-16T01:28:02.155287Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/ConnectSupervisor\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"95964496-a6b8-4e83-a737-7831a906d0fa\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/ConnectSupervisor \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"ConnectSupervisor\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m58", + "2026-11-16T01:28:06.996092Z 01O \u001b[2m2026-11-16T01:28:02.158393Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/GetSandbox\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"9ef4a6a5-a7fb-42bf-b04a-bb7e660395e6\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/GetSandbox \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"GetSandbox\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m0", + "2026-11-16T01:28:06.996099Z 01O \u001b[2m2026-11-16T01:28:02.179980Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/CreateSshSession\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"f6fd3b67-aa99-4133-a754-1ac6b718da96\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/CreateSshSession \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"CreateSshSession\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m21", + "2026-11-16T01:28:06.996108Z 01O \u001b[2m2026-11-16T01:28:02.196607Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/ForwardTcp\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"9cefa409-ff98-4868-91bd-3eff5e940fb5\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/ForwardTcp \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"ForwardTcp\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m0", + "2026-11-16T01:28:06.996114Z 01O \u001b[2m2026-11-16T01:28:02.197226Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[2mopenshell_server::supervisor_session\u001b[0m\u001b[2m:\u001b[0m supervisor session: relay opened successfully \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0m862b2663-e200-4b5c-bcc3-e9561e8cc70b \u001b[3msession_id\u001b[0m\u001b[2m=\u001b[0mfec04ca6-67a3-4abd-b600-31903408b4e4 \u001b[3mchannel_id\u001b[0m\u001b[2m=\u001b[0mb2b4b70d-771e-4875-8b45-1c9939e15e8f", + "2026-11-16T01:28:06.996121Z 01O \u001b[2m2026-11-16T01:28:02.197555Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/RelayStream\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"8106eccc-2cd1-4603-bc9f-f904e09cf6a5\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/RelayStream \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"RelayStream\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::supervisor_session\u001b[0m\u001b[2m:\u001b[0m relay stream: claimed pending relay, bridging \u001b[3mchannel_id\u001b[0m\u001b[2m=\u001b[0mb2b4b70d-771e-4875-8b45-1c9939e15e8f \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0m862b2663-e200-4b5c-bcc3-e9561e8cc70b", + "2026-11-16T01:28:06.996131Z 01O \u001b[2m2026-11-16T01:28:02.197600Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/RelayStream\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"8106eccc-2cd1-4603-bc9f-f904e09cf6a5\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/RelayStream \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"RelayStream\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m0", + "2026-11-16T01:28:06.996149Z 01O \u001b[2m2026-11-16T01:28:03.196581Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[2mopenshell_server::supervisor_session\u001b[0m\u001b[2m:\u001b[0m supervisor session: stream closed by supervisor \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0m862b2663-e200-4b5c-bcc3-e9561e8cc70b \u001b[3msession_id\u001b[0m\u001b[2m=\u001b[0mfec04ca6-67a3-4abd-b600-31903408b4e4", + "2026-11-16T01:28:06.996154Z 01O \u001b[2m2026-11-16T01:28:03.196626Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[2mopenshell_server::supervisor_session\u001b[0m\u001b[2m:\u001b[0m supervisor session: ended \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0m862b2663-e200-4b5c-bcc3-e9561e8cc70b \u001b[3msession_id\u001b[0m\u001b[2m=\u001b[0mfec04ca6-67a3-4abd-b600-31903408b4e4", + "2026-11-16T01:28:06.996164Z 01O \u001b[2m2026-11-16T01:28:03.350244Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/ReportMainProcessExit\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"8da231a7-a0e8-4207-9d65-34f590d7e8cb\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/ReportMainProcessExit \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"ReportMainProcessExit\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m153", + "2026-11-16T01:28:06.996170Z 01O \u001b[2m2026-11-16T01:28:03.354408Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/SubmitPolicyAnalysis\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"47625017-8fae-4800-b861-d12bb3a8159e\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/SubmitPolicyAnalysis \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"SubmitPolicyAnalysis\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m0", + "2026-11-16T01:28:06.996179Z 01O \u001b[2m2026-11-16T01:28:03.365464Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/PushSandboxLogs\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"3e83763b-a573-45a0-a7be-5fbc79499166\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/PushSandboxLogs \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"PushSandboxLogs\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mrpc.grpc.status_code\u001b[0m\u001b[2m=\u001b[0m13 \u001b[3motel.status_code\u001b[0m\u001b[2m=\u001b[0m\"ERROR\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m1698", + "2026-11-16T01:28:06.996192Z 01O \u001b[2m2026-11-16T01:28:04.113116Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/DeleteSandbox\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"59cc2c8e-9300-447b-a402-472766ec49a3\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/DeleteSandbox \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"DeleteSandbox\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mdriver\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"driver.delete_sandbox\" \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"client\" \u001b[3mdriver.name\u001b[0m\u001b[2m=\u001b[0mpodman \u001b[3msandbox.id\u001b[0m\u001b[2m=\u001b[0m\"862b2663-e200-4b5c-bcc3-e9561e8cc70b\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mdriver_rpc\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"driver.delete_sandbox\" \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.compute.v1.ComputeDriver\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"delete_sandbox\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mpodman.delete_sandbox\u001b[0m\u001b[1m{\u001b[0m\u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0m\"862b2663-e200-4b5c-bcc3-e9561e8cc70b\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"podman.delete_sandbox\" \u001b[3msandbox.id\u001b[0m\u001b[2m=\u001b[0m862b2663-e200-4b5c-bcc3-e9561e8cc70b\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_driver_podman::driver\u001b[0m\u001b[2m:\u001b[0m Deleting sandbox container \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0m862b2663-e200-4b5c-bcc3-e9561e8cc70b \u001b[3mcontainer\u001b[0m\u001b[2m=\u001b[0mb7cb521d0f59198994638437c229e7063a9b8f7bd84c15117df5a8f0879a77fe", + "2026-11-16T01:28:06.996214Z 01O \u001b[2m2026-11-16T01:28:06.594698Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/DeleteSandbox\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"59cc2c8e-9300-447b-a402-472766ec49a3\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/DeleteSandbox \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"DeleteSandbox\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::grpc::sandbox\u001b[0m\u001b[2m:\u001b[0m DeleteSandbox request completed successfully \u001b[3msandbox_name\u001b[0m\u001b[2m=\u001b[0megress-skip-21", + "2026-11-16T01:28:06.996222Z 01O \u001b[2m2026-11-16T01:28:06.594758Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/DeleteSandbox\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"59cc2c8e-9300-447b-a402-472766ec49a3\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/DeleteSandbox \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"DeleteSandbox\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m3396", + "2026-11-16T01:28:06.996231Z 01O \u001b[2m2026-11-16T01:28:06.603003Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/CreateSandbox\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"eaeb3674-b09d-4129-b0b8-f23dcf036e59\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/CreateSandbox \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"CreateSandbox\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mrpc.grpc.status_code\u001b[0m\u001b[2m=\u001b[0m3 \u001b[3motel.status_code\u001b[0m\u001b[2m=\u001b[0m\"ERROR\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m1", + "2026-11-16T01:28:06.996238Z 01O \u001b[2m2026-11-16T01:28:06.608969Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[2mopenshell_server\u001b[0m\u001b[2m:\u001b[0m Shutdown signal received; stopping gateway", + "2026-11-16T01:28:06.996243Z 01O ----- tail smoke-output/gateway-cleanup.log", + "2026-11-16T01:28:06.996249Z 01O \u001b[1m\u001b[32m\u2713\u001b[39m\u001b[0m Gateway registration 'strat-21' removed.", + "2026-11-16T01:28:06.996252Z 01O openshell-strat-21", + "2026-11-16T01:28:06.996255Z 01O command_exit=0", + "2026-11-16T01:28:06.996260Z 01O cleanup_exit=0", + "2026-11-16T01:28:06.996262Z 01O ", + "2026-11-16T01:28:06.996296Z 00O section_end:1794792486:step_script", + "\u001b[0K", + "2026-11-16T01:28:06.996688Z 00O+section_start:1794792486:upload_artifacts_on_success", + "\u001b[0K", + "2026-11-16T01:28:06.996694Z 00O+\u001b[0K\u001b[36;1mUploading artifacts for successful job\u001b[0;m\u001b[0;m", + "2026-11-16T01:28:07.497149Z 01O \u001b[32;1mUploading artifacts...\u001b[0;m", + "2026-11-16T01:28:07.497168Z 01O smoke-output/: found 9 matching artifact files and directories\u001b[0;m ", + "2026-11-16T01:28:07.997017Z 01O Uploading artifacts as \"archive\" to coordinator... 201 Created\u001b[0;m correlation_id\u001b[0;m=ab38f477ee2a438b912996a96ed935aa id\u001b[0;m=21 status\u001b[0;m=201 token\u001b[0;m=gljt-[MASKED]", + "2026-11-16T01:28:07.997032Z 01O ", + "2026-11-16T01:28:07.997088Z 00O section_end:1794792487:upload_artifacts_on_success", + "\u001b[0K", + "2026-11-16T01:28:07.997241Z 00O+section_start:1794792487:cleanup_file_variables", + "\u001b[0K", + "2026-11-16T01:28:07.997250Z 00O+\u001b[0K\u001b[36;1mCleaning up project directory and file based variables\u001b[0;m\u001b[0;m", + "2026-11-16T01:28:08.497374Z 01O ", + "2026-11-16T01:28:08.497421Z 00O section_end:1794792488:cleanup_file_variables", + "\u001b[0K", + "2026-11-16T01:28:08.501730Z 00O \u001b[32;1mJob succeeded\u001b[0;m" + ] + } + ] +} diff --git a/var/demos/initiatives/evidence/smoke-sandbox-relay-20261116T021722Z.json b/var/demos/initiatives/evidence/smoke-sandbox-relay-20261116T021722Z.json new file mode 100644 index 0000000..d2f47be --- /dev/null +++ b/var/demos/initiatives/evidence/smoke-sandbox-relay-20261116T021722Z.json @@ -0,0 +1,86 @@ +{ + "project": "cc75/sandbox-relay", + "commit": "b28d66eab0a37f58528e8bb9feb75b261e682b31", + "pipeline": 15, + "status": "success", + "wall_seconds": 228, + "jobs": [ + { + "id": 29, + "name": "relay-probe", + "status": "success", + "markers": [ + "SMOKE strat-creator dc916df8db2e4fdf3400662836d4dd581af104dd", + "SMOKE relay policy groups: 1", + "PROBE python_token_exchange 200", + "PROBE claude_path /usr/local/bin/claude -> /usr/lib/node_modules/@anthropic-ai/claude-code/bin/claude.exe", + "PROBE proxy_vars ALL_PROXY HTTPS_PROXY HTTP_PROXY NO_PROXY http_proxy https_proxy no_proxy", + "PROBE no_proxy_has_cluster 0", + "PROBE claude_exit 1 output=API Error: Error code [object Object]", + "SMOKE_PASS" + ], + "trace_tail": [ + "2026-11-16T02:17:07.576899Z 01O \u001b[2m2026-11-16T02:16:48.687298Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/CreateSandbox\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"e0c92eaa-7d6f-4dfa-8adc-b83ebef1a3fa\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/CreateSandbox \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"CreateSandbox\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mdriver\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"driver.create_sandbox\" \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"client\" \u001b[3mdriver.name\u001b[0m\u001b[2m=\u001b[0mpodman \u001b[3msandbox.id\u001b[0m\u001b[2m=\u001b[0m\"27837c21-aadd-4bda-84c2-fc0196e74475\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mdriver_rpc\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"driver.create_sandbox\" \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.compute.v1.ComputeDriver\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"create_sandbox\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mpodman.create_sandbox\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"podman.create_sandbox\" \u001b[3msandbox.id\u001b[0m\u001b[2m=\u001b[0m27837c21-aadd-4bda-84c2-fc0196e74475 \u001b[3msandbox.name\u001b[0m\u001b[2m=\u001b[0mrelay-29\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_driver_podman::driver\u001b[0m\u001b[2m:\u001b[0m Creating sandbox container \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0m27837c21-aadd-4bda-84c2-fc0196e74475 \u001b[3msandbox_name\u001b[0m\u001b[2m=\u001b[0mrelay-29 \u001b[3mcontainer\u001b[0m\u001b[2m=\u001b[0mopenshell-default--relay-29-27837c21-aadd-4bda-84c2-fc0196e74475", + "2026-11-16T02:17:07.576983Z 01O \u001b[2m2026-11-16T02:16:48.687338Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/CreateSandbox\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"e0c92eaa-7d6f-4dfa-8adc-b83ebef1a3fa\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/CreateSandbox \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"CreateSandbox\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mdriver\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"driver.create_sandbox\" \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"client\" \u001b[3mdriver.name\u001b[0m\u001b[2m=\u001b[0mpodman \u001b[3msandbox.id\u001b[0m\u001b[2m=\u001b[0m\"27837c21-aadd-4bda-84c2-fc0196e74475\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mdriver_rpc\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"driver.create_sandbox\" \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.compute.v1.ComputeDriver\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"create_sandbox\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mpodman.create_sandbox\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"podman.create_sandbox\" \u001b[3msandbox.id\u001b[0m\u001b[2m=\u001b[0m27837c21-aadd-4bda-84c2-fc0196e74475 \u001b[3msandbox.name\u001b[0m\u001b[2m=\u001b[0mrelay-29\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mpodman.prepare_images\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"podman.prepare_images\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_driver_podman::driver\u001b[0m\u001b[2m:\u001b[0m Ensuring supervisor image \u001b[3mimage\u001b[0m\u001b[2m=\u001b[0mquay.io/opendatahub/odh-openshell-supervisor:v0.0.112-rhaiv.0 \u001b[3mpolicy\u001b[0m\u001b[2m=\u001b[0m\"missing\"", + "2026-11-16T02:17:07.577015Z 01O \u001b[2m2026-11-16T02:16:48.689375Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/CreateSandbox\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"e0c92eaa-7d6f-4dfa-8adc-b83ebef1a3fa\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/CreateSandbox \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"CreateSandbox\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mdriver\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"driver.create_sandbox\" \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"client\" \u001b[3mdriver.name\u001b[0m\u001b[2m=\u001b[0mpodman \u001b[3msandbox.id\u001b[0m\u001b[2m=\u001b[0m\"27837c21-aadd-4bda-84c2-fc0196e74475\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mdriver_rpc\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"driver.create_sandbox\" \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.compute.v1.ComputeDriver\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"create_sandbox\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mpodman.create_sandbox\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"podman.create_sandbox\" \u001b[3msandbox.id\u001b[0m\u001b[2m=\u001b[0m27837c21-aadd-4bda-84c2-fc0196e74475 \u001b[3msandbox.name\u001b[0m\u001b[2m=\u001b[0mrelay-29\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mpodman.prepare_images\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"podman.prepare_images\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_driver_podman::driver\u001b[0m\u001b[2m:\u001b[0m Ensuring sandbox image \u001b[3mimage\u001b[0m\u001b[2m=\u001b[0mlocalhost/strat-fullsend:29 \u001b[3mpolicy\u001b[0m\u001b[2m=\u001b[0mmissing", + "2026-11-16T02:17:07.577054Z 01O \u001b[2m2026-11-16T02:16:56.251285Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/CreateSandbox\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"e0c92eaa-7d6f-4dfa-8adc-b83ebef1a3fa\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/CreateSandbox \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"CreateSandbox\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mdriver\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"driver.create_sandbox\" \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"client\" \u001b[3mdriver.name\u001b[0m\u001b[2m=\u001b[0mpodman \u001b[3msandbox.id\u001b[0m\u001b[2m=\u001b[0m\"27837c21-aadd-4bda-84c2-fc0196e74475\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mdriver_rpc\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"driver.create_sandbox\" \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.compute.v1.ComputeDriver\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"create_sandbox\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mpodman.create_sandbox\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"podman.create_sandbox\" \u001b[3msandbox.id\u001b[0m\u001b[2m=\u001b[0m27837c21-aadd-4bda-84c2-fc0196e74475 \u001b[3msandbox.name\u001b[0m\u001b[2m=\u001b[0mrelay-29\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_driver_podman::driver\u001b[0m\u001b[2m:\u001b[0m Sandbox container started \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0m27837c21-aadd-4bda-84c2-fc0196e74475 \u001b[3msandbox_name\u001b[0m\u001b[2m=\u001b[0mrelay-29", + "2026-11-16T02:17:07.577117Z 01O \u001b[2m2026-11-16T02:16:56.251357Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/CreateSandbox\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"e0c92eaa-7d6f-4dfa-8adc-b83ebef1a3fa\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/CreateSandbox \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"CreateSandbox\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::grpc::sandbox\u001b[0m\u001b[2m:\u001b[0m CreateSandbox request completed successfully \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0m27837c21-aadd-4bda-84c2-fc0196e74475 \u001b[3msandbox_name\u001b[0m\u001b[2m=\u001b[0mrelay-29", + "2026-11-16T02:17:07.577130Z 01O \u001b[2m2026-11-16T02:16:56.251618Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/CreateSandbox\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"e0c92eaa-7d6f-4dfa-8adc-b83ebef1a3fa\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/CreateSandbox \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"CreateSandbox\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m7595", + "2026-11-16T02:17:07.577184Z 01O \u001b[2m2026-11-16T02:16:56.302009Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/GetSandboxConfig\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"4f5fac0d-23ad-4716-8fd0-2d57c517795f\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/GetSandboxConfig \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"GetSandboxConfig\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::grpc::policy\u001b[0m\u001b[2m:\u001b[0m GetSandboxConfig served from spec (backfilled version 1) \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0m27837c21-aadd-4bda-84c2-fc0196e74475", + "2026-11-16T02:17:07.577199Z 01O \u001b[2m2026-11-16T02:16:56.303506Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/GetSandboxConfig\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"4f5fac0d-23ad-4716-8fd0-2d57c517795f\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/GetSandboxConfig \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"GetSandboxConfig\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m60", + "2026-11-16T02:17:07.577210Z 01O \u001b[2m2026-11-16T02:16:56.306109Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/WatchSandbox\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"ed8131ac-3259-4285-bdbd-8a3200150a88\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/WatchSandbox \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"WatchSandbox\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m53", + "2026-11-16T02:17:07.577260Z 01O \u001b[2m2026-11-16T02:16:56.369777Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/GetSandboxProviderEnvironment\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"3412650a-ea68-43e3-85f3-36d13123b954\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/GetSandboxProviderEnvironment \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"GetSandboxProviderEnvironment\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::grpc::policy\u001b[0m\u001b[2m:\u001b[0m GetSandboxProviderEnvironment request completed successfully \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0m27837c21-aadd-4bda-84c2-fc0196e74475 \u001b[3mprovider_count\u001b[0m\u001b[2m=\u001b[0m0 \u001b[3menv_count\u001b[0m\u001b[2m=\u001b[0m0 \u001b[3mprovider_env_revision\u001b[0m\u001b[2m=\u001b[0m3176606324465211593", + "2026-11-16T02:17:07.577275Z 01O \u001b[2m2026-11-16T02:16:56.370039Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/GetSandboxProviderEnvironment\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"3412650a-ea68-43e3-85f3-36d13123b954\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/GetSandboxProviderEnvironment \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"GetSandboxProviderEnvironment\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m57", + "2026-11-16T02:17:07.577286Z 01O \u001b[2m2026-11-16T02:16:56.505682Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.inference.v1.Inference/GetInferenceBundle\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"878320f5-cfa5-40f3-adda-e31269abc4df\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.inference.v1.Inference/GetInferenceBundle \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.inference.v1.Inference\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"GetInferenceBundle\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m1", + "2026-11-16T02:17:07.577305Z 01O \u001b[2m2026-11-16T02:16:56.514894Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.inference.v1.Inference/GetInferenceBundle\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"55f5ee61-aa49-4fb6-a09a-a61ff91f1445\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.inference.v1.Inference/GetInferenceBundle \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.inference.v1.Inference\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"GetInferenceBundle\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m0", + "2026-11-16T02:17:07.577316Z 01O \u001b[2m2026-11-16T02:16:56.516431Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/GetSandboxConfig\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"74863b13-5879-462f-a65f-217a077ae93d\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/GetSandboxConfig \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"GetSandboxConfig\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m3", + "2026-11-16T02:17:07.577334Z 01O \u001b[2m2026-11-16T02:16:56.516624Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/GetSandboxConfig\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"99ba44d8-7b8d-4120-a2a5-337269e3125b\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/GetSandboxConfig \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"GetSandboxConfig\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m2", + "2026-11-16T02:17:07.577373Z 01O \u001b[2m2026-11-16T02:16:56.599908Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/ReportPolicyStatus\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"1ef1a330-c504-42a5-977d-24cd51f30f4a\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/ReportPolicyStatus \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"ReportPolicyStatus\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::grpc::policy\u001b[0m\u001b[2m:\u001b[0m ReportPolicyStatus: sandbox reported policy load result \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0m27837c21-aadd-4bda-84c2-fc0196e74475 \u001b[3mversion\u001b[0m\u001b[2m=\u001b[0m1 \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0mloaded", + "2026-11-16T02:17:07.577385Z 01O \u001b[2m2026-11-16T02:16:56.599982Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/ReportPolicyStatus\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"1ef1a330-c504-42a5-977d-24cd51f30f4a\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/ReportPolicyStatus \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"ReportPolicyStatus\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m82", + "2026-11-16T02:17:07.577408Z 01O \u001b[2m2026-11-16T02:16:56.605230Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/ConnectSupervisor\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"6de151ca-94dd-47f2-b8ed-3209d87a6a1e\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/ConnectSupervisor \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"ConnectSupervisor\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::supervisor_session\u001b[0m\u001b[2m:\u001b[0m supervisor session: accepted \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0m27837c21-aadd-4bda-84c2-fc0196e74475 \u001b[3msession_id\u001b[0m\u001b[2m=\u001b[0mf472202e-9887-4538-a6e5-93bf432b9ef1 \u001b[3minstance_id\u001b[0m\u001b[2m=\u001b[0m5c7b6766-5f9c-4a52-adaf-151f38d2e277", + "2026-11-16T02:17:07.577420Z 01O \u001b[2m2026-11-16T02:16:56.635555Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/ConnectSupervisor\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"6de151ca-94dd-47f2-b8ed-3209d87a6a1e\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/ConnectSupervisor \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"ConnectSupervisor\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m109", + "2026-11-16T02:17:07.577433Z 01O \u001b[2m2026-11-16T02:16:56.638711Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/GetSandbox\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"0bdd6c9a-0eda-4d38-8d9f-33ddda34e9ff\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/GetSandbox \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"GetSandbox\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m0", + "2026-11-16T02:17:07.577461Z 01O \u001b[2m2026-11-16T02:16:56.666793Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/CreateSshSession\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"13869fe6-fca7-4729-9a5e-afe6c356f762\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/CreateSshSession \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"CreateSshSession\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m27", + "2026-11-16T02:17:07.577508Z 01O \u001b[2m2026-11-16T02:16:56.683007Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/ForwardTcp\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"e0f5fa70-30ca-4b34-9402-416d7b64b942\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/ForwardTcp \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"ForwardTcp\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m1", + "2026-11-16T02:17:07.577520Z 01O \u001b[2m2026-11-16T02:16:56.683509Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[2mopenshell_server::supervisor_session\u001b[0m\u001b[2m:\u001b[0m supervisor session: relay opened successfully \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0m27837c21-aadd-4bda-84c2-fc0196e74475 \u001b[3msession_id\u001b[0m\u001b[2m=\u001b[0mf472202e-9887-4538-a6e5-93bf432b9ef1 \u001b[3mchannel_id\u001b[0m\u001b[2m=\u001b[0ma99bb7ba-e414-4d6a-bed7-9f5a99746599", + "2026-11-16T02:17:07.577538Z 01O \u001b[2m2026-11-16T02:16:56.683923Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/RelayStream\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"c5487196-b528-4a29-a887-cddc91493e9b\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/RelayStream \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"RelayStream\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::supervisor_session\u001b[0m\u001b[2m:\u001b[0m relay stream: claimed pending relay, bridging \u001b[3mchannel_id\u001b[0m\u001b[2m=\u001b[0ma99bb7ba-e414-4d6a-bed7-9f5a99746599 \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0m27837c21-aadd-4bda-84c2-fc0196e74475", + "2026-11-16T02:17:07.577561Z 01O \u001b[2m2026-11-16T02:16:56.683969Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/RelayStream\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"c5487196-b528-4a29-a887-cddc91493e9b\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/RelayStream \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"RelayStream\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m0", + "2026-11-16T02:17:07.577574Z 01O \u001b[2m2026-11-16T02:17:01.513245Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.inference.v1.Inference/GetInferenceBundle\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"86ce657a-82d7-400d-b35e-6c004272798e\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.inference.v1.Inference/GetInferenceBundle \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.inference.v1.Inference\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"GetInferenceBundle\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m0", + "2026-11-16T02:17:07.577588Z 01O \u001b[2m2026-11-16T02:17:04.972895Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[2mopenshell_server::supervisor_session\u001b[0m\u001b[2m:\u001b[0m supervisor session: stream closed by supervisor \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0m27837c21-aadd-4bda-84c2-fc0196e74475 \u001b[3msession_id\u001b[0m\u001b[2m=\u001b[0mf472202e-9887-4538-a6e5-93bf432b9ef1", + "2026-11-16T02:17:07.577594Z 01O \u001b[2m2026-11-16T02:17:04.972929Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[2mopenshell_server::supervisor_session\u001b[0m\u001b[2m:\u001b[0m supervisor session: ended \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0m27837c21-aadd-4bda-84c2-fc0196e74475 \u001b[3msession_id\u001b[0m\u001b[2m=\u001b[0mf472202e-9887-4538-a6e5-93bf432b9ef1", + "2026-11-16T02:17:07.577625Z 01O \u001b[2m2026-11-16T02:17:05.022082Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/ReportMainProcessExit\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"304a53f0-0494-4c14-b1da-d5c6fadce309\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/ReportMainProcessExit \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"ReportMainProcessExit\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m48", + "2026-11-16T02:17:07.577643Z 01O \u001b[2m2026-11-16T02:17:05.026199Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/SubmitPolicyAnalysis\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"ad762941-9402-4a8c-b95b-9894c8224dce\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/SubmitPolicyAnalysis \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"SubmitPolicyAnalysis\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m0", + "2026-11-16T02:17:07.577655Z 01O \u001b[2m2026-11-16T02:17:05.039165Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/PushSandboxLogs\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"fe949aca-d448-4a36-80fa-ed32224da368\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/PushSandboxLogs \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"PushSandboxLogs\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mrpc.grpc.status_code\u001b[0m\u001b[2m=\u001b[0m13 \u001b[3motel.status_code\u001b[0m\u001b[2m=\u001b[0m\"ERROR\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m8799", + "2026-11-16T02:17:07.577674Z 01O \u001b[2m2026-11-16T02:17:05.096541Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/DeleteSandbox\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"823eb581-ae87-444f-81d7-f7ef6c02df8f\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/DeleteSandbox \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"DeleteSandbox\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mdriver\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"driver.delete_sandbox\" \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"client\" \u001b[3mdriver.name\u001b[0m\u001b[2m=\u001b[0mpodman \u001b[3msandbox.id\u001b[0m\u001b[2m=\u001b[0m\"27837c21-aadd-4bda-84c2-fc0196e74475\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mdriver_rpc\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"driver.delete_sandbox\" \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.compute.v1.ComputeDriver\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"delete_sandbox\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mpodman.delete_sandbox\u001b[0m\u001b[1m{\u001b[0m\u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0m\"27837c21-aadd-4bda-84c2-fc0196e74475\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"podman.delete_sandbox\" \u001b[3msandbox.id\u001b[0m\u001b[2m=\u001b[0m27837c21-aadd-4bda-84c2-fc0196e74475\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_driver_podman::driver\u001b[0m\u001b[2m:\u001b[0m Deleting sandbox container \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0m27837c21-aadd-4bda-84c2-fc0196e74475 \u001b[3mcontainer\u001b[0m\u001b[2m=\u001b[0m446d63f336319245f2eb82d4f67cbe886ab99ec1491fc62903c411fee0f673c3", + "2026-11-16T02:17:07.577691Z 01O \u001b[2m2026-11-16T02:17:06.776508Z\u001b[0m \u001b[33m WARN\u001b[0m \u001b[2mopenshell_driver_podman::watcher\u001b[0m\u001b[2m:\u001b[0m Failed to inspect container after event \u001b[3mcontainer_id\u001b[0m\u001b[2m=\u001b[0m446d63f336319245f2eb82d4f67cbe886ab99ec1491fc62903c411fee0f673c3 \u001b[3merror\u001b[0m\u001b[2m=\u001b[0mpodman API error (500): no container with ID 446d63f336319245f2eb82d4f67cbe886ab99ec1491fc62903c411fee0f673c3 found in database: no such container", + "2026-11-16T02:17:07.577699Z 01O \u001b[2m2026-11-16T02:17:07.098896Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/DeleteSandbox\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"823eb581-ae87-444f-81d7-f7ef6c02df8f\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/DeleteSandbox \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"DeleteSandbox\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::grpc::sandbox\u001b[0m\u001b[2m:\u001b[0m DeleteSandbox request completed successfully \u001b[3msandbox_name\u001b[0m\u001b[2m=\u001b[0mrelay-29", + "2026-11-16T02:17:07.577728Z 01O \u001b[2m2026-11-16T02:17:07.098962Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/DeleteSandbox\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"823eb581-ae87-444f-81d7-f7ef6c02df8f\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/DeleteSandbox \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"DeleteSandbox\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m2124", + "2026-11-16T02:17:07.577739Z 01O \u001b[2m2026-11-16T02:17:07.104454Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[2mopenshell_server\u001b[0m\u001b[2m:\u001b[0m Shutdown signal received; stopping gateway", + "2026-11-16T02:17:07.577748Z 01O ----- tail smoke-output/gateway-cleanup.log", + "2026-11-16T02:17:07.577752Z 01O \u001b[1m\u001b[32m\u2713\u001b[39m\u001b[0m Gateway registration 'strat-29' removed.", + "2026-11-16T02:17:07.577757Z 01O openshell-strat-29", + "2026-11-16T02:17:07.577764Z 01O command_exit=0", + "2026-11-16T02:17:07.577768Z 01O cleanup_exit=0", + "2026-11-16T02:17:07.577772Z 01O ", + "2026-11-16T02:17:07.577852Z 00O section_end:1794795427:step_script", + "\u001b[0K", + "2026-11-16T02:17:07.578396Z 00O+section_start:1794795427:upload_artifacts_on_success", + "\u001b[0K", + "2026-11-16T02:17:07.578407Z 00O+\u001b[0K\u001b[36;1mUploading artifacts for successful job\u001b[0;m\u001b[0;m", + "2026-11-16T02:17:08.076471Z 01O \u001b[32;1mUploading artifacts...\u001b[0;m", + "2026-11-16T02:17:08.076483Z 01O smoke-output/: found 9 matching artifact files and directories\u001b[0;m ", + "2026-11-16T02:17:08.076491Z 01O Uploading artifacts as \"archive\" to coordinator... 201 Created\u001b[0;m correlation_id\u001b[0;m=a3a29f164abb4405a4f88cbc8b98cf20 id\u001b[0;m=29 status\u001b[0;m=201 token\u001b[0;m=gljt-[MASKED]", + "2026-11-16T02:17:08.076497Z 01O ", + "2026-11-16T02:17:08.076538Z 00O section_end:1794795428:upload_artifacts_on_success", + "\u001b[0K", + "2026-11-16T02:17:08.076666Z 00O+section_start:1794795428:cleanup_file_variables", + "\u001b[0K", + "2026-11-16T02:17:08.076672Z 00O+\u001b[0K\u001b[36;1mCleaning up project directory and file based variables\u001b[0;m\u001b[0;m", + "2026-11-16T02:17:08.577673Z 01O ", + "2026-11-16T02:17:08.577729Z 00O section_end:1794795428:cleanup_file_variables", + "\u001b[0K", + "2026-11-16T02:17:08.581951Z 00O \u001b[32;1mJob succeeded\u001b[0;m" + ] + } + ] +} diff --git a/var/demos/initiatives/evidence/smoke-sandbox-relay-20261116T022246Z.json b/var/demos/initiatives/evidence/smoke-sandbox-relay-20261116T022246Z.json new file mode 100644 index 0000000..a03d291 --- /dev/null +++ b/var/demos/initiatives/evidence/smoke-sandbox-relay-20261116T022246Z.json @@ -0,0 +1,118 @@ +{ + "project": "cc75/sandbox-relay", + "commit": "e18f4f55baec551bb1e51a5e70f189488c488ac3", + "pipeline": 17, + "status": "success", + "wall_seconds": 276, + "jobs": [ + { + "id": 31, + "name": "relay-probe", + "status": "success", + "markers": [ + "SMOKE strat-creator dc916df8db2e4fdf3400662836d4dd581af104dd", + "SMOKE relay policy groups: 1", + "PROBE python_token_exchange 200", + "PROBE claude_path /usr/local/bin/claude -> /usr/lib/node_modules/@anthropic-ai/claude-code/bin/claude.exe", + "PROBE proxy_vars ALL_PROXY HTTPS_PROXY HTTP_PROXY NO_PROXY http_proxy https_proxy no_proxy", + "PROBE no_proxy_has_cluster 0", + "PROBE claude_exit 1 output=API Error: Error code [object Object]", + "PROBE debug_file /sandbox/.claude/debug/d9bf0261-e4c4-4fc3-9441-62ff72823884.txt", + "PROBE dbg 59-2026-11-16T02:22:22.258Z [DEBUG] Temp file written successfully, size: 343 bytes", + "PROBE dbg 60-2026-11-16T02:22:22.258Z [DEBUG] Renaming /sandbox/.claude.json.tmp.52.f43fdf70a8b1 to /sandbox/.claude.json", + "PROBE dbg 61-2026-11-16T02:22:22.259Z [DEBUG] File /sandbox/.claude.json written atomically", + "PROBE dbg 62:2026-11-16T02:22:22.282Z [DEBUG] [Claude in Chrome] Disabled: OAuth token has no scope accepted by /api/oauth/validate (needs user:profile, user:office, or user:ccr_inference; env-var and setup-token sessions default to user:inference only)", + "PROBE dbg 63-2026-11-16T02:22:22.304Z [DEBUG] [ToolSearch:optimistic] mode=tst, ENABLE_TOOL_SEARCH=undefined, result=true", + "PROBE dbg 64-2026-11-16T02:22:22.307Z [DEBUG] [claudeai-mcp] Disabled on third-party provider", + "PROBE dbg 65-2026-11-16T02:22:22.308Z [DEBUG] [STARTUP] Loading MCP configs...", + "PROBE dbg --", + "PROBE dbg 88-2026-11-16T02:22:25.347Z [DEBUG] cc-plugin-sec-default@builtin not seated: no managed settings and not a Team or Enterprise organization (none)", + "PROBE dbg 89-2026-11-16T02:22:25.348Z [DEBUG] [STARTUP] setup() completed in 38ms", + "PROBE dbg 90-2026-11-16T02:22:25.349Z [DEBUG] Cleared mTLS configuration cache", + "PROBE dbg 91:2026-11-16T02:22:25.349Z [DEBUG] Cleared proxy agent cache", + "PROBE dbg 92-2026-11-16T02:22:25.349Z [DEBUG] mTLS: Creating HTTPS agent with custom certificates", + "PROBE dbg 93-2026-11-16T02:22:25.356Z [DEBUG] [STARTUP] Loading commands and agents...", + "PROBE dbg 94-2026-11-16T02:22:25.363Z [DEBUG] getSkills returning: 1 skill dir commands, 0 plugin skills, 39 bundled skills, 1 builtin plugin skills", + "PROBE dbg --", + "PROBE dbg 101-2026-11-16T02:22:25.384Z [DEBUG] memory index backfill: ENOENT: no such file or directory, scandir '/sandbox/.claude/projects/-tmp/memory/'", + "PROBE dbg 102-2026-11-16T02:22:25.392Z [DEBUG] $.session (cc-plugin-agents-md): no session bound; id, cwd and model answered from the process", + "PROBE dbg 103-2026-11-16T02:22:25.395Z [DEBUG] $.fs.ancestors (cc-plugin-agents-md): CLAUDE.md, .claude/CLAUDE.md, CLAUDE.local.md found 0 of 1 directories", + "PROBE dbg 104:2026-11-16T02:22:25.403Z [DEBUG] attribution header x-anthropic-billing-header: cc_version=2.1.296.406; cc_entrypoint=sdk-cli; cch=00000;", + "PROBE dbg 105-2026-11-16T02:22:25.404Z [DEBUG] attribution header x-anthropic-billing-header: cc_version=2.1.296.406; cc_entrypoint=sdk-cli; cch=00000;", + "PROBE dbg 106-2026-11-16T02:22:25.405Z [DEBUG] $.fs.ancestors (cc-plugin-agents-md): AGENTS.md, .claude/AGENTS.md found 0 of 1 directories", + "PROBE dbg 107-2026-11-16T02:22:25.407Z [DEBUG] hooks module cc-plugin-agents-md@builtin prompt.context settled in 15.1ms (native link, next() included)", + "PROBE dbg --", + "PROBE dbg 111-2026-11-16T02:22:25.418Z [DEBUG] Temp file written successfully, size: 423 bytes", + "PROBE dbg 112-2026-11-16T02:22:25.418Z [DEBUG] Renaming /sandbox/.claude.json.tmp.52.31ac5842a4a7 to /sandbox/.claude.json", + "PROBE dbg 113-2026-11-16T02:22:25.418Z [DEBUG] File /sandbox/.claude.json written atomically", + "PROBE dbg 114:2026-11-16T02:22:26.826Z [ERROR] [3p-model-memory] vertex claude-haiku-4-5@20251001: check failed: nothing learned about the model (connection error: Failed to acquire Google OAuth credentials.)", + "PROBE dbg 115:2026-11-16T02:22:26.868Z [ERROR] [3p-model-memory] vertex claude-sonnet-4-5@20250929: check failed: nothing learned about the model (connection error: Failed to acquire Google OAuth credentials.)", + "PROBE dbg 116-2026-11-16T02:22:26.868Z [DEBUG] [vertex-fallback] unpinnedTiers=2 fallbacks=0", + "PROBE dbg 117-2026-11-16T02:22:26.871Z [DEBUG] [LSP MANAGER] initializeLspServerManager() called", + "PROBE dbg 118-2026-11-16T02:22:26.871Z [DEBUG] [LSP MANAGER] Created manager instance, state=pending" + ], + "trace_tail": [ + "2026-11-16T02:22:37.487494Z 01O \u001b[2m2026-11-16T02:22:07.730899Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/CreateSandbox\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"4a8c1524-5022-4411-92dd-20d57762178e\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/CreateSandbox \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"CreateSandbox\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mdriver\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"driver.create_sandbox\" \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"client\" \u001b[3mdriver.name\u001b[0m\u001b[2m=\u001b[0mpodman \u001b[3msandbox.id\u001b[0m\u001b[2m=\u001b[0m\"ccc82b07-eec9-4ab0-9a3c-4e5d5fcee529\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mdriver_rpc\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"driver.create_sandbox\" \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.compute.v1.ComputeDriver\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"create_sandbox\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mpodman.create_sandbox\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"podman.create_sandbox\" \u001b[3msandbox.id\u001b[0m\u001b[2m=\u001b[0mccc82b07-eec9-4ab0-9a3c-4e5d5fcee529 \u001b[3msandbox.name\u001b[0m\u001b[2m=\u001b[0mrelay-31\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mpodman.prepare_images\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"podman.prepare_images\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_driver_podman::driver\u001b[0m\u001b[2m:\u001b[0m Ensuring sandbox image \u001b[3mimage\u001b[0m\u001b[2m=\u001b[0mlocalhost/strat-fullsend:31 \u001b[3mpolicy\u001b[0m\u001b[2m=\u001b[0mmissing", + "2026-11-16T02:22:37.487520Z 01O \u001b[2m2026-11-16T02:22:19.997377Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/CreateSandbox\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"4a8c1524-5022-4411-92dd-20d57762178e\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/CreateSandbox \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"CreateSandbox\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mdriver\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"driver.create_sandbox\" \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"client\" \u001b[3mdriver.name\u001b[0m\u001b[2m=\u001b[0mpodman \u001b[3msandbox.id\u001b[0m\u001b[2m=\u001b[0m\"ccc82b07-eec9-4ab0-9a3c-4e5d5fcee529\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mdriver_rpc\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"driver.create_sandbox\" \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.compute.v1.ComputeDriver\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"create_sandbox\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mpodman.create_sandbox\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"podman.create_sandbox\" \u001b[3msandbox.id\u001b[0m\u001b[2m=\u001b[0mccc82b07-eec9-4ab0-9a3c-4e5d5fcee529 \u001b[3msandbox.name\u001b[0m\u001b[2m=\u001b[0mrelay-31\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_driver_podman::driver\u001b[0m\u001b[2m:\u001b[0m Sandbox container started \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0mccc82b07-eec9-4ab0-9a3c-4e5d5fcee529 \u001b[3msandbox_name\u001b[0m\u001b[2m=\u001b[0mrelay-31", + "2026-11-16T02:22:37.487539Z 01O \u001b[2m2026-11-16T02:22:19.997456Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/CreateSandbox\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"4a8c1524-5022-4411-92dd-20d57762178e\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/CreateSandbox \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"CreateSandbox\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::grpc::sandbox\u001b[0m\u001b[2m:\u001b[0m CreateSandbox request completed successfully \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0mccc82b07-eec9-4ab0-9a3c-4e5d5fcee529 \u001b[3msandbox_name\u001b[0m\u001b[2m=\u001b[0mrelay-31", + "2026-11-16T02:22:37.487589Z 01O \u001b[2m2026-11-16T02:22:19.997794Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/CreateSandbox\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"4a8c1524-5022-4411-92dd-20d57762178e\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/CreateSandbox \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"CreateSandbox\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m12304", + "2026-11-16T02:22:37.487607Z 01O \u001b[2m2026-11-16T02:22:20.051079Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/GetSandboxConfig\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"589ba60c-1d74-4db9-b0be-9e3f271024f2\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/GetSandboxConfig \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"GetSandboxConfig\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::grpc::policy\u001b[0m\u001b[2m:\u001b[0m GetSandboxConfig served from spec (backfilled version 1) \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0mccc82b07-eec9-4ab0-9a3c-4e5d5fcee529", + "2026-11-16T02:22:37.487620Z 01O \u001b[2m2026-11-16T02:22:20.052042Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/GetSandboxConfig\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"589ba60c-1d74-4db9-b0be-9e3f271024f2\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/GetSandboxConfig \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"GetSandboxConfig\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m74", + "2026-11-16T02:22:37.487633Z 01O \u001b[2m2026-11-16T02:22:20.053165Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/WatchSandbox\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"a57f4a73-4701-4276-a719-dd0c0ceeefde\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/WatchSandbox \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"WatchSandbox\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m54", + "2026-11-16T02:22:37.487652Z 01O \u001b[2m2026-11-16T02:22:20.169345Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/GetSandboxProviderEnvironment\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"092c5ad1-9eab-434d-acf5-9595e51763a2\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/GetSandboxProviderEnvironment \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"GetSandboxProviderEnvironment\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::grpc::policy\u001b[0m\u001b[2m:\u001b[0m GetSandboxProviderEnvironment request completed successfully \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0mccc82b07-eec9-4ab0-9a3c-4e5d5fcee529 \u001b[3mprovider_count\u001b[0m\u001b[2m=\u001b[0m0 \u001b[3menv_count\u001b[0m\u001b[2m=\u001b[0m0 \u001b[3mprovider_env_revision\u001b[0m\u001b[2m=\u001b[0m3176606324465211593", + "2026-11-16T02:22:37.487663Z 01O \u001b[2m2026-11-16T02:22:20.169563Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/GetSandboxProviderEnvironment\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"092c5ad1-9eab-434d-acf5-9595e51763a2\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/GetSandboxProviderEnvironment \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"GetSandboxProviderEnvironment\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m82", + "2026-11-16T02:22:37.487751Z 01O \u001b[2m2026-11-16T02:22:20.342786Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.inference.v1.Inference/GetInferenceBundle\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"2f91c83a-6ebc-4146-9a2a-77fb932782b0\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.inference.v1.Inference/GetInferenceBundle \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.inference.v1.Inference\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"GetInferenceBundle\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m0", + "2026-11-16T02:22:37.487765Z 01O \u001b[2m2026-11-16T02:22:20.350864Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.inference.v1.Inference/GetInferenceBundle\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"a953cd32-0b77-4a57-a432-ea9fff4558e8\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.inference.v1.Inference/GetInferenceBundle \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.inference.v1.Inference\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"GetInferenceBundle\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m1", + "2026-11-16T02:22:37.487802Z 01O \u001b[2m2026-11-16T02:22:20.352926Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/GetSandboxConfig\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"dea48c40-32e5-43cf-a293-7965e1fe2b8c\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/GetSandboxConfig \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"GetSandboxConfig\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m2", + "2026-11-16T02:22:37.487817Z 01O \u001b[2m2026-11-16T02:22:20.352953Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/GetSandboxConfig\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"eae66b37-f21f-4848-80d4-c54c1dc06672\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/GetSandboxConfig \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"GetSandboxConfig\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m2", + "2026-11-16T02:22:37.487855Z 01O \u001b[2m2026-11-16T02:22:20.427435Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/ReportPolicyStatus\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"9cdfe67a-9502-4532-96a6-46d4d9961da3\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/ReportPolicyStatus \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"ReportPolicyStatus\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::grpc::policy\u001b[0m\u001b[2m:\u001b[0m ReportPolicyStatus: sandbox reported policy load result \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0mccc82b07-eec9-4ab0-9a3c-4e5d5fcee529 \u001b[3mversion\u001b[0m\u001b[2m=\u001b[0m1 \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0mloaded", + "2026-11-16T02:22:37.487872Z 01O \u001b[2m2026-11-16T02:22:20.427499Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/ReportPolicyStatus\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"9cdfe67a-9502-4532-96a6-46d4d9961da3\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/ReportPolicyStatus \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"ReportPolicyStatus\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m73", + "2026-11-16T02:22:37.487918Z 01O \u001b[2m2026-11-16T02:22:20.442048Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/ConnectSupervisor\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"8bfb979b-509c-4c9e-8ea5-08ab8323d91c\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/ConnectSupervisor \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"ConnectSupervisor\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::supervisor_session\u001b[0m\u001b[2m:\u001b[0m supervisor session: accepted \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0mccc82b07-eec9-4ab0-9a3c-4e5d5fcee529 \u001b[3msession_id\u001b[0m\u001b[2m=\u001b[0me6d57ec2-9de6-4382-bb1c-bf337cbaf8fa \u001b[3minstance_id\u001b[0m\u001b[2m=\u001b[0medaa89a9-1c0f-47e6-ab2f-d2ffd2814a10", + "2026-11-16T02:22:37.487935Z 01O \u001b[2m2026-11-16T02:22:20.469914Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/ConnectSupervisor\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"8bfb979b-509c-4c9e-8ea5-08ab8323d91c\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/ConnectSupervisor \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"ConnectSupervisor\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m107", + "2026-11-16T02:22:37.487952Z 01O \u001b[2m2026-11-16T02:22:20.472739Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/GetSandbox\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"6c52493c-f73c-4a40-a7a5-21f7b1f6e7ff\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/GetSandbox \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"GetSandbox\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m0", + "2026-11-16T02:22:37.487963Z 01O \u001b[2m2026-11-16T02:22:20.500130Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/CreateSshSession\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"dbc26026-cbfc-478c-915a-a42c30c61f76\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/CreateSshSession \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"CreateSshSession\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m26", + "2026-11-16T02:22:37.487975Z 01O \u001b[2m2026-11-16T02:22:20.517433Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/ForwardTcp\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"a75d99d7-9506-496b-9e5a-d1c344c5915b\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/ForwardTcp \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"ForwardTcp\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m0", + "2026-11-16T02:22:37.487990Z 01O \u001b[2m2026-11-16T02:22:20.518317Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[2mopenshell_server::supervisor_session\u001b[0m\u001b[2m:\u001b[0m supervisor session: relay opened successfully \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0mccc82b07-eec9-4ab0-9a3c-4e5d5fcee529 \u001b[3msession_id\u001b[0m\u001b[2m=\u001b[0me6d57ec2-9de6-4382-bb1c-bf337cbaf8fa \u001b[3mchannel_id\u001b[0m\u001b[2m=\u001b[0m5ff1ff7a-e855-4fa8-92e2-18dcd1282b9a", + "2026-11-16T02:22:37.488024Z 01O \u001b[2m2026-11-16T02:22:20.518596Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/RelayStream\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"8b34cca7-69d2-4ea6-bc51-d95964374aa5\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/RelayStream \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"RelayStream\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::supervisor_session\u001b[0m\u001b[2m:\u001b[0m relay stream: claimed pending relay, bridging \u001b[3mchannel_id\u001b[0m\u001b[2m=\u001b[0m5ff1ff7a-e855-4fa8-92e2-18dcd1282b9a \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0mccc82b07-eec9-4ab0-9a3c-4e5d5fcee529", + "2026-11-16T02:22:37.488042Z 01O \u001b[2m2026-11-16T02:22:20.518644Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/RelayStream\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"8b34cca7-69d2-4ea6-bc51-d95964374aa5\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/RelayStream \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"RelayStream\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m0", + "2026-11-16T02:22:37.488060Z 01O \u001b[2m2026-11-16T02:22:25.348612Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.inference.v1.Inference/GetInferenceBundle\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"518ae551-f3dc-42cb-a6a8-dd2627225848\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.inference.v1.Inference/GetInferenceBundle \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.inference.v1.Inference\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"GetInferenceBundle\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m0", + "2026-11-16T02:22:37.488077Z 01O \u001b[2m2026-11-16T02:22:30.348953Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.inference.v1.Inference/GetInferenceBundle\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"ba139b96-7bd0-45ae-912e-ee7ffb2568a9\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.inference.v1.Inference/GetInferenceBundle \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.inference.v1.Inference\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"GetInferenceBundle\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m0", + "2026-11-16T02:22:37.488092Z 01O \u001b[2m2026-11-16T02:22:30.350539Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/SubmitPolicyAnalysis\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"99bf602c-2b93-4022-9fbf-f8307c532d78\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/SubmitPolicyAnalysis \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"SubmitPolicyAnalysis\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m0", + "2026-11-16T02:22:37.488110Z 01O \u001b[2m2026-11-16T02:22:30.357428Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/GetSandboxConfig\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"9d5ff7cd-6a68-4d98-8b71-69500ec1772e\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/GetSandboxConfig \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"GetSandboxConfig\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m2", + "2026-11-16T02:22:37.488145Z 01O \u001b[2m2026-11-16T02:22:34.393732Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[2mopenshell_server::supervisor_session\u001b[0m\u001b[2m:\u001b[0m supervisor session: stream closed by supervisor \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0mccc82b07-eec9-4ab0-9a3c-4e5d5fcee529 \u001b[3msession_id\u001b[0m\u001b[2m=\u001b[0me6d57ec2-9de6-4382-bb1c-bf337cbaf8fa", + "2026-11-16T02:22:37.488154Z 01O \u001b[2m2026-11-16T02:22:34.393772Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[2mopenshell_server::supervisor_session\u001b[0m\u001b[2m:\u001b[0m supervisor session: ended \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0mccc82b07-eec9-4ab0-9a3c-4e5d5fcee529 \u001b[3msession_id\u001b[0m\u001b[2m=\u001b[0me6d57ec2-9de6-4382-bb1c-bf337cbaf8fa", + "2026-11-16T02:22:37.488183Z 01O \u001b[2m2026-11-16T02:22:34.444578Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/ReportMainProcessExit\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"f1900494-04c0-49aa-b45d-8474654a63f8\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/ReportMainProcessExit \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"ReportMainProcessExit\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m53", + "2026-11-16T02:22:37.488197Z 01O \u001b[2m2026-11-16T02:22:34.462616Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/PushSandboxLogs\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"6f51cb74-6327-4c8e-bfec-5b220e3097b6\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/PushSandboxLogs \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"PushSandboxLogs\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mrpc.grpc.status_code\u001b[0m\u001b[2m=\u001b[0m13 \u001b[3motel.status_code\u001b[0m\u001b[2m=\u001b[0m\"ERROR\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m14487", + "2026-11-16T02:22:37.488214Z 01O \u001b[2m2026-11-16T02:22:34.542274Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/DeleteSandbox\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"332d65f9-b8be-4e8a-b896-64b727bde7db\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/DeleteSandbox \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"DeleteSandbox\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mdriver\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"driver.delete_sandbox\" \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"client\" \u001b[3mdriver.name\u001b[0m\u001b[2m=\u001b[0mpodman \u001b[3msandbox.id\u001b[0m\u001b[2m=\u001b[0m\"ccc82b07-eec9-4ab0-9a3c-4e5d5fcee529\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mdriver_rpc\u001b[0m\u001b[1m{\u001b[0m\u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"driver.delete_sandbox\" \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.compute.v1.ComputeDriver\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"delete_sandbox\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m\u001b[1mpodman.delete_sandbox\u001b[0m\u001b[1m{\u001b[0m\u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0m\"ccc82b07-eec9-4ab0-9a3c-4e5d5fcee529\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0m\"podman.delete_sandbox\" \u001b[3msandbox.id\u001b[0m\u001b[2m=\u001b[0mccc82b07-eec9-4ab0-9a3c-4e5d5fcee529\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_driver_podman::driver\u001b[0m\u001b[2m:\u001b[0m Deleting sandbox container \u001b[3msandbox_id\u001b[0m\u001b[2m=\u001b[0mccc82b07-eec9-4ab0-9a3c-4e5d5fcee529 \u001b[3mcontainer\u001b[0m\u001b[2m=\u001b[0ma00013d337bf6ca3898062a65767ba34f3b3a0280f5b2865d82e968eb1493f38", + "2026-11-16T02:22:37.488269Z 01O \u001b[2m2026-11-16T02:22:36.862958Z\u001b[0m \u001b[33m WARN\u001b[0m \u001b[2mopenshell_driver_podman::watcher\u001b[0m\u001b[2m:\u001b[0m Failed to inspect container after event \u001b[3mcontainer_id\u001b[0m\u001b[2m=\u001b[0ma00013d337bf6ca3898062a65767ba34f3b3a0280f5b2865d82e968eb1493f38 \u001b[3merror\u001b[0m\u001b[2m=\u001b[0mpodman API error (500): no container with ID a00013d337bf6ca3898062a65767ba34f3b3a0280f5b2865d82e968eb1493f38 found in database: no such container", + "2026-11-16T02:22:37.488325Z 01O \u001b[2m2026-11-16T02:22:37.189503Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/DeleteSandbox\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"332d65f9-b8be-4e8a-b896-64b727bde7db\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/DeleteSandbox \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"DeleteSandbox\"\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::grpc::sandbox\u001b[0m\u001b[2m:\u001b[0m DeleteSandbox request completed successfully \u001b[3msandbox_name\u001b[0m\u001b[2m=\u001b[0mrelay-31", + "2026-11-16T02:22:37.488340Z 01O \u001b[2m2026-11-16T02:22:37.189603Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[1mrequest\u001b[0m\u001b[1m{\u001b[0m\u001b[3mmethod\u001b[0m\u001b[2m=\u001b[0mPOST \u001b[3mpath\u001b[0m\u001b[2m=\u001b[0m\"/openshell.v1.OpenShell/DeleteSandbox\" \u001b[3mrequest_id\u001b[0m\u001b[2m=\u001b[0m\"332d65f9-b8be-4e8a-b896-64b727bde7db\" \u001b[3motel.name\u001b[0m\u001b[2m=\u001b[0mopenshell.v1.OpenShell/DeleteSandbox \u001b[3motel.kind\u001b[0m\u001b[2m=\u001b[0m\"server\" \u001b[3mrpc.system\u001b[0m\u001b[2m=\u001b[0m\"grpc\" \u001b[3mrpc.service\u001b[0m\u001b[2m=\u001b[0m\"openshell.v1.OpenShell\" \u001b[3mrpc.method\u001b[0m\u001b[2m=\u001b[0m\"DeleteSandbox\" \u001b[3mhttp.response.status_code\u001b[0m\u001b[2m=\u001b[0m200\u001b[1m}\u001b[0m\u001b[2m:\u001b[0m \u001b[2mopenshell_server::multiplex\u001b[0m\u001b[2m:\u001b[0m response \u001b[3mstatus\u001b[0m\u001b[2m=\u001b[0m200 \u001b[3mlatency_ms\u001b[0m\u001b[2m=\u001b[0m2798", + "2026-11-16T02:22:37.488354Z 01O \u001b[2m2026-11-16T02:22:37.195734Z\u001b[0m \u001b[32m INFO\u001b[0m \u001b[2mopenshell_server\u001b[0m\u001b[2m:\u001b[0m Shutdown signal received; stopping gateway", + "2026-11-16T02:22:37.488359Z 01O ----- tail smoke-output/gateway-cleanup.log", + "2026-11-16T02:22:37.488365Z 01O \u001b[1m\u001b[32m\u2713\u001b[39m\u001b[0m Gateway registration 'strat-31' removed.", + "2026-11-16T02:22:37.488373Z 01O openshell-strat-31", + "2026-11-16T02:22:37.488376Z 01O command_exit=0", + "2026-11-16T02:22:37.488381Z 01O cleanup_exit=0", + "2026-11-16T02:22:37.488414Z 01O ", + "2026-11-16T02:22:37.488497Z 00O section_end:1794795757:step_script", + "\u001b[0K", + "2026-11-16T02:22:37.489271Z 00O+section_start:1794795757:upload_artifacts_on_success", + "\u001b[0K", + "2026-11-16T02:22:37.489280Z 00O+\u001b[0K\u001b[36;1mUploading artifacts for successful job\u001b[0;m\u001b[0;m", + "2026-11-16T02:22:37.987355Z 01O \u001b[32;1mUploading artifacts...\u001b[0;m", + "2026-11-16T02:22:37.987373Z 01O smoke-output/: found 9 matching artifact files and directories\u001b[0;m ", + "2026-11-16T02:22:38.488003Z 01O Uploading artifacts as \"archive\" to coordinator... 201 Created\u001b[0;m correlation_id\u001b[0;m=a599695f9b93413c8657b8c514a8cbc1 id\u001b[0;m=31 status\u001b[0;m=201 token\u001b[0;m=gljt-[MASKED]", + "2026-11-16T02:22:38.488042Z 01O ", + "2026-11-16T02:22:38.488093Z 00O section_end:1794795758:upload_artifacts_on_success", + "\u001b[0K", + "2026-11-16T02:22:38.488213Z 00O+section_start:1794795758:cleanup_file_variables", + "\u001b[0K", + "2026-11-16T02:22:38.488222Z 00O+\u001b[0K\u001b[36;1mCleaning up project directory and file based variables\u001b[0;m\u001b[0;m", + "2026-11-16T02:22:38.988610Z 01O ", + "2026-11-16T02:22:38.988666Z 00O section_end:1794795758:cleanup_file_variables", + "\u001b[0K", + "2026-11-16T02:22:38.995794Z 00O \u001b[32;1mJob succeeded\u001b[0;m" + ] + } + ] +} diff --git a/var/demos/initiatives/evidence/smoke-variable-precedence-20261116T224456Z.json b/var/demos/initiatives/evidence/smoke-variable-precedence-20261116T224456Z.json new file mode 100644 index 0000000..189e9d1 --- /dev/null +++ b/var/demos/initiatives/evidence/smoke-variable-precedence-20261116T224456Z.json @@ -0,0 +1,84 @@ +{ + "project": "cc75/variable-precedence", + "commit": "94460cf0c6a73a802f01400f347e8d6493682f8f", + "pipeline": 74, + "status": "success", + "wall_seconds": 16, + "jobs": [ + { + "id": 297, + "name": "probe", + "status": "success", + "markers": [ + "SMOKE TOP_VS_PROJECT=yaml-top (project sets project)", + "SMOKE JOB_VS_PROJECT=yaml-job (project sets project)", + "SMOKE JOB_VS_PIPELINE=yaml-job (pipeline sets pipeline)", + "SMOKE EXPANDED= (PROBE_SOURCE is project-value)", + "SMOKE PROBE_FILE path= first_line=head: cannot open '' for reading: No such file or directory", + "SMOKE_PASS" + ], + "trace_tail": [ + "2026-11-16T22:44:41.495449Z 00O \u001b[0K on glemu-k8s-runner emulator-, system ID: r_BDReZpBLGguL\u001b[0;m", + "2026-11-16T22:44:41.495539Z 00O \u001b[0K\u001b[36;1mResolving secrets\u001b[0;m\u001b[0;m", + "2026-11-16T22:44:41.495883Z 00O section_start:1794869081:prepare_executor", + "\u001b[0K", + "2026-11-16T22:44:41.495905Z 00O+\u001b[0K\u001b[36;1mPreparing the \"kubernetes\" executor\u001b[0;m\u001b[0;m", + "2026-11-16T22:44:41.495988Z 00O \u001b[0KUsing Kubernetes namespace: gitlab-runner\u001b[0;m", + "2026-11-16T22:44:41.496540Z 00O \u001b[0KUsing Kubernetes executor with image registry.access.redhat.com/ubi9/python-312:latest ...\u001b[0;m", + "2026-11-16T22:44:41.496545Z 00O \u001b[0KUsing attach strategy to execute scripts...\u001b[0;m", + "2026-11-16T22:44:41.496554Z 00O \u001b[0KUsing effective pull policy of [] for container build\u001b[0;m", + "2026-11-16T22:44:41.496559Z 00O \u001b[0KUsing effective pull policy of [] for container helper\u001b[0;m", + "2026-11-16T22:44:41.496562Z 00O \u001b[0KUsing effective pull policy of [] for container init-permissions\u001b[0;m", + "2026-11-16T22:44:41.603726Z 00O section_end:1794869081:prepare_executor", + "\u001b[0K", + "2026-11-16T22:44:41.603975Z 00O+section_start:1794869081:prepare_script", + "\u001b[0K", + "2026-11-16T22:44:41.603983Z 00O+\u001b[0K\u001b[36;1mPreparing environment\u001b[0;m\u001b[0;m", + "2026-11-16T22:44:41.605529Z 00O \u001b[0KUsing FF_USE_POD_ACTIVE_DEADLINE_SECONDS, the Pod activeDeadlineSeconds will be set to the job timeout: 1h0m0s...\u001b[0;m", + "2026-11-16T22:44:41.620940Z 00E Waiting for pod gitlab-runner/runner-emulator--project-16-concurrent-0-qvsbpmpn to be running on the node , status is Pending", + "2026-11-16T22:44:44.820435Z 01O Running on runner-emulator--project-16-concurrent-0-qvsbpmpn via gitlab-runner-76fb665d4c-jwqgb...", + "2026-11-16T22:44:44.820458Z 01O ", + "2026-11-16T22:44:44.820535Z 00O section_end:1794869084:prepare_script", + "\u001b[0K", + "2026-11-16T22:44:44.821491Z 00O+section_start:1794869084:get_sources", + "\u001b[0K", + "2026-11-16T22:44:44.821508Z 00O+\u001b[0K\u001b[36;1mGetting source from Git repository\u001b[0;m\u001b[0;m", + "2026-11-16T22:44:45.320983Z 01O \u001b[32;1mGitaly correlation ID: 508767b75a734d698492f571ada08535\u001b[0;m", + "2026-11-16T22:44:45.320996Z 01O \u001b[32;1mFetching changes...\u001b[0;m", + "2026-11-16T22:44:45.321003Z 01O Initialized empty Git repository in /builds/cc75/variable-precedence/.git/", + "2026-11-16T22:44:45.321005Z 01O \u001b[32;1mCreated fresh repository.\u001b[0;m", + "2026-11-16T22:44:45.822675Z 01O \u001b[32;1mChecking out 94460cf0 as detached HEAD (ref is main)...\u001b[0;m", + "2026-11-16T22:44:45.822693Z 01O ", + "2026-11-16T22:44:45.822708Z 01O \u001b[32;1mSkipping Git submodules setup\u001b[0;m", + "2026-11-16T22:44:45.822736Z 01O ", + "2026-11-16T22:44:45.822811Z 00O section_end:1794869085:get_sources", + "\u001b[0K", + "2026-11-16T22:44:45.824305Z 00O+section_start:1794869085:step_script", + "\u001b[0K", + "2026-11-16T22:44:45.824326Z 00O+\u001b[0K\u001b[36;1mExecuting \"step_script\" stage of the job script\u001b[0;m\u001b[0;m", + "2026-11-16T22:44:46.323633Z 01O \u001b[32;1m$ echo \"SMOKE TOP_VS_PROJECT=$TOP_VS_PROJECT (project sets project)\"\u001b[0;m", + "2026-11-16T22:44:46.323669Z 01O SMOKE TOP_VS_PROJECT=yaml-top (project sets project)", + "2026-11-16T22:44:46.323686Z 01O \u001b[32;1m$ echo \"SMOKE JOB_VS_PROJECT=$JOB_VS_PROJECT (project sets project)\"\u001b[0;m", + "2026-11-16T22:44:46.323694Z 01O SMOKE JOB_VS_PROJECT=yaml-job (project sets project)", + "2026-11-16T22:44:46.323704Z 01O \u001b[32;1m$ echo \"SMOKE JOB_VS_PIPELINE=$JOB_VS_PIPELINE (pipeline sets pipeline)\"\u001b[0;m", + "2026-11-16T22:44:46.323720Z 01O SMOKE JOB_VS_PIPELINE=yaml-job (pipeline sets pipeline)", + "2026-11-16T22:44:46.323733Z 01O \u001b[32;1m$ echo \"SMOKE EXPANDED=$EXPANDED (PROBE_SOURCE is project-value)\"\u001b[0;m", + "2026-11-16T22:44:46.323752Z 01O SMOKE EXPANDED= (PROBE_SOURCE is project-value)", + "2026-11-16T22:44:46.323770Z 01O \u001b[32;1m$ echo \"SMOKE PROBE_FILE path=$PROBE_FILE first_line=$(head -1 \"$PROBE_FILE\" 2>&1)\"\u001b[0;m", + "2026-11-16T22:44:46.323779Z 01O SMOKE PROBE_FILE path= first_line=head: cannot open '' for reading: No such file or directory", + "2026-11-16T22:44:46.323927Z 01O \u001b[32;1m$ echo SMOKE_PASS\u001b[0;m", + "2026-11-16T22:44:46.323950Z 01O SMOKE_PASS", + "2026-11-16T22:44:46.323965Z 01O ", + "2026-11-16T22:44:46.324083Z 00O section_end:1794869086:step_script", + "\u001b[0K", + "2026-11-16T22:44:46.326319Z 00O+section_start:1794869086:cleanup_file_variables", + "\u001b[0K", + "2026-11-16T22:44:46.326343Z 00O+\u001b[0K\u001b[36;1mCleaning up project directory and file based variables\u001b[0;m\u001b[0;m", + "2026-11-16T22:44:46.824042Z 01O ", + "2026-11-16T22:44:46.824104Z 00O section_end:1794869086:cleanup_file_variables", + "\u001b[0K", + "2026-11-16T22:44:46.832888Z 00O \u001b[32;1mJob succeeded\u001b[0;m" + ] + } + ] +} diff --git a/var/demos/initiatives/evidence/tool-discovery-20261116T003636Z.json b/var/demos/initiatives/evidence/tool-discovery-20261116T003636Z.json new file mode 100644 index 0000000..9f27f2d --- /dev/null +++ b/var/demos/initiatives/evidence/tool-discovery-20261116T003636Z.json @@ -0,0 +1,54 @@ +{ + "intended": [ + "RHAISTRAT-75006", + "RHAISTRAT-75009", + "RHAISTRAT-75010", + "RHAISTRAT-75019", + "RHAISTRAT-75025", + "RHAISTRAT-75026", + "RHAISTRAT-75027" + ], + "refs": { + "main": { + "commit": "95799c4e0812313d8834bc0c83bf89248610a75d", + "jql": "project = RHAISTRAT AND issuetype = \"Initiative\" AND labels = \"initiative-autofix-opt-in\" AND (labels = \"initiative-autofix-rubric-pass\") AND (labels NOT IN (\"strat-creator-processing\", \"initiative-needs-attention\") OR labels IS EMPTY) AND status NOT IN (\"Closed\", \"Resolved\") ORDER BY key ASC", + "selected": [ + "RHAISTRAT-75006", + "RHAISTRAT-75009", + "RHAISTRAT-75010", + "RHAISTRAT-75019", + "RHAISTRAT-75021", + "RHAISTRAT-75022", + "RHAISTRAT-75025", + "RHAISTRAT-75026", + "RHAISTRAT-75027" + ], + "matches_intended": false, + "extra_with_labels": { + "RHAISTRAT-75021": [ + "initiative-ignore" + ], + "RHAISTRAT-75022": [ + "strat-creator-ignore" + ] + }, + "missing": [] + }, + "pr-124": { + "commit": "55e03525808febd3f1c5c0bd509a95aac71e2ce9", + "jql": "project = RHAISTRAT AND issuetype = \"Initiative\" AND labels = \"initiative-autofix-opt-in\" AND (labels = \"initiative-autofix-rubric-pass\") AND (labels NOT IN (\"strat-creator-processing\", \"initiative-needs-attention\", \"strat-creator-ignore\", \"initiative-ignore\") OR labels IS EMPTY) AND status NOT IN (\"Closed\", \"Resolved\") ORDER BY key ASC", + "selected": [ + "RHAISTRAT-75006", + "RHAISTRAT-75009", + "RHAISTRAT-75010", + "RHAISTRAT-75019", + "RHAISTRAT-75025", + "RHAISTRAT-75026", + "RHAISTRAT-75027" + ], + "matches_intended": true, + "extra_with_labels": {}, + "missing": [] + } + } +} diff --git a/var/demos/initiatives/evidence/tool-discovery-20261116T203944Z.json b/var/demos/initiatives/evidence/tool-discovery-20261116T203944Z.json new file mode 100644 index 0000000..7e4a109 --- /dev/null +++ b/var/demos/initiatives/evidence/tool-discovery-20261116T203944Z.json @@ -0,0 +1,74 @@ +{ + "intended": [ + "RHAISTRAT-75006", + "RHAISTRAT-75009", + "RHAISTRAT-75010", + "RHAISTRAT-75019", + "RHAISTRAT-75025", + "RHAISTRAT-75026", + "RHAISTRAT-75027", + "RHAISTRAT-75028" + ], + "refs": { + "cc75-emulator": { + "commit": "512d0ad3992eedc8ac67f76e6aa9c0242120c266", + "jql": "project = RHAISTRAT AND issuetype = \"Initiative\" AND labels = \"initiative-autofix-opt-in\" AND (labels = \"initiative-autofix-rubric-pass\") AND (labels NOT IN (\"strat-creator-processing\", \"initiative-needs-attention\", \"strat-creator-ignore\", \"initiative-ignore\") OR labels IS EMPTY) AND status NOT IN (\"Closed\", \"Resolved\") ORDER BY key ASC", + "selected": [ + "RHAISTRAT-75006", + "RHAISTRAT-75009", + "RHAISTRAT-75010", + "RHAISTRAT-75019", + "RHAISTRAT-75025", + "RHAISTRAT-75026", + "RHAISTRAT-75027", + "RHAISTRAT-75028" + ], + "matches_intended": true, + "extra_with_labels": {}, + "missing": [] + }, + "main": { + "commit": "95799c4e0812313d8834bc0c83bf89248610a75d", + "jql": "project = RHAISTRAT AND issuetype = \"Initiative\" AND labels = \"initiative-autofix-opt-in\" AND (labels = \"initiative-autofix-rubric-pass\") AND (labels NOT IN (\"strat-creator-processing\", \"initiative-needs-attention\") OR labels IS EMPTY) AND status NOT IN (\"Closed\", \"Resolved\") ORDER BY key ASC", + "selected": [ + "RHAISTRAT-75006", + "RHAISTRAT-75009", + "RHAISTRAT-75010", + "RHAISTRAT-75019", + "RHAISTRAT-75021", + "RHAISTRAT-75022", + "RHAISTRAT-75025", + "RHAISTRAT-75026", + "RHAISTRAT-75027", + "RHAISTRAT-75028" + ], + "matches_intended": false, + "extra_with_labels": { + "RHAISTRAT-75021": [ + "initiative-ignore" + ], + "RHAISTRAT-75022": [ + "strat-creator-ignore" + ] + }, + "missing": [] + }, + "pr-124": { + "commit": "55e03525808febd3f1c5c0bd509a95aac71e2ce9", + "jql": "project = RHAISTRAT AND issuetype = \"Initiative\" AND labels = \"initiative-autofix-opt-in\" AND (labels = \"initiative-autofix-rubric-pass\") AND (labels NOT IN (\"strat-creator-processing\", \"initiative-needs-attention\", \"strat-creator-ignore\", \"initiative-ignore\") OR labels IS EMPTY) AND status NOT IN (\"Closed\", \"Resolved\") ORDER BY key ASC", + "selected": [ + "RHAISTRAT-75006", + "RHAISTRAT-75009", + "RHAISTRAT-75010", + "RHAISTRAT-75019", + "RHAISTRAT-75025", + "RHAISTRAT-75026", + "RHAISTRAT-75027", + "RHAISTRAT-75028" + ], + "matches_intended": true, + "extra_with_labels": {}, + "missing": [] + } + } +} diff --git a/var/demos/initiatives/expected.yaml b/var/demos/initiatives/expected.yaml new file mode 100644 index 0000000..e476bc3 --- /dev/null +++ b/var/demos/initiatives/expected.yaml @@ -0,0 +1,524 @@ +# Generated by scripts/generate_initiatives.py from catalogue.yaml. Do not edit. +version: 1 +generated_from: catalogue.yaml +issue_counts: + RHAISTRAT: + Outcome: 3 + Initiative: 25 + RHAIRFE: + Feature Request: 2 + RHAI: + Epic: 40 + Story: 3 + RHOAIENG: + Epic: 5 + AIPCC: + Epic: 1 +fixture_ids: + I01: RHAISTRAT-75004 + I02: RHAISTRAT-75005 + I03: RHAISTRAT-75006 + I04: RHAISTRAT-75007 + I05: RHAISTRAT-75008 + I06: RHAISTRAT-75009 + I07: RHAISTRAT-75010 + I08: RHAISTRAT-75011 + I09: RHAISTRAT-75012 + I10: RHAISTRAT-75013 + I11: RHAISTRAT-75014 + I12: RHAISTRAT-75015 + I13: RHAISTRAT-75016 + I14: RHAISTRAT-75017 + I15: RHAISTRAT-75018 + I16: RHAISTRAT-75019 + I17: RHAISTRAT-75020 + I18: RHAISTRAT-75021 + I19: RHAISTRAT-75022 + I20: RHAISTRAT-75023 + I21: RHAISTRAT-75024 + I22: RHAISTRAT-75025 + I23: RHAISTRAT-75026 + I24: RHAISTRAT-75027 + I25: RHAISTRAT-75028 + O1: RHAISTRAT-75001 + O2: RHAISTRAT-75002 + O3: RHAISTRAT-75003 + R1: RHAIRFE-75001 + R2: RHAIRFE-75002 +strat_creator: + discovery_jql: project = RHAISTRAT AND issuetype = "Initiative" AND labels = "initiative-autofix-opt-in" + AND (labels = "initiative-autofix-rubric-pass") AND (labels NOT IN ("strat-creator-processing","initiative-needs-attention","strat-creator-ignore","initiative-ignore") + OR labels IS EMPTY) AND status NOT IN ("Closed","Resolved") ORDER BY key ASC + jql_selected: + - RHAISTRAT-75006 + - RHAISTRAT-75009 + - RHAISTRAT-75010 + - RHAISTRAT-75019 + - RHAISTRAT-75025 + - RHAISTRAT-75026 + - RHAISTRAT-75027 + - RHAISTRAT-75028 + tool_selected_after_skip_labels: + - RHAISTRAT-75006 + - RHAISTRAT-75009 + - RHAISTRAT-75010 + - RHAISTRAT-75019 + - RHAISTRAT-75028 + canary_batch_size_1: + - RHAISTRAT-75006 +rfe_autofixer: + note: 'Provisional: the exact upstream JQL and project (RHAISTRAT vs RHOAIENG) are plan Q4.' + opted_in: + - RHAISTRAT-75004 + - RHAISTRAT-75006 + - RHAISTRAT-75009 + - RHAISTRAT-75010 + - RHAISTRAT-75011 + - RHAISTRAT-75015 + - RHAISTRAT-75018 + - RHAISTRAT-75019 + - RHAISTRAT-75020 + - RHAISTRAT-75021 + - RHAISTRAT-75022 + - RHAISTRAT-75023 + - RHAISTRAT-75024 + - RHAISTRAT-75025 + - RHAISTRAT-75026 + - RHAISTRAT-75027 + - RHAISTRAT-75028 + pending_review: + - RHAISTRAT-75004 + - RHAISTRAT-75011 + - RHAISTRAT-75015 + - RHAISTRAT-75018 +epic_creator: + candidates: + RHAISTRAT-75025: + action: decompose + epic_count_min: 2 + epic_count_max: 8 + outlier_at: 15 + target_project: RHAI + sibling_link: Blocks + parent_label: epic-creator-auto-decomposed + RHAISTRAT-75026: + action: skip + reason: existing Epic children + RHAISTRAT-75027: + action: skip + reason: legacy Incorporates link to an Epic +initiatives: + I01: + key: RHAISTRAT-75004 + archetype: G-rich + status: In Progress + labels: + - initiative-autofix-opt-in + epic_children: + - RHAI-75001 + - RHAI-75002 + - RHAI-75003 + - RHAI-75004 + epic_child_projects: + - RHAI + story_children: [] + legacy_incorporates: null + strat_jql_selected: false + strat_tool_skip: [] + description_chars: 1066 + I02: + key: RHAISTRAT-75005 + archetype: T-killed + status: Closed + labels: + - synth-scrum-teal + - synth-theme-aurora + epic_children: + - RHAI-75005 + - RHAI-75006 + epic_child_projects: + - RHAI + story_children: [] + legacy_incorporates: null + strat_jql_selected: false + strat_tool_skip: [] + description_chars: 958 + I03: + key: RHAISTRAT-75006 + archetype: G-tight + status: New + labels: + - initiative-autofix-opt-in + - initiative-autofix-rubric-pass + epic_children: [] + epic_child_projects: [] + story_children: [] + legacy_incorporates: null + strat_jql_selected: true + strat_tool_skip: [] + description_chars: 1604 + I04: + key: RHAISTRAT-75007 + archetype: T-eng-phased + status: Closed + labels: [] + epic_children: + - RHOAIENG-75001 + epic_child_projects: + - RHOAIENG + story_children: [] + legacy_incorporates: null + strat_jql_selected: false + strat_tool_skip: [] + description_chars: 434 + I05: + key: RHAISTRAT-75008 + archetype: G-template + status: Closed + labels: + - synth-high-impact + epic_children: + - RHAI-75007 + - RHAI-75008 + - RHAI-75009 + - RHAI-75010 + - RHAI-75011 + - RHOAIENG-75002 + epic_child_projects: + - RHAI + - RHOAIENG + story_children: [] + legacy_incorporates: null + strat_jql_selected: false + strat_tool_skip: [] + description_chars: 1604 + I06: + key: RHAISTRAT-75009 + archetype: T-fieldgap + status: Refinement + labels: + - initiative-autofix-opt-in + - initiative-autofix-rubric-pass + epic_children: + - RHAI-75012 + - RHAI-75013 + epic_child_projects: + - RHAI + story_children: [] + legacy_incorporates: null + strat_jql_selected: true + strat_tool_skip: [] + description_chars: 1029 + I07: + key: RHAISTRAT-75010 + archetype: T-median + status: New + labels: + - initiative-autofix-opt-in + - initiative-autofix-rubric-pass + epic_children: [] + epic_child_projects: [] + story_children: [] + legacy_incorporates: null + strat_jql_selected: true + strat_tool_skip: [] + description_chars: 971 + I08: + key: RHAISTRAT-75011 + archetype: P-glyph + status: New + labels: + - initiative-autofix-opt-in + epic_children: [] + epic_child_projects: [] + story_children: [] + legacy_incorporates: null + strat_jql_selected: false + strat_tool_skip: [] + description_chars: 0 + I09: + key: RHAISTRAT-75012 + archetype: P-titleonly + status: New + labels: [] + epic_children: [] + epic_child_projects: [] + story_children: [] + legacy_incorporates: null + strat_jql_selected: false + strat_tool_skip: [] + description_chars: 0 + I10: + key: RHAISTRAT-75013 + archetype: T-tracker + status: Closed + labels: [] + epic_children: [] + epic_child_projects: [] + story_children: + - RHAI-75014 + - RHAI-75015 + - RHAI-75016 + legacy_incorporates: null + strat_jql_selected: false + strat_tool_skip: [] + description_chars: 194 + I11: + key: RHAISTRAT-75014 + archetype: P-cryptic + status: Backlog + labels: [] + epic_children: [] + epic_child_projects: [] + story_children: [] + legacy_incorporates: null + strat_jql_selected: false + strat_tool_skip: [] + description_chars: 0 + I12: + key: RHAISTRAT-75015 + archetype: T-fpdor-eng + status: In Progress + labels: + - initiative-autofix-opt-in + - synth-scrum-teal + epic_children: + - RHOAIENG-75003 + - RHOAIENG-75004 + - RHOAIENG-75005 + epic_child_projects: + - RHOAIENG + story_children: [] + legacy_incorporates: null + strat_jql_selected: false + strat_tool_skip: [] + description_chars: 1603 + I13: + key: RHAISTRAT-75016 + archetype: T-table + status: Review + labels: [] + epic_children: + - RHAI-75017 + - RHAI-75018 + - AIPCC-75001 + epic_child_projects: + - AIPCC + - RHAI + story_children: [] + legacy_incorporates: null + strat_jql_selected: false + strat_tool_skip: [] + description_chars: 1256 + I14: + key: RHAISTRAT-75017 + archetype: T-tail + status: In Progress + labels: + - synth-theme-aurora + epic_children: + - RHAI-75019 + - RHAI-75020 + - RHAI-75021 + - RHAI-75022 + - RHAI-75023 + - RHAI-75024 + - RHAI-75025 + - RHAI-75026 + - RHAI-75027 + - RHAI-75028 + - RHAI-75029 + - RHAI-75030 + epic_child_projects: + - RHAI + story_children: [] + legacy_incorporates: null + strat_jql_selected: false + strat_tool_skip: [] + description_chars: 1098 + I15: + key: RHAISTRAT-75018 + archetype: T-eng-phased + status: To Do + labels: + - initiative-autofix-opt-in + epic_children: + - RHAI-75031 + - RHAI-75032 + epic_child_projects: + - RHAI + story_children: [] + legacy_incorporates: null + strat_jql_selected: false + strat_tool_skip: [] + description_chars: 436 + I16: + key: RHAISTRAT-75019 + archetype: T-long + status: Refinement + labels: + - initiative-autofix-opt-in + - initiative-autofix-rubric-pass + epic_children: [] + epic_child_projects: [] + story_children: [] + legacy_incorporates: null + strat_jql_selected: true + strat_tool_skip: [] + description_chars: 14716 + I17: + key: RHAISTRAT-75020 + archetype: T-bulk + status: New + labels: + - initiative-autofix-opt-in + - initiative-needs-attention + epic_children: + - RHAI-75033 + epic_child_projects: + - RHAI + story_children: [] + legacy_incorporates: null + strat_jql_selected: false + strat_tool_skip: [] + description_chars: 938 + I18: + key: RHAISTRAT-75021 + archetype: T-bulk + status: In Progress + labels: + - initiative-autofix-opt-in + - initiative-autofix-rubric-pass + - initiative-ignore + epic_children: + - RHAI-75034 + - RHAI-75035 + epic_child_projects: + - RHAI + story_children: [] + legacy_incorporates: null + strat_jql_selected: false + strat_tool_skip: [] + description_chars: 1632 + I19: + key: RHAISTRAT-75022 + archetype: T-bulk + status: To Do + labels: + - initiative-autofix-opt-in + - initiative-autofix-rubric-pass + - strat-creator-ignore + epic_children: + - RHAI-75036 + epic_child_projects: + - RHAI + story_children: [] + legacy_incorporates: null + strat_jql_selected: false + strat_tool_skip: [] + description_chars: 910 + I20: + key: RHAISTRAT-75023 + archetype: P-short + status: In Progress + labels: + - initiative-autofix-opt-in + - initiative-autofix-rubric-pass + - strat-creator-processing + epic_children: [] + epic_child_projects: [] + story_children: [] + legacy_incorporates: null + strat_jql_selected: false + strat_tool_skip: [] + description_chars: 49 + I21: + key: RHAISTRAT-75024 + archetype: G-closed-labelled + status: Closed + labels: + - initiative-autofix-opt-in + - initiative-autofix-rubric-pass + epic_children: + - RHAI-75037 + - RHAI-75038 + - RHAI-75039 + epic_child_projects: + - RHAI + story_children: [] + legacy_incorporates: null + strat_jql_selected: false + strat_tool_skip: [] + description_chars: 1584 + I22: + key: RHAISTRAT-75025 + archetype: S-signed + status: Release Pending + labels: + - initiative-autofix-opt-in + - initiative-autofix-rubric-pass + - strat-creator-auto-refined + - strat-creator-human-sign-off + - strat-creator-rubric-pass + epic_children: [] + epic_child_projects: [] + story_children: [] + legacy_incorporates: null + strat_jql_selected: true + strat_tool_skip: + - strat-creator-rubric-pass + description_chars: 1132 + I23: + key: RHAISTRAT-75026 + archetype: S-signed-children + status: In Progress + labels: + - initiative-autofix-opt-in + - initiative-autofix-rubric-pass + - strat-creator-auto-refined + - strat-creator-human-sign-off + - strat-creator-rubric-pass + epic_children: + - RHAI-75040 + - RHAI-75041 + - RHAI-75042 + epic_child_projects: + - RHAI + story_children: [] + legacy_incorporates: null + strat_jql_selected: true + strat_tool_skip: + - strat-creator-rubric-pass + description_chars: 1091 + I24: + key: RHAISTRAT-75027 + archetype: S-signed-legacy + status: Refinement + labels: + - initiative-autofix-opt-in + - initiative-autofix-rubric-pass + - strat-creator-auto-refined + - strat-creator-human-sign-off + - strat-creator-rubric-pass + epic_children: [] + epic_child_projects: [] + story_children: [] + legacy_incorporates: RHAI-75043 + strat_jql_selected: true + strat_tool_skip: + - strat-creator-rubric-pass + description_chars: 1088 + I25: + key: RHAISTRAT-75028 + archetype: G-exemplar + status: New + labels: + - initiative-autofix-opt-in + - initiative-autofix-rubric-pass + epic_children: [] + epic_child_projects: [] + story_children: [] + legacy_incorporates: null + strat_jql_selected: true + strat_tool_skip: [] + description_chars: 5397 diff --git a/var/demos/initiatives/generated/issues.json b/var/demos/initiatives/generated/issues.json new file mode 100644 index 0000000..55d9bde --- /dev/null +++ b/var/demos/initiatives/generated/issues.json @@ -0,0 +1,3383 @@ +{ + "issues": [ + { + "fields": { + "assignee": { + "displayName": "synth-pm-01" + }, + "components": [], + "created": "2026-01-05T12:00:00.000+0000", + "description": "Synthetic Outcome grouping related Initiatives: trustworthy platform foundations.", + "issuetype": { + "name": "Outcome" + }, + "labels": [ + "cc75-fx-o1", + "cc75-synthetic" + ], + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAISTRAT" + }, + "reporter": { + "displayName": "synth-pm-01" + }, + "status": { + "name": "In Progress", + "statusCategory": { + "key": "indeterminate" + } + }, + "summary": "[SYNTH] Trustworthy platform foundations", + "updated": "2026-01-08T12:00:00.000+0000" + }, + "key": "RHAISTRAT-75001" + }, + { + "fields": { + "assignee": { + "displayName": "synth-pm-02" + }, + "components": [], + "created": "2026-02-14T12:00:00.000+0000", + "description": "Synthetic Outcome grouping related Initiatives: multi-cluster operations at scale.", + "issuetype": { + "name": "Outcome" + }, + "labels": [ + "cc75-fx-o2", + "cc75-synthetic" + ], + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAISTRAT" + }, + "reporter": { + "displayName": "synth-pm-02" + }, + "status": { + "name": "In Progress", + "statusCategory": { + "key": "indeterminate" + } + }, + "summary": "[SYNTH] Multi-cluster operations at scale", + "updated": "2026-02-17T12:00:00.000+0000" + }, + "key": "RHAISTRAT-75002" + }, + { + "fields": { + "assignee": { + "displayName": "synth-pm-03" + }, + "components": [], + "created": "2026-07-04T12:00:00.000+0000", + "description": "Synthetic Outcome grouping related Initiatives: developer productivity for model builders.", + "issuetype": { + "name": "Outcome" + }, + "labels": [ + "cc75-fx-o3", + "cc75-synthetic" + ], + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAISTRAT" + }, + "reporter": { + "displayName": "synth-pm-03" + }, + "status": { + "name": "New", + "statusCategory": { + "key": "new" + } + }, + "summary": "[SYNTH] Developer productivity for model builders", + "updated": "2026-07-07T12:00:00.000+0000" + }, + "key": "RHAISTRAT-75003" + }, + { + "fields": { + "components": [], + "created": "2026-09-12T12:00:00.000+0000", + "description": "Synthetic request used only as a Cloners link source.", + "issuetype": { + "name": "Feature Request" + }, + "labels": [ + "cc75-fx-r1", + "cc75-synthetic" + ], + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAIRFE" + }, + "reporter": { + "displayName": "synth-pm-04" + }, + "status": { + "name": "New", + "statusCategory": { + "key": "new" + } + }, + "summary": "[SYNTH] Show GPU quota consumption per team", + "updated": "2026-09-15T12:00:00.000+0000" + }, + "key": "RHAIRFE-75001" + }, + { + "fields": { + "components": [], + "created": "2026-09-12T12:00:00.000+0000", + "description": "Synthetic request used only as a Cloners link source.", + "issuetype": { + "name": "Feature Request" + }, + "labels": [ + "cc75-fx-r2", + "cc75-synthetic" + ], + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAIRFE" + }, + "reporter": { + "displayName": "synth-pm-06" + }, + "status": { + "name": "New", + "statusCategory": { + "key": "new" + } + }, + "summary": "[SYNTH] Report CI spend per repository", + "updated": "2026-09-15T12:00:00.000+0000" + }, + "key": "RHAIRFE-75002" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-01" + }, + "components": [ + { + "name": "synth-observability" + } + ], + "created": "2026-06-04T12:00:00.000+0000", + "description": "## Who benefits\nData scientists get a predictable, supported workflow for Lanternfish telemetry, with fewer hand-offs and less time spent on one-off fixes. SRE teams gain visibility into how Lanternfish telemetry behaves across teams, which today requires asking around or reading logs.\nToday, teams that need Lanternfish telemetry assemble it themselves from scripts and internal notes; the result differs per team, is hard to support, and breaks on upgrade.\n\n## Goal\nMake Lanternfish telemetry usable by data scientists in day-to-day work, so that SRE teams no longer depend on manual workarounds.\n\n## Scope\n- A rollback path within one release\n- Per-team quotas and limits\n- An upgrade path with no manual steps\n- Dashboards for the key health signals\n\n## Success criteria\n- Median setup time below 15 minutes for a new team.\n- At least 3 internal teams onboarded within one release.\n\n## Acceptance Criteria\n- [ ] A rollback path within one release is verified.\n- [ ] Per-team quotas and limits is verified.\n- [ ] An upgrade path with no manual steps is verified.", + "issuelinks": [ + { + "outwardIssue": { + "key": "RHAISTRAT-75016" + }, + "type": { + "inward": "relates to", + "name": "Relates", + "outward": "relates to" + } + } + ], + "issuetype": { + "name": "Initiative" + }, + "labels": [ + "cc75-fx-i01", + "cc75-synthetic", + "initiative-autofix-opt-in" + ], + "parent": { + "key": "RHAISTRAT-75001" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAISTRAT" + }, + "reporter": { + "displayName": "synth-pm-01" + }, + "status": { + "name": "In Progress", + "statusCategory": { + "key": "indeterminate" + } + }, + "summary": "[SYNTH] Fleet-wide inference telemetry with Lanternfish", + "updated": "2026-06-09T12:00:00.000+0000" + }, + "key": "RHAISTRAT-75004" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-02" + }, + "components": [ + { + "name": "synth-runtime" + } + ], + "created": "2026-01-25T12:00:00.000+0000", + "customfield_10855": "synth-1.4", + "description": "## Who benefits\nPlatform administrators get a predictable, supported workflow for Saltmarsh batch scheduler, with fewer hand-offs and less time spent on one-off fixes. Release owners gain visibility into how Saltmarsh batch scheduler behaves across teams, which today requires asking around or reading logs.\nToday, teams that need Saltmarsh batch scheduler assemble it themselves from scripts and internal notes; the result differs per team, is hard to support, and breaks on upgrade.\n\n## Goal\nMake Saltmarsh batch scheduler usable by platform administrators in day-to-day work, so that release owners no longer depend on manual workarounds.\n\n## Scope\n- Audit events for every administrative action\n- Role-based access aligned with existing groups\n- A documented API with versioned schemas\n- Offline and disconnected operation\n\n## Success criteria\n- Median setup time below 15 minutes for a new team.\n- At least 3 internal teams onboarded within one release.", + "issuelinks": [ + { + "outwardIssue": { + "key": "RHAISTRAT-75024" + }, + "type": { + "inward": "is blocked by", + "name": "Blocks", + "outward": "blocks" + } + } + ], + "issuetype": { + "name": "Initiative" + }, + "labels": [ + "cc75-fx-i02", + "cc75-synthetic", + "synth-scrum-teal", + "synth-theme-aurora" + ], + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAISTRAT" + }, + "reporter": { + "displayName": "synth-pm-02" + }, + "resolution": { + "name": "Won't Do" + }, + "status": { + "name": "Closed", + "statusCategory": { + "key": "done" + } + }, + "summary": "[SYNTH] Priority queues for the Saltmarsh batch scheduler", + "updated": "2026-04-25T12:00:00.000+0000" + }, + "key": "RHAISTRAT-75005" + }, + { + "fields": { + "assignee": { + "displayName": "synth-pm-01" + }, + "components": [ + { + "name": "synth-runtime" + }, + { + "name": "synth-installer" + } + ], + "created": "2026-09-22T12:00:00.000+0000", + "customfield_10855": "synth-2.0", + "description": "## Who benefits\nModel builders get a predictable, supported workflow for Brackwater artefact cache, with fewer hand-offs and less time spent on one-off fixes. SRE teams gain visibility into how Brackwater artefact cache behaves across teams, which today requires asking around or reading logs.\nToday, teams that need Brackwater artefact cache assemble it themselves from scripts and internal notes; the result differs per team, is hard to support, and breaks on upgrade.\n\n## Feature Overview (mandatory - complete while in New status)\nBrackwater artefact cache gives model builders and SRE teams a supported way to work with this capability without bespoke scripts. This Initiative tracks the product bet end to end.\n\n## Goals (mandatory - New)\n- Provide per-team quotas and limits.\n- Provide audit events for every administrative action.\n- Provide dashboards for the key health signals.\n\n## Requirements (mandatory - Refinement)\n| Requirement | Notes | isMVP? |\n| --- | --- | --- |\n| Per-team quotas and limits | Synthetic requirement 1 | Yes |\n| Audit events for every administrative action | Synthetic requirement 2 | Yes |\n| Dashboards for the key health signals | Synthetic requirement 3 | Yes |\n| A rollback path within one release | Synthetic requirement 4 | No |\n| Self-service configuration | Synthetic requirement 5 | No |\n\n## Out of Scope\n- Replacing existing tooling outside Brackwater artefact cache.\n\n## Acceptance Criteria\n- [ ] Per-team quotas and limits is verified.\n- [ ] Audit events for every administrative action is verified.\n- [ ] Dashboards for the key health signals is verified.", + "issuetype": { + "name": "Initiative" + }, + "labels": [ + "cc75-fx-i03", + "cc75-synthetic", + "initiative-autofix-opt-in", + "initiative-autofix-rubric-pass" + ], + "parent": { + "key": "RHAISTRAT-75001" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAISTRAT" + }, + "reporter": { + "displayName": "synth-pm-01" + }, + "status": { + "name": "New", + "statusCategory": { + "key": "new" + } + }, + "summary": "[SYNTH] Brackwater artefact cache for offline model installs", + "updated": "2026-09-27T12:00:00.000+0000" + }, + "key": "RHAISTRAT-75006" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-03" + }, + "components": [], + "created": "2025-12-06T12:00:00.000+0000", + "description": "## Problem statement\nQuillwork design reviews decisions are made inconsistently across teams.\n1. Decisions are not recorded in one place.\n2. Reviews happen too late to change direction.\n3. Nobody owns follow-up actions.\n\n## Refinement Phase\n- Agree the template and the decision owners.\n\n## Design and Development Phase\n- Pilot with two teams for one release.\n\n## Finalization Phase\n- Publish the process and retire the old checklist.", + "issuetype": { + "name": "Initiative" + }, + "labels": [ + "cc75-fx-i04", + "cc75-synthetic" + ], + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAISTRAT" + }, + "reporter": { + "displayName": "synth-eng-03" + }, + "resolution": { + "name": "Obsolete" + }, + "status": { + "name": "Closed", + "statusCategory": { + "key": "done" + } + }, + "summary": "[SYNTH] Formalise design review checkpoints with Quillwork", + "updated": "2026-04-15T12:00:00.000+0000" + }, + "key": "RHAISTRAT-75007" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-04" + }, + "components": [ + { + "name": "synth-images" + } + ], + "created": "2026-03-06T12:00:00.000+0000", + "customfield_10855": "synth-1.6", + "customfield_75001": 42, + "customfield_75002": 5, + "description": "## Who benefits\nPlatform administrators get a predictable, supported workflow for Basalt base images, with fewer hand-offs and less time spent on one-off fixes. Data scientists gain visibility into how Basalt base images behaves across teams, which today requires asking around or reading logs.\nToday, teams that need Basalt base images assemble it themselves from scripts and internal notes; the result differs per team, is hard to support, and breaks on upgrade.\n\n## Feature Overview (mandatory - complete while in New status)\nBasalt base images gives platform administrators and data scientists a supported way to work with this capability without bespoke scripts. This Initiative tracks the product bet end to end.\n\n## Goals (mandatory - New)\n- Provide self-service configuration.\n- Provide dashboards for the key health signals.\n- Provide a documented API with versioned schemas.\n\n## Requirements (mandatory - Refinement)\n| Requirement | Notes | isMVP? |\n| --- | --- | --- |\n| Self-service configuration | Synthetic requirement 1 | Yes |\n| Dashboards for the key health signals | Synthetic requirement 2 | Yes |\n| A documented API with versioned schemas | Synthetic requirement 3 | Yes |\n| Role-based access aligned with existing groups | Synthetic requirement 4 | No |\n| A rollback path within one release | Synthetic requirement 5 | No |\n\n## Out of Scope\n- Replacing existing tooling outside Basalt base images.\n\n## Acceptance Criteria\n- [ ] Self-service configuration is verified.\n- [ ] Dashboards for the key health signals is verified.\n- [ ] A documented API with versioned schemas is verified.", + "issuelinks": [ + { + "outwardIssue": { + "key": "RHAISTRAT-75006" + }, + "type": { + "inward": "is blocked by", + "name": "Blocks", + "outward": "blocks" + } + }, + { + "outwardIssue": { + "key": "RHAISTRAT-75017" + }, + "type": { + "inward": "relates to", + "name": "Relates", + "outward": "relates to" + } + } + ], + "issuetype": { + "name": "Initiative" + }, + "labels": [ + "cc75-fx-i05", + "cc75-synthetic", + "synth-high-impact" + ], + "parent": { + "key": "RHAISTRAT-75001" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAISTRAT" + }, + "reporter": { + "displayName": "synth-pm-03" + }, + "resolution": { + "name": "Done" + }, + "status": { + "name": "Closed", + "statusCategory": { + "key": "done" + } + }, + "summary": "[SYNTH] Basalt base images with preinstalled accelerator libraries", + "updated": "2026-08-03T12:00:00.000+0000" + }, + "key": "RHAISTRAT-75008" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-01" + }, + "components": [], + "created": "2026-08-23T12:00:00.000+0000", + "description": "## Who benefits\nModel builders get a predictable, supported workflow for Driftwood notebook sync, with fewer hand-offs and less time spent on one-off fixes. Release owners gain visibility into how Driftwood notebook sync behaves across teams, which today requires asking around or reading logs.\nToday, teams that need Driftwood notebook sync assemble it themselves from scripts and internal notes; the result differs per team, is hard to support, and breaks on upgrade.\n\n## Goal\nMake Driftwood notebook sync usable by model builders in day-to-day work, so that release owners no longer depend on manual workarounds.\n\n## Scope\n- A rollback path within one release\n- Audit events for every administrative action\n- Self-service configuration\n- A documented API with versioned schemas\n\n## Success criteria\n- Median setup time below 15 minutes for a new team.\n- At least 3 internal teams onboarded within one release.\n\n## Definition of Ready\n- Owner and component agreed.\n\n## Definition of Done\n- Shipped behind a flag and documented.", + "issuelinks": [ + { + "outwardIssue": { + "key": "RHAISTRAT-75015" + }, + "type": { + "inward": "relates to", + "name": "Relates", + "outward": "relates to" + } + } + ], + "issuetype": { + "name": "Initiative" + }, + "labels": [ + "cc75-fx-i06", + "cc75-synthetic", + "initiative-autofix-opt-in", + "initiative-autofix-rubric-pass" + ], + "parent": { + "key": "RHAISTRAT-75003" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAISTRAT" + }, + "reporter": { + "displayName": "synth-eng-01" + }, + "status": { + "name": "Refinement", + "statusCategory": { + "key": "indeterminate" + } + }, + "summary": "[SYNTH] Two-way notebook sync with Driftwood", + "updated": "2026-08-28T12:00:00.000+0000" + }, + "key": "RHAISTRAT-75009" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-02" + }, + "components": [ + { + "name": "synth-evaluation" + } + ], + "created": "2026-10-07T12:00:00.000+0000", + "description": "## Who benefits\nPlatform administrators get a predictable, supported workflow for Marigold evaluation harness, with fewer hand-offs and less time spent on one-off fixes. Security reviewers gain visibility into how Marigold evaluation harness behaves across teams, which today requires asking around or reading logs.\nToday, teams that need Marigold evaluation harness assemble it themselves from scripts and internal notes; the result differs per team, is hard to support, and breaks on upgrade.\n\n## Goal\nMake Marigold evaluation harness usable by platform administrators in day-to-day work, so that security reviewers no longer depend on manual workarounds.\n\n## Scope\n- A documented API with versioned schemas\n- Alerting thresholds that teams can tune\n- An upgrade path with no manual steps\n- Role-based access aligned with existing groups\n\n## Success criteria\n- Median setup time below 15 minutes for a new team.\n- At least 3 internal teams onboarded within one release.", + "issuetype": { + "name": "Initiative" + }, + "labels": [ + "cc75-fx-i07", + "cc75-synthetic", + "initiative-autofix-opt-in", + "initiative-autofix-rubric-pass" + ], + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAISTRAT" + }, + "reporter": { + "displayName": "synth-pm-04" + }, + "status": { + "name": "New", + "statusCategory": { + "key": "new" + } + }, + "summary": "[SYNTH] Marigold evaluation harness for fine-tuned models", + "updated": "2026-10-12T12:00:00.000+0000" + }, + "key": "RHAISTRAT-75010" + }, + { + "fields": { + "components": [], + "created": "2025-03-01T12:00:00.000+0000", + "description": "", + "issuelinks": [ + { + "outwardIssue": { + "key": "RHAISTRAT-75020" + }, + "type": { + "inward": "relates to", + "name": "Relates", + "outward": "relates to" + } + } + ], + "issuetype": { + "name": "Initiative" + }, + "labels": [ + "cc75-fx-i08", + "cc75-synthetic", + "initiative-autofix-opt-in" + ], + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAISTRAT" + }, + "reporter": { + "displayName": "synth-pm-05" + }, + "status": { + "name": "New", + "statusCategory": { + "key": "new" + } + }, + "summary": "[SYNTH] ==================", + "updated": "2025-03-06T12:00:00.000+0000" + }, + "key": "RHAISTRAT-75011" + }, + { + "fields": { + "components": [], + "created": "2026-07-29T12:00:00.000+0000", + "description": "", + "issuetype": { + "name": "Initiative" + }, + "labels": [ + "cc75-fx-i09", + "cc75-synthetic" + ], + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAISTRAT" + }, + "reporter": { + "displayName": "synth-pm-05" + }, + "status": { + "name": "New", + "statusCategory": { + "key": "new" + } + }, + "summary": "[SYNTH] Pending legal sign-off for Tidewater codec redistribution", + "updated": "2026-08-03T12:00:00.000+0000" + }, + "key": "RHAISTRAT-75012" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-02" + }, + "components": [ + { + "name": "synth-runtime" + } + ], + "created": "2026-05-25T12:00:00.000+0000", + "description": "## Scope\nTrack onboarding of new members to the Sparrow runtime team.\n\n## Success criteria\n- Each new member lands a change within 10 working days.\n- Onboarding guide updated after every cohort.", + "issuetype": { + "name": "Initiative" + }, + "labels": [ + "cc75-fx-i10", + "cc75-synthetic" + ], + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAISTRAT" + }, + "reporter": { + "displayName": "synth-eng-02" + }, + "resolution": { + "name": "Done" + }, + "status": { + "name": "Closed", + "statusCategory": { + "key": "done" + } + }, + "summary": "[SYNTH] Onboard new Sparrow runtime team members", + "updated": "2026-08-13T12:00:00.000+0000" + }, + "key": "RHAISTRAT-75013" + }, + { + "fields": { + "components": [], + "created": "2025-09-27T12:00:00.000+0000", + "description": "", + "issuelinks": [ + { + "outwardIssue": { + "key": "RHAISTRAT-75012" + }, + "type": { + "inward": "is duplicated by", + "name": "Duplicate", + "outward": "duplicates" + } + } + ], + "issuetype": { + "name": "Initiative" + }, + "labels": [ + "cc75-fx-i11", + "cc75-synthetic" + ], + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAISTRAT" + }, + "reporter": { + "displayName": "synth-eng-04" + }, + "status": { + "name": "Backlog", + "statusCategory": { + "key": "new" + } + }, + "summary": "[SYNTH] QXR", + "updated": "2025-10-02T12:00:00.000+0000" + }, + "key": "RHAISTRAT-75014" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-03" + }, + "components": [ + { + "name": "synth-ui" + } + ], + "created": "2026-07-14T12:00:00.000+0000", + "description": "## Who benefits\nSRE teams get a predictable, supported workflow for Pumice GPU quotas, with fewer hand-offs and less time spent on one-off fixes. Release owners gain visibility into how Pumice GPU quotas behaves across teams, which today requires asking around or reading logs.\nToday, teams that need Pumice GPU quotas assemble it themselves from scripts and internal notes; the result differs per team, is hard to support, and breaks on upgrade.\n\n## Feature Overview (mandatory - complete while in New status)\nPumice GPU quotas gives SRE teams and release owners a supported way to work with this capability without bespoke scripts. This Initiative tracks the product bet end to end.\n\n## Goals (mandatory - New)\n- Provide offline and disconnected operation.\n- Provide dashboards for the key health signals.\n- Provide audit events for every administrative action.\n\n## Requirements (mandatory - Refinement)\n| Requirement | Notes | isMVP? |\n| --- | --- | --- |\n| Offline and disconnected operation | Synthetic requirement 1 | Yes |\n| Dashboards for the key health signals | Synthetic requirement 2 | Yes |\n| Audit events for every administrative action | Synthetic requirement 3 | Yes |\n| A documented API with versioned schemas | Synthetic requirement 4 | No |\n| An upgrade path with no manual steps | Synthetic requirement 5 | No |\n\n## Out of Scope\n- Replacing existing tooling outside Pumice GPU quotas.\n\n## Acceptance Criteria\n- [ ] Offline and disconnected operation is verified.\n- [ ] Dashboards for the key health signals is verified.\n- [ ] Audit events for every administrative action is verified.", + "issuelinks": [ + { + "outwardIssue": { + "key": "RHAIRFE-75001" + }, + "type": { + "inward": "is cloned by", + "name": "Cloners", + "outward": "clones" + } + } + ], + "issuetype": { + "name": "Initiative" + }, + "labels": [ + "cc75-fx-i12", + "cc75-synthetic", + "initiative-autofix-opt-in", + "synth-scrum-teal" + ], + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAISTRAT" + }, + "reporter": { + "displayName": "synth-pm-04" + }, + "status": { + "name": "In Progress", + "statusCategory": { + "key": "indeterminate" + } + }, + "summary": "[SYNTH] Pumice GPU quota dashboard for platform teams", + "updated": "2026-07-19T12:00:00.000+0000" + }, + "key": "RHAISTRAT-75015" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-04" + }, + "components": [ + { + "name": "synth-serving" + } + ], + "created": "2026-06-24T12:00:00.000+0000", + "customfield_10855": "synth-2.0", + "description": "## Who benefits\nRelease owners get a predictable, supported workflow for Cobalt serving autoscaler, with fewer hand-offs and less time spent on one-off fixes. Data scientists gain visibility into how Cobalt serving autoscaler behaves across teams, which today requires asking around or reading logs.\nToday, teams that need Cobalt serving autoscaler assemble it themselves from scripts and internal notes; the result differs per team, is hard to support, and breaks on upgrade.\n\n## Goal\nMake Cobalt serving autoscaler usable by release owners in day-to-day work, so that data scientists no longer depend on manual workarounds.\n\n## Scope\n- A documented API with versioned schemas\n- Audit events for every administrative action\n- Dashboards for the key health signals\n- An upgrade path with no manual steps\n\n## Success criteria\n- Median setup time below 15 minutes for a new team.\n- At least 3 internal teams onboarded within one release.\n\n| Signal | Current | Target |\n| --- | --- | --- |\n| Scale-up latency | 4 min | 60 s |\n| Idle replicas | 30% | 10% |\n\n## Acceptance Criteria\n- [ ] A documented API with versioned schemas is verified.\n- [ ] Audit events for every administrative action is verified.\n- [ ] Dashboards for the key health signals is verified.", + "issuetype": { + "name": "Initiative" + }, + "labels": [ + "cc75-fx-i13", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75001" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAISTRAT" + }, + "reporter": { + "displayName": "synth-pm-02" + }, + "status": { + "name": "Review", + "statusCategory": { + "key": "indeterminate" + } + }, + "summary": "[SYNTH] Cobalt autoscaler for model-serving replicas", + "updated": "2026-06-29T12:00:00.000+0000" + }, + "key": "RHAISTRAT-75016" + }, + { + "fields": { + "assignee": { + "displayName": "synth-pm-02" + }, + "components": [ + { + "name": "synth-fleet" + }, + { + "name": "synth-installer" + } + ], + "created": "2026-04-15T12:00:00.000+0000", + "customfield_10855": "synth-2.0", + "customfield_75001": 77, + "customfield_75002": 13, + "description": "## Who benefits\nSRE teams get a predictable, supported workflow for Ironbark multi-cluster rollout, with fewer hand-offs and less time spent on one-off fixes. Model builders gain visibility into how Ironbark multi-cluster rollout behaves across teams, which today requires asking around or reading logs.\nToday, teams that need Ironbark multi-cluster rollout assemble it themselves from scripts and internal notes; the result differs per team, is hard to support, and breaks on upgrade.\n\n## Summary\nEstablish Ironbark multi-cluster rollout as the default for every supported deployment.\n\n## Background\n- Drivers: compliance expectations from SRE teams, and support load reported by model builders.\n- Positioning: closes a gap that customers currently fill with custom tooling.\n\n## Action items\n1. Deliver offline and disconnected operation.\n2. Deliver an upgrade path with no manual steps.\n3. Deliver alerting thresholds that teams can tune.\n4. Deliver a rollback path within one release.\n\n## Risks & Assumptions\n- Performance on the smallest supported cluster size.\n- Capacity on shared CI runners.", + "issuelinks": [ + { + "outwardIssue": { + "key": "RHAISTRAT-75025" + }, + "type": { + "inward": "is blocked by", + "name": "Blocks", + "outward": "blocks" + } + } + ], + "issuetype": { + "name": "Initiative" + }, + "labels": [ + "cc75-fx-i14", + "cc75-synthetic", + "synth-theme-aurora" + ], + "parent": { + "key": "RHAISTRAT-75002" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAISTRAT" + }, + "reporter": { + "displayName": "synth-pm-02" + }, + "status": { + "name": "In Progress", + "statusCategory": { + "key": "indeterminate" + } + }, + "summary": "[SYNTH] Ironbark staged rollout across managed clusters", + "updated": "2026-04-20T12:00:00.000+0000" + }, + "key": "RHAISTRAT-75017" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-01" + }, + "components": [], + "created": "2026-09-17T12:00:00.000+0000", + "description": "## Problem statement\nFennel release engineering decisions are made inconsistently across teams.\n1. Decisions are not recorded in one place.\n2. Reviews happen too late to change direction.\n3. Nobody owns follow-up actions.\n\n## Refinement Phase\n- Agree the template and the decision owners.\n\n## Design and Development Phase\n- Pilot with two teams for one release.\n\n## Finalization Phase\n- Publish the process and retire the old checklist.", + "issuelinks": [ + { + "outwardIssue": { + "key": "RHAISTRAT-75007" + }, + "type": { + "inward": "relates to", + "name": "Relates", + "outward": "relates to" + } + }, + { + "outwardIssue": { + "key": "RHAISTRAT-75017" + }, + "type": { + "inward": "is depended on by", + "name": "Depend", + "outward": "depends on" + } + } + ], + "issuetype": { + "name": "Initiative" + }, + "labels": [ + "cc75-fx-i15", + "cc75-synthetic", + "initiative-autofix-opt-in" + ], + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAISTRAT" + }, + "reporter": { + "displayName": "synth-eng-03" + }, + "status": { + "name": "To Do", + "statusCategory": { + "key": "new" + } + }, + "summary": "[SYNTH] Fennel release engineering for the inference stack", + "updated": "2026-09-22T12:00:00.000+0000" + }, + "key": "RHAISTRAT-75018" + }, + { + "fields": { + "assignee": { + "displayName": "synth-pm-03" + }, + "components": [ + { + "name": "synth-data" + } + ], + "created": "2026-09-02T12:00:00.000+0000", + "description": "## Who benefits\nModel builders get a predictable, supported workflow for Juniper data lineage, with fewer hand-offs and less time spent on one-off fixes. Security reviewers gain visibility into how Juniper data lineage behaves across teams, which today requires asking around or reading logs.\nToday, teams that need Juniper data lineage assemble it themselves from scripts and internal notes; the result differs per team, is hard to support, and breaks on upgrade.\n\n## Goal\nMake Juniper data lineage usable by model builders in day-to-day work, so that security reviewers no longer depend on manual workarounds.\n\n## Scope\n- A rollback path within one release\n- Offline and disconnected operation\n- An upgrade path with no manual steps\n- Dashboards for the key health signals\n\n## Success criteria\n- Median setup time below 15 minutes for a new team.\n- At least 3 internal teams onboarded within one release.\n\n### Requirement area 1\nJuniper data lineage must handle area 1 for security reviewers: per-team quotas and limits; alerting thresholds that teams can tune; an upgrade path with no manual steps; self-service configuration; role-based access aligned with existing groups; dashboards for the key health signals.\nOpen questions: dependency on an unreleased upstream component; migration of existing user data; unclear ownership between two teams.\n\n### Requirement area 2\nJuniper data lineage must handle area 2 for model builders: alerting thresholds that teams can tune; self-service configuration; audit events for every administrative action; role-based access aligned with existing groups; a rollback path within one release; dashboards for the key health signals.\nOpen questions: performance on the smallest supported cluster size; capacity on shared CI runners; unclear ownership between two teams.\n\n### Requirement area 3\nJuniper data lineage must handle area 3 for security reviewers: a rollback path within one release; dashboards for the key health signals; alerting thresholds that teams can tune; offline and disconnected operation; an upgrade path with no manual steps; a documented API with versioned schemas.\nOpen questions: unclear ownership between two teams; capacity on shared CI runners; migration of existing user data.\n\n### Requirement area 4\nJuniper data lineage must handle area 4 for model builders: role-based access aligned with existing groups; audit events for every administrative action; a rollback path within one release; self-service configuration; a documented API with versioned schemas; alerting thresholds that teams can tune.\nOpen questions: unclear ownership between two teams; dependency on an unreleased upstream component; migration of existing user data.\n\n### Requirement area 5\nJuniper data lineage must handle area 5 for security reviewers: per-team quotas and limits; a documented API with versioned schemas; dashboards for the key health signals; offline and disconnected operation; self-service configuration; audit events for every administrative action.\nOpen questions: capacity on shared CI runners; performance on the smallest supported cluster size; unclear ownership between two teams.\n\n### Requirement area 6\nJuniper data lineage must handle area 6 for model builders: an upgrade path with no manual steps; role-based access aligned with existing groups; audit events for every administrative action; offline and disconnected operation; a rollback path within one release; a documented API with versioned schemas.\nOpen questions: dependency on an unreleased upstream component; migration of existing user data; unclear ownership between two teams.\n\n### Requirement area 7\nJuniper data lineage must handle area 7 for security reviewers: role-based access aligned with existing groups; audit events for every administrative action; dashboards for the key health signals; offline and disconnected operation; per-team quotas and limits; self-service configuration.\nOpen questions: migration of existing user data; unclear ownership between two teams; capacity on shared CI runners.\n\n### Requirement area 8\nJuniper data lineage must handle area 8 for model builders: role-based access aligned with existing groups; audit events for every administrative action; a documented API with versioned schemas; per-team quotas and limits; a rollback path within one release; alerting thresholds that teams can tune.\nOpen questions: dependency on an unreleased upstream component; unclear ownership between two teams; migration of existing user data.\n\n### Requirement area 9\nJuniper data lineage must handle area 9 for security reviewers: alerting thresholds that teams can tune; audit events for every administrative action; self-service configuration; per-team quotas and limits; a rollback path within one release; dashboards for the key health signals.\nOpen questions: unclear ownership between two teams; capacity on shared CI runners; migration of existing user data.\n\n### Requirement area 10\nJuniper data lineage must handle area 10 for model builders: alerting thresholds that teams can tune; per-team quotas and limits; a documented API with versioned schemas; a rollback path within one release; dashboards for the key health signals; self-service configuration.\nOpen questions: dependency on an unreleased upstream component; capacity on shared CI runners; unclear ownership between two teams.\n\n### Requirement area 11\nJuniper data lineage must handle area 11 for security reviewers: role-based access aligned with existing groups; audit events for every administrative action; a rollback path within one release; self-service configuration; per-team quotas and limits; dashboards for the key health signals.\nOpen questions: capacity on shared CI runners; migration of existing user data; performance on the smallest supported cluster size.\n\n### Requirement area 12\nJuniper data lineage must handle area 12 for model builders: a documented API with versioned schemas; an upgrade path with no manual steps; role-based access aligned with existing groups; self-service configuration; a rollback path within one release; audit events for every administrative action.\nOpen questions: performance on the smallest supported cluster size; dependency on an unreleased upstream component; migration of existing user data.\n\n### Requirement area 13\nJuniper data lineage must handle area 13 for security reviewers: dashboards for the key health signals; an upgrade path with no manual steps; a rollback path within one release; offline and disconnected operation; self-service configuration; a documented API with versioned schemas.\nOpen questions: capacity on shared CI runners; performance on the smallest supported cluster size; unclear ownership between two teams.\n\n### Requirement area 14\nJuniper data lineage must handle area 14 for model builders: alerting thresholds that teams can tune; self-service configuration; dashboards for the key health signals; role-based access aligned with existing groups; per-team quotas and limits; an upgrade path with no manual steps.\nOpen questions: performance on the smallest supported cluster size; unclear ownership between two teams; capacity on shared CI runners.\n\n### Requirement area 15\nJuniper data lineage must handle area 15 for security reviewers: a documented API with versioned schemas; dashboards for the key health signals; role-based access aligned with existing groups; alerting thresholds that teams can tune; a rollback path within one release; audit events for every administrative action.\nOpen questions: unclear ownership between two teams; migration of existing user data; performance on the smallest supported cluster size.\n\n### Requirement area 16\nJuniper data lineage must handle area 16 for model builders: audit events for every administrative action; offline and disconnected operation; a rollback path within one release; an upgrade path with no manual steps; role-based access aligned with existing groups; per-team quotas and limits.\nOpen questions: performance on the smallest supported cluster size; dependency on an unreleased upstream component; capacity on shared CI runners.\n\n### Requirement area 17\nJuniper data lineage must handle area 17 for security reviewers: audit events for every administrative action; role-based access aligned with existing groups; an upgrade path with no manual steps; alerting thresholds that teams can tune; dashboards for the key health signals; self-service configuration.\nOpen questions: capacity on shared CI runners; unclear ownership between two teams; dependency on an unreleased upstream component.\n\n### Requirement area 18\nJuniper data lineage must handle area 18 for model builders: role-based access aligned with existing groups; dashboards for the key health signals; audit events for every administrative action; a documented API with versioned schemas; per-team quotas and limits; offline and disconnected operation.\nOpen questions: performance on the smallest supported cluster size; capacity on shared CI runners; dependency on an unreleased upstream component.\n\n### Requirement area 19\nJuniper data lineage must handle area 19 for security reviewers: self-service configuration; an upgrade path with no manual steps; per-team quotas and limits; alerting thresholds that teams can tune; role-based access aligned with existing groups; a documented API with versioned schemas.\nOpen questions: capacity on shared CI runners; performance on the smallest supported cluster size; dependency on an unreleased upstream component.\n\n### Requirement area 20\nJuniper data lineage must handle area 20 for model builders: audit events for every administrative action; role-based access aligned with existing groups; offline and disconnected operation; a documented API with versioned schemas; alerting thresholds that teams can tune; dashboards for the key health signals.\nOpen questions: migration of existing user data; dependency on an unreleased upstream component; performance on the smallest supported cluster size.\n\n### Requirement area 21\nJuniper data lineage must handle area 21 for security reviewers: per-team quotas and limits; alerting thresholds that teams can tune; a documented API with versioned schemas; self-service configuration; role-based access aligned with existing groups; an upgrade path with no manual steps.\nOpen questions: migration of existing user data; dependency on an unreleased upstream component; performance on the smallest supported cluster size.\n\n### Requirement area 22\nJuniper data lineage must handle area 22 for model builders: a rollback path within one release; offline and disconnected operation; an upgrade path with no manual steps; per-team quotas and limits; a documented API with versioned schemas; alerting thresholds that teams can tune.\nOpen questions: migration of existing user data; capacity on shared CI runners; dependency on an unreleased upstream component.\n\n### Requirement area 23\nJuniper data lineage must handle area 23 for security reviewers: an upgrade path with no manual steps; audit events for every administrative action; per-team quotas and limits; a rollback path within one release; self-service configuration; dashboards for the key health signals.\nOpen questions: dependency on an unreleased upstream component; performance on the smallest supported cluster size; migration of existing user data.\n\n### Requirement area 24\nJuniper data lineage must handle area 24 for model builders: a documented API with versioned schemas; role-based access aligned with existing groups; a rollback path within one release; an upgrade path with no manual steps; offline and disconnected operation; self-service configuration.\nOpen questions: capacity on shared CI runners; performance on the smallest supported cluster size; migration of existing user data.\n\n### Requirement area 25\nJuniper data lineage must handle area 25 for security reviewers: dashboards for the key health signals; a documented API with versioned schemas; per-team quotas and limits; an upgrade path with no manual steps; a rollback path within one release; audit events for every administrative action.\nOpen questions: dependency on an unreleased upstream component; performance on the smallest supported cluster size; capacity on shared CI runners.\n\n### Requirement area 26\nJuniper data lineage must handle area 26 for model builders: dashboards for the key health signals; a rollback path within one release; self-service configuration; audit events for every administrative action; alerting thresholds that teams can tune; an upgrade path with no manual steps.\nOpen questions: unclear ownership between two teams; capacity on shared CI runners; dependency on an unreleased upstream component.\n\n### Requirement area 27\nJuniper data lineage must handle area 27 for security reviewers: offline and disconnected operation; dashboards for the key health signals; alerting thresholds that teams can tune; an upgrade path with no manual steps; a documented API with versioned schemas; role-based access aligned with existing groups.\nOpen questions: unclear ownership between two teams; capacity on shared CI runners; migration of existing user data.\n\n### Requirement area 28\nJuniper data lineage must handle area 28 for model builders: a rollback path within one release; offline and disconnected operation; audit events for every administrative action; role-based access aligned with existing groups; a documented API with versioned schemas; alerting thresholds that teams can tune.\nOpen questions: dependency on an unreleased upstream component; migration of existing user data; performance on the smallest supported cluster size.\n\n### Requirement area 29\nJuniper data lineage must handle area 29 for security reviewers: self-service configuration; dashboards for the key health signals; per-team quotas and limits; a rollback path within one release; an upgrade path with no manual steps; a documented API with versioned schemas.\nOpen questions: performance on the smallest supported cluster size; capacity on shared CI runners; unclear ownership between two teams.\n\n### Requirement area 30\nJuniper data lineage must handle area 30 for model builders: a rollback path within one release; dashboards for the key health signals; role-based access aligned with existing groups; self-service configuration; a documented API with versioned schemas; alerting thresholds that teams can tune.\nOpen questions: performance on the smallest supported cluster size; unclear ownership between two teams; dependency on an unreleased upstream component.\n\n## Acceptance Criteria\n- [ ] A rollback path within one release is verified.\n- [ ] Offline and disconnected operation is verified.\n- [ ] An upgrade path with no manual steps is verified.", + "issuelinks": [ + { + "outwardIssue": { + "key": "RHAISTRAT-75010" + }, + "type": { + "inward": "relates to", + "name": "Relates", + "outward": "relates to" + } + } + ], + "issuetype": { + "name": "Initiative" + }, + "labels": [ + "cc75-fx-i16", + "cc75-synthetic", + "initiative-autofix-opt-in", + "initiative-autofix-rubric-pass" + ], + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAISTRAT" + }, + "reporter": { + "displayName": "synth-pm-03" + }, + "status": { + "name": "Refinement", + "statusCategory": { + "key": "indeterminate" + } + }, + "summary": "[SYNTH] End-to-end data lineage with Juniper", + "updated": "2026-09-07T12:00:00.000+0000" + }, + "key": "RHAISTRAT-75019" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-01" + }, + "components": [ + { + "name": "synth-ci" + } + ], + "created": "2026-10-20T12:00:00.000+0000", + "description": "## Who benefits\nRelease owners get a predictable, supported workflow for Wren test-failure visibility, with fewer hand-offs and less time spent on one-off fixes. Data scientists gain visibility into how Wren test-failure visibility behaves across teams, which today requires asking around or reading logs.\nToday, teams that need Wren test-failure visibility assemble it themselves from scripts and internal notes; the result differs per team, is hard to support, and breaks on upgrade.\n\n## Goal\nMake Wren test-failure visibility usable by release owners in day-to-day work, so that data scientists no longer depend on manual workarounds.\n\n## Scope\n- Per-team quotas and limits\n- Role-based access aligned with existing groups\n- An upgrade path with no manual steps\n- A documented API with versioned schemas\n\n## Success criteria\n- Median setup time below 15 minutes for a new team.\n- At least 3 internal teams onboarded within one release.", + "issuetype": { + "name": "Initiative" + }, + "labels": [ + "cc75-fx-i17", + "cc75-synthetic", + "initiative-autofix-opt-in", + "initiative-needs-attention" + ], + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAISTRAT" + }, + "reporter": { + "displayName": "synth-pm-06" + }, + "status": { + "name": "New", + "statusCategory": { + "key": "new" + } + }, + "summary": "[SYNTH] Wren test-failure visibility for release owners", + "updated": "2026-10-25T12:00:00.000+0000" + }, + "key": "RHAISTRAT-75020" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-02" + }, + "components": [ + { + "name": "synth-ci" + } + ], + "created": "2026-10-20T12:00:00.000+0000", + "description": "## Who benefits\nSRE teams get a predictable, supported workflow for Wren flaky-test quarantine, with fewer hand-offs and less time spent on one-off fixes. Platform administrators gain visibility into how Wren flaky-test quarantine behaves across teams, which today requires asking around or reading logs.\nToday, teams that need Wren flaky-test quarantine assemble it themselves from scripts and internal notes; the result differs per team, is hard to support, and breaks on upgrade.\n\n## Feature Overview (mandatory - complete while in New status)\nWren flaky-test quarantine gives SRE teams and platform administrators a supported way to work with this capability without bespoke scripts. This Initiative tracks the product bet end to end.\n\n## Goals (mandatory - New)\n- Provide an upgrade path with no manual steps.\n- Provide per-team quotas and limits.\n- Provide audit events for every administrative action.\n\n## Requirements (mandatory - Refinement)\n| Requirement | Notes | isMVP? |\n| --- | --- | --- |\n| An upgrade path with no manual steps | Synthetic requirement 1 | Yes |\n| Per-team quotas and limits | Synthetic requirement 2 | Yes |\n| Audit events for every administrative action | Synthetic requirement 3 | Yes |\n| Offline and disconnected operation | Synthetic requirement 4 | No |\n| A rollback path within one release | Synthetic requirement 5 | No |\n\n## Out of Scope\n- Replacing existing tooling outside Wren flaky-test quarantine.\n\n## Acceptance Criteria\n- [ ] An upgrade path with no manual steps is verified.\n- [ ] Per-team quotas and limits is verified.\n- [ ] Audit events for every administrative action is verified.", + "issuetype": { + "name": "Initiative" + }, + "labels": [ + "cc75-fx-i18", + "cc75-synthetic", + "initiative-autofix-opt-in", + "initiative-autofix-rubric-pass", + "initiative-ignore" + ], + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAISTRAT" + }, + "reporter": { + "displayName": "synth-pm-06" + }, + "status": { + "name": "In Progress", + "statusCategory": { + "key": "indeterminate" + } + }, + "summary": "[SYNTH] Wren flaky-test quarantine and triage", + "updated": "2026-10-25T12:00:00.000+0000" + }, + "key": "RHAISTRAT-75021" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-04" + }, + "components": [ + { + "name": "synth-ci" + } + ], + "created": "2026-10-20T12:00:00.000+0000", + "description": "## Who benefits\nModel builders get a predictable, supported workflow for Wren CI cost reporting, with fewer hand-offs and less time spent on one-off fixes. Data scientists gain visibility into how Wren CI cost reporting behaves across teams, which today requires asking around or reading logs.\nToday, teams that need Wren CI cost reporting assemble it themselves from scripts and internal notes; the result differs per team, is hard to support, and breaks on upgrade.\n\n## Goal\nMake Wren CI cost reporting usable by model builders in day-to-day work, so that data scientists no longer depend on manual workarounds.\n\n## Scope\n- An upgrade path with no manual steps\n- Audit events for every administrative action\n- Dashboards for the key health signals\n- Per-team quotas and limits\n\n## Success criteria\n- Median setup time below 15 minutes for a new team.\n- At least 3 internal teams onboarded within one release.", + "issuelinks": [ + { + "outwardIssue": { + "key": "RHAIRFE-75002" + }, + "type": { + "inward": "is cloned by", + "name": "Cloners", + "outward": "clones" + } + } + ], + "issuetype": { + "name": "Initiative" + }, + "labels": [ + "cc75-fx-i19", + "cc75-synthetic", + "initiative-autofix-opt-in", + "initiative-autofix-rubric-pass", + "strat-creator-ignore" + ], + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAISTRAT" + }, + "reporter": { + "displayName": "synth-pm-06" + }, + "status": { + "name": "To Do", + "statusCategory": { + "key": "new" + } + }, + "summary": "[SYNTH] Wren CI cost reporting per repository", + "updated": "2026-10-25T12:00:00.000+0000" + }, + "key": "RHAISTRAT-75022" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-04" + }, + "components": [], + "created": "2026-10-02T12:00:00.000+0000", + "description": "TBD; scope for Ember sandbox hardening to follow.", + "issuetype": { + "name": "Initiative" + }, + "labels": [ + "cc75-fx-i20", + "cc75-synthetic", + "initiative-autofix-opt-in", + "initiative-autofix-rubric-pass", + "strat-creator-processing" + ], + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAISTRAT" + }, + "reporter": { + "displayName": "synth-eng-04" + }, + "status": { + "name": "In Progress", + "statusCategory": { + "key": "indeterminate" + } + }, + "summary": "[SYNTH] Ember sandbox hardening", + "updated": "2026-10-07T12:00:00.000+0000" + }, + "key": "RHAISTRAT-75023" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-03" + }, + "components": [ + { + "name": "synth-security" + } + ], + "created": "2026-04-05T12:00:00.000+0000", + "description": "## Who benefits\nSecurity reviewers get a predictable, supported workflow for Slate audit logging, with fewer hand-offs and less time spent on one-off fixes. Model builders gain visibility into how Slate audit logging behaves across teams, which today requires asking around or reading logs.\nToday, teams that need Slate audit logging assemble it themselves from scripts and internal notes; the result differs per team, is hard to support, and breaks on upgrade.\n\n## Feature Overview (mandatory - complete while in New status)\nSlate audit logging gives security reviewers and model builders a supported way to work with this capability without bespoke scripts. This Initiative tracks the product bet end to end.\n\n## Goals (mandatory - New)\n- Provide dashboards for the key health signals.\n- Provide per-team quotas and limits.\n- Provide offline and disconnected operation.\n\n## Requirements (mandatory - Refinement)\n| Requirement | Notes | isMVP? |\n| --- | --- | --- |\n| Dashboards for the key health signals | Synthetic requirement 1 | Yes |\n| Per-team quotas and limits | Synthetic requirement 2 | Yes |\n| Offline and disconnected operation | Synthetic requirement 3 | Yes |\n| Role-based access aligned with existing groups | Synthetic requirement 4 | No |\n| An upgrade path with no manual steps | Synthetic requirement 5 | No |\n\n## Out of Scope\n- Replacing existing tooling outside Slate audit logging.\n\n## Acceptance Criteria\n- [ ] Dashboards for the key health signals is verified.\n- [ ] Per-team quotas and limits is verified.\n- [ ] Offline and disconnected operation is verified.", + "issuetype": { + "name": "Initiative" + }, + "labels": [ + "cc75-fx-i21", + "cc75-synthetic", + "initiative-autofix-opt-in", + "initiative-autofix-rubric-pass" + ], + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAISTRAT" + }, + "reporter": { + "displayName": "synth-pm-05" + }, + "resolution": { + "name": "Done" + }, + "status": { + "name": "Closed", + "statusCategory": { + "key": "done" + } + }, + "summary": "[SYNTH] Slate audit logging for administrative actions", + "updated": "2026-08-23T12:00:00.000+0000" + }, + "key": "RHAISTRAT-75024" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-02" + }, + "components": [ + { + "name": "synth-security" + }, + { + "name": "synth-networking" + } + ], + "created": "2026-07-24T12:00:00.000+0000", + "description": "## Who benefits\nData scientists get a predictable, supported workflow for Thornbill network policy baseline, with fewer hand-offs and less time spent on one-off fixes. SRE teams gain visibility into how Thornbill network policy baseline behaves across teams, which today requires asking around or reading logs.\nToday, teams that need Thornbill network policy baseline assemble it themselves from scripts and internal notes; the result differs per team, is hard to support, and breaks on upgrade.\n\n## Summary\nEstablish Thornbill network policy baseline as the default for every supported deployment.\n\n## Background\n- Drivers: compliance expectations from data scientists, and support load reported by SRE teams.\n- Positioning: closes a gap that customers currently fill with custom tooling.\n\n## Action items\n1. Deliver audit events for every administrative action.\n2. Deliver a rollback path within one release.\n3. Deliver a documented API with versioned schemas.\n4. Deliver role-based access aligned with existing groups.\n\n## Risks & Assumptions\n- Performance on the smallest supported cluster size.\n- Capacity on shared CI runners.", + "issuetype": { + "name": "Initiative" + }, + "labels": [ + "cc75-fx-i22", + "cc75-synthetic", + "initiative-autofix-opt-in", + "initiative-autofix-rubric-pass", + "strat-creator-auto-refined", + "strat-creator-human-sign-off", + "strat-creator-rubric-pass" + ], + "parent": { + "key": "RHAISTRAT-75002" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAISTRAT" + }, + "reporter": { + "displayName": "synth-eng-02" + }, + "status": { + "name": "Release Pending", + "statusCategory": { + "key": "indeterminate" + } + }, + "summary": "[SYNTH] Thornbill default network policy baseline for workloads", + "updated": "2026-07-29T12:00:00.000+0000" + }, + "key": "RHAISTRAT-75025" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-03" + }, + "components": [ + { + "name": "synth-security" + } + ], + "created": "2026-06-14T12:00:00.000+0000", + "description": "## Who benefits\nModel builders get a predictable, supported workflow for Alder secrets rotation, with fewer hand-offs and less time spent on one-off fixes. Release owners gain visibility into how Alder secrets rotation behaves across teams, which today requires asking around or reading logs.\nToday, teams that need Alder secrets rotation assemble it themselves from scripts and internal notes; the result differs per team, is hard to support, and breaks on upgrade.\n\n## Goal\nMake Alder secrets rotation usable by model builders in day-to-day work, so that release owners no longer depend on manual workarounds.\n\n## Scope\n- Offline and disconnected operation\n- Alerting thresholds that teams can tune\n- Self-service configuration\n- Audit events for every administrative action\n\n## Success criteria\n- Median setup time below 15 minutes for a new team.\n- At least 3 internal teams onboarded within one release.\n\n## Acceptance Criteria\n- [ ] Offline and disconnected operation is verified.\n- [ ] Alerting thresholds that teams can tune is verified.\n- [ ] Self-service configuration is verified.", + "issuetype": { + "name": "Initiative" + }, + "labels": [ + "cc75-fx-i23", + "cc75-synthetic", + "initiative-autofix-opt-in", + "initiative-autofix-rubric-pass", + "strat-creator-auto-refined", + "strat-creator-human-sign-off", + "strat-creator-rubric-pass" + ], + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAISTRAT" + }, + "reporter": { + "displayName": "synth-pm-01" + }, + "status": { + "name": "In Progress", + "statusCategory": { + "key": "indeterminate" + } + }, + "summary": "[SYNTH] Alder automatic secrets rotation for platform services", + "updated": "2026-06-19T12:00:00.000+0000" + }, + "key": "RHAISTRAT-75026" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-04" + }, + "components": [ + { + "name": "synth-images" + } + ], + "created": "2026-05-05T12:00:00.000+0000", + "description": "## Who benefits\nPlatform administrators get a predictable, supported workflow for Osprey SBOM publication, with fewer hand-offs and less time spent on one-off fixes. Security reviewers gain visibility into how Osprey SBOM publication behaves across teams, which today requires asking around or reading logs.\nToday, teams that need Osprey SBOM publication assemble it themselves from scripts and internal notes; the result differs per team, is hard to support, and breaks on upgrade.\n\n## Summary\nEstablish Osprey SBOM publication as the default for every supported deployment.\n\n## Background\n- Drivers: compliance expectations from platform administrators, and support load reported by security reviewers.\n- Positioning: closes a gap that customers currently fill with custom tooling.\n\n## Action items\n1. Deliver role-based access aligned with existing groups.\n2. Deliver offline and disconnected operation.\n3. Deliver a rollback path within one release.\n4. Deliver per-team quotas and limits.\n\n## Risks & Assumptions\n- Unclear ownership between two teams.\n- Capacity on shared CI runners.", + "issuelinks": [ + { + "outwardIssue": { + "key": "RHAI-75043" + }, + "type": { + "inward": "is incorporated by", + "name": "Incorporates", + "outward": "incorporates" + } + } + ], + "issuetype": { + "name": "Initiative" + }, + "labels": [ + "cc75-fx-i24", + "cc75-synthetic", + "initiative-autofix-opt-in", + "initiative-autofix-rubric-pass", + "strat-creator-auto-refined", + "strat-creator-human-sign-off", + "strat-creator-rubric-pass" + ], + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAISTRAT" + }, + "reporter": { + "displayName": "synth-pm-03" + }, + "status": { + "name": "Refinement", + "statusCategory": { + "key": "indeterminate" + } + }, + "summary": "[SYNTH] Osprey SBOM publication for shipped images", + "updated": "2026-05-10T12:00:00.000+0000" + }, + "key": "RHAISTRAT-75027" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-03" + }, + "components": [ + { + "name": "synth-serving" + }, + { + "name": "synth-observability" + } + ], + "created": "2026-10-20T12:00:00.000+0000", + "customfield_10855": "synth-2.0", + "description": "## Problem\nOperators of predictive model-serving endpoints cannot connect a slow client request to what happened inside the model server. MLServer already creates a server span for each REST request (its bundled FastAPI OpenTelemetry instrumentation), but on the platform those spans go nowhere: the exporter is hard-coded to an insecure connection, nothing configures it, and incoming trace context from the caller is not joined.\n\n## Who benefits\n- Platform operators diagnosing slow requests on predictive InferenceServices served by MLServer.\n- Application teams that already trace their own services and want the model call in the same trace.\n\n## Goal\nFor an InferenceService that opts in, each sampled REST inference request served by the MLServer runtime produces an MLServer server span that joins the caller's W3C trace context and is exported over TLS to the platform's existing data-science-collector, which already forwards traces to Tempo. One trace then shows the caller's spans and the time spent inside the model server.\n\n## Scope\n- Runtime: MLServer only, the supported MLServer ServingRuntime image, RawDeployment mode.\n- Protocol: REST (KServe v2 HTTP) only.\n- Workers: spans from the main MLServer process; with parallel workers enabled, inference inside a worker process is covered by the server span only (see P1 below).\n\n## Requirements\n| ID | Requirement | Acceptance | Priority |\n| --- | --- | --- | --- |\n| R1 | Opt in per InferenceService with an annotation; odh-model-controller sets the OTEL_* environment (endpoint, sampler, resource attributes) on the predictor only when it is present | Without the annotation the predictor pod spec is byte-for-byte unchanged | P0 |\n| R2 | MLServer exports spans over TLS, trusting the OpenShift service CA from the namespace's injected service-CA ConfigMap (downstream patch to the hard-coded insecure exporter) | Spans reach the collector on 4317 with TLS verification on; a wrong CA produces no export and no request errors | P0 |\n| R3 | The server span joins an incoming W3C traceparent | A request sent with a traceparent appears in Tempo as a child of the caller's span | P0 |\n| R4 | Parent-based ratio sampling, default 1 percent, set per InferenceService by the annotation value | Measured export rate within 0.5 percentage points of the configured ratio over 10,000 requests | P0 |\n| R5 | The collector NetworkPolicy admits OTLP only from predictor pods (KServe predictor pod label), and the existing k8sattributes and identity-sanitizing processors set the namespace attribute | A pod without the label cannot export; a span claiming another namespace is rewritten to its real one | P0 |\n| R6 | Separate inference span inside parallel-worker processes (trace context across MLServer's worker IPC) | Server span minus inference span equals codec and queue time within 1 ms | P1 |\n\n## Non-functional requirements\n- Overhead: at 1 percent sampling, added p95 latency below 2 ms in the benchmark below.\n- Privacy: no request or response payload, header value or token in any span attribute.\n- Availability: if the collector is unreachable or the CA is wrong, requests succeed unchanged and spans are dropped.\n\n## Benchmark\nThe scikit-learn iris model on the MLServer runtime, one replica, 100 requests per second of KServe v2 REST for 10 minutes, measured with and without the annotation at 1 percent sampling and at 100 percent sampling. The p95 difference at 1 percent is the overhead figure. Owned by the model serving team; the harness is a small addition to the existing runtime performance tests.\n\n## Out of scope\n- Spans for the OpenShift router and the kube-rbac-proxy (or Authorino) authentication hop: that time appears only as the gap between the caller's span and the server span.\n- gRPC: it is not externally routable on the predictive Route path today.\n- LLMInferenceService, vLLM, OpenVINO Model Server, Triton and AutoGluon: each would be its own Initiative.\n- The KServe agent sidecar and any proxy or Service rewiring.\n- Installing or configuring the OpenTelemetry or Tempo operators: RHOAI does not install external operators; without the collector, nothing is exported.\n- Per-namespace trace access for model owners: traces land in the shared Tempo, and access is arranged by administrators. Self-service access is a follow-on.\n\n## Dependencies\n- The existing data-science-collector deployment (OTLP over TLS on 4317) and its Tempo export.\n- MLServer's bundled OpenTelemetry SDK and FastAPI instrumentation (already in the shipped image).\n- One downstream MLServer patch (R2); no upstream change is needed for the P0 scope.\n\n## Effort and rollout\n- Size M: model serving team (odh-model-controller annotation and env injection, MLServer patch, benchmark) and platform observability team (NetworkPolicy, sanitization tests). About three sprints for both teams in parallel.\n- Technology preview behind the annotation in one release; general availability after one release of preview feedback, with R6 considered for GA.\n\n## Acceptance Criteria\n- [ ] R1-R5 pass on a cluster with the collector installed; R6 is tracked separately.\n- [ ] The benchmark shows added p95 latency below 2 ms at 1 percent sampling.\n- [ ] An InferenceService without the annotation is unchanged (pod spec diff and benchmark).\n- [ ] With the collector absent or the CA wrong, all requests succeed and no errors are logged per request.", + "issuetype": { + "name": "Initiative" + }, + "labels": [ + "cc75-fx-i25", + "cc75-synthetic", + "initiative-autofix-opt-in", + "initiative-autofix-rubric-pass" + ], + "parent": { + "key": "RHAISTRAT-75001" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAISTRAT" + }, + "reporter": { + "displayName": "synth-pm-02" + }, + "status": { + "name": "New", + "statusCategory": { + "key": "new" + } + }, + "summary": "[SYNTH] Bramblewick trace export from the MLServer runtime for predictive serving", + "updated": "2026-10-25T12:00:00.000+0000" + }, + "key": "RHAISTRAT-75028" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-01" + }, + "components": [], + "created": "2026-06-14T12:00:00.000+0000", + "description": "Synthetic Epic: api contract and design for Lanternfish telemetry.", + "issuelinks": [ + { + "outwardIssue": { + "key": "RHAI-75002" + }, + "type": { + "inward": "is blocked by", + "name": "Blocks", + "outward": "blocks" + } + } + ], + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i01-rhai-e1", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75004" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-01" + }, + "status": { + "name": "In Progress", + "statusCategory": { + "key": "indeterminate" + } + }, + "summary": "[SYNTH] Lanternfish telemetry: API contract and design", + "updated": "2026-06-17T12:00:00.000+0000" + }, + "key": "RHAI-75001" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-01" + }, + "components": [], + "created": "2026-06-14T12:00:00.000+0000", + "description": "Synthetic Epic: core implementation for Lanternfish telemetry.", + "issuelinks": [ + { + "outwardIssue": { + "key": "RHAI-75003" + }, + "type": { + "inward": "is blocked by", + "name": "Blocks", + "outward": "blocks" + } + } + ], + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i01-rhai-e2", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75004" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-01" + }, + "status": { + "name": "New", + "statusCategory": { + "key": "new" + } + }, + "summary": "[SYNTH] Lanternfish telemetry: Core implementation", + "updated": "2026-06-17T12:00:00.000+0000" + }, + "key": "RHAI-75002" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-01" + }, + "components": [], + "created": "2026-06-14T12:00:00.000+0000", + "description": "Synthetic Epic: observability and alerts for Lanternfish telemetry.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i01-rhai-e3", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75004" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-01" + }, + "status": { + "name": "New", + "statusCategory": { + "key": "new" + } + }, + "summary": "[SYNTH] Lanternfish telemetry: Observability and alerts", + "updated": "2026-06-17T12:00:00.000+0000" + }, + "key": "RHAI-75003" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-01" + }, + "components": [], + "created": "2026-06-14T12:00:00.000+0000", + "description": "Synthetic Epic: documentation and enablement for Lanternfish telemetry.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i01-rhai-e4", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75004" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-01" + }, + "status": { + "name": "New", + "statusCategory": { + "key": "new" + } + }, + "summary": "[SYNTH] Lanternfish telemetry: Documentation and enablement", + "updated": "2026-06-17T12:00:00.000+0000" + }, + "key": "RHAI-75004" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-02" + }, + "components": [], + "created": "2026-02-04T12:00:00.000+0000", + "description": "Synthetic Epic: api contract and design for Saltmarsh batch scheduler.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i02-rhai-e1", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75005" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-02" + }, + "resolution": { + "name": "Done" + }, + "status": { + "name": "Closed", + "statusCategory": { + "key": "done" + } + }, + "summary": "[SYNTH] Saltmarsh batch scheduler: API contract and design", + "updated": "2026-02-07T12:00:00.000+0000" + }, + "key": "RHAI-75005" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-02" + }, + "components": [], + "created": "2026-02-04T12:00:00.000+0000", + "description": "Synthetic Epic: core implementation for Saltmarsh batch scheduler.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i02-rhai-e2", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75005" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-02" + }, + "resolution": { + "name": "Done" + }, + "status": { + "name": "Closed", + "statusCategory": { + "key": "done" + } + }, + "summary": "[SYNTH] Saltmarsh batch scheduler: Core implementation", + "updated": "2026-02-07T12:00:00.000+0000" + }, + "key": "RHAI-75006" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-03" + }, + "components": [], + "created": "2025-12-16T12:00:00.000+0000", + "description": "Synthetic Epic: api contract and design for Quillwork design reviews.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i04-rhoaieng-e1", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75007" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHOAIENG" + }, + "reporter": { + "displayName": "synth-eng-03" + }, + "resolution": { + "name": "Done" + }, + "status": { + "name": "Closed", + "statusCategory": { + "key": "done" + } + }, + "summary": "[SYNTH] Quillwork design reviews: API contract and design", + "updated": "2025-12-19T12:00:00.000+0000" + }, + "key": "RHOAIENG-75001" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-04" + }, + "components": [], + "created": "2026-03-16T12:00:00.000+0000", + "description": "Synthetic Epic: api contract and design for Basalt base images.", + "issuelinks": [ + { + "outwardIssue": { + "key": "RHAI-75008" + }, + "type": { + "inward": "is blocked by", + "name": "Blocks", + "outward": "blocks" + } + } + ], + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i05-rhai-e1", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75008" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-03" + }, + "resolution": { + "name": "Done" + }, + "status": { + "name": "Closed", + "statusCategory": { + "key": "done" + } + }, + "summary": "[SYNTH] Basalt base images: API contract and design", + "updated": "2026-03-19T12:00:00.000+0000" + }, + "key": "RHAI-75007" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-04" + }, + "components": [], + "created": "2026-03-16T12:00:00.000+0000", + "description": "Synthetic Epic: core implementation for Basalt base images.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i05-rhai-e2", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75008" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-03" + }, + "resolution": { + "name": "Done" + }, + "status": { + "name": "Closed", + "statusCategory": { + "key": "done" + } + }, + "summary": "[SYNTH] Basalt base images: Core implementation", + "updated": "2026-03-19T12:00:00.000+0000" + }, + "key": "RHAI-75008" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-04" + }, + "components": [], + "created": "2026-03-16T12:00:00.000+0000", + "description": "Synthetic Epic: observability and alerts for Basalt base images.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i05-rhai-e3", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75008" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-03" + }, + "resolution": { + "name": "Done" + }, + "status": { + "name": "Closed", + "statusCategory": { + "key": "done" + } + }, + "summary": "[SYNTH] Basalt base images: Observability and alerts", + "updated": "2026-03-19T12:00:00.000+0000" + }, + "key": "RHAI-75009" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-04" + }, + "components": [], + "created": "2026-03-16T12:00:00.000+0000", + "description": "Synthetic Epic: documentation and enablement for Basalt base images.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i05-rhai-e4", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75008" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-03" + }, + "resolution": { + "name": "Done" + }, + "status": { + "name": "Closed", + "statusCategory": { + "key": "done" + } + }, + "summary": "[SYNTH] Basalt base images: Documentation and enablement", + "updated": "2026-03-19T12:00:00.000+0000" + }, + "key": "RHAI-75010" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-04" + }, + "components": [], + "created": "2026-03-16T12:00:00.000+0000", + "description": "Synthetic Epic: performance and scale testing for Basalt base images.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i05-rhai-e5", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75008" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-03" + }, + "resolution": { + "name": "Done" + }, + "status": { + "name": "Closed", + "statusCategory": { + "key": "done" + } + }, + "summary": "[SYNTH] Basalt base images: Performance and scale testing", + "updated": "2026-03-19T12:00:00.000+0000" + }, + "key": "RHAI-75011" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-04" + }, + "components": [], + "created": "2026-03-16T12:00:00.000+0000", + "description": "Synthetic Epic: api contract and design for Basalt base images.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i05-rhoaieng-e1", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75008" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHOAIENG" + }, + "reporter": { + "displayName": "synth-pm-03" + }, + "resolution": { + "name": "Done" + }, + "status": { + "name": "Closed", + "statusCategory": { + "key": "done" + } + }, + "summary": "[SYNTH] Basalt base images: API contract and design", + "updated": "2026-03-19T12:00:00.000+0000" + }, + "key": "RHOAIENG-75002" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-01" + }, + "components": [], + "created": "2026-09-02T12:00:00.000+0000", + "description": "Synthetic Epic: api contract and design for Driftwood notebook sync.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i06-rhai-e1", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75009" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-eng-01" + }, + "status": { + "name": "In Progress", + "statusCategory": { + "key": "indeterminate" + } + }, + "summary": "[SYNTH] Driftwood notebook sync: API contract and design", + "updated": "2026-09-05T12:00:00.000+0000" + }, + "key": "RHAI-75012" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-01" + }, + "components": [], + "created": "2026-09-02T12:00:00.000+0000", + "description": "Synthetic Epic: core implementation for Driftwood notebook sync.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i06-rhai-e2", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75009" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-eng-01" + }, + "status": { + "name": "New", + "statusCategory": { + "key": "new" + } + }, + "summary": "[SYNTH] Driftwood notebook sync: Core implementation", + "updated": "2026-09-05T12:00:00.000+0000" + }, + "key": "RHAI-75013" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-02" + }, + "components": [], + "created": "2026-05-30T12:00:00.000+0000", + "description": "Synthetic onboarding Story delivered without an Epic layer.", + "issuetype": { + "name": "Story" + }, + "labels": [ + "cc75-fx-i10-s1", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75013" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-eng-02" + }, + "resolution": { + "name": "Done" + }, + "status": { + "name": "Closed", + "statusCategory": { + "key": "done" + } + }, + "summary": "[SYNTH] Sparrow runtime team: onboarding cohort 1", + "updated": "2026-06-02T12:00:00.000+0000" + }, + "key": "RHAI-75014" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-02" + }, + "components": [], + "created": "2026-05-30T12:00:00.000+0000", + "description": "Synthetic onboarding Story delivered without an Epic layer.", + "issuetype": { + "name": "Story" + }, + "labels": [ + "cc75-fx-i10-s2", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75013" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-eng-02" + }, + "resolution": { + "name": "Done" + }, + "status": { + "name": "Closed", + "statusCategory": { + "key": "done" + } + }, + "summary": "[SYNTH] Sparrow runtime team: onboarding cohort 2", + "updated": "2026-06-02T12:00:00.000+0000" + }, + "key": "RHAI-75015" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-02" + }, + "components": [], + "created": "2026-05-30T12:00:00.000+0000", + "description": "Synthetic onboarding Story delivered without an Epic layer.", + "issuetype": { + "name": "Story" + }, + "labels": [ + "cc75-fx-i10-s3", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75013" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-eng-02" + }, + "resolution": { + "name": "Done" + }, + "status": { + "name": "Closed", + "statusCategory": { + "key": "done" + } + }, + "summary": "[SYNTH] Sparrow runtime team: onboarding cohort 3", + "updated": "2026-06-02T12:00:00.000+0000" + }, + "key": "RHAI-75016" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-03" + }, + "components": [], + "created": "2026-07-24T12:00:00.000+0000", + "description": "Synthetic Epic: api contract and design for Pumice GPU quotas.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i12-rhoaieng-e1", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75015" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHOAIENG" + }, + "reporter": { + "displayName": "synth-pm-04" + }, + "status": { + "name": "In Progress", + "statusCategory": { + "key": "indeterminate" + } + }, + "summary": "[SYNTH] Pumice GPU quotas: API contract and design", + "updated": "2026-07-27T12:00:00.000+0000" + }, + "key": "RHOAIENG-75003" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-03" + }, + "components": [], + "created": "2026-07-24T12:00:00.000+0000", + "description": "Synthetic Epic: core implementation for Pumice GPU quotas.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i12-rhoaieng-e2", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75015" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHOAIENG" + }, + "reporter": { + "displayName": "synth-pm-04" + }, + "status": { + "name": "New", + "statusCategory": { + "key": "new" + } + }, + "summary": "[SYNTH] Pumice GPU quotas: Core implementation", + "updated": "2026-07-27T12:00:00.000+0000" + }, + "key": "RHOAIENG-75004" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-03" + }, + "components": [], + "created": "2026-07-24T12:00:00.000+0000", + "description": "Synthetic Epic: observability and alerts for Pumice GPU quotas.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i12-rhoaieng-e3", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75015" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHOAIENG" + }, + "reporter": { + "displayName": "synth-pm-04" + }, + "status": { + "name": "New", + "statusCategory": { + "key": "new" + } + }, + "summary": "[SYNTH] Pumice GPU quotas: Observability and alerts", + "updated": "2026-07-27T12:00:00.000+0000" + }, + "key": "RHOAIENG-75005" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-04" + }, + "components": [], + "created": "2026-07-04T12:00:00.000+0000", + "description": "Synthetic Epic: api contract and design for Cobalt serving autoscaler.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i13-rhai-e1", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75016" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-02" + }, + "status": { + "name": "In Progress", + "statusCategory": { + "key": "indeterminate" + } + }, + "summary": "[SYNTH] Cobalt serving autoscaler: API contract and design", + "updated": "2026-07-07T12:00:00.000+0000" + }, + "key": "RHAI-75017" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-04" + }, + "components": [], + "created": "2026-07-04T12:00:00.000+0000", + "description": "Synthetic Epic: core implementation for Cobalt serving autoscaler.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i13-rhai-e2", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75016" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-02" + }, + "status": { + "name": "New", + "statusCategory": { + "key": "new" + } + }, + "summary": "[SYNTH] Cobalt serving autoscaler: Core implementation", + "updated": "2026-07-07T12:00:00.000+0000" + }, + "key": "RHAI-75018" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-04" + }, + "components": [], + "created": "2026-07-04T12:00:00.000+0000", + "description": "Synthetic Epic: api contract and design for Cobalt serving autoscaler.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i13-aipcc-e1", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75016" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "AIPCC" + }, + "reporter": { + "displayName": "synth-pm-02" + }, + "status": { + "name": "In Progress", + "statusCategory": { + "key": "indeterminate" + } + }, + "summary": "[SYNTH] Cobalt serving autoscaler: API contract and design", + "updated": "2026-07-07T12:00:00.000+0000" + }, + "key": "AIPCC-75001" + }, + { + "fields": { + "assignee": { + "displayName": "synth-pm-02" + }, + "components": [], + "created": "2026-04-25T12:00:00.000+0000", + "description": "Synthetic Epic: api contract and design for Ironbark multi-cluster rollout.", + "issuelinks": [ + { + "outwardIssue": { + "key": "RHAI-75020" + }, + "type": { + "inward": "is blocked by", + "name": "Blocks", + "outward": "blocks" + } + } + ], + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i14-rhai-e1", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75017" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-02" + }, + "status": { + "name": "In Progress", + "statusCategory": { + "key": "indeterminate" + } + }, + "summary": "[SYNTH] Ironbark multi-cluster rollout: API contract and design", + "updated": "2026-04-28T12:00:00.000+0000" + }, + "key": "RHAI-75019" + }, + { + "fields": { + "assignee": { + "displayName": "synth-pm-02" + }, + "components": [], + "created": "2026-04-25T12:00:00.000+0000", + "description": "Synthetic Epic: core implementation for Ironbark multi-cluster rollout.", + "issuelinks": [ + { + "outwardIssue": { + "key": "RHAI-75021" + }, + "type": { + "inward": "is blocked by", + "name": "Blocks", + "outward": "blocks" + } + } + ], + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i14-rhai-e2", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75017" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-02" + }, + "status": { + "name": "New", + "statusCategory": { + "key": "new" + } + }, + "summary": "[SYNTH] Ironbark multi-cluster rollout: Core implementation", + "updated": "2026-04-28T12:00:00.000+0000" + }, + "key": "RHAI-75020" + }, + { + "fields": { + "assignee": { + "displayName": "synth-pm-02" + }, + "components": [], + "created": "2026-04-25T12:00:00.000+0000", + "description": "Synthetic Epic: observability and alerts for Ironbark multi-cluster rollout.", + "issuelinks": [ + { + "outwardIssue": { + "key": "RHAI-75023" + }, + "type": { + "inward": "is blocked by", + "name": "Blocks", + "outward": "blocks" + } + } + ], + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i14-rhai-e3", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75017" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-02" + }, + "status": { + "name": "New", + "statusCategory": { + "key": "new" + } + }, + "summary": "[SYNTH] Ironbark multi-cluster rollout: Observability and alerts", + "updated": "2026-04-28T12:00:00.000+0000" + }, + "key": "RHAI-75021" + }, + { + "fields": { + "assignee": { + "displayName": "synth-pm-02" + }, + "components": [], + "created": "2026-04-25T12:00:00.000+0000", + "description": "Synthetic Epic: documentation and enablement for Ironbark multi-cluster rollout.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i14-rhai-e4", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75017" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-02" + }, + "status": { + "name": "New", + "statusCategory": { + "key": "new" + } + }, + "summary": "[SYNTH] Ironbark multi-cluster rollout: Documentation and enablement", + "updated": "2026-04-28T12:00:00.000+0000" + }, + "key": "RHAI-75022" + }, + { + "fields": { + "assignee": { + "displayName": "synth-pm-02" + }, + "components": [], + "created": "2026-04-25T12:00:00.000+0000", + "description": "Synthetic Epic: performance and scale testing for Ironbark multi-cluster rollout.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i14-rhai-e5", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75017" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-02" + }, + "status": { + "name": "New", + "statusCategory": { + "key": "new" + } + }, + "summary": "[SYNTH] Ironbark multi-cluster rollout: Performance and scale testing", + "updated": "2026-04-28T12:00:00.000+0000" + }, + "key": "RHAI-75023" + }, + { + "fields": { + "assignee": { + "displayName": "synth-pm-02" + }, + "components": [], + "created": "2026-04-25T12:00:00.000+0000", + "description": "Synthetic Epic: security review for Ironbark multi-cluster rollout.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i14-rhai-e6", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75017" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-02" + }, + "status": { + "name": "New", + "statusCategory": { + "key": "new" + } + }, + "summary": "[SYNTH] Ironbark multi-cluster rollout: Security review", + "updated": "2026-04-28T12:00:00.000+0000" + }, + "key": "RHAI-75024" + }, + { + "fields": { + "assignee": { + "displayName": "synth-pm-02" + }, + "components": [], + "created": "2026-04-25T12:00:00.000+0000", + "description": "Synthetic Epic: upgrade and migration path for Ironbark multi-cluster rollout.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i14-rhai-e7", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75017" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-02" + }, + "status": { + "name": "New", + "statusCategory": { + "key": "new" + } + }, + "summary": "[SYNTH] Ironbark multi-cluster rollout: Upgrade and migration path", + "updated": "2026-04-28T12:00:00.000+0000" + }, + "key": "RHAI-75025" + }, + { + "fields": { + "assignee": { + "displayName": "synth-pm-02" + }, + "components": [], + "created": "2026-04-25T12:00:00.000+0000", + "description": "Synthetic Epic: ci coverage for Ironbark multi-cluster rollout.", + "issuelinks": [ + { + "outwardIssue": { + "key": "RHAI-75027" + }, + "type": { + "inward": "is blocked by", + "name": "Blocks", + "outward": "blocks" + } + } + ], + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i14-rhai-e8", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75017" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-02" + }, + "status": { + "name": "New", + "statusCategory": { + "key": "new" + } + }, + "summary": "[SYNTH] Ironbark multi-cluster rollout: CI coverage", + "updated": "2026-04-28T12:00:00.000+0000" + }, + "key": "RHAI-75026" + }, + { + "fields": { + "assignee": { + "displayName": "synth-pm-02" + }, + "components": [], + "created": "2026-04-25T12:00:00.000+0000", + "description": "Synthetic Epic: console integration for Ironbark multi-cluster rollout.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i14-rhai-e9", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75017" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-02" + }, + "status": { + "name": "New", + "statusCategory": { + "key": "new" + } + }, + "summary": "[SYNTH] Ironbark multi-cluster rollout: Console integration", + "updated": "2026-04-28T12:00:00.000+0000" + }, + "key": "RHAI-75027" + }, + { + "fields": { + "assignee": { + "displayName": "synth-pm-02" + }, + "components": [], + "created": "2026-04-25T12:00:00.000+0000", + "description": "Synthetic Epic: rollout behind a feature flag for Ironbark multi-cluster rollout.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i14-rhai-e10", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75017" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-02" + }, + "status": { + "name": "New", + "statusCategory": { + "key": "new" + } + }, + "summary": "[SYNTH] Ironbark multi-cluster rollout: Rollout behind a feature flag", + "updated": "2026-04-28T12:00:00.000+0000" + }, + "key": "RHAI-75028" + }, + { + "fields": { + "assignee": { + "displayName": "synth-pm-02" + }, + "components": [], + "created": "2026-04-25T12:00:00.000+0000", + "description": "Synthetic Epic: packaging and distribution for Ironbark multi-cluster rollout.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i14-rhai-e11", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75017" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-02" + }, + "status": { + "name": "New", + "statusCategory": { + "key": "new" + } + }, + "summary": "[SYNTH] Ironbark multi-cluster rollout: Packaging and distribution", + "updated": "2026-04-28T12:00:00.000+0000" + }, + "key": "RHAI-75029" + }, + { + "fields": { + "assignee": { + "displayName": "synth-pm-02" + }, + "components": [], + "created": "2026-04-25T12:00:00.000+0000", + "description": "Synthetic Epic: usage telemetry for Ironbark multi-cluster rollout.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i14-rhai-e12", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75017" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-02" + }, + "status": { + "name": "New", + "statusCategory": { + "key": "new" + } + }, + "summary": "[SYNTH] Ironbark multi-cluster rollout: Usage telemetry", + "updated": "2026-04-28T12:00:00.000+0000" + }, + "key": "RHAI-75030" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-01" + }, + "components": [], + "created": "2026-09-27T12:00:00.000+0000", + "description": "Synthetic Epic: api contract and design for Fennel release engineering.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i15-rhai-e1", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75018" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-eng-03" + }, + "status": { + "name": "In Progress", + "statusCategory": { + "key": "indeterminate" + } + }, + "summary": "[SYNTH] Fennel release engineering: API contract and design", + "updated": "2026-09-30T12:00:00.000+0000" + }, + "key": "RHAI-75031" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-01" + }, + "components": [], + "created": "2026-09-27T12:00:00.000+0000", + "description": "Synthetic Epic: core implementation for Fennel release engineering.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i15-rhai-e2", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75018" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-eng-03" + }, + "status": { + "name": "New", + "statusCategory": { + "key": "new" + } + }, + "summary": "[SYNTH] Fennel release engineering: Core implementation", + "updated": "2026-09-30T12:00:00.000+0000" + }, + "key": "RHAI-75032" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-01" + }, + "components": [], + "created": "2026-10-30T12:00:00.000+0000", + "description": "Synthetic Epic: api contract and design for Wren test-failure visibility.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i17-rhai-e1", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75020" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-06" + }, + "status": { + "name": "In Progress", + "statusCategory": { + "key": "indeterminate" + } + }, + "summary": "[SYNTH] Wren test-failure visibility: API contract and design", + "updated": "2026-11-01T12:00:00.000+0000" + }, + "key": "RHAI-75033" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-02" + }, + "components": [], + "created": "2026-10-30T12:00:00.000+0000", + "description": "Synthetic Epic: api contract and design for Wren flaky-test quarantine.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i18-rhai-e1", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75021" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-06" + }, + "status": { + "name": "In Progress", + "statusCategory": { + "key": "indeterminate" + } + }, + "summary": "[SYNTH] Wren flaky-test quarantine: API contract and design", + "updated": "2026-11-01T12:00:00.000+0000" + }, + "key": "RHAI-75034" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-02" + }, + "components": [], + "created": "2026-10-30T12:00:00.000+0000", + "description": "Synthetic Epic: core implementation for Wren flaky-test quarantine.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i18-rhai-e2", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75021" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-06" + }, + "status": { + "name": "New", + "statusCategory": { + "key": "new" + } + }, + "summary": "[SYNTH] Wren flaky-test quarantine: Core implementation", + "updated": "2026-11-01T12:00:00.000+0000" + }, + "key": "RHAI-75035" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-04" + }, + "components": [], + "created": "2026-10-30T12:00:00.000+0000", + "description": "Synthetic Epic: api contract and design for Wren CI cost reporting.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i19-rhai-e1", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75022" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-06" + }, + "status": { + "name": "In Progress", + "statusCategory": { + "key": "indeterminate" + } + }, + "summary": "[SYNTH] Wren CI cost reporting: API contract and design", + "updated": "2026-11-01T12:00:00.000+0000" + }, + "key": "RHAI-75036" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-03" + }, + "components": [], + "created": "2026-04-15T12:00:00.000+0000", + "description": "Synthetic Epic: api contract and design for Slate audit logging.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i21-rhai-e1", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75024" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-05" + }, + "resolution": { + "name": "Done" + }, + "status": { + "name": "Closed", + "statusCategory": { + "key": "done" + } + }, + "summary": "[SYNTH] Slate audit logging: API contract and design", + "updated": "2026-04-18T12:00:00.000+0000" + }, + "key": "RHAI-75037" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-03" + }, + "components": [], + "created": "2026-04-15T12:00:00.000+0000", + "description": "Synthetic Epic: core implementation for Slate audit logging.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i21-rhai-e2", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75024" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-05" + }, + "resolution": { + "name": "Done" + }, + "status": { + "name": "Closed", + "statusCategory": { + "key": "done" + } + }, + "summary": "[SYNTH] Slate audit logging: Core implementation", + "updated": "2026-04-18T12:00:00.000+0000" + }, + "key": "RHAI-75038" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-03" + }, + "components": [], + "created": "2026-04-15T12:00:00.000+0000", + "description": "Synthetic Epic: observability and alerts for Slate audit logging.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i21-rhai-e3", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75024" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-05" + }, + "resolution": { + "name": "Done" + }, + "status": { + "name": "Closed", + "statusCategory": { + "key": "done" + } + }, + "summary": "[SYNTH] Slate audit logging: Observability and alerts", + "updated": "2026-04-18T12:00:00.000+0000" + }, + "key": "RHAI-75039" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-03" + }, + "components": [], + "created": "2026-06-24T12:00:00.000+0000", + "description": "Synthetic Epic: api contract and design for Alder secrets rotation.", + "issuelinks": [ + { + "outwardIssue": { + "key": "RHAI-75041" + }, + "type": { + "inward": "is blocked by", + "name": "Blocks", + "outward": "blocks" + } + } + ], + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i23-rhai-e1", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75026" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-01" + }, + "status": { + "name": "In Progress", + "statusCategory": { + "key": "indeterminate" + } + }, + "summary": "[SYNTH] Alder secrets rotation: API contract and design", + "updated": "2026-06-27T12:00:00.000+0000" + }, + "key": "RHAI-75040" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-03" + }, + "components": [], + "created": "2026-06-24T12:00:00.000+0000", + "description": "Synthetic Epic: core implementation for Alder secrets rotation.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i23-rhai-e2", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75026" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-01" + }, + "status": { + "name": "New", + "statusCategory": { + "key": "new" + } + }, + "summary": "[SYNTH] Alder secrets rotation: Core implementation", + "updated": "2026-06-27T12:00:00.000+0000" + }, + "key": "RHAI-75041" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-03" + }, + "components": [], + "created": "2026-06-24T12:00:00.000+0000", + "description": "Synthetic Epic: observability and alerts for Alder secrets rotation.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i23-rhai-e3", + "cc75-synthetic" + ], + "parent": { + "key": "RHAISTRAT-75026" + }, + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-01" + }, + "status": { + "name": "New", + "statusCategory": { + "key": "new" + } + }, + "summary": "[SYNTH] Alder secrets rotation: Observability and alerts", + "updated": "2026-06-27T12:00:00.000+0000" + }, + "key": "RHAI-75042" + }, + { + "fields": { + "assignee": { + "displayName": "synth-eng-04" + }, + "components": [], + "created": "2026-05-25T12:00:00.000+0000", + "description": "Synthetic Epic linked by a legacy Incorporates link, with no parent.", + "issuetype": { + "name": "Epic" + }, + "labels": [ + "cc75-fx-i24-legacy", + "cc75-synthetic" + ], + "priority": { + "name": "Major" + }, + "project": { + "key": "RHAI" + }, + "reporter": { + "displayName": "synth-pm-03" + }, + "status": { + "name": "In Progress", + "statusCategory": { + "key": "indeterminate" + } + }, + "summary": "[SYNTH] Osprey SBOM publication: legacy decomposition", + "updated": "2026-05-28T12:00:00.000+0000" + }, + "key": "RHAI-75043" + } + ] +} diff --git a/var/demos/initiatives/generated/strategies/RHAISTRAT-75025-strategy.md b/var/demos/initiatives/generated/strategies/RHAISTRAT-75025-strategy.md new file mode 100644 index 0000000..76d5b8c --- /dev/null +++ b/var/demos/initiatives/generated/strategies/RHAISTRAT-75025-strategy.md @@ -0,0 +1,69 @@ +## Strategy (AI Generated by Agentic SDLC Pipeline) + +### TL;DR + +Ship a default-deny network policy baseline for every workload namespace the platform creates, with an allow list generated from each component's declared service graph, and an audit-only rollout mode before enforcement. + +### Technical Approach + +#### 1. Baseline policy set + +The platform operator installs a default-deny ingress and egress NetworkPolicy plus DNS and API-server allowances into each managed namespace. + +#### 2. Generated allow lists + +Each component declares its peers in a manifest annotation; a controller renders allow policies from those declarations and reconciles drift. + +#### 3. Audit-only mode + +A per-namespace mode label switches the baseline to log-only so teams can review would-be denials before enforcement. + +#### 4. Dashboard and alerts + +Denied-flow counters are exported as metrics and surfaced on the existing platform dashboard, with an alert for sustained denials after enforcement. + +### Affected Components + +- synth-networking (controller, policy templates) +- synth-security (review of the baseline set) +- synth-dashboard (denial panels) + +### High Level Requirements + +- HLR-1: Install the default-deny baseline into every managed namespace on creation and upgrade. +- HLR-2: Render allow policies from component peer declarations and reconcile drift within 5 minutes. +- HLR-3: Provide an audit-only mode per namespace, with denials logged but not enforced. +- HLR-4: Export denied-flow metrics and add dashboard panels and one alert rule. +- HLR-5: Document the peer declaration format and the migration from audit-only to enforce. + +### Dependencies + +- The cluster CNI must support NetworkPolicy logging (verified on the reference CNI). + +### Non-Functional Requirements + +- No measurable latency regression on the platform's reference workloads. + +### Acceptance Criteria (Proposed — requires PM/Engineering validation) + +- HLR-1 is demonstrated in the release candidate. +- HLR-2 is demonstrated in the release candidate. +- HLR-3 is demonstrated in the release candidate. +- HLR-4 is demonstrated in the release candidate. +- HLR-5 is demonstrated in the release candidate. + +### Effort Estimate + +M (one to two sprints for two teams). + +### Risks + +- Undeclared peers in older components cause denials at enforcement; mitigated by the audit-only phase and a pre-enforcement report. + +### Open Questions + +- None blocking. + +## Staff Engineer / SME Input + +*Add technical corrections, architectural direction, component preferences, or domain expertise below. Write in declarative, cumulative form — statements that remain valid across refinement iterations. This input takes priority over architecture context when they conflict. After review: address findings, then remove the needs-attention label from Jira.* diff --git a/var/demos/initiatives/generated/strategies/RHAISTRAT-75026-strategy.md b/var/demos/initiatives/generated/strategies/RHAISTRAT-75026-strategy.md new file mode 100644 index 0000000..edb806a --- /dev/null +++ b/var/demos/initiatives/generated/strategies/RHAISTRAT-75026-strategy.md @@ -0,0 +1,62 @@ +## Strategy (AI Generated by Agentic SDLC Pipeline) + +### TL;DR + +Rotate platform service credentials automatically on a schedule and on demand, with dual-validity windows so services never see a hard cut-over. + +### Technical Approach + +#### 1. Rotation controller + +A controller owns rotation for secrets labelled for management and writes the new version alongside the old one. + +#### 2. Dual-validity window + +Consumers accept both versions for a configurable window; the old version is revoked when every consumer reports the new one. + +#### 3. On-demand rotation + +Operators trigger an immediate rotation through a custom resource, for incident response. + +### Affected Components + +- synth-security (rotation controller) +- platform services consuming managed secrets + +### High Level Requirements + +- HLR-1: Rotate managed secrets on a schedule with a configurable period. +- HLR-2: Keep the previous version valid until every consumer reports the new one. +- HLR-3: Support on-demand rotation through a custom resource. +- HLR-4: Record every rotation in the audit log. + +### Dependencies + +- Consumers must reload credentials without a restart, or tolerate a rolling restart. + +### Non-Functional Requirements + +- No measurable latency regression on the platform's reference workloads. + +### Acceptance Criteria (Proposed — requires PM/Engineering validation) + +- HLR-1 is demonstrated in the release candidate. +- HLR-2 is demonstrated in the release candidate. +- HLR-3 is demonstrated in the release candidate. +- HLR-4 is demonstrated in the release candidate. + +### Effort Estimate + +M (one to two sprints for two teams). + +### Risks + +- A consumer that never reports the new version blocks revocation; a maximum window forces revocation and raises an alert. + +### Open Questions + +- None blocking. + +## Staff Engineer / SME Input + +*Add technical corrections, architectural direction, component preferences, or domain expertise below. Write in declarative, cumulative form — statements that remain valid across refinement iterations. This input takes priority over architecture context when they conflict. After review: address findings, then remove the needs-attention label from Jira.* diff --git a/var/demos/initiatives/generated/strategies/RHAISTRAT-75027-strategy.md b/var/demos/initiatives/generated/strategies/RHAISTRAT-75027-strategy.md new file mode 100644 index 0000000..9a31cbc --- /dev/null +++ b/var/demos/initiatives/generated/strategies/RHAISTRAT-75027-strategy.md @@ -0,0 +1,62 @@ +## Strategy (AI Generated by Agentic SDLC Pipeline) + +### TL;DR + +Generate and publish an SBOM for every shipped image at build time, attach it to the image as a signed attestation, and expose it through the product's documentation index. + +### Technical Approach + +#### 1. Build-time generation + +The image build pipeline generates an SPDX SBOM per image and stores it next to the build record. + +#### 2. Signed attestation + +The SBOM is attached to the image digest as a signed attestation, verifiable with the published public key. + +#### 3. Publication index + +A per-release index lists every image digest with a link to its SBOM. + +### Affected Components + +- synth-images (build pipeline, attestation) +- release documentation index + +### High Level Requirements + +- HLR-1: Generate an SPDX SBOM for every shipped image at build time. +- HLR-2: Attach the SBOM to the image digest as a signed attestation. +- HLR-3: Publish a per-release index of digests and SBOM links. +- HLR-4: Fail the release gate when an image lacks a verified SBOM. + +### Dependencies + +- The build system must expose the final image digest to the generation step. + +### Non-Functional Requirements + +- No measurable latency regression on the platform's reference workloads. + +### Acceptance Criteria (Proposed — requires PM/Engineering validation) + +- HLR-1 is demonstrated in the release candidate. +- HLR-2 is demonstrated in the release candidate. +- HLR-3 is demonstrated in the release candidate. +- HLR-4 is demonstrated in the release candidate. + +### Effort Estimate + +M (one to two sprints for two teams). + +### Risks + +- SBOM generation adds build time; generation runs in parallel with image scanning. + +### Open Questions + +- None blocking. + +## Staff Engineer / SME Input + +*Add technical corrections, architectural direction, component preferences, or domain expertise below. Write in declarative, cumulative form — statements that remain valid across refinement iterations. This input takes priority over architecture context when they conflict. After review: address findings, then remove the needs-attention label from Jira.* diff --git a/var/demos/initiatives/patches/strat-creator/0001-raw-base.py b/var/demos/initiatives/patches/strat-creator/0001-raw-base.py new file mode 100644 index 0000000..38ab7f8 --- /dev/null +++ b/var/demos/initiatives/patches/strat-creator/0001-raw-base.py @@ -0,0 +1,62 @@ +#!/usr/bin/env python3 +"""CC-75 emulator transformation for strat-creator (mirror branch only). + +Kind: upstream-proposal (strat-creator: STRAT_CREATOR_RAW_BASE for GitHub Enterprise or mirrors; public GitHub stays the default) + +.fullsend/ci/fullsend-config.py hard-codes public GitHub: STRAT_CREATOR_REPO must +be https://github.com//strat-creator.git and agent sources are rewritten to +raw.githubusercontent.com. Add an opt-in STRAT_CREATOR_RAW_BASE for a same-host +GitHub Enterprise-style raw endpoint (//strat-creator/raw), used by +the breadboard GitHub emulator. Without the variable, behaviour is unchanged. +Usage: 0001-raw-base.py +""" +import sys +from pathlib import Path + +path = Path(sys.argv[1]) / ".fullsend/ci/fullsend-config.py" +text = path.read_text() + + +def replace_once(old, new): + global text + count = text.count(old) + if count != 1: + raise SystemExit(f"{path}: expected one occurrence, found {count}: {old[:70]!r}") + text = text.replace(old, new) + + +HELPER = ''' + +def raw_prefix(repository, env): + """Raw-content prefix of the strat-creator repository. + + Public GitHub by default. STRAT_CREATOR_RAW_BASE (opt-in; GitHub Enterprise + or an emulator) names //strat-creator/raw for a same-host + STRAT_CREATOR_REPO of https:////strat-creator.git. + """ + raw = env.get("STRAT_CREATOR_RAW_BASE", "").rstrip("/") + if raw: + match = re.fullmatch(r"(https://[A-Za-z0-9.-]+(?::[0-9]+)?)/([A-Za-z0-9_.-]+)/strat-creator[.]git", repository) + if not match or raw != f"{match.group(1)}/{match.group(2)}/strat-creator/raw": + raise ValueError("STRAT_CREATOR_RAW_BASE must be //strat-creator/raw of STRAT_CREATOR_REPO") + return raw + if not re.fullmatch(r"https://github[.]com/[A-Za-z0-9_.-]+/strat-creator[.]git", repository): + raise ValueError("STRAT_CREATOR_REPO must name a public GitHub strat-creator repository") + return repository.removesuffix(".git").replace("https://github.com/", "https://raw.githubusercontent.com/") +''' +replace_once("\n\ndef verify_consumer(", HELPER + "\n\ndef verify_consumer(") +replace_once( + ''' if not re.fullmatch(r"https://github[.]com/[A-Za-z0-9_.-]+/strat-creator[.]git", repository): + raise ValueError("STRAT_CREATOR_REPO must name a public GitHub strat-creator repository") + prefix = repository.removesuffix(".git").replace("https://github.com/", "https://raw.githubusercontent.com/") +''', + " prefix = raw_prefix(repository, env)\n", +) +replace_once( + ''' prefix = record["repository"].removesuffix(".git").replace("https://github.com/", "https://raw.githubusercontent.com/") +''', + ''' prefix = raw_prefix(record["repository"], env) +''', +) +path.write_text(text) +print("strat-creator 0001-raw-base: applied") diff --git a/var/demos/initiatives/patches/strat-creator/0002-local-harness.py b/var/demos/initiatives/patches/strat-creator/0002-local-harness.py new file mode 100644 index 0000000..97bc08a --- /dev/null +++ b/var/demos/initiatives/patches/strat-creator/0002-local-harness.py @@ -0,0 +1,34 @@ +#!/usr/bin/env python3 +"""CC-75: register the verified local harness copies when STRAT_CREATOR_RAW_BASE is set. + +Kind: emulator-gap (Fullsend 0.55.0 fetches harnesses only from github.com/raw.githubusercontent.com and refuses internal hosts; a configurable allowlist in Fullsend would retire this) + +Fullsend 0.55.0 fetches URL agent sources only from github.com and +raw.githubusercontent.com, and refuses hosts that resolve to internal +addresses (internal/fetch/fetch.go DefaultPolicy), so it cannot fetch a +harness from an in-cluster emulator. It does accept a relative local path +inside the --fullsend-dir (internal/harness/registry.go +containedRegisteredPath). materialize_runtime already copies .fullsend from the +verified checkout of STRAT_CREATOR_REF into that directory, so in emulator mode +register /.yaml instead of a raw URL. Same commit, same bytes; +without STRAT_CREATOR_RAW_BASE the public URL behaviour is unchanged. +Usage: 0002-local-harness.py +""" +import sys +from pathlib import Path + +path = Path(sys.argv[1]) / ".fullsend/ci/fullsend-config.py" +text = path.read_text() +OLD = ''' entry["source"] = f"{prefix}/{record['commit']}/.fullsend/{name}/{name}.yaml#sha256={digest}" +''' +NEW = ''' if env.get("STRAT_CREATOR_RAW_BASE"): + # Emulator mode (CC-75): Fullsend refuses internal hosts, so use the + # verified local copy of the same commit (copied above). + entry["source"] = f"{name}/{name}.yaml" + else: + entry["source"] = f"{prefix}/{record['commit']}/.fullsend/{name}/{name}.yaml#sha256={digest}" +''' +if text.count(OLD) != 1: + raise SystemExit(f"{path}: expected one materialize_runtime source line") +path.write_text(text.replace(OLD, NEW)) +print("strat-creator 0002-local-harness: applied") diff --git a/var/demos/initiatives/patches/strat-creator/0003-relay-provider.py b/var/demos/initiatives/patches/strat-creator/0003-relay-provider.py new file mode 100644 index 0000000..0e5711c --- /dev/null +++ b/var/demos/initiatives/patches/strat-creator/0003-relay-provider.py @@ -0,0 +1,103 @@ +#!/usr/bin/env python3 +"""CC-75: Model Relay as an OpenShell provider; Jira as production does it (mirror branch only). + +Kind: model-relay (OpenShell provider and profile for Model Relay; Jira kept on production's opaque tunnel) + +Port of the proven corsair recipe in var/demos/fullsend-claude-workflow/ci/configure.py +(Fullsend 0.47.1) to strat-creator #124 on Fullsend 0.55.0: + + - providers/ + profiles/ for `model-relay` (ANTHROPIC_API_KEY <- ${CC75_RELAY_API_KEY}). + OpenShell holds the key; the agent sees a placeholder. The profile allows the + relay ingress only, TLS terminated, GET /v1/models and POST /v1/messages[...]. + Fullsend 0.55 loads providers from /providers. + - strat-single/batch/resume: host_files = only the CA bundle (no Google + credential, no Vertex env file); providers [model-relay]; Messages API mode + against the relay (CLAUDE_CODE_USE_VERTEX=0); STRAT_EXTRA_CA_FILE for the Jira + client (Fullsend reserves SSL_CERT_FILE; see 0005). + - Jira stays on production's own design (shared/policy.yaml: opaque `tls: skip` + tunnel; "the repository's Python Jira client verifies the server certificate + itself and sends JIRA_TOKEN"): add the in-cluster Jira emulator as one more + opaque endpoint and keep JIRA_TOKEN in env.sandbox. The corsair recipe's + TLS-terminating Jira provider fails here (CERTIFICATE_VERIFY_FAILED against the + proxy certificate; S6 rerun, job 40). + +Hosts: the relay's TLS ingress (relay-api.; the in-cluster relay port is +plain HTTP) and the Jira emulator's canonical URL jira. (cluster DNS +rewrites it to the TLS ingress), which matches JIRA_SERVER on host and sandbox. +It must be the canonical URL, as redhat.atlassian.net is in production: the +emulator returns attachment content URLs on its BASE_URL, and the live push +reads its attachment back (S7a, job 50: the in-cluster name was refused). The proxy verifies the relay with the CA baked +into the derived sandbox image (0004). +Usage: 0003-relay-jira-providers.py [domain] +""" +import sys +from pathlib import Path + +import yaml + +root = Path(sys.argv[1]) / ".fullsend" +domain = sys.argv[2] if len(sys.argv) > 2 else "w530.local" +RELAY_HOST = f"relay-api.{domain}" +JIRA_HOST = f"jira.{domain}" +AGENTS = ("strat-single", "strat-batch", "strat-resume") +MODEL_KEYS = ("ANTHROPIC_MODEL", "CLAUDE_CODE_SUBAGENT_MODEL", "ANTHROPIC_DEFAULT_OPUS_MODEL", + "ANTHROPIC_DEFAULT_SONNET_MODEL", "ANTHROPIC_DEFAULT_HAIKU_MODEL", "ANTHROPIC_DEFAULT_FABLE_MODEL") + +definitions = ( + ("model-relay", "local-model-relay", "ANTHROPIC_API_KEY", "CC75_RELAY_API_KEY", RELAY_HOST, + ["**/claude", "**/node", "**/python3*", "/usr/lib/node_modules/@anthropic-ai/claude-code/bin/claude.exe"], + [{"allow": {"method": "GET", "path": "/v1/models"}}, + {"allow": {"method": "POST", "path": "/v1/messages"}}, + {"allow": {"method": "POST", "path": "/v1/messages/count_tokens"}}]), +) +(root / "profiles").mkdir(exist_ok=True) +(root / "providers").mkdir(exist_ok=True) +for name, profile_id, env, source_env, host, binaries, rules in definitions: + profile = {"id": profile_id, "display_name": name, + "category": "inference" if name == "model-relay" else "data", + "credentials": [{"name": env, "env_vars": [env], "required": True}], + "endpoints": [{"host": host, "port": 443, "protocol": "rest", + "enforcement": "enforce", "rules": rules}], + "binaries": binaries} + (root / "profiles" / f"{name}.yaml").write_text(yaml.safe_dump(profile, sort_keys=False)) + (root / "providers" / f"{name}.yaml").write_text(yaml.safe_dump( + {"name": name, "type": profile_id, "credentials": {env: "${" + source_env + "}"}}, sort_keys=False)) + +for agent in AGENTS: + path = root / agent / f"{agent}.yaml" + h = yaml.safe_load(path.read_text()) + model = h["model"] + # No raw Google credential or Vertex env file; only the emulator CA for the Jira client. + h["host_files"] = [{"src": "${CC75_SANDBOX_CA}", "dest": "/tmp/.cc75-ca.pem"}] + h["providers"] = ["model-relay"] + h["openshell"] = {"profiles": ["profiles/model-relay.yaml"]} + sandbox = h["env"]["sandbox"] + sandbox.update({ + "STRAT_EXTRA_CA_FILE": "/tmp/.cc75-ca.pem", + "ANTHROPIC_BASE_URL": f"https://{RELAY_HOST}", + "CLAUDE_CODE_USE_VERTEX": "0", + "CLAUDE_CODE_USE_BEDROCK": "0", + "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1", + "CLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY": "1", + "ANTHROPIC_CUSTOM_HEADERS": "x-shim-run-id: ${STRAT_RUN_ID}", + }) + for key in MODEL_KEYS: + sandbox[key] = model + path.write_text(yaml.safe_dump(h, sort_keys=False)) + +policy_file = root / "shared/policy.yaml" +text = policy_file.read_text() +if not text.rstrip().splitlines()[-1].startswith(" - path:"): + raise SystemExit(f"{policy_file}: unexpected tail; review the patch") +policy_file.write_text(text.rstrip("\n") + f""" + # CC-75 emulator mirror only: the in-cluster Jira emulator, as production treats Jira. + cc75_jira_emulator: + name: cc75-jira-emulator + endpoints: + - host: {JIRA_HOST} + port: 443 + tls: skip + binaries: + - path: '**/python3*' +""") +print(f"strat-creator 0003-relay-provider: applied (relay provider {RELAY_HOST}; Jira opaque tunnel {JIRA_HOST})") diff --git a/var/demos/initiatives/patches/strat-creator/0004-sandbox-ca-image.py b/var/demos/initiatives/patches/strat-creator/0004-sandbox-ca-image.py new file mode 100644 index 0000000..f69ddf1 --- /dev/null +++ b/var/demos/initiatives/patches/strat-creator/0004-sandbox-ca-image.py @@ -0,0 +1,42 @@ +#!/usr/bin/env python3 +"""CC-75: add the emulator CA to the per-job sandbox image (mirror branch only). + +Kind: environment (the emulators' private CA baked into the per-job sandbox image) + +The corsair recipe (var/demos/fullsend-claude-workflow/ci/Containerfile) put the +public roots plus the local CA at /etc/ssl/certs/ca-certificates.crt in a derived +sandbox image, so OpenShell's TLS-terminating provider endpoints can verify the +relay ingress and the Jira emulator. strat-creator's job-owned gateway wrapper +builds the sandbox image from .fullsend/ci; when CC75_SANDBOX_CA (built by +strat-pipeline patch 0001) names a readable bundle, build from a private copy of +that context with the bundle added. The verified .fullsend checkout is untouched. +Usage: 0004-sandbox-ca-image.py +""" +import sys +from pathlib import Path + +path = Path(sys.argv[1]) / ".fullsend/ci/with-fullsend-gateway.sh" +text = path.read_text() +OLD = '''podman --url "unix://$SOCKET" build --quiet --pull=never \\ + --build-arg "BASE_IMAGE=$FULLSEND_BASE_IMAGE" --tag "$FULLSEND_SANDBOX_IMAGE" \\ + --file "${BASH_SOURCE[0]%/*}/fullsend-sandbox.Containerfile" \\ + "${BASH_SOURCE[0]%/*}" >"$FULLSEND_OUTPUT_DIR/sandbox-build.log" 2>&1 +''' +NEW = '''BUILD_CTX="${BASH_SOURCE[0]%/*}" +if [[ -n "${CC75_SANDBOX_CA:-}" && -r "$CC75_SANDBOX_CA" ]]; then + # CC-75 emulator mirror: public roots plus the local emulator CA in the image. + BUILD_CTX="$STRAT_PRIVATE_DIR/gateway/sandbox-context" + mkdir -p "$BUILD_CTX" + cp "${BASH_SOURCE[0]%/*}/fullsend-sandbox.Containerfile" "$BUILD_CTX/" + cp "$CC75_SANDBOX_CA" "$BUILD_CTX/ca-bundle.pem" + printf '\\nUSER root\\nCOPY ca-bundle.pem /etc/ssl/certs/ca-certificates.crt\\n' >>"$BUILD_CTX/fullsend-sandbox.Containerfile" +fi +podman --url "unix://$SOCKET" build --quiet --pull=never \\ + --build-arg "BASE_IMAGE=$FULLSEND_BASE_IMAGE" --tag "$FULLSEND_SANDBOX_IMAGE" \\ + --file "$BUILD_CTX/fullsend-sandbox.Containerfile" \\ + "$BUILD_CTX" >"$FULLSEND_OUTPUT_DIR/sandbox-build.log" 2>&1 +''' +if text.count(OLD) != 1: + raise SystemExit(f"{path}: expected one sandbox build command") +path.write_text(text.replace(OLD, NEW)) +print("strat-creator 0004-sandbox-ca-image: applied") diff --git a/var/demos/initiatives/patches/strat-creator/0005-jira-extra-ca.py b/var/demos/initiatives/patches/strat-creator/0005-jira-extra-ca.py new file mode 100644 index 0000000..d56a61e --- /dev/null +++ b/var/demos/initiatives/patches/strat-creator/0005-jira-extra-ca.py @@ -0,0 +1,33 @@ +#!/usr/bin/env python3 +"""CC-75: let the Jira client trust an extra CA through STRAT_EXTRA_CA_FILE (mirror branch only). + +Kind: upstream-proposal (strat-creator: STRAT_EXTRA_CA_FILE lets the Jira client trust a private CA; SSL_CERT_FILE is reserved in Fullsend env.sandbox) + +Fullsend 0.55.0 drops SSL_CERT_FILE from a harness's env.sandbox ("reserved: +runner infrastructure or security deny-list"), so the sandboxed Python Jira +client cannot be pointed at the emulator CA that way. scripts/jira_utils.py +builds the one TLS context every Jira call uses (fetch_issue.py imports it); +load an additional CA file from the non-reserved STRAT_EXTRA_CA_FILE when set. +Unset (the public default), behaviour is unchanged. +Usage: 0005-jira-extra-ca.py +""" +import sys +from pathlib import Path + +path = Path(sys.argv[1]) / "scripts/jira_utils.py" +text = path.read_text() +OLD = """ssl_ctx = ssl.create_default_context() +try: + import certifi + ssl_ctx.load_verify_locations(certifi.where()) +except (ImportError, OSError): + pass +""" +NEW = OLD + """# CC-75 emulator mirror: an extra trusted CA (e.g. a local Jira emulator's). +if os.environ.get("STRAT_EXTRA_CA_FILE"): + ssl_ctx.load_verify_locations(os.environ["STRAT_EXTRA_CA_FILE"]) +""" +if text.count(OLD) != 1: + raise SystemExit(f"{path}: expected one ssl_ctx block") +path.write_text(text.replace(OLD, NEW)) +print("strat-creator 0005-jira-extra-ca: applied") diff --git a/var/demos/initiatives/patches/strat-creator/0006-results-base.py b/var/demos/initiatives/patches/strat-creator/0006-results-base.py new file mode 100644 index 0000000..e1f65cd --- /dev/null +++ b/var/demos/initiatives/patches/strat-creator/0006-results-base.py @@ -0,0 +1,27 @@ +#!/usr/bin/env python3 +"""CC-75: an opt-in Git base for the results repository (mirror branch only). + +Kind: upstream-proposal (strat-creator: STRAT_RESULTS_GIT_BASE instead of the hard-coded gitlab.com results remote) + +.fullsend/ci/run-fullsend.sh hard-codes the results remote as +https://gitlab.com/$RESULTS_REPO.git. On the breadboard mirror a live run must +publish to the GitLab emulator instead, so read the base from +STRAT_RESULTS_GIT_BASE (an https origin, no path or credentials). Unset (the +public default), behaviour is unchanged. +Usage: 0006-results-base.py +""" +import sys +from pathlib import Path + +path = Path(sys.argv[1]) / ".fullsend/ci/run-fullsend.sh" +text = path.read_text() +OLD = ' export RESULTS_REPO_URL="https://gitlab.com/$RESULTS_REPO.git"\n' +NEW = ''' # CC-75 emulator mirror: STRAT_RESULTS_GIT_BASE names another GitLab (e.g. an emulator). + results_base="${STRAT_RESULTS_GIT_BASE:-https://gitlab.com}" + [[ "$results_base" =~ ^https://[A-Za-z0-9.-]+(:[0-9]+)?$ ]] || { echo 'STRAT_RESULTS_GIT_BASE must be an https origin' >&2; exit 2; } + export RESULTS_REPO_URL="$results_base/$RESULTS_REPO.git" +''' +if text.count(OLD) != 1: + raise SystemExit(f"{path}: expected one RESULTS_REPO_URL export") +path.write_text(text.replace(OLD, NEW)) +print("strat-creator 0006-results-base: applied") diff --git a/var/demos/initiatives/pipeline-manifest.json b/var/demos/initiatives/pipeline-manifest.json new file mode 100644 index 0000000..e231cf6 --- /dev/null +++ b/var/demos/initiatives/pipeline-manifest.json @@ -0,0 +1,98 @@ +{ + "version": 1, + "projects": { + "strat-pipeline": { + "project": "redhat/rhel-ai/agentic-ci/strat-pipeline", + "project_id": 4, + "source_commit": "154d7db0031baf49aac380fba1473bff1471af87", + "excluded": [ + "execution-logs" + ], + "patches": [ + "private-patches/strat-pipeline/0001-emulator-runtime.py" + ], + "adapted_commit": "6d9a6f1abc0a01e556fd19cf38e77deff8fa5601", + "branches": { + "cc75-live": { + "commit": "331d908dfef9c1c70f750cfa732ae8e3e20ecddc", + "patches": [ + "private-patches/strat-pipeline-live/0001-emulator-live-cutover.py" + ] + } + } + }, + "strat-dashboard": { + "project": "redhat/rhel-ai/agentic-ci/strat-dashboard", + "project_id": 5, + "source_commit": "2fffc0e53e54e3d920e766d1cae007288bfd91a2", + "excluded": [], + "patches": [], + "adapted_commit": "41f15c5f34087a3bea115aa8bf993182cd4b4064" + }, + "rfe-autofixer": { + "project": "redhat/rhel-ai/agentic-ci/rfe-autofixer", + "project_id": 6, + "source_commit": "fd8fb4edf8f535fd56098400de6d9e7afeeaa001", + "source_ref": "mr-43", + "excluded": [], + "patches": [ + { + "path": "private-patches/rfe-autofixer/0001-push-results-url.py", + "kind": "upstream-proposal" + }, + { + "path": "private-patches/rfe-autofixer/0002-permissions-probe-emulator.py", + "kind": "emulator-gap" + }, + { + "path": "private-patches/rfe-autofixer/0003-w530-images.py", + "kind": "environment" + }, + { + "path": "private-patches/rfe-autofixer/0004-runner-model-relay.py", + "kind": "model-relay" + }, + { + "path": "private-patches/rfe-autofixer/0005-runner-environment.py", + "kind": "environment" + }, + { + "path": "private-patches/rfe-autofixer/0006-flatten-references.py", + "kind": "emulator-gap" + }, + { + "path": "private-patches/rfe-autofixer/0007-sandbox-endpoints.py", + "kind": "environment" + } + ], + "adapted_commit": "c7c7c2fee235f6572f3bad23ec442e6db1663566" + }, + "epic-decomposer": { + "project": "redhat/rhel-ai/agentic-ci/epic-decomposer", + "project_id": 7, + "source_commit": "40acdf061e2e4d218c809bc0a842d66e2c8717ff", + "excluded": [], + "patches": [ + "private-patches/epic-decomposer/0001-emulator-relay.py", + "private-patches/epic-decomposer/0002-flatten-references.py" + ], + "adapted_commit": "3a28e67cce7ccf2145e7a358166935ec46f374aa" + }, + "strat-pipeline-data": { + "project": "redhat/rhel-ai/agentic-ci/strat-pipeline-data", + "project_id": 8, + "adapted_commit": "e764d7586f3a01065d65fd1c977d62ad2959b3db" + }, + "rfe-autofixer-results": { + "project": "redhat/rhel-ai/agentic-ci/rfe-autofixer-results", + "project_id": 9, + "adapted_commit": "467936b0391279543bfcc9585a01a613f639b709" + }, + "epic-decomposer-dashboard": { + "project": "redhat/rhel-ai/agentic-ci/epic-decomposer-dashboard", + "project_id": 15, + "adapted_commit": "8ae04a52152e96287c65cfa2b25477fbbfd3e78f" + } + }, + "published_at": "2026-11-17T00:00:01.495682+00:00" +} diff --git a/var/demos/initiatives/recording/README.md b/var/demos/initiatives/recording/README.md new file mode 100644 index 0000000..35a24d2 --- /dev/null +++ b/var/demos/initiatives/recording/README.md @@ -0,0 +1,229 @@ +# Recording the Initiatives demo as a video + +This directory records the [Initiatives demo](../demo-script.md) as a captioned, +narrated video. The first recording was made on 2026-11-18 against the w530 +stack. It follows one Initiative from opt-in, through autofix, a strategy, human +sign-off and decomposition, to its Epics. Everything shown is a real run of the +production pipeline definitions against the emulators. Waits for agents are +fast-forwarded; nothing is mocked or re-enacted. + +| File | Purpose | +| --- | --- | +| `record.mjs` | Drives the demo and records it: browser, captions, pipeline steps and encoding | +| `clips.mjs` | Films extra shots after a run, from the run's end state | +| `narrate.py` | Adds spoken narration, using Kokoro text-to-speech offline | + +Videos, frames and the speech model are large, so they stay out of git. Keep +them under `~/.cache/initiative-video/`. + +## How it works + +```text + this machine stack host (w530) + ──────────── ───────────────── + record.mjs ──── headless Chrome ──HTTPS──▶ Jira and GitLab emulator UIs + │ │ CDP screencast frames + │ ▼ + │ frames/*.jpg + timestamps + │ + └──── ssh ──▶ scripts/demo.py optin|autofix|live|signoff|decompose + (the same commands as the demo script; model calls go + through Model Relay on the stack) +``` + +- **The browser is a viewer only.** Chrome runs on the recording machine and + opens the emulator UIs. Each state change is made with + [`demo.py`](../scripts/demo.py) over SSH: labels through the Jira API, and + pipeline runs through the GitLab API. Labels aren't set through the Jira edit + form because saving that form converts the description's line endings to + CRLF, which changes the text the agents read. The command and its output + appear in a terminal card at the top right, so viewers can see what was run. +- **Frames come from the Chrome DevTools Protocol (CDP).** `record.mjs` uses + `Page.startScreencast`, which delivers a JPEG each time the page changes, + with a timestamp. It doesn't use Playwright's `recordVideo` because that + needs Playwright's bundled ffmpeg. The system ffmpeg does all the encoding. +- **Overlays are injected into the page.** The caption bar, the terminal card + and the fast-forward badge are DOM elements added to the top of the page. + They are redrawn after every navigation, and the screencast captures them + with the page. +- **Fast-forwarding happens at encoding time.** Each time the playback speed + changes, `record.mjs` adds the time and the new speed to a list of segments: + 1× by default, and 15× (`FF`) while a job log is tailing. At encoding time, + each frame's on-screen duration is the real gap to the next frame divided by + the speed at that moment. The result is written as an ffmpeg concat list + (`concat.txt`) and encoded with libx264 at 30 fps. The fast-forward badge + shows the real elapsed time, so viewers can see how long each agent took. +- **Job logs follow themselves.** The GitLab emulator's job page polls the log + and stays at the bottom when it is scrolled there. The recorder scrolls to + the bottom, then checks the job status over the API every 20 s. +- **Everything is logged.** `events.log` records each caption, navigation, + remote output line and job result with a timestamp. Narration timing and + splicing are both worked out from it. + +## Prerequisites + +On the stack host: + +- The demo already works: `scripts/demo.py board` runs from the demo directory + with `BREADBOARD_DOMAIN` and `BREADBOARD_CA_FILE` set + (see [the demo's README](../README.md)). +- Jira is reset to the baseline: `demo.py reset`. +- The Model Relay credentials for the demo project are set up. That is a human + task. + +On the recording machine: + +- SSH access to the stack host, with the host key already in `known_hosts`. + The scripts use `StrictHostKeyChecking=yes` and `BatchMode=yes`. +- Google Chrome, Node.js with Playwright, and ffmpeg with libx264. If + Playwright isn't installed in this directory, set `PW_MODULE` to its + `index.mjs`. +- The machine doesn't need DNS for the stack's domain. Chrome is started with + `--host-resolver-rules=MAP *. `. TLS errors are ignored for + the emulator certificates. +- For narration, Kokoro in a virtualenv. It runs on the CPU, and nothing is + sent to an outside service: + + ```bash + mkdir -p ~/.cache/initiative-video/tts && cd ~/.cache/initiative-video/tts + uv venv --python python3 .venv + uv pip install --python .venv/bin/python kokoro-onnx soundfile + for f in kokoro-v1.0.onnx voices-v1.0.bin; do + curl -sSLO https://github.com/thewh1teagle/kokoro-onnx/releases/download/model-files-v1.0/$f + done + ``` + +## Recording + +```bash +export STACK_IP= STACK_SSH=@ +export BREADBOARD_DOMAIN=w530.local +mkdir -p ~/.cache/initiative-video && cd ~/.cache/initiative-video +R=/var/demos/initiatives/recording + +DRY=1 node $R/record.mjs # rehearsal: no model calls, a few minutes +node $R/record.mjs # the real thing: about an hour, about $16 through Model Relay +``` + +- **Dry run.** `DRY=1` films the same shots, but it doesn't change any labels. + Instead of starting pipelines, it replays the logs of jobs that have already + finished (`REPLAY` in `record.mjs`). Use it to check framing, captions and + timing before spending money. Shots of results won't appear, because Jira is + at the baseline. +- **Live run.** Opts in `OPTIN` (default `RHAISTRAT-75016`), plays the autofix + schedule with `--limit 3`, then runs the strategy for `KEY` (default + `RHAISTRAT-75028`), signs it off and decomposes it. The run stops with a + "Stopped" card if any job fails. +- **Output.** `run-/demo.mp4`, plus `frames/`, `frames.txt`, + `events.log` and `concat.txt`. +- **Reset afterwards.** Take a Jira snapshot of the end state, so shots can be + filmed again later, then run `demo.py reset`: + + ```bash + curl --cacert $BREADBOARD_CA_FILE -u admin:admin -X POST \ + -H 'Content-Type: application/json' -d '{"label": "cc75-video-end"}' \ + https://jira.$BREADBOARD_DOMAIN/api/admin/snapshots + ``` + +`KEY` has to be an Initiative that is already opted in and has passed autofix +(`initiative-autofix-rubric-pass`), because the strategy stage is meant to +follow a passing autofix. In the baseline, 75028 is one. Picking a ticket that is ready +means a failed autofix can't stall the recording an hour in. As a result, the +video follows two tickets: autofix works on the newly opted-in Initiative, +while strategy and decomposition work on `KEY`. The narration should say so. +To follow one ticket the whole way, set `KEY` and `OPTIN` to the same Initiative. +If autofix doesn't pass it, the recording has nothing to show a strategy for. + +Costs from the 2026-11-18 recording: + +| Stage | Job | Real time | Model cost | +| --- | --- | --- | --- | +| Autofix | rfe-autofixer 405 | 14 min | $2.97 | +| Strategy | strat-pipeline 415 | 26 min | $8.31 | +| Decompose | epic-decomposer 423 | 17 min | $4.62 | +| **Total** | | about 60 min | **$15.90** | + +## Filming extra shots afterwards + +If a shot is missed or needs filming again, restore the end-state snapshot +and film it again at 1× with `clips.mjs`. This needs no model calls. + +```bash +curl --cacert $BREADBOARD_CA_FILE -u admin:admin -X POST \ + https://jira.$BREADBOARD_DOMAIN/api/admin/snapshots//restore +node $R/clips.mjs run- # writes clip-S.mp4 (strategy, review), clip-E.mp4 (Epics, results) +# ...splice them in (below), then run: demo.py reset +``` + +Then cut the clips into the main video, using `events.log` to find the cut +points. In the 2026-11-18 recording, the live take missed three shots: the +strategy document, the Epics list and an opened Epic. The causes are described +in the next section. The final video was spliced together like this: + +```bash +ffmpeg -i demo.mp4 -i clip-S.mp4 -i clip-E.mp4 -filter_complex " + [0:v]trim=0:264.07,setpts=PTS-STARTPTS[a]; + [1:v]setpts=PTS-STARTPTS[s]; + [0:v]trim=276.302:374.566,setpts=PTS-STARTPTS[b]; + [2:v]setpts=PTS-STARTPTS[e]; + [0:v]trim=start=395.8,setpts=PTS-STARTPTS,tpad=stop_mode=clone:stop_duration=3[c]; + [a][s][b][e][c]concat=n=5:v=1:a=0[v]" \ + -map '[v]' -c:v libx264 -crf 23 -pix_fmt yuv420p -movflags +faststart initiative-demo.mp4 +``` + +`record.mjs` has since been fixed, so a new recording should capture all of +these shots live, and `clips.mjs` should only be needed for repairs. + +## Narration + +```bash +~/.cache/initiative-video/tts/.venv/bin/python $R/narrate.py \ + run-/initiative-demo.mp4 run-/initiative-demo-narrated.mp4 [voice] [speed] +``` + +The narration is the list of `(seconds, text)` pairs in `LINES` in +`narrate.py`. Each line is spoken in Kokoro's voice (default `af_heart`, speed +1.05). It starts at its scene's time, or 0.5 s after the previous line ends if +that one runs over. The lines are mixed into one track, loudness-normalised +(`loudnorm`, −16 LUFS) and muxed into the video. The video stream is copied +unchanged unless the narration runs past the end; then the last frame is held +until it finishes. A re-render takes about a minute. The script prints each +line's start, length and lateness, so it's easy to see when a line is too long +for its scene. + +The `LINES` timings match the 2026-11-18 video, and **a new recording needs new +times**. To get the scene times, map each `events.log` timestamp to video time. +Find the frame in `frames.txt` that was showing at that moment, add up the +`concat.txt` durations up to that frame, and add the part of that frame's +duration that had already passed. Then shift the times for any splices. + +Writing narration that sounds right: + +- Spell out anything that would be read badly: "W five-thirty", "R F E", + "C I", and issue numbers as "seventy-five oh twenty-eight". +- Keep lines to about 2.3 words a second of the scene they cover. The + fast-forwarded log sections have room for longer explanations. +- Narrate why something happens, not only what. The captions already say what + is on screen. +- Check every number against the run: jobs, costs, Epic counts and review + scores. + +Other voices include `am_michael` (US male) and `bf_emma` (UK female). Kokoro +ships about 50. + +## Lessons from the first recording + +- **Jira emulator links.** Child issues link to `/issue/`, not + `/browse/`. An attachment's filename link downloads the file; the row's + **View** button (`/attachment//view`) renders it inline. +- **Smooth scrolling.** A smooth `scrollIntoView` is cancelled by the next + wheel event. Jump to a heading with `window.scrollTo`, then use wheel events + for visible scrolling. +- **Navigation races.** A "navigation interrupted" message in `events.log` + means a later `go()` replaced an earlier one, for example the pipeline page + followed straight away by the job page. It's harmless. +- **Node can't reach the stack's domain.** Node's HTTP stack doesn't use + Chrome's resolver rule. API calls for job status and labels go through + `curl` on the stack host, over SSH. +- **Data.** The Initiatives are synthetic (see [`catalogue.yaml`](../catalogue.yaml)). + Don't record against real Jira content. diff --git a/var/demos/initiatives/recording/clips.mjs b/var/demos/initiatives/recording/clips.mjs new file mode 100644 index 0000000..e8b3c8f --- /dev/null +++ b/var/demos/initiatives/recording/clips.mjs @@ -0,0 +1,78 @@ +// Re-film shots the live recording missed, from the run's end state (no model calls). +// node clips.mjs -> /clip-S.mp4 (strategy doc), clip-E.mp4 (Epics, results) +import { spawn } from 'child_process'; +import fs from 'fs'; +import path from 'path'; +const { chromium } = await import(process.env.PW_MODULE || 'playwright'); +const RUN = path.resolve(process.argv[2]); +const DOMAIN = process.env.BREADBOARD_DOMAIN || 'w530.local'; +const STACK_IP = process.env.STACK_IP; // the stack host's address, for Chrome's resolver +if (!STACK_IP) { console.error('set STACK_IP (see README.md)'); process.exit(2); } +const J = `https://jira.${DOMAIN}`, G = `https://gitlab.${DOMAIN}/ui/redhat/rhel-ai/agentic-ci`; +const KEY = process.env.KEY || 'RHAISTRAT-75028'; +const sleep = ms => new Promise(r => setTimeout(r, ms)); + +const browser = await chromium.launch({ executablePath: process.env.CHROME || '/usr/bin/google-chrome', args: [`--host-resolver-rules=MAP *.${DOMAIN} ${STACK_IP}`] }); +const ctx = await browser.newContext({ ignoreHTTPSErrors: true, viewport: { width: 1280, height: 720 }, httpCredentials: { username: 'admin', password: 'admin' } }); +const page = await ctx.newPage(); +const cdp = await ctx.newCDPSession(page); +const state = { step: '', title: '', sub: '' }; +function overlay(s) { + let cap = document.getElementById('__cap'); + if (!cap) { cap = document.createElement('div'); cap.id = '__cap'; Object.assign(cap.style, { position: 'fixed', left: '0', right: '0', bottom: '0', zIndex: 2147483647, background: 'rgba(14,17,24,.92)', color: '#f4f6fa', font: '15px/1.4 system-ui,sans-serif', padding: '12px 22px', pointerEvents: 'none', display: 'flex', alignItems: 'center', gap: '18px', boxShadow: '0 -2px 12px rgba(0,0,0,.25)' }); document.documentElement.appendChild(cap); } + cap.replaceChildren(); + const step = document.createElement('div'); step.textContent = s.step; Object.assign(step.style, { font: '700 13px system-ui', letterSpacing: '.06em', textTransform: 'uppercase', color: '#8fb0ff', whiteSpace: 'nowrap' }); + const body = document.createElement('div'); body.style.flex = '1'; + const t = document.createElement('div'); t.textContent = s.title; t.style.font = '600 19px/1.3 system-ui,sans-serif'; + const sub = document.createElement('div'); sub.textContent = s.sub; sub.style.color = '#b9c0cc'; + body.append(t, sub); cap.append(step, body); +} +const draw = () => page.evaluate(overlay, state).catch(() => {}); +page.on('load', draw); page.on('domcontentloaded', draw); +const caption = (step, title, sub) => { Object.assign(state, { step, title, sub }); return draw(); }; +const go = async url => { await page.goto(url, { waitUntil: 'networkidle' }).catch(() => {}); await draw(); await sleep(800); }; +const scroll = async (px, steps = 20, pause = 200) => { for (let i = 0; i < steps; i++) { await page.mouse.wheel(0, px / steps); await sleep(pause); } }; +const toHeading = async text => { await page.evaluate(t => { const h = [...document.querySelectorAll('h3,h2')].find(x => x.textContent.trim().startsWith(t)); if (h) window.scrollTo({ top: h.getBoundingClientRect().top + window.scrollY - 80 }); }, text); await sleep(1500); }; + +async function clip(name, body) { + const dir = path.join(RUN, `clip-${name}`); fs.rmSync(dir, { recursive: true, force: true }); fs.mkdirSync(dir); + const frames = []; + const on = async f => { frames.push([f.metadata.timestamp, Buffer.from(f.data, 'base64')]); cdp.send('Page.screencastFrameAck', { sessionId: f.sessionId }).catch(() => {}); }; + cdp.on('Page.screencastFrame', on); + await cdp.send('Page.startScreencast', { format: 'jpeg', quality: 72, maxWidth: 1280, maxHeight: 720 }); + await body(); + await sleep(300); + await cdp.send('Page.stopScreencast'); cdp.off('Page.screencastFrame', on); + let list = ''; + frames.forEach(([t, d], i) => { fs.writeFileSync(path.join(dir, `${i}.jpg`), d); list += `file '${i}.jpg'\nduration ${((frames[i + 1]?.[0] ?? t + 1.5) - t).toFixed(4)}\n`; }); + list += `file '${frames.length - 1}.jpg'\n`; + fs.writeFileSync(path.join(dir, 'list.txt'), list); + await new Promise(r => spawn('ffmpeg', ['-loglevel', 'error', '-y', '-f', 'concat', '-i', 'list.txt', '-vf', 'fps=30,scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2,format=yuv420p', '-c:v', 'libx264', '-crf', '23', `../clip-${name}.mp4`], { cwd: dir, stdio: 'inherit' }).on('close', r)); + console.log(name, frames.length, 'frames'); +} + +// S: after "RHAISTRAT-75028 now carries its strategy and review", before sign-off. +await clip('S', async () => { + await caption('4 · Strategy', `${KEY} now carries its strategy and review`, 'strat-creator-rubric-pass, plus the strategy and review documents attached to the ticket.'); + await go(`${J}/browse/${KEY}`); await toHeading('Attachments'); await sleep(3500); + const views = await page.evaluate(() => [...document.querySelectorAll('tr')].map(tr => [tr.querySelector('a')?.textContent.trim(), tr.querySelector('a[href^="/attachment/"][href$="/view"]')?.getAttribute('href')]).filter(([n, h]) => n && h)); + const view = suffix => views.find(([n]) => n.endsWith(suffix))?.[1]; + await caption('4 · Strategy', 'The strategy strat-creator wrote', 'Approach, components, phasing, risks and the requirements it traces back to.'); + await go(J + view('strategy.md')); await sleep(2500); await scroll(3600, 45, 260); await sleep(1500); + await caption('4 · Strategy', 'And the independent review', 'Scored against the strategy rubric; a pass is what lets the Initiative move on to sign-off.'); + await go(J + view('review.md')); await sleep(2500); await scroll(1800, 25, 260); await sleep(2000); +}); + +// E: replaces the run's closing shots ("now has its Epics" and the results repository). +await clip('E', async () => { + await caption('6 · Decompose', `${KEY} now has its Epics`, 'Ten RHAI Epics with the Initiative as parent; the Initiative is labelled epic-creator-auto-decomposed.'); + await go(`${J}/browse/${KEY}`); await toHeading('Child Issues'); await sleep(6000); await scroll(500, 10, 250); await sleep(3000); + const href = await page.$eval('a.issue-key-link[href^="/issue/RHAI-"]', a => a.getAttribute('href')).catch(() => null); + if (href) { + await caption('6 · Decompose', 'One of the new Epics', 'Scope, acceptance criteria and dependencies, written from the approved strategy.'); + await go(J + href); await sleep(2500); await scroll(1600, 25, 260); await sleep(2500); + } + await caption('7 · Results', 'Every run leaves a record in its results repository', 'epic-decomposer-results: the plan, reviews, submission receipts and an HTML report, per run.'); + await go(`${G}/epic-decomposer-results`); await sleep(6000); +}); +await browser.close(); diff --git a/var/demos/initiatives/recording/narrate.py b/var/demos/initiatives/recording/narrate.py new file mode 100644 index 0000000..b054a74 --- /dev/null +++ b/var/demos/initiatives/recording/narrate.py @@ -0,0 +1,63 @@ +"""Narrate initiative-demo.mp4 with Kokoro. narrate.py VIDEO OUT [VOICE] [SPEED] +Each line starts at its scene time, or just after the previous line ends if that runs over.""" +import subprocess, sys, os, json +import numpy as np, soundfile as sf +from kokoro_onnx import Kokoro + +HERE = os.path.dirname(os.path.abspath(__file__)) +TTS = os.environ.get("KOKORO_DIR", os.path.expanduser("~/.cache/initiative-video/tts")) # kokoro-v1.0.onnx, voices-v1.0.bin +VIDEO, OUT = sys.argv[1], sys.argv[2] +VOICE = sys.argv[3] if len(sys.argv) > 3 else "af_heart" +SPEED = float(sys.argv[4]) if len(sys.argv) > 4 else 1.05 +GAP = 0.5 + +LINES = [ + (0.5, "This is one Initiative's journey, from idea to Epics, on the W five-thirty test lab."), + (6.5, "Here's the board: synthetic Initiatives in an emulated Jira. The text is invented, but the shapes match real ones."), + (15.5, "We'll follow Initiative seventy-five oh twenty-eight. It was opted in and passed autofix earlier, so it's ready for a strategy."), + (25.8, "Automation only touches Initiatives that a person has opted in. A small demo script adds the opt-in label, just as someone would in Jira."), + (40.8, "Next, the R F E autofixer. In production it runs on a timer. Here we start its schedule by hand, and it picks up opted-in Initiatives that are new, or have changed."), + (60.0, "Now the agent is working. This is its live log, sped up fifteen times. It reads each Initiative, checks it against the quality rubric, and fixes what it can."), + (90.0, "Every model call goes through the Model Relay, so no real model keys ever sit in C I."), + (119.0, "The job passed. Autofix handled three Initiatives, including the one we just opted in, and recorded each result as a label."), + (133.5, "Here are two of them, with their new labels."), + (146.4, "Back to seventy-five oh twenty-eight, which passed autofix earlier. The strategy pipeline now runs live for it, from its main branch."), + (156.0, "Strat creator drafts the strategy: the technical approach, the components, phasing, and risks. Then a separate reviewer scores it against a rubric."), + (200.0, "This step takes about twenty-five minutes of real time, and around eight dollars of model use."), + (261.3, "Done. The strategy and its review are now attached to the ticket."), + (271.5, "This is the strategy itself. The requirements it covers trace back to the Initiative."), + (288.5, "And the independent review. It approved the strategy, scoring seven out of eight."), + (301.5, "Now the one manual gate. A person reads the strategy and signs it off. Again, the script adds the label a human would."), + (311.0, "Once it's signed off, the epic decomposer takes over, and splits the Initiative into Epics."), + (325.0, "It plans the Epics from the approved strategy, has the plan reviewed, and then creates them in Jira."), + (360.0, "About seventeen minutes of real time, and under five dollars."), + (396.8, "Ten new Epics, each one a child of the Initiative."), + (413.3, "Each Epic has its own scope, acceptance criteria, and dependencies, written from the strategy."), + (429.0, "And every run leaves a record in its results repository."), + (433.0, "Same jobs, same labels, same gates as production, on synthetic data. About an hour end to end, and roughly sixteen dollars of model use."), +] + +k = Kokoro(os.path.join(TTS, "kokoro-v1.0.onnx"), os.path.join(TTS, "voices-v1.0.bin")) +vlen = float(subprocess.check_output(["ffprobe", "-v", "error", "-show_entries", "format=duration", "-of", "csv=p=0", VIDEO])) +SR = 24000 +clips, t_free, plan = [], 0.0, [] +for want, text in LINES: + s, sr = k.create(text, voice=VOICE, speed=SPEED, lang="en-us") + assert sr == SR + start = max(want, t_free) + clips.append((start, s)); t_free = start + len(s) / SR + GAP + plan.append({"want": want, "start": round(start, 2), "dur": round(len(s) / SR, 2), "late": round(start - want, 2), "text": text}) +total = max(vlen, t_free + 1.0) +track = np.zeros(int(total * SR) + SR, dtype=np.float32) +for start, s in clips: + i = int(start * SR); track[i:i + len(s)] += s +sf.write(OUT + ".wav", track, SR) +json.dump(plan, open(OUT + ".plan.json", "w"), indent=1) +for p in plan: + print(f"{p['start']:7.2f} +{p['dur']:5.2f} late {p['late']:5.2f} {p['text'][:70]}") +hold = total - vlen +print(f"video {vlen:.1f}s, narration ends {t_free:.1f}s, hold last frame {max(0, hold):.1f}s") +vf = ["-c:v", "copy"] if hold <= 0 else ["-vf", f"tpad=stop_mode=clone:stop_duration={hold:.2f}", "-c:v", "libx264", "-crf", "23", "-pix_fmt", "yuv420p"] +subprocess.check_call(["ffmpeg", "-v", "error", "-y", "-i", VIDEO, "-i", OUT + ".wav", *vf, + "-af", "loudnorm=I=-16:TP=-1.5", "-c:a", "aac", "-b:a", "160k", "-shortest", OUT]) +print("wrote", OUT) diff --git a/var/demos/initiatives/recording/record.mjs b/var/demos/initiatives/recording/record.mjs new file mode 100644 index 0000000..1a343dd --- /dev/null +++ b/var/demos/initiatives/recording/record.mjs @@ -0,0 +1,273 @@ +// Record the CC-75 Initiatives demo on w530 as a video. +// +// A headless Chrome on this machine browses the w530 Jira and GitLab emulator UIs while +// every pipeline action runs through demo.py on w530 over SSH (the same commands the demo +// script uses). Frames come from Chrome's screencast with their timestamps; waits for +// agent jobs are fast-forwarded (FF) and the encoder maps real time to video time. +// +// node record.mjs live run (model steps cost money via Model Relay) +// DRY=1 node record.mjs no model: replays finished jobs (REPLAY_* ids) instead +// +// Output: run-/{frames/,frames.txt,events.log,demo.mp4} +import { spawn } from 'child_process'; +import fs from 'fs'; +import path from 'path'; + +const PW = process.env.PW_MODULE || 'playwright'; +const { chromium } = await import(PW); +const DRY = process.env.DRY === '1'; +const FF = Number(process.env.FF || 15); +const KEY = process.env.KEY || 'RHAISTRAT-75028'; +const OPTIN = process.env.OPTIN || 'RHAISTRAT-75016'; +const REPLAY = { autofix: ['rfe-autofixer', 361], live: ['strat-pipeline', 371], decompose: ['epic-decomposer', 398] }; +const DOMAIN = process.env.BREADBOARD_DOMAIN || 'w530.local'; +const STACK_IP = process.env.STACK_IP; // the stack host's address, for Chrome's resolver +const STACK_SSH = process.env.STACK_SSH; // user@host for ssh +if (!STACK_IP || !STACK_SSH) { console.error('set STACK_IP and STACK_SSH (see README.md)'); process.exit(2); } +const J = `https://jira.${DOMAIN}`, G = `https://gitlab.${DOMAIN}`; +const GROUP = 'redhat/rhel-ai/agentic-ci'; +const OUT = path.resolve(process.env.OUT || `run-${new Date().toISOString().replace(/[-:]/g, '').slice(0, 15)}${DRY ? '-dry' : ''}`); +fs.mkdirSync(path.join(OUT, 'frames'), { recursive: true }); + +const t0 = Date.now(); +const log = (...a) => { const line = `${new Date().toISOString()} ${a.join(' ')}`; console.log(line); fs.appendFileSync(path.join(OUT, 'events.log'), line + '\n'); }; +const sleep = ms => new Promise(r => setTimeout(r, ms)); + +// --- remote commands ----------------------------------------------------------------- +const SSH = ['-o', 'StrictHostKeyChecking=yes', '-o', 'BatchMode=yes', '-o', 'ServerAliveInterval=30', STACK_SSH]; +const REMOTE_DIR = process.env.REMOTE_DIR || '~/breadboard-cc75/var/demos/initiatives'; +const REMOTE_CA = process.env.REMOTE_CA || '$HOME/.cache/cc75/w530-ca.crt'; +const ENV = `cd ${REMOTE_DIR} && export BREADBOARD_DOMAIN=${DOMAIN} BREADBOARD_CA_FILE=${REMOTE_CA} && `; +function remote(cmd, onLine = () => {}) { + return new Promise(resolve => { + const p = spawn('ssh', [...SSH, ENV + cmd]); + let out = '', buf = ''; + const feed = d => { out += d; buf += d; let i; while ((i = buf.indexOf('\n')) >= 0) { const l = buf.slice(0, i); buf = buf.slice(i + 1); log('remote>', l.slice(0, 200)); onLine(l); } }; + p.stdout.on('data', feed); p.stderr.on('data', feed); + p.on('close', code => { if (buf) onLine(buf); resolve({ code, out }); }); + }); +} +async function api(url) { + const r = await remote(`curl -s --cacert $BREADBOARD_CA_FILE -u admin:admin '${url}'`); + try { return JSON.parse(r.out); } catch { return null; } +} +const pid = name => encodeURIComponent(`${GROUP}/${name}`); +const ui = url => url.replace(`${G}/${GROUP}/`, `${G}/ui/${GROUP}/`); + +// --- browser and recording ----------------------------------------------------------- +const browser = await chromium.launch({ executablePath: process.env.CHROME || '/usr/bin/google-chrome', args: [`--host-resolver-rules=MAP *.${DOMAIN} ${STACK_IP}`] }); +const ctx = await browser.newContext({ ignoreHTTPSErrors: true, viewport: { width: 1280, height: 720 }, httpCredentials: { username: 'admin', password: 'admin' } }); +const page = await ctx.newPage(); +const cdp = await ctx.newCDPSession(page); +let nframes = 0; +const index = fs.openSync(path.join(OUT, 'frames.txt'), 'a'); +cdp.on('Page.screencastFrame', async f => { + const name = `frames/${String(nframes++).padStart(6, '0')}.jpg`; + fs.writeFileSync(path.join(OUT, name), Buffer.from(f.data, 'base64')); + fs.writeSync(index, `${f.metadata.timestamp} ${name}\n`); + cdp.send('Page.screencastFrameAck', { sessionId: f.sessionId }).catch(() => {}); +}); +const segments = [[Date.now() / 1000, 1]]; +const fast = () => { state.since = Date.now() / 1000; speed(FF); }; +const speed = x => { segments.push([Date.now() / 1000, x]); state.ff = x > 1 ? x : 0; draw(); }; + +// The caption bar (bottom), an optional terminal card (top right) and the FF badge. +const state = { step: '', title: '', sub: '', term: [], ff: 0, since: 0 }; +function overlay(s) { + const mk = (id, css) => { let e = document.getElementById(id); if (!e) { e = document.createElement('div'); e.id = id; Object.assign(e.style, css); document.documentElement.appendChild(e); } return e; }; + const cap = mk('__cap', { position: 'fixed', left: '0', right: '0', bottom: '0', zIndex: 2147483647, background: 'rgba(14,17,24,.92)', color: '#f4f6fa', font: '15px/1.4 system-ui,sans-serif', padding: '12px 22px', pointerEvents: 'none', display: 'flex', alignItems: 'center', gap: '18px', boxShadow: '0 -2px 12px rgba(0,0,0,.25)' }); + cap.replaceChildren(); + const step = document.createElement('div'); step.textContent = s.step; Object.assign(step.style, { font: '700 13px system-ui', letterSpacing: '.06em', textTransform: 'uppercase', color: '#8fb0ff', whiteSpace: 'nowrap' }); + const body = document.createElement('div'); body.style.flex = '1'; + const title = document.createElement('div'); title.textContent = s.title; title.style.font = '600 19px/1.3 system-ui,sans-serif'; + const sub = document.createElement('div'); sub.textContent = s.sub; sub.style.color = '#b9c0cc'; + body.append(title); if (s.sub) body.append(sub); + cap.append(step, body); + if (s.ff) { + const b = document.createElement('div'); Object.assign(b.style, { font: '700 15px ui-monospace,monospace', background: '#f0bf6a', color: '#1d1f23', padding: '6px 10px', borderRadius: '6px', whiteSpace: 'nowrap' }); + const tick = () => { const e = Math.max(0, Math.floor(Date.now() / 1000 - s.since)); b.textContent = `⏩ ${s.ff}× ${String(Math.floor(e / 60)).padStart(2, '0')}:${String(e % 60).padStart(2, '0')}`; }; + tick(); clearInterval(window.__capTick); window.__capTick = setInterval(tick, 250); cap.append(b); + } else clearInterval(window.__capTick); + const term = mk('__term', { position: 'fixed', top: '14px', right: '14px', zIndex: 2147483647, maxWidth: '620px', background: 'rgba(20,22,28,.94)', color: '#d7f7d0', font: '13px/1.45 ui-monospace,monospace', padding: '10px 14px', borderRadius: '8px', pointerEvents: 'none', whiteSpace: 'pre-wrap', boxShadow: '0 6px 24px rgba(0,0,0,.35)' }); + term.textContent = s.term.join('\n'); term.style.display = s.term.length ? 'block' : 'none'; +} +function draw() { return page.evaluate(overlay, state).catch(() => {}); } +page.on('load', () => { draw(); }); +page.on('domcontentloaded', () => { draw(); }); +const caption = (step, title, sub = '') => { Object.assign(state, { step, title, sub }); log('caption', step, '|', title); return draw(); }; +const term = lines => { state.term = lines; return draw(); }; + +async function go(url) { log('goto', url); await page.goto(url, { waitUntil: 'domcontentloaded' }).catch(e => log('goto error', e.message)); await draw(); await sleep(800); } +async function scroll(px, steps = 12, pause = 120) { for (let i = 0; i < steps; i++) { await page.mouse.wheel(0, px / steps); await sleep(pause); } } +async function showSection(text) { + await page.evaluate(t => { const h = [...document.querySelectorAll('h3,h2')].find(x => x.textContent.trim().startsWith(t)); if (h) window.scrollTo({ top: h.getBoundingClientRect().top + window.scrollY - 80 }); }, text).catch(() => {}); + await sleep(1200); +} +async function demo(cmd, onLine) { + const shown = [`$ demo.py ${cmd}`]; + await term(shown); + const r = await remote(`python3 scripts/demo.py ${cmd}`, l => { if (l.trim() && !l.startsWith('01O')) { shown.push(l.slice(0, 90)); if (shown.length > 7) shown.splice(1, 1); term(shown); } onLine?.(l); }); + return r; +} +async function tailJob(project, job, label) { + await go(`${G}/ui/${GROUP}/${project}/-/jobs/${job}`); + await page.evaluate(() => { document.querySelector('[data-ci-scroll-bottom]')?.click(); window.scrollTo(0, document.body.scrollHeight); }).catch(() => {}); + fast(); + let status = ''; + for (;;) { + const j = await api(`${G}/api/v4/projects/${pid(project)}/jobs/${job}`); + status = j?.status || status; + if (['success', 'failed', 'canceled'].includes(status)) break; + if (DRY) { await sleep(8000); status = j?.status; break; } + await sleep(20000); + await page.evaluate(() => { if (!document.getElementById('__cap')) location.reload(); }).catch(() => {}); + } + await sleep(4000); + speed(1); + log('job', project, job, status); + await caption(state.step, `${label}: ${status === 'success' ? 'job passed' : `job ${status}`}`, state.sub); + await sleep(3000); + return status; +} +async function playedJob(project, pipeline, name) { + for (let i = 0; i < 120; i++) { + const jobs = await api(`${G}/api/v4/projects/${pid(project)}/pipelines/${pipeline}/jobs`) || []; + const j = jobs.find(x => x.name === name); + if (j && j.status !== 'manual' && j.status !== 'created') return j.id; + await sleep(10000); + } + return null; +} +async function labelsOf(keys) { + const out = {}; + for (const k of keys) out[k] = ((await api(`${J}/rest/api/2/issue/${k}?fields=labels`))?.fields?.labels || []).sort().join(' '); + return out; +} + +// --- the demo -------------------------------------------------------------------------- +const title = async (h, p) => { + await page.setContent(`
CC-75 · breadboard on w530 · synthetic data

${h}

${p}

`); + await sleep(6000); +}; + +await cdp.send('Page.startScreencast', { format: 'jpeg', quality: 72, maxWidth: 1280, maxHeight: 720 }); +let ok = true; +try { + await title('An Initiative, end to end', `Autofix, strategy, human sign-off and decomposition into Epics, run by the production pipelines (on main) against emulated Jira and GitLab. Waiting on agents is fast-forwarded; everything else is real time.${DRY ? '

Dry run: replays finished jobs; no model calls.' : ''}`); + + await caption('1 · The board', 'Synthetic Initiatives in the Jira emulator', '79 synthetic issues: invented text, no real keys or names. Labels drive every stage.'); + await go(`${J}/issues?jql=${encodeURIComponent('project = RHAISTRAT AND issuetype = Initiative ORDER BY key ASC')}`); + await sleep(2500); await scroll(900, 18, 220); await sleep(1500); + + await caption('1 · The board', `${KEY}: the Initiative we follow`, 'Problem, goal, scope, requirements R1–R6 and acceptance. A product manager wrote it; agents take it from here.'); + await go(`${J}/browse/${KEY}`); + await sleep(2500); await scroll(1400, 24, 220); await sleep(1500); + + await caption('2 · Opt in', 'A human opts an Initiative in to autofix', `${OPTIN} gets initiative-autofix-opt-in: the canary boundary. Nothing without the label is touched.`); + await go(`${J}/browse/${OPTIN}`); await sleep(2000); + if (!DRY) await demo(`optin ${OPTIN}`); else await term([`$ demo.py optin ${OPTIN}`, '(dry run: not applied)']); + await go(`${J}/browse/${OPTIN}`); await sleep(4000); await term([]); + + // Autofix ------------------------------------------------------------------------------ + const optedIn = (await api(`${J}/rest/api/3/search/jql?jql=${encodeURIComponent('project = RHAISTRAT AND issuetype = Initiative AND labels = initiative-autofix-opt-in')}&maxResults=100&fields=labels`))?.issues?.map(i => i.key) || []; + const before = await labelsOf(optedIn); + await caption('3 · Autofix', "rfe-autofixer's Initiative schedule fires", 'Up to 3 opted-in Initiatives that are new or changed: assess, review against the rubric, fix or reject, label.'); + let afPipeline, afJob; + if (!DRY) { + await demo('autofix --limit 3', l => { const m = l.match(/pipeline (\d+): (\S+)/); if (m) afPipeline = Number(m[1]); }); + if (afPipeline) { await go(`${G}/ui/${GROUP}/rfe-autofixer/-/pipelines/${afPipeline}`); await sleep(4000); fast(); afJob = await playedJob('rfe-autofixer', afPipeline, 'autofix-initiative'); speed(1); } + } else afJob = REPLAY.autofix[1]; + await term([]); + const afStatus = afJob ? await tailJob('rfe-autofixer', afJob, 'Autofix') : 'missing'; + const after = await labelsOf(optedIn); + const changed = optedIn.filter(k => before[k] !== after[k]); + log('autofix changed', changed.join(',') || '(none)'); + await caption('3 · Autofix', changed.length ? `Autofix labelled ${changed.length} Initiative${changed.length > 1 ? 's' : ''}: ${changed.join(', ')}` : 'Autofix results', 'Outcome labels: rubric pass, feasibility, alignment with the parent Outcome, or needs attention.'); + await go(`${J}/issues?jql=${encodeURIComponent('project = RHAISTRAT AND issuetype = Initiative AND labels = initiative-autofix-opt-in ORDER BY key ASC')}`); + await sleep(5000); + for (const k of changed.slice(0, 2)) { await go(`${J}/browse/${k}`); await sleep(1500); await page.evaluate(() => { const l = [...document.querySelectorAll('*')].find(e => e.textContent.trim() === 'LABELS' || e.textContent.trim() === 'Labels'); l?.scrollIntoView({ block: 'center' }); }).catch(() => {}); await sleep(4000); } + if (!DRY && afStatus !== 'success') throw new Error(`autofix ${afStatus}`); + + // Live strategy ---------------------------------------------------------------------------- + await caption('4 · Strategy', `strat-pipeline on main writes the strategy for ${KEY}`, 'A live Initiative run needs INITIATIVE_LIVE=on (the proposed cutover flag); strat-creator runs in a Fullsend sandbox, then an independent review.'); + let lvPipeline, lvJob; + if (!DRY) { + await demo(`live ${KEY}`, l => { + const m = l.match(/^pipeline (\d+): /); if (m) { lvPipeline = Number(m[1]); go(`${G}/ui/${GROUP}/strat-pipeline/-/pipelines/${lvPipeline}`).then(fast); } + const p = l.match(/played workflow-single-rfe: .*\/jobs\/(\d+)/); if (p) lvJob = Number(p[1]); + }); + speed(1); + } else lvJob = REPLAY.live[1]; + await term([]); + const lvStatus = lvJob ? await tailJob('strat-pipeline', lvJob, 'Strategy') : 'missing'; + await caption('4 · Strategy', `${KEY} now carries its strategy and review`, 'strat-creator-rubric-pass, plus the strategy and review documents attached to the ticket.'); + await go(`${J}/browse/${KEY}`); await sleep(2000); + await page.evaluate(() => { const l = [...document.querySelectorAll('*')].find(e => e.textContent.trim() === 'LABELS' || e.textContent.trim() === 'Labels'); l?.scrollIntoView({ block: 'center' }); }).catch(() => {}); + await sleep(4000); await showSection('Attachments'); await sleep(4000); + // The filename link downloads; the row's View button (/attachment//view) renders it inline. + const views = await page.evaluate(() => [...document.querySelectorAll('tr')].map(tr => [tr.querySelector('a')?.textContent.trim(), tr.querySelector('a[href^="/attachment/"][href$="/view"]')?.getAttribute('href')]).filter(([n, h]) => n && h)).catch(() => []); + const view = suffix => views.find(([n]) => n.endsWith(suffix))?.[1]; + if (view('strategy.md')) { + await caption('4 · Strategy', 'The strategy strat-creator wrote', 'Approach, components, phasing, risks and the requirements it traces back to.'); + await go(J + view('strategy.md')); await sleep(2500); await scroll(3600, 45, 260); await sleep(1500); + } + if (view('review.md')) { + await caption('4 · Strategy', 'And the independent review', 'Scored against the strategy rubric; a pass is what lets the Initiative move on to sign-off.'); + await go(J + view('review.md')); await sleep(2500); await scroll(1800, 25, 260); await sleep(2000); + } + if (!DRY && lvStatus !== 'success') throw new Error(`strategy ${lvStatus}`); + + // Sign-off ------------------------------------------------------------------------------- + await caption('5 · Sign-off', 'The one manual gate: a human signs off the strategy', 'strat-creator-human-sign-off. Only signed-off Initiatives are decomposed (here, only this one).'); + await go(`${J}/browse/${KEY}`); await sleep(2000); + if (!DRY) await demo(`signoff ${KEY}`); else await term([`$ demo.py signoff ${KEY}`, '(dry run: not applied)']); + await go(`${J}/browse/${KEY}`); + await page.evaluate(() => { const l = [...document.querySelectorAll('*')].find(e => e.textContent.trim() === 'LABELS' || e.textContent.trim() === 'Labels'); l?.scrollIntoView({ block: 'center' }); }).catch(() => {}); + await sleep(5000); await term([]); + + // Decompose ------------------------------------------------------------------------------ + await caption('6 · Decompose', 'epic-decomposer splits the Initiative into Epics', 'epic-creator #40 (rhai-initiative workload): decompose, adversarial review, revise until accepted, then create the Epics in Jira.'); + let dcPipeline, dcJob; + if (!DRY) { + await demo('decompose', l => { + const m = l.match(/^pipeline (\d+): /); if (m) { dcPipeline = Number(m[1]); go(`${G}/ui/${GROUP}/epic-decomposer/-/pipelines/${dcPipeline}`).then(fast); } + const p = l.match(/played decompose-initiatives: .*\/jobs\/(\d+)/); if (p) dcJob = Number(p[1]); + }); + speed(1); + } else dcJob = REPLAY.decompose[1]; + await term([]); + const dcStatus = dcJob ? await tailJob('epic-decomposer', dcJob, 'Decompose') : 'missing'; + await caption('6 · Decompose', `${KEY} now has its Epics`, 'Each Epic has the Initiative as parent, a Blocks link and the epic-creator-auto-decomposed label on the Initiative.'); + await go(`${J}/browse/${KEY}`); await sleep(2000); await showSection('Child Issues'); await sleep(2000); await scroll(500, 10, 250); await sleep(4000); + const child = await page.$('a.issue-key-link[href^="/issue/RHAI-"]'); + if (child) { await caption('6 · Decompose', 'One of the new Epics', 'Scope, acceptance criteria and dependencies, written from the approved strategy.'); await go(new URL(await child.getAttribute('href'), J).href); await sleep(2500); await scroll(1600, 25, 260); await sleep(2500); } + if (!DRY && dcStatus !== 'success') throw new Error(`decompose ${dcStatus}`); + + await caption('7 · Results', 'Every run leaves a record in its results repository', 'epic-decomposer-results: the plan, reviews, submission receipts and an HTML report, per run.'); + await go(`${G}/ui/${GROUP}/epic-decomposer-results`); await sleep(6000); +} catch (e) { + ok = false; log('stopped:', e.message); + await caption('Stopped', `The run stopped: ${e.message}`, 'Recorded as it happened.'); + await sleep(4000); +} +state.term = []; speed(1); +await title(ok ? 'Initiative → strategy → sign-off → Epics' : 'Run stopped early', ok ? `Same jobs, same labels, same gates as production, on synthetic data. Total wall time ${Math.round((Date.now() - t0) / 60000)} minutes.` : 'See events.log.'); +await cdp.send('Page.stopScreencast'); +await sleep(500); +await browser.close(); +fs.closeSync(index); +log('frames', nframes, 'ok', ok); + +// --- encode: map real time to video time through the speed segments ----------------------- +const lines = fs.readFileSync(path.join(OUT, 'frames.txt'), 'utf8').trim().split('\n').map(l => l.split(' ')).map(([t, f]) => [Number(t), f]); +const vt = t => { let v = 0; for (let i = 0; i < segments.length; i++) { const [s, x] = segments[i]; const e = segments[i + 1]?.[0] ?? Infinity; if (t <= s) break; v += (Math.min(t, e) - s) / x; } return v; }; +let list = ''; +for (let i = 0; i < lines.length; i++) { + const [t, f] = lines[i]; + const d = i + 1 < lines.length ? vt(lines[i + 1][0]) - vt(t) : 3; + list += `file '${f}'\nduration ${Math.max(d, 0.001).toFixed(4)}\n`; +} +list += `file '${lines.at(-1)[1]}'\n`; +fs.writeFileSync(path.join(OUT, 'concat.txt'), list); +await new Promise(r => spawn('ffmpeg', ['-loglevel', 'error', '-y', '-f', 'concat', '-safe', '0', '-i', 'concat.txt', '-vf', 'fps=30,scale=1280:720:force_original_aspect_ratio=decrease,pad=1280:720:(ow-iw)/2:(oh-ih)/2,format=yuv420p', '-c:v', 'libx264', '-crf', '23', '-movflags', '+faststart', 'demo.mp4'], { cwd: OUT, stdio: 'inherit' }).on('close', r)); +log('video', path.join(OUT, 'demo.mp4')); diff --git a/var/demos/initiatives/scripts/bootstrap_ci.py b/var/demos/initiatives/scripts/bootstrap_ci.py new file mode 100644 index 0000000..2124d7d --- /dev/null +++ b/var/demos/initiatives/scripts/bootstrap_ci.py @@ -0,0 +1,196 @@ +#!/usr/bin/env python3 +"""Converge CI credentials and project variables for the CC-75 emulator mirrors. + +Creates (or keeps, if still valid) emulator-only credentials and stores them +as masked GitLab project variables. Raw values are never printed or written: + - Jira bot `cc75-strat-bot` (synthetic identity) and a PAT -> JIRA_API_TOKEN; + - a GitLab PAT for result pushes -> RESULTS_PUSH_TOKEN. +Visible variables point jobs at in-cluster emulators and the runner's CA: + JIRA_SERVER, the bot username (USERNAME_VARIABLE), EXTRA_CA_FILE, STRAT_CREATOR_RAW_BASE, GCP_PROJECT_ID, + and for live runs STRAT_RESULTS_GIT_BASE and RESULTS_REPO (GitLab emulator). +GOOGLE_APPLICATION_CREDENTIALS is a File variable. Until the model route is +approved it holds an inert placeholder, which is enough for runs that select +no work (Fullsend skips the sandbox); bootstrap_model.py replaces it later. +Writes credentials-manifest.json (names and checks only). +""" +from __future__ import annotations + +import base64 +import json +import os +import secrets +import sys +from datetime import datetime, timezone +from pathlib import Path +from urllib.parse import quote + +import requests + +ROOT = Path(__file__).resolve().parents[1] +DOMAIN = os.getenv("BREADBOARD_DOMAIN", "local").strip(".") or "local" +GROUP = "redhat/rhel-ai/agentic-ci" +PROJECTS = ["strat-pipeline", "rfe-autofixer", "epic-decomposer"] +BOT = {"name": "cc75-strat-bot", "emailAddress": "cc75-strat-bot@example.invalid", + "displayName": "CC75 Strategy Bot (synthetic)"} +JIRA_TOKEN_NAME = "cc75-ci" +GITLAB_TOKEN_NAME = "cc75-results-push" +IN_CLUSTER = { + # The emulator's canonical URL (its BASE_URL), as production uses its site URL: Jira + # returns attachment URLs on it. Cluster DNS rewrites it to the TLS ingress. + "JIRA_SERVER": f"https://jira.{DOMAIN}", + "STRAT_CREATOR_RAW_BASE": "https://github-emulator.ai-pipeline.svc.cluster.local/fullsend-ai/strat-creator/raw", + "EXTRA_CA_FILE": "/etc/gitlab-runner/certs/ca.crt", + # Live runs (S7, cc75-live branch only) publish here instead of gitlab.com. + "STRAT_RESULTS_GIT_BASE": "https://gitlab-emulator.ai-pipeline.svc.cluster.local", + "RESULTS_REPO": "redhat/rhel-ai/agentic-ci/strat-pipeline-data", +} +# The mirror shows the eventual state: every project carries the bot username as +# JIRA_USERNAME only. +USERNAME_VARIABLE = {"strat-pipeline": "JIRA_USERNAME", "rfe-autofixer": "JIRA_USERNAME", + "epic-decomposer": "JIRA_USERNAME"} +# The emulator CA, as GitLab File variables holding the host's public roots plus the +# emulator CA, so every step of every job (the Jira identity probe first) trusts the +# emulators without YAML changes. CC75_SANDBOX_CA feeds the per-job sandbox images. +CA_FILE_VARIABLES = ("SSL_CERT_FILE", "REQUESTS_CA_BUNDLE", "CURL_CA_BUNDLE", "GIT_SSL_CAINFO", + "NODE_EXTRA_CA_CERTS", "CC75_SANDBOX_CA") +SYSTEM_BUNDLES = ("/etc/pki/tls/certs/ca-bundle.crt", "/etc/ssl/certs/ca-certificates.crt") +# Per-project settings that production would carry as project or group variables. +PROJECT_SETTINGS = { + # Emulator gap: the Jira emulator has no permissions endpoint for the job's probe. + "rfe-autofixer": {"CC75_SKIP_PERMISSIONS_PROBE": "1", + # A sandbox image that w530's older CPU can run. + "CLAUDE_CONTAINER_IMAGE": "quay.io/aipcc/agentic-ci/claude-sandbox:0.3.46"}, +} +PLACEHOLDER_ADC = json.dumps({"type": "cc75-placeholder", + "note": "Inert placeholder; no model access. Replaced by bootstrap_model.py."}) + + +def main() -> int: + ca = os.getenv("BREADBOARD_CA_FILE") or True + jira_url = os.getenv("JIRA_URL", f"https://jira.{DOMAIN}") + gl_url = os.getenv("GITLAB_URL", f"https://gitlab.{DOMAIN}") + "/api/v4" + jira = requests.Session() + jira.auth = (os.getenv("JIRA_ADMIN_USER", "admin"), os.getenv("JIRA_ADMIN_PASSWORD", "admin")) + jira.verify = ca + gl = requests.Session() + gl.auth = (os.getenv("GITLAB_USER", "admin"), os.getenv("GITLAB_ADMIN_PASSWORD", "admin")) + gl.verify = ca + + def ok(r): + if r.status_code >= 400: + raise SystemExit(f"{r.request.method} {r.url.split('?')[0]}: HTTP {r.status_code}: {r.text[:200]}") + return r.json() if r.content else None + + def bot_valid(token): + r = requests.get(f"{jira_url}/rest/api/2/myself", auth=(BOT["name"], token), verify=ca, timeout=30) + return r.status_code == 200 and r.json().get("name", r.json().get("key")) == BOT["name"] + + def gitlab_valid(token): + r = requests.get(f"{gl_url}/user", headers={"PRIVATE-TOKEN": token}, verify=ca, timeout=30) + return r.status_code == 200 + + def get_var(pid, key): + r = gl.get(f"{gl_url}/projects/{pid}/variables/{key}", timeout=30) + return None if r.status_code == 404 else ok(r) + + def delete_var(pid, key): + if get_var(pid, key) is not None: + ok(gl.delete(f"{gl_url}/projects/{pid}/variables/{key}", timeout=30)) + + def set_var(pid, key, value, *, masked=False, file=False, description=""): + body = {"value": value, "variable_type": "file" if file else "env_var", "masked": masked, + "protected": False, "raw": True, "environment_scope": "*", "description": description} + if get_var(pid, key) is None: + ok(gl.post(f"{gl_url}/projects/{pid}/variables", json={"key": key, **body}, timeout=30)) + else: + ok(gl.put(f"{gl_url}/projects/{pid}/variables/{key}", json=body, timeout=30)) + + pids = {} + for name in PROJECTS: + pids[name] = ok(gl.get(f"{gl_url}/projects/{quote(f'{GROUP}/{name}', safe='')}", timeout=30))["id"] + main_pid = pids["strat-pipeline"] + + # Jira bot + PAT (reuse the stored one while it still authenticates). + existing = get_var(main_pid, "JIRA_API_TOKEN") + jira_token = existing["value"] if existing and bot_valid(existing["value"]) else None + jira_rotated = jira_token is None + if jira_rotated: + password = secrets.token_urlsafe(24) + r = jira.get(f"{jira_url}/rest/api/2/user", params={"username": BOT["name"]}, timeout=30) + if r.status_code == 404: + ok(jira.post(f"{jira_url}/rest/api/2/user", json={**BOT, "name": BOT["name"], "password": password}, + timeout=30)) + else: + ok(jira.put(f"{jira_url}/rest/api/2/user/password", params={"username": BOT["name"]}, + json={"password": password}, timeout=30)) + bot = requests.Session() + bot.auth = (BOT["name"], password) + bot.verify = ca + for t in ok(bot.get(f"{jira_url}/rest/pat/latest/tokens", timeout=30)) or []: + if t.get("name") == JIRA_TOKEN_NAME: + ok(bot.delete(f"{jira_url}/rest/pat/latest/tokens/{t['id']}", timeout=30)) + jira_token = ok(bot.post(f"{jira_url}/rest/pat/latest/tokens", json={"name": JIRA_TOKEN_NAME}, + timeout=30))["rawToken"] + if not bot_valid(jira_token): + raise SystemExit("new Jira PAT does not authenticate with Basic JIRA_USER:JIRA_TOKEN") + + existing = get_var(main_pid, "RESULTS_PUSH_TOKEN") + gl_token = existing["value"] if existing and gitlab_valid(existing["value"]) else None + gl_rotated = gl_token is None + if gl_rotated: + gl_token = ok(gl.post(f"{gl_url}/admin/tokens", json={ + "login": "admin", "name": GITLAB_TOKEN_NAME, + "scopes": ["api", "read_repository", "write_repository"]}, timeout=30))["token"] + + project_id = os.getenv("CC75_RELAY_PROJECT", "cc75-initiatives") + emulator_ca = Path(ca).read_text() if isinstance(ca, str) else "" + system = next((Path(b) for b in SYSTEM_BUNDLES if Path(b).is_file()), None) + if not emulator_ca or system is None: + raise SystemExit("BREADBOARD_CA_FILE and a system CA bundle are required for the CA File variables") + ca_bundle = system.read_text().rstrip("\n") + "\n" + emulator_ca + for name, pid in pids.items(): + set_var(pid, "JIRA_SERVER", IN_CLUSTER["JIRA_SERVER"], description="CC-75: Jira emulator (canonical URL)") + username_var = USERNAME_VARIABLE[name] + set_var(pid, username_var, BOT["name"], description="CC-75: synthetic Jira bot") + delete_var(pid, "JIRA_USERNAME" if username_var == "JIRA_USER" else "JIRA_USER") + set_var(pid, "JIRA_API_TOKEN", jira_token, masked=True, description="CC-75: emulator Jira PAT") + set_var(pid, "RESULTS_PUSH_TOKEN", gl_token, masked=True, description="CC-75: emulator GitLab PAT") + set_var(pid, "EXTRA_CA_FILE", IN_CLUSTER["EXTRA_CA_FILE"], description="CC-75: runner-mounted emulator CA") + for var in CA_FILE_VARIABLES: + set_var(pid, var, ca_bundle, file=True, description="CC-75: public roots plus the emulator CA") + for var, value in PROJECT_SETTINGS.get(name, {}).items(): + set_var(pid, var, value, description="CC-75: emulator project setting") + set_var(pid, "STRAT_CREATOR_RAW_BASE", IN_CLUSTER["STRAT_CREATOR_RAW_BASE"], + description="CC-75: GitHub emulator raw endpoint for strat-creator") + set_var(pid, "STRAT_RESULTS_GIT_BASE", IN_CLUSTER["STRAT_RESULTS_GIT_BASE"], + description="CC-75: results remote is the in-cluster GitLab emulator") + # strat-pipeline-data is strat-pipeline's results repository. rfe-autofixer and + # epic-decomposer name theirs in the job YAML and the mirror overrides it per + # schedule or pipeline (run_autofix.py, run_decompose.py), so they carry none. + if name == "strat-pipeline": + set_var(pid, "RESULTS_REPO", IN_CLUSTER["RESULTS_REPO"], description="CC-75: emulator results repository") + else: + delete_var(pid, "RESULTS_REPO") + set_var(pid, "GCP_PROJECT_ID", project_id, description="CC-75: Model Relay project id") + current = get_var(pid, "GOOGLE_APPLICATION_CREDENTIALS") + if current is None or "cc75-placeholder" in current.get("value", ""): + set_var(pid, "GOOGLE_APPLICATION_CREDENTIALS", PLACEHOLDER_ADC, file=True, + description="CC-75: placeholder until the model route is configured") + + report = {"version": 1, "checked_at": datetime.now(timezone.utc).isoformat(), + "jira_bot": BOT["name"], "jira_token_rotated": jira_rotated, "jira_basic_auth_check": True, + "gitlab_token_rotated": gl_rotated, "projects": pids, + "username_variable": USERNAME_VARIABLE, "ca_file_variables": list(CA_FILE_VARIABLES), + "project_settings": PROJECT_SETTINGS, + "variables_visible": ["JIRA_SERVER", "EXTRA_CA_FILE", "STRAT_CREATOR_RAW_BASE", + "STRAT_RESULTS_GIT_BASE", "RESULTS_REPO", "GCP_PROJECT_ID"], + "variables_masked": ["JIRA_API_TOKEN", "RESULTS_PUSH_TOKEN"], + "variables_file": ["GOOGLE_APPLICATION_CREDENTIALS"], + "notes": ["Raw credentials are not written to this report."]} + (ROOT / "credentials-manifest.json").write_text(json.dumps(report, indent=2) + "\n") + print(json.dumps({k: report[k] for k in ("jira_token_rotated", "gitlab_token_rotated", "projects")})) + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/var/demos/initiatives/scripts/bootstrap_model.py b/var/demos/initiatives/scripts/bootstrap_model.py new file mode 100644 index 0000000..af4f495 --- /dev/null +++ b/var/demos/initiatives/scripts/bootstrap_model.py @@ -0,0 +1,255 @@ +#!/usr/bin/env python3 +"""Converge the CC-75 Model Relay route and CI model credentials (approved 2026-11-16). + +1. Relay project `cc75-initiatives`: upstream profile `rh-vertex-strat-evals` + (the human's Vertex account), model allowlist [claude-opus-5-5]. +2. One Vertex workload key (exchange_only + mock_adc): its raw secret can only + be exchanged at the relay's in-cluster /v1/token for a short-lived, + project-bound token. Real upstream credentials stay inside the relay. +3. GitLab File variables on the CC-75 projects: + CC75_RELAY_WORKLOAD_KEY the workload key (masked file) + GOOGLE_APPLICATION_CREDENTIALS external_account ADC whose token_url is the + relay and whose credential_source is the + key at its sandbox path + replacing bootstrap_ci.py's inert placeholder. +4. A Vertex-capable relay API key (`cc75-ci-apikey`, claude-opus-5-5 only) as the + masked CI variable CC75_RELAY_API_KEY. Sandboxed Claude Code cannot acquire + external_account credentials (smoke/sandbox-relay: the same exchange works + from Python), so the harness skips Claude's Google auth and sends this key as + `Authorization: Bearer` (CLAUDE_CODE_SKIP_VERTEX_AUTH + ANTHROPIC_CUSTOM_HEADERS). +5. --smoke: one minimal inference per credential path (exchanged token, and + API key as bearer; 5-token rawPredict each). Records status and token counts only. +The key is never printed or written to disk outside GitLab; a valid stored key +is reused. Writes evidence/model-route-.json. +""" +from __future__ import annotations + +import argparse +import json +import os +import socket +import subprocess +import sys +import time +from datetime import datetime, timezone +from pathlib import Path +from urllib.parse import quote + +import requests + +ROOT = Path(__file__).resolve().parents[1] +DOMAIN = os.getenv("BREADBOARD_DOMAIN", "local").strip(".") or "local" +PROJECT = "cc75-initiatives" +PROFILE = "rh-vertex-strat-evals" +MODEL = "claude-opus-5-5" +CLIENT_ID = "cc75-ci-workload" +API_CLIENT_ID = "cc75-ci-apikey" +GROUP = "redhat/rhel-ai/agentic-ci" +CI_PROJECTS = ["strat-pipeline", "rfe-autofixer", "epic-decomposer"] +RELAY = "model-relay.ai-pipeline.svc.cluster.local" +TOKEN_URL = f"http://{RELAY}:8082/v1/token" +SANDBOX_KEY_PATH = "/tmp/.cc75-relay-workload-key" +SCOPE = "https://www.googleapis.com/auth/cloud-platform" +TT = "urn:ietf:params:oauth:token-type:access_token" + + +def audience(project: str) -> str: + return ("//iam.googleapis.com/projects/000000000001/locations/global/" + f"workloadIdentityPools/{project}/providers/vertex-shim") + + +def adc_json() -> str: + return json.dumps({"type": "external_account", "audience": audience(PROJECT), "token_url": TOKEN_URL, + "subject_token_type": TT, + "credential_source": {"file": SANDBOX_KEY_PATH, "format": {"type": "text"}}}) + + +class PortForward: + """kubectl port-forward to the relay's unpublished ADC (8082) and inference (8080) ports.""" + + def __enter__(self): + with socket.socket() as a, socket.socket() as b: + a.bind(("127.0.0.1", 0)); b.bind(("127.0.0.1", 0)) + self.adc, self.api = a.getsockname()[1], b.getsockname()[1] + self.proc = subprocess.Popen( + ["kubectl", "port-forward", "-n", "ai-pipeline", "svc/model-relay", + f"{self.adc}:8082", f"{self.api}:8080"], stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL) + for _ in range(50): + try: + socket.create_connection(("127.0.0.1", self.api), timeout=0.2).close() + return self + except OSError: + time.sleep(0.2) + raise SystemExit("port-forward to model-relay did not come up") + + def __exit__(self, *exc): + self.proc.terminate() + self.proc.wait(timeout=10) + + +def exchange(adc_port: int, key: str) -> requests.Response: + return requests.post(f"http://127.0.0.1:{adc_port}/v1/token", timeout=30, data={ + "grant_type": "urn:ietf:params:oauth:grant-type:token-exchange", "scope": SCOPE, + "requested_token_type": TT, "subject_token_type": TT, + "audience": audience(PROJECT), "subject_token": key}) + + +def main() -> int: + ap = argparse.ArgumentParser(description=__doc__.splitlines()[0]) + ap.add_argument("--smoke", action="store_true") + ap.add_argument("--extra-project", action="append", default=[], + help="additional GitLab project path (e.g. cc75/sandbox-relay) to receive the CI variables") + args = ap.parse_args() + ca = os.getenv("BREADBOARD_CA_FILE") or True + admin = requests.Session() + admin.headers["authorization"] = f"Bearer {os.getenv('MODEL_RELAY_ADMIN_KEY', 'admin')}" + admin.verify = ca + a = f"https://relay.{DOMAIN}/api/private/v1" + gl = requests.Session() + gl.auth = (os.getenv("GITLAB_USER", "admin"), os.getenv("GITLAB_ADMIN_PASSWORD", "admin")) + gl.verify = ca + g = f"https://gitlab.{DOMAIN}/api/v4" + + def ok(r): + if r.status_code >= 400: + raise SystemExit(f"{r.request.method} {r.url.split('?')[0]}: HTTP {r.status_code}: {r.text[:200]}") + return r.json() if r.content else None + + project_doc = {"project_id": PROJECT, "display_name": "CC-75 Initiatives (synthetic demo)", + "enabled": True, "labels": {"cc75": "synthetic-demo"}, "upstream_profile": PROFILE, + "model_policy": {"allowed": [MODEL], "blocked": []}} + r = admin.get(f"{a}/projects/{PROJECT}", timeout=30) + if r.status_code == 404: + ok(admin.post(f"{a}/projects", json=project_doc, timeout=30)) + project_action = "created" + else: + current = ok(r) + same = all(current.get(k) == v for k, v in project_doc.items() if k != "model_policy") and \ + (current.get("model_policy") or {}).get("allowed") == [MODEL] + if not same: + ok(admin.put(f"{a}/projects/{PROJECT}", json=project_doc, timeout=30)) + project_action = "unchanged" if same else "updated" + status = ok(admin.get(f"{a}/projects/{PROJECT}/auth/status", timeout=30)) + + paths = [f"{GROUP}/{n}" for n in CI_PROJECTS] + args.extra_project + pids = {p.rsplit("/", 1)[-1] if p.startswith(GROUP) else p: + ok(gl.get(f"{g}/projects/{quote(p, safe='')}", timeout=30))["id"] for p in paths} + + def get_var(pid, key): + r = gl.get(f"{g}/projects/{pid}/variables/{key}", timeout=30) + return None if r.status_code == 404 else ok(r) + + def set_var(pid, key, value, *, masked, description, file=True): + body = {"value": value, "variable_type": "file" if file else "env_var", "masked": masked, "protected": False, + "raw": True, "environment_scope": "*", "description": description} + if get_var(pid, key) is None: + ok(gl.post(f"{g}/projects/{pid}/variables", json={"key": key, **body}, timeout=30)) + else: + ok(gl.put(f"{g}/projects/{pid}/variables/{key}", json=body, timeout=30)) + + smoke = None + with PortForward() as pf: + stored = get_var(pids["strat-pipeline"], "CC75_RELAY_WORKLOAD_KEY") + key = stored["value"].strip() if stored else None + key_action = "reused" + if not key or exchange(pf.adc, key).status_code != 200: + creds = ok(admin.get(f"{a}/projects/{PROJECT}/credentials", timeout=30)) + items = creds.get("items", creds) if isinstance(creds, dict) else creds + for c in items or []: + if c.get("client_id") == CLIENT_ID: + ok(admin.delete(f"{a}/projects/{PROJECT}/credentials/{c['key_id']}", timeout=30)) + issued = ok(admin.post(f"{a}/projects/{PROJECT}/credentials", timeout=30, json={ + "client_id": CLIENT_ID, "models": [MODEL], "backends": ["anthropic"], + "catalog_models": False, "vertex_catalog_models": True, "mock_adc": True, + "exchange_only": True})) + key, key_action = issued["api_key"], "issued" + for name, pid in pids.items(): + set_var(pid, "CC75_RELAY_WORKLOAD_KEY", key + "\n", masked=True, + description="CC-75: relay Vertex workload key (exchange-only)") + set_var(pid, "GOOGLE_APPLICATION_CREDENTIALS", adc_json(), masked=False, + description="CC-75: external_account ADC via Model Relay") + def raw_predict(bearer): + r = requests.post( + f"http://127.0.0.1:{pf.api}/v1/projects/{PROJECT}/locations/global/publishers/anthropic/" + f"models/{MODEL}:rawPredict", timeout=120, headers={"authorization": f"Bearer {bearer}"}, + json={"anthropic_version": "vertex-2023-10-16", "max_tokens": 5, + "messages": [{"role": "user", "content": "Reply with the single word OK."}]}) + body = r.json() if r.headers.get("content-type", "").startswith("application/json") else {} + return {"status": r.status_code, "model": body.get("model"), "usage": body.get("usage"), + "error_message": str((body.get("error") or {}).get("message", ""))[:200]} + + stored_api = get_var(pids["strat-pipeline"], "CC75_RELAY_API_KEY") + api_key = stored_api["value"].strip() if stored_api else None + api_action = "reused" + creds = ok(admin.get(f"{a}/projects/{PROJECT}/credentials", timeout=30)) + listed = [c for c in (creds.get("items", creds) if isinstance(creds, dict) else creds) or [] + if c.get("client_id") == API_CLIENT_ID] + # Messages API use (the corsair provider recipe) needs the Messages catalogue grant. + grants_ok = all(c.get("catalog_models") for c in listed) and listed + if not api_key or not grants_ok or raw_predict(api_key)["status"] == 401: + for c in listed: + ok(admin.delete(f"{a}/projects/{PROJECT}/credentials/{c['key_id']}", timeout=30)) + api_key = ok(admin.post(f"{a}/projects/{PROJECT}/credentials", timeout=30, json={ + "client_id": API_CLIENT_ID, "models": [MODEL], "backends": ["anthropic"], + "catalog_models": True, "vertex_catalog_models": True, "mock_adc": False, + "exchange_only": False}))["api_key"] + api_action = "issued" + for name, pid in pids.items(): + set_var(pid, "CC75_RELAY_API_KEY", api_key, masked=True, file=False, + description="CC-75: relay Vertex API key (claude-opus-5-5 only)") + # rfe-autofixer takes agentic-ci's API-key route (production's autofix-rfe-anthropic job): + # the relay key as ANTHROPIC_API_KEY plus the relay base URL and model names, all as + # project variables, so its YAML needs no relay changes (runner patch 0004 forwards them). + relay_settings = { + "ANTHROPIC_BASE_URL": f"https://relay-api.{DOMAIN}", "CLAUDE_MODEL": MODEL, + "ANTHROPIC_DEFAULT_OPUS_MODEL": MODEL, "ANTHROPIC_DEFAULT_SONNET_MODEL": MODEL, + "ANTHROPIC_DEFAULT_HAIKU_MODEL": MODEL, "ANTHROPIC_SMALL_FAST_MODEL": MODEL, + "CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC": "1", + # The relay requires Claude Code 2.1.280+ for this model; claude-sandbox ships 2.1.263. + "CC75_CLAUDE_CODE_IMAGE": ("ghcr.io/fullsend-ai/fullsend-sandbox@sha256:" + "2fc886b02c280ccf11f317662d182a56cefa6f9299ca9cbd54e780fced743ca7"), + } + if "rfe-autofixer" in pids: + pid = pids["rfe-autofixer"] + set_var(pid, "ANTHROPIC_API_KEY", api_key, masked=True, file=False, + description="CC-75: Model Relay key (claude-opus-5-5 only)") + for var, value in relay_settings.items(): + set_var(pid, var, value, masked=False, file=False, description="CC-75: Model Relay route") + direct = requests.post(f"http://127.0.0.1:{pf.api}/v1/messages", timeout=30, + headers={"x-api-key": key, "anthropic-version": "2023-06-01"}, + json={"model": MODEL, "max_tokens": 1, + "messages": [{"role": "user", "content": "hi"}]}).status_code + if args.smoke: + t = exchange(pf.adc, key) + ok(t) + m = requests.post(f"http://127.0.0.1:{pf.api}/v1/messages", timeout=120, + headers={"x-api-key": api_key, "anthropic-version": "2023-06-01"}, + json={"model": MODEL, "max_tokens": 5, + "messages": [{"role": "user", "content": "Reply with the single word OK."}]}) + mb = m.json() if m.headers.get("content-type", "").startswith("application/json") else {} + smoke = {"exchange_status": t.status_code, + "exchanged_token": raw_predict(t.json()["access_token"]), + "api_key_bearer": raw_predict(api_key), + "messages_api_key": {"status": m.status_code, "model": mb.get("model"), + "usage": mb.get("usage"), + "error_message": str((mb.get("error") or {}).get("message", ""))[:200]}} + smoke["raw_predict_status"] = smoke["messages_api_key"]["status"] + + report = {"checked_at": datetime.now(timezone.utc).isoformat(), "relay_project": PROJECT, + "project_action": project_action, "upstream_profile": PROFILE, "allowed_models": [MODEL], + "auth_status": status, "workload_key": key_action, "api_key_action": api_action, "exchange_only_direct_messages_status": direct, + "ci_projects": pids, "ci_file_variables": ["CC75_RELAY_WORKLOAD_KEY (masked)", + "GOOGLE_APPLICATION_CREDENTIALS"], + "ci_env_variables": ["CC75_RELAY_API_KEY (masked)"], + "smoke": smoke, "notes": ["No key or token values are recorded."]} + out = ROOT / "evidence" / f"model-route-{datetime.now(timezone.utc).strftime('%Y%m%dT%H%M%SZ')}.json" + out.parent.mkdir(exist_ok=True) + out.write_text(json.dumps(report, indent=2) + "\n") + print(json.dumps({k: report[k] for k in ("project_action", "workload_key", "api_key_action", + "exchange_only_direct_messages_status", "smoke")}, indent=1)) + ok_smoke = (not args.smoke) or (smoke and smoke["raw_predict_status"] == 200) + return 0 if ok_smoke and direct in (401, 403) else 1 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/var/demos/initiatives/scripts/check_discovery.py b/var/demos/initiatives/scripts/check_discovery.py new file mode 100644 index 0000000..9801159 --- /dev/null +++ b/var/demos/initiatives/scripts/check_discovery.py @@ -0,0 +1,114 @@ +#!/usr/bin/env python3 +"""S1: check Initiative discovery queries against the expected.yaml oracle. + +Runs, against the Jira emulator: + - strat-creator's initiative-strategy discovery JQL (exact string); + - the rfe-autofixer opt-in query (provisional, plan Q4); + - epic-creator's skip query `parent = KEY AND issuetype = Epic` per candidate, + plus its legacy outward Incorporates check. +Only fixture issues are compared (keys in the synthetic block); pre-existing +demo issues are reported separately if a query selects them. +Writes evidence/discovery-.json. +""" +from __future__ import annotations + +import argparse +import json +import os +import sys +from datetime import datetime, timezone +from pathlib import Path + +import requests +import yaml + +ROOT = Path(__file__).resolve().parents[1] +DOMAIN = os.getenv("BREADBOARD_DOMAIN", "local").strip(".") or "local" + + +def search(s: requests.Session, url: str, jql: str) -> list[str]: + keys, token = [], None + while True: + params = {"jql": jql, "maxResults": 100, "fields": "key"} + if token: + params["nextPageToken"] = token + r = s.get(f"{url}/rest/api/3/search/jql", params=params, timeout=60) + r.raise_for_status() + page = r.json() + keys += [i["key"] for i in page.get("issues", [])] + token = page.get("nextPageToken") + if not token or page.get("isLast", True): + return keys + + +def main() -> int: + ap = argparse.ArgumentParser(description=__doc__.splitlines()[0]) + ap.add_argument("--jira-url", default=os.getenv("JIRA_URL", f"https://jira.{DOMAIN}")) + ap.add_argument("--expected", default=ROOT / "expected.yaml", type=Path) + ap.add_argument("--autofix-project", default="RHAISTRAT") + args = ap.parse_args() + exp = yaml.safe_load(args.expected.read_text()) + base = min(int(v.split("-")[1]) for v in exp["fixture_ids"].values()) + s = requests.Session() + s.auth = (os.getenv("JIRA_ADMIN_USER", "admin"), os.getenv("JIRA_ADMIN_PASSWORD", "admin")) + s.verify = os.getenv("BREADBOARD_CA_FILE") or True + url = args.jira_url.rstrip("/") + + def fixture(keys): + return [k for k in keys if int(k.split("-")[1]) >= base] + + def other(keys): + return [k for k in keys if int(k.split("-")[1]) < base] + + results = {} + sc = exp["strat_creator"] + got = search(s, url, sc["discovery_jql"]) + results["strat_creator_jql"] = {"expected": sc["jql_selected"], "got": fixture(got), + "non_fixture_selected": other(got)} + optin_jql = (f"project = {args.autofix_project} AND issuetype = Initiative " + "AND labels = 'initiative-autofix-opt-in' ORDER BY key ASC") + got = search(s, url, optin_jql) + results["rfe_autofixer_optin"] = {"jql": optin_jql, "expected": exp["rfe_autofixer"]["opted_in"], + "got": fixture(got), "non_fixture_selected": other(got)} + decomp = {} + for key, want in exp["epic_creator"]["candidates"].items(): + children = search(s, url, f"parent = {key} AND issuetype = Epic") + r = s.get(f"{url}/rest/api/2/issue/{key}", params={"fields": "issuelinks"}, timeout=60) + r.raise_for_status() + legacy = [l["outwardIssue"]["key"] for l in r.json()["fields"].get("issuelinks") or [] + if l["type"]["name"] == "Incorporates" and "outwardIssue" in l] + action = "skip" if children or legacy else "decompose" + decomp[key] = {"expected": want["action"], "got": action, + "epic_children": children, "legacy_incorporates": legacy} + results["epic_creator_skip"] = decomp + # Cross-project parent rollup: every fixture Initiative's Epic children must be found. + rollup = {} + for fid, item in exp["initiatives"].items(): + got = sorted(search(s, url, f"parent = {item['key']} AND issuetype = Epic")) + rollup[item["key"]] = {"expected": sorted(item["epic_children"]), "got": got} + results["epic_child_rollup"] = rollup + + failures = [] + for name in ("strat_creator_jql", "rfe_autofixer_optin"): + if results[name]["expected"] != results[name]["got"]: + failures.append(name) + failures += [f"epic_creator_skip:{k}" for k, v in decomp.items() if v["expected"] != v["got"]] + failures += [f"rollup:{k}" for k, v in rollup.items() if v["expected"] != v["got"]] + results["failures"] = failures + results["ok"] = not failures + results["checked_at"] = datetime.now(timezone.utc).isoformat() + evidence = ROOT / "evidence" + evidence.mkdir(exist_ok=True) + out = evidence / f"discovery-{datetime.now(timezone.utc).strftime('%Y%m%dT%H%M%SZ')}.json" + out.write_text(json.dumps(results, indent=2) + "\n") + print(json.dumps({"ok": results["ok"], "failures": failures, + "strat_jql": results["strat_creator_jql"]["got"], + "strat_non_fixture": results["strat_creator_jql"]["non_fixture_selected"], + "optin_non_fixture": results["rfe_autofixer_optin"]["non_fixture_selected"], + "decomp": {k: v["got"] for k, v in decomp.items()}, + "evidence": str(out.relative_to(ROOT))}, indent=1)) + return 0 if results["ok"] else 1 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/var/demos/initiatives/scripts/check_rollback.py b/var/demos/initiatives/scripts/check_rollback.py new file mode 100644 index 0000000..d363bd7 --- /dev/null +++ b/var/demos/initiatives/scripts/check_rollback.py @@ -0,0 +1,148 @@ +#!/usr/bin/env python3 +"""S9: kill switch and rollback on the CC-75 emulator mirror. No model calls. + +1. Kill switch. Create a strat-pipeline pipeline (ref main, STRAT_EXECUTOR=fullsend, + dry flags) with INITIATIVE_STRATEGIES unset, as a schedule does once the switch + is turned off, and the same with it on. Wait for python-tests, then compare the + job lists: off offers the RFE batch (workflow-batch-jql) and no Initiative job; + on offers workflow-batch-initiative and suppresses the RFE batch. Nothing is + played; both pipelines are cancelled afterwards. +2. Rollback. Fingerprint every fixture issue (type, status, labels, parent, links, + summary, description hash, attachment names, comment count): + restore cc75-baseline -> A; restore a changed state taken from the same + baseline (default: the demo check's cc75-demo-75028-decomposed: a live + strategy, a sign-off and 11 new Epics) -> B; restore cc75-baseline -> C. + Pass when C == A exactly, B differs from A, and seed_initiatives.verify() + finds no difference from the catalogue. +The Jira emulator is left at the baseline. Writes evidence/S9-.json. +""" +from __future__ import annotations + +import hashlib +import json +import os +import sys +import time +from datetime import datetime, timezone +from pathlib import Path +from urllib.parse import quote + +import requests + +sys.path.insert(0, str(Path(__file__).resolve().parent)) +import seed_initiatives # noqa: E402 + +ROOT = Path(__file__).resolve().parents[1] +DOMAIN = os.getenv("BREADBOARD_DOMAIN", "local").strip(".") or "local" +PROJECT = "redhat/rhel-ai/agentic-ci/strat-pipeline" +CHANGED_SNAPSHOT = os.getenv("CC75_S9_CHANGED_SNAPSHOT", "cc75-demo-75028-decomposed") +VARS = {"STRAT_EXECUTOR": "fullsend", "STRAT_DRY_RUN": "1", "FULLSEND_PUBLISH": "0"} + + +def kill_switch(gl, g): + pid = quote(PROJECT, safe="") + out = {} + for name, extra in (("off", {}), ("on", {"INITIATIVE_STRATEGIES": "on"})): + variables = dict(VARS, **extra) + r = gl.post(f"{g}/projects/{pid}/pipeline", timeout=60, json={ + "ref": "main", "variables": [{"key": k, "value": v} for k, v in variables.items()]}) + r.raise_for_status() + pipeline = r.json()["id"] + jobs = [] + for _ in range(90): + jobs = gl.get(f"{g}/projects/{pid}/pipelines/{pipeline}/jobs", timeout=60).json() + tests = [j for j in jobs if j["name"] == "python-tests"] + if tests and tests[0]["status"] in ("success", "failed", "canceled"): + break + time.sleep(10) + gl.post(f"{g}/projects/{pid}/pipelines/{pipeline}/cancel", timeout=60) + out[name] = {"pipeline": pipeline, "variables": variables, + "jobs": {j["name"]: j["status"] for j in jobs}} + off, on = out["off"]["jobs"], out["on"]["jobs"] + out["checks"] = { + "off_python_tests_success": off.get("python-tests") == "success", + "off_offers_rfe_batch": "workflow-batch-jql" in off, + "off_has_no_initiative_job": "workflow-batch-initiative" not in off, + "on_python_tests_success": on.get("python-tests") == "success", + "on_offers_initiative_job": "workflow-batch-initiative" in on, + "on_suppresses_rfe_batch": "workflow-batch-jql" not in on, + } + return out + + +def snapshot(jira, j, label): + snaps = jira.get(f"{j}/api/admin/snapshots", timeout=30).json()["snapshots"] + names = sorted(s["name"] if isinstance(s, dict) else s for s in snaps) + names = [n for n in names if label in n] + if not names: + raise SystemExit(f"no {label} snapshot") + return names[-1] + + +def restore(jira, j, name): + jira.post(f"{j}/api/admin/snapshots/{name}/restore", timeout=120).raise_for_status() + + +def fingerprint(jira, j, keys): + fp = {} + for key in keys: + r = jira.get(f"{j}/rest/api/2/issue/{key}", timeout=30, params={ + "fields": "issuetype,status,labels,parent,issuelinks,summary,description,attachment,comment"}) + if r.status_code == 404: + fp[key] = None + continue + f = r.json()["fields"] + fp[key] = { + "type": f["issuetype"]["name"], "status": f["status"]["name"], "labels": sorted(f.get("labels") or []), + "parent": (f.get("parent") or {}).get("key"), + "links": sorted(f"{l['type']['name']}>{l['outwardIssue']['key']}" for l in f.get("issuelinks") or [] + if "outwardIssue" in l), + "summary": f.get("summary"), + "description_sha256": hashlib.sha256(json.dumps(f.get("description"), sort_keys=True).encode()).hexdigest(), + "attachments": sorted(a["filename"] for a in f.get("attachment") or []), + "comments": (f.get("comment") or {}).get("total", 0), + } + return fp + + +def main() -> int: + ca = os.getenv("BREADBOARD_CA_FILE") or True + gl = requests.Session() + gl.auth = (os.getenv("GITLAB_USER", "admin"), os.getenv("GITLAB_ADMIN_PASSWORD", "admin")) + gl.verify = ca + jira = requests.Session() + jira.auth = (os.getenv("JIRA_ADMIN_USER", "admin"), os.getenv("JIRA_ADMIN_PASSWORD", "admin")) + jira.verify = ca + g, j = f"https://gitlab.{DOMAIN}/api/v4", f"https://jira.{DOMAIN}" + + ks = kill_switch(gl, g) + issues = json.loads((ROOT / "generated" / "issues.json").read_text())["issues"] + keys = [i["key"] for i in issues] + base, after = snapshot(jira, j, "cc75-baseline"), snapshot(jira, j, CHANGED_SNAPSHOT) + restore(jira, j, base) + a = fingerprint(jira, j, keys) + restore(jira, j, after) + b = fingerprint(jira, j, keys) + restore(jira, j, base) + c = fingerprint(jira, j, keys) + changed = sorted(k for k in keys if a[k] != b[k]) + problems = seed_initiatives.verify(seed_initiatives.Jira(j, jira.auth[0], jira.auth[1], ca), issues) + rollback = {"baseline": base, "changed_state": after, "issues": len(keys), "changed_in_that_state": changed, + "restore_differences": sorted(k for k in keys if a[k] != c[k]), "catalogue_problems": problems, + "checks": {"restore_is_exact": a == c, "changed_state_differs": bool(changed), + "matches_catalogue": not problems, + "baseline_has_no_attachments": not any(a[k] and a[k]["attachments"] for k in keys)}} + ok = all(ks["checks"].values()) and all(rollback["checks"].values()) + summary = {"scenario": "S9", "kill_switch": ks, "rollback": rollback, "ok": ok, + "checked_at": datetime.now(timezone.utc).isoformat()} + out = ROOT / "evidence" / f"S9-{datetime.now(timezone.utc).strftime('%Y%m%dT%H%M%SZ')}.json" + out.write_text(json.dumps(summary, indent=2) + "\n") + for section in (ks, rollback): + for name, passed in section["checks"].items(): + print(f" check {name:<40} {passed}") + print(f" changed in {after}: {changed}; ok={ok}; evidence: {out.relative_to(ROOT)}") + return 0 if ok else 1 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/var/demos/initiatives/scripts/check_tool_discovery.py b/var/demos/initiatives/scripts/check_tool_discovery.py new file mode 100644 index 0000000..fcc3e9e --- /dev/null +++ b/var/demos/initiatives/scripts/check_tool_discovery.py @@ -0,0 +1,90 @@ +#!/usr/bin/env python3 +"""S1b: build strat-creator's discovery JQL with its own code, per mirrored ref. + +For each strat-creator ref cached by mirror_github.py (refs/cc75/), this +exports scripts/, config/ and types/ to ~/.cache/cc75/work/strat-creator-, +calls jira_utils.build_jql_from_config("config/initiative-settings.yaml") from +that tree, runs the resulting JQL against the Jira emulator, and compares the +fixture issues it selects with expected.yaml. A difference is reported per +fixture issue with the pipeline labels that explain it. + +The exported code runs in a subprocess with `python3 -I`, so nothing from this +repository or the current directory is importable by it. +Writes evidence/tool-discovery-.json; exits 1 if any ref differs. +""" +from __future__ import annotations + +import argparse +import io +import json +import os +import subprocess +import sys +import tarfile +from datetime import datetime, timezone +from pathlib import Path + +import requests +import yaml + +ROOT = Path(__file__).resolve().parents[1] +DOMAIN = os.getenv("BREADBOARD_DOMAIN", "local").strip(".") or "local" +CACHE = Path(os.getenv("CC75_CACHE", Path.home() / ".cache" / "cc75" / "sources")) +WORK = CACHE.parent / "work" +BUILD = ("import sys, os; sys.path.insert(0, 'scripts'); import jira_utils as m; " + "r = m.build_jql_from_config('config/initiative-settings.yaml'); " + "print(r if isinstance(r, str) else r[0])") + + +def export(bare: Path, ref: str, dest: Path) -> None: + data = subprocess.run(["git", "-C", str(bare), "archive", ref, "scripts", "config", "types"], + check=True, capture_output=True).stdout + if dest.exists(): + subprocess.run(["rm", "-rf", str(dest)], check=True) + dest.mkdir(parents=True) + with tarfile.open(fileobj=io.BytesIO(data)) as tar: + tar.extractall(dest, filter="data") + + +def main() -> int: + ap = argparse.ArgumentParser(description=__doc__.splitlines()[0]) + ap.add_argument("--jira-url", default=os.getenv("JIRA_URL", f"https://jira.{DOMAIN}")) + args = ap.parse_args() + exp = yaml.safe_load((ROOT / "expected.yaml").read_text()) + intended = exp["strat_creator"]["jql_selected"] + labels_of = {v["key"]: v["labels"] for v in exp["initiatives"].values()} + base = min(int(k.split("-")[1]) for k in exp["fixture_ids"].values()) + bare = CACHE / "fullsend-ai__strat-creator.git" + refs = subprocess.run(["git", "-C", str(bare), "for-each-ref", "--format=%(refname:short) %(objectname)", + "refs/cc75/"], check=True, capture_output=True, text=True).stdout.split("\n") + s = requests.Session() + s.auth = (os.getenv("JIRA_ADMIN_USER", "admin"), os.getenv("JIRA_ADMIN_PASSWORD", "admin")) + s.verify = os.getenv("BREADBOARD_CA_FILE") or True + results = {} + for line in filter(None, refs): + ref, sha = line.split() + branch = ref.split("/")[-1] + dest = WORK / f"strat-creator-{branch}" + export(bare, ref, dest) + jql = subprocess.run([sys.executable, "-I", "-c", BUILD], cwd=dest, check=True, + capture_output=True, text=True).stdout.strip() + r = s.get(f"{args.jira_url.rstrip('/')}/rest/api/3/search/jql", + params={"jql": jql, "maxResults": 100, "fields": "key"}, timeout=60) + r.raise_for_status() + got = sorted((i["key"] for i in r.json()["issues"] if int(i["key"].split("-")[1]) >= base), + key=lambda k: int(k.split("-")[1])) + extra = {k: [l for l in labels_of.get(k, []) if "ignore" in l or "creator" in l] + for k in got if k not in intended} + missing = [k for k in intended if k not in got] + results[branch] = {"commit": sha, "jql": jql, "selected": got, + "matches_intended": not extra and not missing, + "extra_with_labels": extra, "missing": missing} + print(f"{branch}@{sha[:8]}: matches={results[branch]['matches_intended']} extra={extra} missing={missing}") + out = ROOT / "evidence" / f"tool-discovery-{datetime.now(timezone.utc).strftime('%Y%m%dT%H%M%SZ')}.json" + out.parent.mkdir(exist_ok=True) + out.write_text(json.dumps({"intended": intended, "refs": results}, indent=2) + "\n") + return 0 if all(v["matches_intended"] for v in results.values()) else 1 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/var/demos/initiatives/scripts/demo.py b/var/demos/initiatives/scripts/demo.py new file mode 100644 index 0000000..d90ba87 --- /dev/null +++ b/var/demos/initiatives/scripts/demo.py @@ -0,0 +1,206 @@ +#!/usr/bin/env python3 +"""Drive the CC-75 Initiatives demo on the emulators, one step at a time. + +Every step is a real action through the production jobs the scenarios verified +(S3-S10); nothing is simulated, and nothing here resets Jira between steps, so +the demo builds state as the audience watches. Run from this directory on the +stack host with BREADBOARD_DOMAIN and BREADBOARD_CA_FILE set (see README). + + demo.py reset restore the newest cc75-baseline snapshot + demo.py board list the Initiatives: key, status, labels, summary + demo.py show KEY one issue: labels, attachments, links, children + demo.py optin KEY add initiative-autofix-opt-in (the canary boundary) + demo.py autofix [--limit N] rfe-autofixer's schedule-only autofix-initiative (model) + demo.py tripwire a live Initiative run on strat-pipeline main: refused + demo.py dry dry Initiative batch, BATCH_SIZE=1, on main (model) + demo.py live KEY live strategy for one Initiative on main, INITIATIVE_LIVE=on (model) + demo.py signoff KEY add strat-creator-human-sign-off (the human gate) + demo.py decompose epic-decomposer's decompose-initiatives (model) + demo.py killswitch pipeline with INITIATIVE_STRATEGIES unset: RFE batch only + demo.py results the data repos' Initiative folders + +Steps that start a pipeline print its URL and, with --wait, follow the job to +the end and print its last lines. Model steps go through Model Relay. +""" +from __future__ import annotations + +import argparse +import os +import sys +import time +from urllib.parse import quote + +import requests + +DOMAIN = os.getenv("BREADBOARD_DOMAIN", "local").strip(".") or "local" +CA = os.getenv("BREADBOARD_CA_FILE") or True +G, J = f"https://gitlab.{DOMAIN}", f"https://jira.{DOMAIN}" +GROUP = "redhat/rhel-ai/agentic-ci" +EMULATOR_SOURCE = { + "STRAT_CREATOR_REPO": "https://github-emulator.ai-pipeline.svc.cluster.local/fullsend-ai/strat-creator.git", + "STRAT_CREATOR_BRANCH": "cc75-emulator", +} +DRY = {"STRAT_DRY_RUN": "1", "FULLSEND_PUBLISH": "0"} +LIVE = {"STRAT_DRY_RUN": "0", "FULLSEND_PUBLISH": "1"} +AUTOFIX_SCHEDULE = "cc75 S5 initiative autofix (inactive; played by run_autofix.py)" + +gl, jira = requests.Session(), requests.Session() +gl.auth = (os.getenv("GITLAB_USER", "admin"), os.getenv("GITLAB_ADMIN_PASSWORD", "admin")) +jira.auth = (os.getenv("JIRA_ADMIN_USER", "admin"), os.getenv("JIRA_ADMIN_PASSWORD", "admin")) +gl.verify = jira.verify = CA +# Ride out a brief gateway outage (the rehearsal hit a ~1 minute 502 from the GitLab +# ingress). A 502/503/504 means the emulator did not handle the request, so even a POST +# is retried; other errors still fail the step. +_retry = requests.adapters.HTTPAdapter(max_retries=requests.adapters.Retry( + total=8, backoff_factor=2, status_forcelist=(502, 503, 504), allowed_methods=None, + raise_on_status=False)) +for _session in (gl, jira): + _session.mount("https://", _retry) + + +def api(path): + return f"{G}/api/v4/{path}" + + +def pid(name): + return quote(f"{GROUP}/{name}", safe="") + + +def labels(key, add=(), remove=()): + ops = [{"add": l} for l in add] + [{"remove": l} for l in remove] + jira.put(f"{J}/rest/api/2/issue/{key}", json={"update": {"labels": ops}}, timeout=30).raise_for_status() + print(f"{key}: labels now {sorted(issue(key)['labels'])}") + + +def issue(key, fields="summary,status,labels,attachment,issuelinks,parent,issuetype"): + return jira.get(f"{J}/rest/api/2/issue/{key}", params={"fields": fields}, timeout=30).json()["fields"] + + +def search(jql, fields="summary,status,labels"): + out, token = [], None + while True: + params = {"jql": jql, "maxResults": 100, "fields": fields} + if token: + params["nextPageToken"] = token + page = jira.get(f"{J}/rest/api/3/search/jql", params=params, timeout=60).json() + out += page.get("issues", []) + token = page.get("nextPageToken") + if not token or page.get("isLast", True): + return out + + +def pipeline(project, ref="main", variables=None, play=None, wait=False): + r = gl.post(api(f"projects/{pid(project)}/pipeline"), timeout=60, json={ + "ref": ref, "variables": [{"key": k, "value": v} for k, v in (variables or {}).items()]}) + r.raise_for_status() + pl = r.json()["id"] + print(f"pipeline {pl}: {G}/{GROUP}/{project}/-/pipelines/{pl}") + return follow(project, pl, play, wait) + + +def follow(project, pl, play=None, wait=False): + played, job = False, None + for _ in range(4 * 360 if wait else 40): + jobs = gl.get(api(f"projects/{pid(project)}/pipelines/{pl}/jobs"), timeout=60).json() + job = next((x for x in jobs if x["name"] == play), None) if play else None + if job and job["status"] == "manual" and not played: + gl.post(api(f"projects/{pid(project)}/jobs/{job['id']}/play"), timeout=60).raise_for_status() + played = True + print(f"played {play}: {G}/{GROUP}/{project}/-/jobs/{job['id']}") + if not wait: + return pl + lint = [x for x in jobs if x["stage"] in ("validate", "lint")] + if not play and lint and all(x["status"] in ("success", "failed", "canceled") for x in lint): + for x in lint: + print(f" {x['name']}: {x['status']}") + return pl + if job and job["status"] in ("success", "failed", "canceled"): + trace = gl.get(api(f"projects/{pid(project)}/jobs/{job['id']}/trace"), timeout=60).text.splitlines() + print(f"{play}: {job['status']}") + print("\n".join(line[28:220] for line in trace if "💬" in line or "Cost" in line)[-2000:]) + return pl + time.sleep(15) + return pl + + +def main() -> int: + ap = argparse.ArgumentParser(description=__doc__.splitlines()[0]) + ap.add_argument("step") + ap.add_argument("key", nargs="?") + ap.add_argument("--wait", action="store_true") + ap.add_argument("--limit", default="3") + a = ap.parse_args() + + if a.step == "reset": + snaps = jira.get(f"{J}/api/admin/snapshots", timeout=30).json()["snapshots"] + name = sorted(s["name"] if isinstance(s, dict) else s for s in snaps if "cc75-baseline" in str(s))[-1] + jira.post(f"{J}/api/admin/snapshots/{name}/restore", timeout=120).raise_for_status() + print(f"restored {name}") + elif a.step == "board": + for i in search("project = RHAISTRAT AND issuetype = Initiative ORDER BY key ASC"): + f = i["fields"] + shown = [l for l in f["labels"] if not l.startswith("cc75-")] + print(f"{i['key']:<16} {f['status']['name']:<15} {f['summary'][8:70]:<62} {' '.join(shown)}") + elif a.step == "show": + f = issue(a.key) + print(f"{a.key} [{f['issuetype']['name']}] {f['summary']}\n status: {f['status']['name']}") + print(f" labels: {' '.join(sorted(f['labels']))}") + print(f" attachments: {[x['filename'] for x in f.get('attachment') or []]}") + for l in f.get("issuelinks") or []: + other = l.get("outwardIssue") or l.get("inwardIssue") + print(f" link: {l['type']['name']} {other['key']}") + for c in search(f"parent = {a.key} ORDER BY key ASC", fields="summary,issuetype"): + print(f" child: {c['key']} [{c['fields']['issuetype']['name']}] {c['fields']['summary'][:80]}") + elif a.step == "optin": + labels(a.key, add=["initiative-autofix-opt-in"]) + elif a.step == "signoff": + labels(a.key, add=["strat-creator-human-sign-off"]) + elif a.step == "autofix": + p = pid("rfe-autofixer") + sched = next(s for s in gl.get(api(f"projects/{p}/pipeline_schedules"), timeout=60).json() + if s["description"] == AUTOFIX_SCHEDULE) + from run_autofix import schedule_variables + gl.put(api(f"projects/{p}/pipeline_schedules/{sched['id']}"), timeout=60, + json={"variables": schedule_variables(a.limit)}).raise_for_status() + pl = gl.post(api(f"projects/{p}/pipeline_schedules/{sched['id']}/play"), timeout=60).json()["id"] + print(f"schedule played, pipeline {pl}: {G}/{GROUP}/rfe-autofixer/-/pipelines/{pl}") + if a.wait: + follow("rfe-autofixer", pl, "autofix-initiative", True) + elif a.step == "tripwire": + pipeline("strat-pipeline", variables={"INITIATIVE_STRATEGIES": "on", "STRAT_EXECUTOR": "fullsend"}, + wait=True) + elif a.step == "dry": + pipeline("strat-pipeline", variables={"INITIATIVE_STRATEGIES": "on", "STRAT_EXECUTOR": "fullsend", + **DRY, **EMULATOR_SOURCE, "BATCH_SIZE": "1"}, + play="workflow-batch-initiative", wait=a.wait) + elif a.step == "live": + pipeline("strat-pipeline", + variables={"STRAT_EXECUTOR": "fullsend", "STRAT_TYPE": "initiative-strategy", "RFE_KEY": a.key, + **LIVE, "INITIATIVE_LIVE": "on", **EMULATOR_SOURCE}, + play="workflow-single-rfe", wait=a.wait) + elif a.step == "decompose": + # The job YAML is production's; point it at epic-creator #40 and the emulator's results. + from run_decompose import DECOMPOSE_VARIABLES + pipeline("epic-decomposer", play="decompose-initiatives", wait=a.wait, + variables={v["key"]: v["value"] for v in DECOMPOSE_VARIABLES}) + elif a.step == "killswitch": + pipeline("strat-pipeline", variables={"STRAT_EXECUTOR": "fullsend", **DRY}, wait=True) + jobs = gl.get(api(f"projects/{pid('strat-pipeline')}/pipelines?per_page=1"), timeout=60).json() + names = [x["name"] for x in gl.get(api(f"projects/{pid('strat-pipeline')}/pipelines/{jobs[0]['id']}/jobs"), + timeout=60).json()] + print(f"jobs offered: {', '.join(sorted(names))}") + elif a.step == "results": + for project, prefix in (("strat-pipeline-data", "initiative-strategy"), + ("rfe-autofixer-results", "initiative-rhaistrat"), + ("epic-decomposer-results", "")): + r = gl.get(api(f"projects/{pid(project)}/repository/tree"), timeout=60, + params={"path": prefix, "per_page": 100}) + names = [x["name"] for x in r.json()] if r.ok else [] + print(f"{project}/{prefix}: {', '.join(names) or '(empty)'}") + else: + ap.error(f"unknown step {a.step}") + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/var/demos/initiatives/scripts/generate_initiatives.py b/var/demos/initiatives/scripts/generate_initiatives.py new file mode 100644 index 0000000..4562074 --- /dev/null +++ b/var/demos/initiatives/scripts/generate_initiatives.py @@ -0,0 +1,564 @@ +#!/usr/bin/env python3 +"""Render the CC-75 synthetic Initiative catalogue into Jira import JSON. + +Outputs (deterministic; reruns are byte-identical): + generated/issues.json Jira-REST-shaped issues for POST /api/admin/import + expected.yaml oracle: discovery sets, skips, child counts, links + +All text comes from fixed templates and fictional vocabulary in this file and +catalogue.yaml. No LLM, no real Jira content. The lint at the end refuses to +write output that contains real-looking issue keys in text, people outside the +synthetic roster, or summaries without the [SYNTH] prefix. +""" +from __future__ import annotations + +import argparse +import hashlib +import json +import re +import sys +from datetime import datetime, timedelta +from pathlib import Path + +import yaml + +ROOT = Path(__file__).resolve().parents[1] + +STATUS_CATEGORY = { + "New": "new", "Backlog": "new", "To Do": "new", + "Refinement": "indeterminate", "In Progress": "indeterminate", + "Review": "indeterminate", "Release Pending": "indeterminate", + "Closed": "done", +} +OPEN_EXCLUDED = {"Closed", "Resolved"} + +VARIANT_LABELS = { + None: [], + "opted-in": ["initiative-autofix-opt-in"], + "rubric-pass": ["initiative-autofix-opt-in", "initiative-autofix-rubric-pass"], + "needs-attn": ["initiative-autofix-opt-in", "initiative-needs-attention"], +} + +# strat-creator initiative-strategy contract (types/initiative-strategy/type.yaml, +# read 2026-11-15 from the #124 head). Mirrored here for the oracle. +STRAT_REQUIRED = {"initiative-autofix-opt-in", "initiative-autofix-rubric-pass"} +STRAT_JQL_EXCLUDED = {"strat-creator-processing", "initiative-needs-attention", + "strat-creator-ignore", "initiative-ignore"} +STRAT_TOOL_SKIP = {"strat-creator-rubric-pass", "strat-creator-needs-attention", + "strat-creator-processing"} +DECOMP_REQUIRED = {"strat-creator-rubric-pass", "strat-creator-human-sign-off"} +DECOMP_DONE = "epic-creator-auto-decomposed" + +STRAT_JQL = ( + 'project = RHAISTRAT AND issuetype = "Initiative" AND labels = "initiative-autofix-opt-in" ' + 'AND (labels = "initiative-autofix-rubric-pass") AND (labels NOT IN ("strat-creator-processing",' + '"initiative-needs-attention","strat-creator-ignore","initiative-ignore") OR labels IS EMPTY) ' + 'AND status NOT IN ("Closed","Resolved") ORDER BY key ASC' +) + +LINK_TYPES = { + "Blocks": ("is blocked by", "blocks"), + "Relates": ("relates to", "relates to"), + "Cloners": ("is cloned by", "clones"), + "Depend": ("is depended on by", "depends on"), + "Duplicate": ("is duplicated by", "duplicates"), + "Incorporates": ("is incorporated by", "incorporates"), +} + +WORKSTREAMS = [ + "API contract and design", "Core implementation", "Observability and alerts", + "Documentation and enablement", "Performance and scale testing", "Security review", + "Upgrade and migration path", "CI coverage", "Console integration", + "Rollout behind a feature flag", "Packaging and distribution", "Usage telemetry", +] +PERSONAS = ["platform administrators", "model builders", "release owners", + "SRE teams", "data scientists", "security reviewers"] +CAPABILITIES = [ + "a documented API with versioned schemas", "per-team quotas and limits", + "dashboards for the key health signals", "an upgrade path with no manual steps", + "audit events for every administrative action", "offline and disconnected operation", + "role-based access aligned with existing groups", "self-service configuration", + "alerting thresholds that teams can tune", "a rollback path within one release", +] +RISKS = ["dependency on an unreleased upstream component", "capacity on shared CI runners", + "unclear ownership between two teams", "migration of existing user data", + "performance on the smallest supported cluster size"] + + +def pick(seed: str, pool: list[str], n: int) -> list[str]: + """Deterministic selection of n distinct items from pool.""" + order = sorted(pool, key=lambda item: hashlib.sha256(f"{seed}:{item}".encode()).hexdigest()) + return order[:n] + + +def iso(anchor: datetime, days_ago: int) -> str: + return (anchor - timedelta(days=days_ago)).strftime("%Y-%m-%dT%H:%M:%S.000+0000") + + +def render_description(item: dict) -> str: + tmpl = item["template"] + area = item.get("area", "") + sid = item["id"] + if tmpl == "empty": + return "" + if tmpl == "short": + return f"TBD; scope for {area} to follow." + who = pick(sid + "who", PERSONAS, 2) + caps = pick(sid + "cap", CAPABILITIES, 5) + risks = pick(sid + "risk", RISKS, 2) + out: list[str] = [] + benefit = [ + "## Who benefits", + f"{who[0][0].upper() + who[0][1:]} get a predictable, supported workflow for {area}, with " + "fewer hand-offs and less time spent on one-off fixes. " + f"{who[1][0].upper() + who[1][1:]} gain visibility into how {area} behaves across teams, " + "which today requires asking around or reading logs.", + f"Today, teams that need {area} assemble it themselves from scripts and internal notes; " + "the result differs per team, is hard to support, and breaks on upgrade.", + "", + ] + if tmpl in ("fpdor", "freehand", "strategy"): + out += benefit + if tmpl == "fpdor": + out += [ + "## Feature Overview (mandatory - complete while in New status)", + f"{area} gives {who[0]} and {who[1]} a supported way to work with this capability " + "without bespoke scripts. This Initiative tracks the product bet end to end.", + "", + "## Goals (mandatory - New)", + *[f"- Provide {c}." for c in caps[:3]], + "", + "## Requirements (mandatory - Refinement)", + "| Requirement | Notes | isMVP? |", + "| --- | --- | --- |", + *[f"| {c[0].upper() + c[1:]} | Synthetic requirement {i + 1} | {'Yes' if i < 3 else 'No'} |" + for i, c in enumerate(caps)], + "", + "## Out of Scope", + f"- Replacing existing tooling outside {area}.", + ] + elif tmpl == "freehand": + out += [ + "## Goal", + f"Make {area} usable by {who[0]} in day-to-day work, so that {who[1]} no longer " + "depend on manual workarounds.", + "", + "## Scope", + *[f"- {c[0].upper() + c[1:]}" for c in caps[:4]], + "", + "## Success criteria", + "- Median setup time below 15 minutes for a new team.", + "- At least 3 internal teams onboarded within one release.", + ] + if item.get("table"): + out += ["", "| Signal | Current | Target |", "| --- | --- | --- |", + "| Scale-up latency | 4 min | 60 s |", "| Idle replicas | 30% | 10% |"] + if item.get("dod"): + out += ["", "## Definition of Ready", "- Owner and component agreed.", + "", "## Definition of Done", "- Shipped behind a flag and documented."] + if item.get("long"): + for i in range(1, 31): + out += ["", f"### Requirement area {i}", + f"{area} must handle area {i} for {who[i % 2]}: " + + "; ".join(pick(f"{sid}long{i}", CAPABILITIES, 6)) + ".", + "Open questions: " + "; ".join(pick(f"{sid}q{i}", RISKS, 3)) + "."] + elif tmpl == "strategy": + out += [ + "## Summary", + f"Establish {area} as the default for every supported deployment.", + "", + "## Background", + f"- Drivers: compliance expectations from {who[0]}, and support load reported by {who[1]}.", + "- Positioning: closes a gap that customers currently fill with custom tooling.", + "", + "## Action items", + *[f"{i + 1}. Deliver {c}." for i, c in enumerate(caps[:4])], + "", + "## Risks & Assumptions", + *[f"- {r[0].upper() + r[1:]}." for r in risks], + ] + elif tmpl == "phased": + out += [ + "## Problem statement", + f"{area} decisions are made inconsistently across teams.", + "1. Decisions are not recorded in one place.", + "2. Reviews happen too late to change direction.", + "3. Nobody owns follow-up actions.", + "", + "## Refinement Phase", "- Agree the template and the decision owners.", + "", "## Design and Development Phase", "- Pilot with two teams for one release.", + "", "## Finalization Phase", "- Publish the process and retire the old checklist.", + ] + elif tmpl == "exemplar": + # Written to pass strategy review. Revised after the first check run (5/8 REVISE): one + # runtime, REST only, no agent hop or proxy rewiring, export to the existing collector, + # a defined benchmark, and every boundary the reviewers questioned stated explicitly. + out = [ + "## Problem", + "Operators of predictive model-serving endpoints cannot connect a slow client request to what " + "happened inside the model server. MLServer already creates a server span for each REST " + "request (its bundled FastAPI OpenTelemetry instrumentation), but on the platform those spans " + "go nowhere: the exporter is hard-coded to an insecure connection, nothing configures it, and " + "incoming trace context from the caller is not joined.", + "", + "## Who benefits", + "- Platform operators diagnosing slow requests on predictive InferenceServices served by MLServer.", + "- Application teams that already trace their own services and want the model call in the same trace.", + "", + "## Goal", + "For an InferenceService that opts in, each sampled REST inference request served by the MLServer " + "runtime produces an MLServer server span that joins the caller's W3C trace context and is exported " + "over TLS to the platform's existing data-science-collector, which already forwards traces to Tempo. " + "One trace then shows the caller's spans and the time spent inside the model server.", + "", + "## Scope", + "- Runtime: MLServer only, the supported MLServer ServingRuntime image, RawDeployment mode.", + "- Protocol: REST (KServe v2 HTTP) only.", + "- Workers: spans from the main MLServer process; with parallel workers enabled, inference inside " + "a worker process is covered by the server span only (see P1 below).", + "", + "## Requirements", + "| ID | Requirement | Acceptance | Priority |", + "| --- | --- | --- | --- |", + "| R1 | Opt in per InferenceService with an annotation; odh-model-controller sets the OTEL_* " + "environment (endpoint, sampler, resource attributes) on the predictor only when it is present | " + "Without the annotation the predictor pod spec is byte-for-byte unchanged | P0 |", + "| R2 | MLServer exports spans over TLS, trusting the OpenShift service CA from the namespace's " + "injected service-CA ConfigMap (downstream patch to the hard-coded insecure exporter) | Spans reach " + "the collector on 4317 with TLS verification on; a wrong CA produces no export and no request errors " + "| P0 |", + "| R3 | The server span joins an incoming W3C traceparent | A request sent with a traceparent " + "appears in Tempo as a child of the caller's span | P0 |", + "| R4 | Parent-based ratio sampling, default 1 percent, set per InferenceService by the annotation " + "value | Measured export rate within 0.5 percentage points of the configured ratio over 10,000 " + "requests | P0 |", + "| R5 | The collector NetworkPolicy admits OTLP only from predictor pods (KServe predictor pod " + "label), and the existing k8sattributes and identity-sanitizing processors set the namespace " + "attribute | A pod without the label cannot export; a span claiming another namespace is " + "rewritten to its real one | P0 |", + "| R6 | Separate inference span inside parallel-worker processes (trace context across MLServer's " + "worker IPC) | Server span minus inference span equals codec and queue time within 1 ms | P1 |", + "", + "## Non-functional requirements", + "- Overhead: at 1 percent sampling, added p95 latency below 2 ms in the benchmark below.", + "- Privacy: no request or response payload, header value or token in any span attribute.", + "- Availability: if the collector is unreachable or the CA is wrong, requests succeed unchanged " + "and spans are dropped.", + "", + "## Benchmark", + "The scikit-learn iris model on the MLServer runtime, one replica, 100 requests per second of " + "KServe v2 REST for 10 minutes, measured with and without the annotation at 1 percent sampling and " + "at 100 percent sampling. The p95 difference at 1 percent is the overhead figure. Owned by the model " + "serving team; the harness is a small addition to the existing runtime performance tests.", + "", + "## Out of scope", + "- Spans for the OpenShift router and the kube-rbac-proxy (or Authorino) authentication hop: that " + "time appears only as the gap between the caller's span and the server span.", + "- gRPC: it is not externally routable on the predictive Route path today.", + "- LLMInferenceService, vLLM, OpenVINO Model Server, Triton and AutoGluon: each would be its own " + "Initiative.", + "- The KServe agent sidecar and any proxy or Service rewiring.", + "- Installing or configuring the OpenTelemetry or Tempo operators: RHOAI does not install external " + "operators; without the collector, nothing is exported.", + "- Per-namespace trace access for model owners: traces land in the shared Tempo, and access is " + "arranged by administrators. Self-service access is a follow-on.", + "", + "## Dependencies", + "- The existing data-science-collector deployment (OTLP over TLS on 4317) and its Tempo export.", + "- MLServer's bundled OpenTelemetry SDK and FastAPI instrumentation (already in the shipped image).", + "- One downstream MLServer patch (R2); no upstream change is needed for the P0 scope.", + "", + "## Effort and rollout", + "- Size M: model serving team (odh-model-controller annotation and env injection, MLServer patch, " + "benchmark) and platform observability team (NetworkPolicy, sanitization tests). About three " + "sprints for both teams in parallel.", + "- Technology preview behind the annotation in one release; general availability after one release " + "of preview feedback, with R6 considered for GA.", + "", + "## Acceptance Criteria", + "- [ ] R1-R5 pass on a cluster with the collector installed; R6 is tracked separately.", + "- [ ] The benchmark shows added p95 latency below 2 ms at 1 percent sampling.", + "- [ ] An InferenceService without the annotation is unchanged (pod spec diff and benchmark).", + "- [ ] With the collector absent or the CA wrong, all requests succeed and no errors are logged per request.", + ] + elif tmpl == "tracker": + out += [ + "## Scope", + f"Track onboarding of new members to the {area}.", + "", + "## Success criteria", + "- Each new member lands a change within 10 working days.", + "- Onboarding guide updated after every cohort.", + ] + else: + raise SystemExit(f"{sid}: unknown template {tmpl}") + if item.get("ac") and tmpl != "tracker": + out += ["", "## Acceptance Criteria", *[f"- [ ] {c[0].upper() + c[1:]} is verified." + for c in caps[:3]]] + return "\n".join(out) + + +class Keys: + def __init__(self, base: int): + self.base = base + self.next: dict[str, int] = {} + + def take(self, project: str) -> str: + n = self.next.get(project, self.base) + self.next[project] = n + 1 + return f"{project}-{n}" + + +def build(cat: dict) -> tuple[list[dict], dict]: + anchor = datetime.strptime(cat["anchor_date"], "%Y-%m-%dT%H:%M:%S.000+0000") + fx = cat["fixture_label"] + keys = Keys(cat["key_base"]) + issues: list[dict] = [] + key_of: dict[str, str] = {} + + def issue(fid, project, itype, summary, *, desc="", status="New", resolution=None, + reporter=None, assignee=None, labels=(), components=(), parent=None, + created=0, updated=None, extra=None): + key = keys.take(project) + key_of[fid] = key + fields = { + "project": {"key": project}, + "issuetype": {"name": itype}, + "summary": f"[SYNTH] {summary}", + "description": desc, + "status": {"name": status, "statusCategory": {"key": STATUS_CATEGORY[status]}}, + "priority": {"name": "Major"}, + "labels": sorted({fx, f"cc75-fx-{fid.lower()}", *labels}), + "components": [{"name": c} for c in components], + "created": iso(anchor, created), + "updated": iso(anchor, updated if updated is not None else max(created - 3, 0)), + } + if resolution: + fields["resolution"] = {"name": resolution} + if reporter: + fields["reporter"] = {"displayName": reporter} + if assignee: + fields["assignee"] = {"displayName": assignee} + if parent: + fields["parent"] = {"key": parent} + fields.update(extra or {}) + rec = {"key": key, "fields": fields, "_fid": fid, "_links": []} + issues.append(rec) + return rec + + for o in cat["outcomes"]: + issue(o["id"], "RHAISTRAT", "Outcome", o["summary"], status=o["status"], + reporter=o["reporter"], assignee=o["assignee"], created=o["created_days_ago"], + desc=f"Synthetic Outcome grouping related Initiatives: {o['summary'].lower()}.") + for r in cat["rfes"]: + issue(r["id"], "RHAIRFE", "Feature Request", r["summary"], reporter=r["reporter"], + created=50, desc="Synthetic request used only as a Cloners link source.") + + oracle_items = {} + children_plan = [] + for it in cat["initiatives"]: + labels = set(VARIANT_LABELS[it.get("variant")]) | set(it.get("pipeline_labels_extra", [])) + labels |= set(it.get("noise_labels", [])) + extra = {} + if it.get("target_version"): + extra["customfield_10855"] = it["target_version"] + if it.get("rice"): + extra["customfield_75001"] = it["rice"]["score"] + extra["customfield_75002"] = it["rice"]["effort"] + if it.get("fix_version"): + extra["fixVersions"] = [{"name": it["fix_version"]}] + summary = it.get("summary_raw") or it["summary"] + created = it["created_days_ago"] + updated = it.get("resolved_days_ago", max(created - 5, 1)) + rec = issue(it["id"], "RHAISTRAT", "Initiative", summary, desc=render_description(it), + status=it["status"], resolution=it.get("resolution"), + reporter=it["reporter"], assignee=it.get("assignee"), labels=labels, + components=it.get("components", []), created=created, updated=updated, + parent=key_of.get(it.get("outcome")) if it.get("outcome") else None, + extra=extra) + children_plan.append((it, rec)) + + for it, rec in children_plan: + epic_keys, epic_projects = [], [] + for group in it.get("epics", []): + group_keys = [] + for n in range(1, group["count"] + 1): + ws = WORKSTREAMS[(n - 1) % len(WORKSTREAMS)] + status = group.get("status", "In Progress" if n == 1 else "New") + e = issue(f"{it['id']}-{group['project']}-E{n}", group["project"], "Epic", + f"{it.get('area', 'Initiative')}: {ws}", status=status, + resolution="Done" if status == "Closed" else None, + reporter=it["reporter"], assignee=it.get("assignee"), + parent=rec["key"], created=max(it["created_days_ago"] - 10, 1), + desc=f"Synthetic Epic: {ws.lower()} for {it.get('area', 'this Initiative')}.") + group_keys.append(e) + epic_keys.append(e["key"]) + epic_projects.append(group["project"]) + for a, b in group.get("blocks", []): + group_keys[a - 1]["_links"].append(("Blocks", "outward", group_keys[b - 1]["key"])) + story = it.get("stories") + story_keys = [] + if story: + for n in range(1, story["count"] + 1): + s = issue(f"{it['id']}-S{n}", story["project"], "Story", + f"{it['area']}: onboarding cohort {n}", status=story["status"], + resolution="Done" if story["status"] == "Closed" else None, + reporter=it["reporter"], assignee=it.get("assignee"), + parent=rec["key"], created=max(it["created_days_ago"] - 5, 1), + desc="Synthetic onboarding Story delivered without an Epic layer.") + story_keys.append(s["key"]) + legacy = it.get("legacy_incorporates_epic") + legacy_key = None + if legacy: + e = issue(f"{it['id']}-LEGACY", legacy["project"], "Epic", + f"{it['area']}: legacy decomposition", status="In Progress", + reporter=it["reporter"], assignee=it.get("assignee"), + created=max(it["created_days_ago"] - 20, 1), + desc="Synthetic Epic linked by a legacy Incorporates link, with no parent.") + rec["_links"].append(("Incorporates", "outward", e["key"])) + legacy_key = e["key"] + for link in it.get("links", []): + rec["_links"].append((link["type"], "outward", None, link["to"])) + + labels = set(rec["fields"]["labels"]) + status = rec["fields"]["status"]["name"] + jql_selected = (STRAT_REQUIRED <= labels and not (labels & STRAT_JQL_EXCLUDED) + and status not in OPEN_EXCLUDED) + oracle_items[it["id"]] = { + "key": rec["key"], + "archetype": it["archetype"], + "status": status, + "labels": sorted(l for l in labels if not l.startswith("cc75-") and l != fx), + "epic_children": epic_keys, + "epic_child_projects": sorted(set(epic_projects)), + "story_children": story_keys, + "legacy_incorporates": legacy_key, + "strat_jql_selected": jql_selected, + "strat_tool_skip": sorted(labels & STRAT_TOOL_SKIP) if jql_selected else [], + "description_chars": len(rec["fields"]["description"]), + } + + # Resolve deferred links (targets named by fixture id) and serialise. + for rec in issues: + links = [] + for entry in rec.pop("_links"): + ltype = entry[0] + target = entry[2] if entry[2] else key_of[entry[3]] + inward, outward = LINK_TYPES[ltype] + links.append({"type": {"name": ltype, "inward": inward, "outward": outward}, + "outwardIssue": {"key": target}}) + if links: + rec["fields"]["issuelinks"] = links + rec.pop("_fid") + + oracle = build_oracle(cat, oracle_items, key_of, issues) + return issues, oracle + + +def build_oracle(cat, items, key_of, issues) -> dict: + by_key = sorted(items.values(), key=lambda x: int(x["key"].split("-")[1])) + jql = [x["key"] for x in by_key if x["strat_jql_selected"]] + tool = [x["key"] for x in by_key if x["strat_jql_selected"] and not x["strat_tool_skip"]] + optin = [x["key"] for x in by_key if "initiative-autofix-opt-in" in x["labels"]] + pending = [x["key"] for x in by_key if "initiative-autofix-opt-in" in x["labels"] + and not ({"initiative-autofix-rubric-pass", "initiative-needs-attention"} & set(x["labels"])) + and x["status"] not in OPEN_EXCLUDED] + decomp = {} + for x in by_key: + if DECOMP_REQUIRED <= set(x["labels"]) and DECOMP_DONE not in x["labels"]: + if x["epic_children"]: + decomp[x["key"]] = {"action": "skip", "reason": "existing Epic children"} + elif x["legacy_incorporates"]: + decomp[x["key"]] = {"action": "skip", "reason": "legacy Incorporates link to an Epic"} + else: + decomp[x["key"]] = {"action": "decompose", "epic_count_min": 2, "epic_count_max": 8, + "outlier_at": 15, "target_project": "RHAI", + "sibling_link": "Blocks", "parent_label": DECOMP_DONE} + counts = {} + for rec in issues: + t = rec["fields"]["issuetype"]["name"] + p = rec["fields"]["project"]["key"] + counts.setdefault(p, {}).setdefault(t, 0) + counts[p][t] += 1 + return { + "version": 1, + "generated_from": "catalogue.yaml", + "issue_counts": counts, + "fixture_ids": {k: key_of[k] for k in sorted(key_of) if re.fullmatch(r"[OIR]\d+", k)}, + "strat_creator": { + "discovery_jql": STRAT_JQL, + "jql_selected": jql, + "tool_selected_after_skip_labels": tool, + "canary_batch_size_1": tool[:1], + }, + "rfe_autofixer": { + "note": "Provisional: the exact upstream JQL and project (RHAISTRAT vs RHOAIENG) are plan Q4.", + "opted_in": optin, + "pending_review": pending, + }, + "epic_creator": {"candidates": decomp}, + "initiatives": {k: items[k] for k in sorted(items)}, + } + + +KEY_IN_TEXT = re.compile(r"\b[A-Z][A-Z0-9]+-\d+\b") + + +def lint(cat: dict, issues: list[dict]) -> list[str]: + roster = set(cat["roster"]["pms"]) | set(cat["roster"]["engineers"]) + errors = [] + for rec in issues: + f = rec["fields"] + key = rec["key"] + if not f["summary"].startswith("[SYNTH] "): + errors.append(f"{key}: summary lacks [SYNTH] prefix") + for text in (f["summary"], f["description"]): + for m in KEY_IN_TEXT.findall(text): + errors.append(f"{key}: issue-key-like token in text: {m}") + for role in ("reporter", "assignee"): + name = (f.get(role) or {}).get("displayName") + if name and name not in roster: + errors.append(f"{key}: {role} {name!r} not in synthetic roster") + if int(key.split("-")[1]) < cat["key_base"]: + errors.append(f"{key}: key outside the synthetic block") + if cat["fixture_label"] not in f["labels"]: + errors.append(f"{key}: missing fixture label") + return errors + + +def main() -> int: + ap = argparse.ArgumentParser(description=__doc__.splitlines()[0]) + ap.add_argument("--catalogue", default=ROOT / "catalogue.yaml", type=Path) + ap.add_argument("--out-issues", default=ROOT / "generated" / "issues.json", type=Path) + ap.add_argument("--out-expected", default=ROOT / "expected.yaml", type=Path) + ap.add_argument("--check", action="store_true", help="fail if outputs would change") + args = ap.parse_args() + + cat = yaml.safe_load(args.catalogue.read_text()) + issues, oracle = build(cat) + errors = lint(cat, issues) + if errors: + print("\n".join(errors), file=sys.stderr) + return 1 + issues_text = json.dumps({"issues": issues}, indent=1, sort_keys=True) + "\n" + oracle_text = ("# Generated by scripts/generate_initiatives.py from catalogue.yaml. Do not edit.\n" + + yaml.safe_dump(oracle, sort_keys=False, width=100)) + if args.check: + stale = [p for p, t in ((args.out_issues, issues_text), (args.out_expected, oracle_text)) + if not p.exists() or p.read_text() != t] + if stale: + print("stale: " + ", ".join(map(str, stale)), file=sys.stderr) + return 1 + return 0 + args.out_issues.parent.mkdir(parents=True, exist_ok=True) + args.out_issues.write_text(issues_text) + args.out_expected.write_text(oracle_text) + total = sum(sum(v.values()) for v in oracle["issue_counts"].values()) + print(f"{total} issues; strat jql={len(oracle['strat_creator']['jql_selected'])} " + f"tool={len(oracle['strat_creator']['tool_selected_after_skip_labels'])}; " + f"decomposition candidates={len(oracle['epic_creator']['candidates'])}") + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/var/demos/initiatives/scripts/mirror_github.py b/var/demos/initiatives/scripts/mirror_github.py new file mode 100644 index 0000000..1ec3514 --- /dev/null +++ b/var/demos/initiatives/scripts/mirror_github.py @@ -0,0 +1,114 @@ +#!/usr/bin/env python3 +"""Mirror the public Initiative-flow repositories into the GitHub emulator. + +Reads source-manifest.json. For each repository it maintains a bare cache +under ~/.cache/cc75/sources (outside the repo and /tmp), fetches the pinned +upstream refs anonymously, creates the emulator org and repository if missing, +pushes each ref to the named emulator branch, and verifies the advertised +commit. Re-running converges. TLS to the emulator is verified against +BREADBOARD_CA_FILE. The emulator admin token is read from GITHUB_API_TOKEN and +never written anywhere; topology-manifest.json records only paths and commits. +""" +from __future__ import annotations + +import argparse +import json +import os +import subprocess +import sys +import time +from datetime import datetime, timezone +from pathlib import Path +from urllib.parse import quote + +import requests + +ROOT = Path(__file__).resolve().parents[1] +DOMAIN = os.getenv("BREADBOARD_DOMAIN", "local").strip(".") or "local" +CACHE = Path(os.getenv("CC75_CACHE", Path.home() / ".cache" / "cc75" / "sources")) + + +def git(*args: str, cwd: Path | None = None, env_extra: dict | None = None, redact: str = "") -> str: + env = {k: v for k, v in os.environ.items() if not k.startswith("GIT_")} + env.update({"GIT_TERMINAL_PROMPT": "0", "GIT_CONFIG_NOSYSTEM": "1"}, **(env_extra or {})) + r = subprocess.run(["git", *args], cwd=cwd, env=env, capture_output=True, text=True) + if r.returncode: + msg = (r.stderr or r.stdout).strip() + raise SystemExit(f"git {args[0]} failed: {msg.replace(redact, '***') if redact else msg}") + return r.stdout.strip() + + +def main() -> int: + ap = argparse.ArgumentParser(description=__doc__.splitlines()[0]) + ap.add_argument("--github-url", default=os.getenv("GITHUB_URL", f"https://github.{DOMAIN}")) + ap.add_argument("--manifest", default=ROOT / "source-manifest.json", type=Path) + args = ap.parse_args() + token = os.environ.get("GITHUB_API_TOKEN") + if not token: + raise SystemExit("GITHUB_API_TOKEN (GitHub emulator admin token) is required") + ca = os.getenv("BREADBOARD_CA_FILE") + base = args.github_url.rstrip("/") + api = requests.Session() + api.headers["Authorization"] = f"token {token}" + api.verify = ca or True + + def get(path): + r = api.get(f"{base}/api/v3/{path}", timeout=60) + return None if r.status_code == 404 else (r.raise_for_status() or r.json()) + + def post(path, body): + # Bounded retry on the emulator's transient SQLite lock (503 sqlite_locked). + # Replay-safe: callers check existence first, and a 422 "already exists" + # after a retried create is accepted. + for attempt in range(6): + r = api.post(f"{base}/api/v3/{path}", json=body, timeout=60) + if r.status_code == 503 and "sqlite_locked" in r.text: + time.sleep(0.5 * 2 ** attempt) + continue + if r.status_code == 422 and attempt and "already" in r.text.lower(): + return {} + if r.status_code >= 400: + raise SystemExit(f"POST {path}: HTTP {r.status_code}: {r.text[:300]}") + return r.json() + raise SystemExit(f"POST {path}: emulator database stayed locked") + + manifest = json.loads(args.manifest.read_text()) + CACHE.mkdir(parents=True, exist_ok=True) + tls = ["-c", f"http.sslCAInfo={ca}"] if ca else [] + results = [] + for src in manifest["github"]: + org, name = src["org"], src["name"] + bare = CACHE / f"{org}__{name}.git" + if not bare.exists(): + git("init", "-q", "--bare", str(bare)) + refspecs = [f"+{upstream}:refs/cc75/{branch}" for branch, upstream in src["refs"].items()] + git("fetch", "-q", "--no-tags", src["upstream"], *refspecs, cwd=bare) + if get(f"orgs/{quote(org)}") is None: + post("orgs", {"login": org}) + if get(f"repos/{quote(org)}/{quote(name)}") is None: + post(f"orgs/{quote(org)}/repos", {"name": name, "private": False, "default_branch": "main"}) + remote = f"{base.replace('://', f'://admin:{quote(token, safe="")}@', 1)}/{org}/{name}.git" + pushes = [f"+refs/cc75/{b}:refs/heads/{b}" for b in src["refs"]] + git(*tls, "push", "-q", remote, *pushes, cwd=bare, redact=quote(token, safe="")) + refs = {} + advertised = dict(reversed(line.split("\t")) for line in + git(*tls, "ls-remote", remote, cwd=bare, redact=quote(token, safe="")).splitlines()) + for branch in src["refs"]: + want = git("rev-parse", f"refs/cc75/{branch}", cwd=bare) + got = advertised.get(f"refs/heads/{branch}") + if got != want: + raise SystemExit(f"{org}/{name}:{branch} mirror mismatch: {got} != {want}") + refs[branch] = {"upstream_ref": src["refs"][branch], "commit": want} + results.append({"path": f"{org}/{name}", "upstream": src["upstream"], "refs": refs}) + print(f"{org}/{name}: " + ", ".join(f"{b}@{r['commit'][:8]}" for b, r in refs.items())) + + out = {"version": 1, "github_url": base, + "mirrored_at": datetime.now(timezone.utc).isoformat(), "github": results, + "gitlab_private_pending": manifest.get("gitlab_private", []), + "notes": ["No credentials are stored in this manifest."]} + (ROOT / "topology-manifest.json").write_text(json.dumps(out, indent=2) + "\n") + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/var/demos/initiatives/scripts/publish_gitlab.py b/var/demos/initiatives/scripts/publish_gitlab.py new file mode 100644 index 0000000..475af30 --- /dev/null +++ b/var/demos/initiatives/scripts/publish_gitlab.py @@ -0,0 +1,189 @@ +#!/usr/bin/env python3 +"""Publish the private agentic-ci sources into the GitLab emulator (CC-75). + +Source commits come from bare caches under ~/.cache/cc75/sources/gitlab__.git +(ref refs/cc75/main), filled with glab-authenticated fetches on the operator's +machine. For each code repository this script: + 1. exports the source tree (git archive) without paths listed in EXCLUDE + (run history is not mirrored); + 2. runs the transformations $CC75_PRIVATE_PATCHES//NNNN-*.py on that tree + (default ~/.cache/cc75/private-patches; they quote private source, so they + are kept outside this public repository); + 3. commits a single snapshot (no upstream history) whose message records the + source commit and the patches applied, and force-pushes it to the emulator + project's main branch. +The mirror shows production's eventual state on main only: a repository with an +open upstream MR that main is expected to gain is built from that MR's head +(SOURCE_REF; refs/cc75/mr- in the cache, fetched read-only with glab). +Each patch declares its kind in a "Kind:" line (pending-mr, upstream-proposal, +emulator-gap, environment, model-relay); the manifest records it, so the +differences from upstream double as a list of proposals. +Data repositories are created empty (with one README commit) so no real +pipeline output enters the demo. Groups/projects are created if missing. +Writes pipeline-manifest.json (source/adapted commits; no credentials). +""" +from __future__ import annotations + +import argparse +import io +import json +import os +import shutil +import subprocess +import sys +import tarfile +import time +from datetime import datetime, timezone +from pathlib import Path +from urllib.parse import quote + +import requests + +ROOT = Path(__file__).resolve().parents[1] +DOMAIN = os.getenv("BREADBOARD_DOMAIN", "local").strip(".") or "local" +CACHE = Path(os.getenv("CC75_CACHE", Path.home() / ".cache" / "cc75" / "sources")) +PRIVATE_PATCHES = Path(os.getenv("CC75_PRIVATE_PATCHES", "~/.cache/cc75/private-patches")).expanduser() +GROUP = "redhat/rhel-ai/agentic-ci" +CODE = ["strat-pipeline", "strat-dashboard", "rfe-autofixer", "epic-decomposer"] +DATA = ["strat-pipeline-data", "rfe-autofixer-results", "epic-decomposer-results", "epic-decomposer-dashboard"] +# Empty repositories that are not results: only their existence matters. +PLACEHOLDER = {"epic-decomposer-dashboard": "the trigger target of epic-decomposer's build-dashboard job, " + "which the emulator checks when it creates a pipeline; not mirrored"} +EXCLUDE = {"strat-pipeline": ["execution-logs"]} +# Open upstream MRs main is expected to gain (2026-11-16). +SOURCE_REF = {"strat-pipeline": "mr-27", "rfe-autofixer": "mr-43"} +KINDS = ("pending-mr", "upstream-proposal", "emulator-gap", "environment", "model-relay") + + +def patch_kind(path: Path) -> str: + for line in path.read_text().splitlines()[:40]: + if line.startswith("Kind:"): + kind = line.split(":", 1)[1].strip().split()[0] + if kind not in KINDS: + raise SystemExit(f"{path}: unknown Kind {kind!r}") + return kind + raise SystemExit(f"{path}: no 'Kind:' line in the docstring") +GIT_ENV = dict(GIT_AUTHOR_NAME="cc75", GIT_AUTHOR_EMAIL="cc75@example.invalid", + GIT_COMMITTER_NAME="cc75", GIT_COMMITTER_EMAIL="cc75@example.invalid", + GIT_AUTHOR_DATE="2026-11-16T00:00:00Z", GIT_COMMITTER_DATE="2026-11-16T00:00:00Z", + GIT_TERMINAL_PROMPT="0") + + +def run(cmd, cwd=None, redact=""): + env = {k: v for k, v in os.environ.items() if not k.startswith("GIT_")} + env.update(GIT_ENV) + r = subprocess.run(cmd, cwd=cwd, env=env, capture_output=True, text=True) + if r.returncode: + msg = (r.stderr or r.stdout).strip() + raise SystemExit(f"{cmd[0]} {cmd[1] if len(cmd) > 1 else ''} failed: " + f"{msg.replace(redact, '***') if redact else msg}") + return r.stdout.strip() + + +def main() -> int: + ap = argparse.ArgumentParser(description=__doc__.splitlines()[0]) + ap.add_argument("--gitlab-url", default=os.getenv("GITLAB_URL", f"https://gitlab.{DOMAIN}")) + ap.add_argument("--only", nargs="*", help="limit to these repositories") + args = ap.parse_args() + user, password = os.getenv("GITLAB_USER", "admin"), os.getenv("GITLAB_ADMIN_PASSWORD", "admin") + ca = os.getenv("BREADBOARD_CA_FILE") + base = args.gitlab_url.rstrip("/") + api = requests.Session() + api.auth = (user, password) + api.verify = ca or True + + def call(method, path, **kw): + for attempt in range(6): + r = api.request(method, f"{base}/api/v4/{path}", timeout=60, **kw) + if r.status_code == 503 and "lock" in r.text.lower(): + time.sleep(0.5 * 2 ** attempt) + continue + return r + return r + + parent = None + for part in GROUP.split("/"): + full = f"{parent['full_path']}/{part}" if parent else part + r = call("GET", f"groups/{quote(full, safe='')}") + if r.status_code == 404: + body = {"name": part, "path": part, "visibility": "private"} + if parent: + body["parent_id"] = parent["id"] + r = call("POST", "groups", json=body) + r.raise_for_status() + parent = r.json() + + def ensure_project(name): + r = call("GET", f"projects/{quote(f'{GROUP}/{name}', safe='')}") + if r.status_code == 404: + r = call("POST", "projects", json={"name": name, "path": name, "namespace_id": parent["id"], + "visibility": "private", "default_branch": "main"}) + r.raise_for_status() + return r.json() + + tls = ["-c", f"http.sslCAInfo={ca}"] if ca else [] + remote_base = base.replace("://", f"://{quote(user)}:{quote(password)}@", 1) + manifest_path = ROOT / "pipeline-manifest.json" + manifest = json.loads(manifest_path.read_text()) if manifest_path.exists() else {"version": 1, "projects": {}} + selected = set(args.only or CODE + DATA) + + for name in CODE + DATA: + if name not in selected: + continue + project = ensure_project(name) + work = CACHE.parent / "work" / f"publish-{name}" + shutil.rmtree(work, ignore_errors=True) + work.mkdir(parents=True) + entry = {"project": f"{GROUP}/{name}", "project_id": project["id"]} + if name in CODE: + bare = CACHE / f"gitlab__{name}.git" + ref = f"refs/cc75/{SOURCE_REF.get(name, 'main')}" + source = run(["git", "-C", str(bare), "rev-parse", ref]) + data = subprocess.run(["git", "-C", str(bare), "archive", ref], + check=True, capture_output=True).stdout + with tarfile.open(fileobj=io.BytesIO(data)) as tar: + tar.extractall(work, filter="data") + for path in EXCLUDE.get(name, []): + shutil.rmtree(work / path, ignore_errors=True) + patches = sorted((PRIVATE_PATCHES / name).glob("[0-9][0-9][0-9][0-9]-*.py")) + for patch in patches: + subprocess.run([sys.executable, "-I", str(patch), str(work)], check=True) + message = (f"cc75 snapshot of {GROUP}/{name}@{source} ({ref.rsplit('/', 1)[-1]})\n\n" + f"Excluded: {', '.join(EXCLUDE.get(name, [])) or 'none'}\n" + f"Patches: {', '.join(p.name for p in patches) or 'none'}\n") + entry.update(source_commit=source, source_ref=ref.rsplit("/", 1)[-1], excluded=EXCLUDE.get(name, []), + patches=[{"path": f"private-patches/{name}/{p.name}", "kind": patch_kind(p)} for p in patches]) + else: + purpose = PLACEHOLDER.get(name) + if purpose: + # A downstream pipeline needs a CI file; one no-op job keeps the trigger green. + (work / ".gitlab-ci.yml").write_text( + "# CC-75 placeholder: trigger target only.\nplaceholder:\n tags: [aipcc-small-x86_64]\n" + " image: registry.access.redhat.com/ubi9/ubi-minimal:latest\n" + " script:\n - echo \"CC-75 placeholder: nothing to build\"\n") + (work / "README.md").write_text( + f"# {name}\n\nEmpty CC-75 emulator placeholder: {purpose}.\n" if purpose + else f"# {name}\n\nEmpty CC-75 emulator results repository.\n") + message = f"cc75: empty {name}\n" + run(["git", "init", "-q", "-b", "main"], cwd=work) + run(["git", "add", "-A"], cwd=work) + run(["git", "commit", "-q", "-m", message], cwd=work) + adapted = run(["git", "rev-parse", "HEAD"], cwd=work) + if name in DATA and name not in PLACEHOLDER and project.get("default_branch") and not project.get("empty_repo", True): + # Never overwrite results a scenario already pushed; data repos are created once. + entry["adapted_commit"] = "existing (left unchanged)" + else: + run(["git", *tls, "push", "-q", "-f", f"{remote_base}/{GROUP}/{name}.git", "main:main"], + cwd=work, redact=quote(password)) + entry["adapted_commit"] = adapted + manifest["projects"][name] = entry + print(f"{GROUP}/{name} (id {project['id']}): {entry.get('source_commit', 'empty')[:8]} -> " + f"{str(entry['adapted_commit'])[:8]} patches={len(entry.get('patches', []))}") + + manifest["published_at"] = datetime.now(timezone.utc).isoformat() + manifest_path.write_text(json.dumps(manifest, indent=2) + "\n") + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/var/demos/initiatives/scripts/publish_patched_github.py b/var/demos/initiatives/scripts/publish_patched_github.py new file mode 100644 index 0000000..35b2bac --- /dev/null +++ b/var/demos/initiatives/scripts/publish_patched_github.py @@ -0,0 +1,82 @@ +#!/usr/bin/env python3 +"""Publish patched emulator branches of public repos to the GitHub emulator. + +Reads "patched" from source-manifest.json, e.g. + {"org": "fullsend-ai", "name": "strat-creator", "base": "pr-124", + "branch": "cc75-emulator", "patches": "strat-creator"} +For each entry: check out refs/cc75/ from the mirror cache (filled by +mirror_github.py) in a temporary worktree, run patches//NNNN-*.py on +it, commit once on top of the base (the base history is public and kept), +and push the result to the emulator as . Records the commits in +topology-manifest.json under "patched". Deterministic author and date. +""" +from __future__ import annotations + +import json +import os +import shutil +import subprocess +import sys +from pathlib import Path +from urllib.parse import quote + +ROOT = Path(__file__).resolve().parents[1] +DOMAIN = os.getenv("BREADBOARD_DOMAIN", "local").strip(".") or "local" +CACHE = Path(os.getenv("CC75_CACHE", Path.home() / ".cache" / "cc75" / "sources")) +ENV = dict(GIT_AUTHOR_NAME="cc75", GIT_AUTHOR_EMAIL="cc75@example.invalid", GIT_COMMITTER_NAME="cc75", + GIT_COMMITTER_EMAIL="cc75@example.invalid", GIT_AUTHOR_DATE="2026-11-16T00:00:00Z", + GIT_COMMITTER_DATE="2026-11-16T00:00:00Z", GIT_TERMINAL_PROMPT="0") + + +def git(*args, cwd=None, redact=""): + env = {k: v for k, v in os.environ.items() if not k.startswith("GIT_")} + env.update(ENV) + r = subprocess.run(["git", *args], cwd=cwd, env=env, capture_output=True, text=True) + if r.returncode: + msg = (r.stderr or r.stdout).strip() + raise SystemExit(f"git {args[0]}: {msg.replace(redact, '***') if redact else msg}") + return r.stdout.strip() + + +def main() -> int: + token = os.environ.get("GITHUB_API_TOKEN") + if not token: + raise SystemExit("GITHUB_API_TOKEN (GitHub emulator admin token) is required") + ca = os.getenv("BREADBOARD_CA_FILE") + tls = ["-c", f"http.sslCAInfo={ca}"] if ca else [] + base_url = os.getenv("GITHUB_URL", f"https://github.{DOMAIN}").rstrip("/") + manifest = json.loads((ROOT / "source-manifest.json").read_text()) + topo_path = ROOT / "topology-manifest.json" + topo = json.loads(topo_path.read_text()) + topo["patched"] = [] + for entry in manifest.get("patched", []): + org, name = entry["org"], entry["name"] + bare = CACHE / f"{org}__{name}.git" + work = CACHE.parent / "work" / f"patched-{name}-{entry['branch']}" + subprocess.run(["git", "-C", str(bare), "worktree", "remove", "--force", str(work)], capture_output=True) + shutil.rmtree(work, ignore_errors=True) + git("-C", str(bare), "worktree", "prune") + git("-C", str(bare), "worktree", "add", "-q", "--detach", str(work), f"refs/cc75/{entry['base']}") + base_commit = git("rev-parse", "HEAD", cwd=work) + patches = sorted((ROOT / "patches" / entry["patches"]).glob("[0-9][0-9][0-9][0-9]-*.py")) + for patch in patches: + subprocess.run([sys.executable, "-I", str(patch), str(work)], check=True) + git("add", "-A", cwd=work) + git("commit", "-q", "-m", f"cc75: emulator patches on {entry['base']}\n\n" + + "\n".join(f"- patches/{entry['patches']}/{p.name}" for p in patches), cwd=work) + commit = git("rev-parse", "HEAD", cwd=work) + remote = f"{base_url.replace('://', f'://admin:{quote(token, safe="")}@', 1)}/{org}/{name}.git" + git(*tls, "push", "-q", "-f", remote, f"HEAD:refs/heads/{entry['branch']}", cwd=work, + redact=quote(token, safe="")) + git("-C", str(bare), "update-ref", f"refs/cc75/{entry['branch']}", commit) + git("-C", str(bare), "worktree", "remove", "--force", str(work)) + topo["patched"].append({"path": f"{org}/{name}", "branch": entry["branch"], "base": entry["base"], + "base_commit": base_commit, "commit": commit, + "patches": [f"patches/{entry['patches']}/{p.name}" for p in patches]}) + print(f"{org}/{name}:{entry['branch']} = {entry['base']}@{base_commit[:8]} + {len(patches)} patch(es) -> {commit[:8]}") + topo_path.write_text(json.dumps(topo, indent=2) + "\n") + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/var/demos/initiatives/scripts/run_autofix.py b/var/demos/initiatives/scripts/run_autofix.py new file mode 100644 index 0000000..35847e3 --- /dev/null +++ b/var/demos/initiatives/scripts/run_autofix.py @@ -0,0 +1,205 @@ +#!/usr/bin/env python3 +"""S5: Initiative autofix canary on the rfe-autofixer emulator mirror. + +Runs production's schedule-only `autofix-initiative` job the way production +enables it: an (inactive) pipeline schedule on main with +AUTOFIX_SCHEDULE=initiative, played once. The mirror (its private adaptations) +routes the model through Model Relay (project variables); the schedule carries +the run size (AUTOFIX_LIMIT/AUTOFIX_BATCH_SIZE, default 3) and the emulator +endpoints. A watchdog cancels the job if the agent's prompt shows any other limit. + +Starts from the cc75-baseline snapshot. Checks: + - the job succeeds; the trace shows the relay route, the limit, and the + identity probe (the permissions probe is skipped: emulator gap); + - Jira writes touch only opted-in Initiatives (expected.yaml), at most LIMIT; + - each written Initiative ends with an autofix outcome label (rubric-pass and + needs-attention may coexist) and keeps its summary; + - results reach rfe-autofixer-results under the type's subtree. +A passing run's end state is kept as snapshot cc75-after-S5; Jira is then +restored to the baseline. Writes evidence/S5-.json. +""" +from __future__ import annotations + +import argparse +import json +import os +import re +import sys +import time +from datetime import datetime, timezone +from pathlib import Path +from urllib.parse import quote + +import requests +import yaml + +ROOT = Path(__file__).resolve().parents[1] +DOMAIN = os.getenv("BREADBOARD_DOMAIN", "local").strip(".") or "local" +PROJECT = "redhat/rhel-ai/agentic-ci/rfe-autofixer" +DATA_PROJECT = "redhat/rhel-ai/agentic-ci/rfe-autofixer-results" +SUBDIR = "initiative-rhaistrat" +JOB = "autofix-initiative" +OUTCOMES = ("initiative-autofix-rubric-pass", "initiative-needs-attention") +READ_ONLY_POSTS = ("/search", "/search/jql", "/search/approximate-count", "/issue/bulkfetch", "/expression/eval") +SCHEDULE_DESCRIPTION = "cc75 S5 initiative autofix (inactive; played by run_autofix.py)" +DOMAIN_GITHUB = "https://github-emulator.ai-pipeline.svc.cluster.local" +DOMAIN_GITLAB = "https://gitlab-emulator.ai-pipeline.svc.cluster.local" + + +def schedule_variables(limit: str) -> list[dict]: + """The schedule's variables, as production configures an Initiative schedule, plus the + emulator endpoints (pipeline variables override the job's YAML values).""" + values = {"AUTOFIX_SCHEDULE": "initiative", "AUTOFIX_LIMIT": limit, "AUTOFIX_BATCH_SIZE": limit, + "JIRA_SERVER": f"https://jira.{os.getenv('BREADBOARD_DOMAIN', 'local').strip('.') or 'local'}", + "CLAUDE_REPO": f"{DOMAIN_GITHUB}/fullsend-ai/rfe-creator.git", + "RESULTS_REPO": f"{DOMAIN_GITLAB}/redhat/rhel-ai/agentic-ci/rfe-autofixer-results.git", + "CLAUDE_CODE_SUBAGENT_MODEL": "claude-opus-5-5"} + return [{"key": k, "value": v} for k, v in values.items()] + + +def snapshot(jira, j, label): + snaps = jira.get(f"{j}/api/admin/snapshots", timeout=30).json()["snapshots"] + names = sorted(s["name"] if isinstance(s, dict) else s for s in snaps) + names = [n for n in names if label in n] + if not names: + raise SystemExit(f"no {label} snapshot") + return names[-1] + + +def issue(jira, j, key): + f = jira.get(f"{j}/rest/api/2/issue/{key}", timeout=30, + params={"fields": "summary,labels,comment,attachment,status"}).json()["fields"] + comments = (f.get("comment") or {}).get("comments") or [] + return {"summary": f.get("summary"), "labels": sorted(f.get("labels") or []), + "status": (f.get("status") or {}).get("name"), + "comments": len(comments), + "initiative_creator_comments": sum("[Initiative Creator]" in json.dumps(c.get("body")) for c in comments)} + + +def tree(gl, g, prefix): + pid = quote(DATA_PROJECT, safe="") + out, page = [], 1 + while True: + r = gl.get(f"{g}/projects/{pid}/repository/tree", timeout=60, + params={"path": prefix, "recursive": "true", "per_page": 100, "page": page}) + if r.status_code == 404: + return out + r.raise_for_status() + batch = r.json() + out += [x["path"] for x in batch if x.get("type") == "blob"] + if len(batch) < 100: + return out + page += 1 + + +def main() -> int: + ap = argparse.ArgumentParser(description=__doc__.splitlines()[0]) + ap.add_argument("--limit", type=int, default=3) + ap.add_argument("--timeout", type=int, default=5 * 3600) + args = ap.parse_args() + ca = os.getenv("BREADBOARD_CA_FILE") or True + gl = requests.Session() + gl.auth = (os.getenv("GITLAB_USER", "admin"), os.getenv("GITLAB_ADMIN_PASSWORD", "admin")) + gl.verify = ca + jira = requests.Session() + jira.auth = (os.getenv("JIRA_ADMIN_USER", "admin"), os.getenv("JIRA_ADMIN_PASSWORD", "admin")) + jira.verify = ca + g, j = f"https://gitlab.{DOMAIN}/api/v4", f"https://jira.{DOMAIN}" + pid = quote(PROJECT, safe="") + opted_in = yaml.safe_load((ROOT / "expected.yaml").read_text())["rfe_autofixer"]["opted_in"] + + base = snapshot(jira, j, "cc75-baseline") + jira.post(f"{j}/api/admin/snapshots/{base}/restore", timeout=120).raise_for_status() + before = {k: issue(jira, j, k) for k in opted_in} + data_before = set(tree(gl, g, SUBDIR)) + + variables = schedule_variables(str(args.limit)) + schedules = gl.get(f"{g}/projects/{pid}/pipeline_schedules", timeout=60).json() + mine = [s for s in schedules if s.get("description") == SCHEDULE_DESCRIPTION] + body = {"description": SCHEDULE_DESCRIPTION, "ref": "main", "cron": "0 3 1 1 *", "active": False, + "variables": variables} + if mine: + sid = mine[0]["id"] + gl.put(f"{g}/projects/{pid}/pipeline_schedules/{sid}", json=body, timeout=60).raise_for_status() + else: + r = gl.post(f"{g}/projects/{pid}/pipeline_schedules", json=body, timeout=60) + r.raise_for_status() + sid = r.json()["id"] + + seq0 = jira.get(f"{j}/api/admin/requests", params={"since": 0, "limit": 1}, timeout=30).json()["last_seq"] + r = gl.post(f"{g}/projects/{pid}/pipeline_schedules/{sid}/play", timeout=60) + r.raise_for_status() + pipeline = r.json()["id"] + print(f"S5: schedule {sid} played -> pipeline {pipeline}; limit {args.limit}", flush=True) + + t0, jobs, job, watchdog = time.time(), [], None, None + want_limit = f"--limit {args.limit} --batch-size {args.limit}" + while time.time() - t0 < args.timeout: + jobs = gl.get(f"{g}/projects/{pid}/pipelines/{pipeline}/jobs", timeout=60).json() + job = next((x for x in jobs if x["name"] == JOB), None) + if job and job["status"] == "running" and watchdog is None: + trace = gl.get(f"{g}/projects/{pid}/jobs/{job['id']}/trace", timeout=60).text + if "-p /rfe-auto-fix" in trace: + watchdog = want_limit in trace + if not watchdog: + gl.post(f"{g}/projects/{pid}/jobs/{job['id']}/cancel", timeout=60) + print(" watchdog: unexpected autofix limit; job cancelled", flush=True) + if jobs and all(x["status"] in ("success", "failed", "canceled", "skipped", "manual") for x in jobs): + break + time.sleep(15) + + trace = gl.get(f"{g}/projects/{pid}/jobs/{job['id']}/trace", timeout=60).text if job else "" + traces_dir = Path.home() / ".cache" / "cc75" / "traces" + traces_dir.mkdir(parents=True, exist_ok=True) + if job: + (traces_dir / f"S5-job{job['id']}.log").write_text(trace) + markers = {m: (m in trace) for m in ("Model: claude-opus-5-5", "cc75: sandbox image", want_limit, + "Jira identity probe OK for the JIRA_USERNAME username", + "Jira permissions probe skipped")} + entries = jira.get(f"{j}/api/admin/requests", params={"since": seq0}, timeout=30).json()["requests"] + seen = [{"method": e.get("method"), "path": e.get("path"), "status": e.get("status")} + for e in entries if e.get("seq", 0) > seq0] + writes = [w for w in seen if not (w["method"] == "GET" or (w["method"] == "POST" and str(w["path"]).endswith(READ_ONLY_POSTS)))] + written = sorted({k for w in writes for k in re.findall(r"[A-Z][A-Z0-9]+-\d+", str(w["path"]))}) + after = {k: issue(jira, j, k) for k in opted_in} + new_paths = sorted(set(tree(gl, g, SUBDIR)) - data_before) + checks = { + "job_success": bool(job) and job["status"] == "success", + "watchdog_limit_ok": watchdog is True, + **{f"trace: {m}": v for m, v in markers.items()}, + "writes_only_opted_in": set(written) <= set(opted_in), + "written_within_limit": 1 <= len(written) <= args.limit, + "results_pushed": bool(new_paths), + } + for k in written: + if k in after: + # rubric-pass and needs-attention may coexist: rfe-creator asks a human to look at an + # Initiative that passed (strat-creator config/initiative-settings.yaml says so). + outcome = [lbl for lbl in OUTCOMES if lbl in after[k]["labels"]] + checks[f"{k}_has_outcome_label"] = bool(outcome) + checks[f"{k}_summary_unchanged"] = after[k]["summary"] == before[k]["summary"] + ok = all(checks.values()) + summary = {"scenario": "S5", "pipeline": pipeline, "schedule": sid, "job": job and job["id"], + "jobs": {x["name"]: x["status"] for x in jobs}, "checks": checks, "written_keys": written, + "label_changes": {k: {"before": before[k]["labels"], "after": after[k]["labels"]} + for k in opted_in if before[k]["labels"] != after[k]["labels"]}, + "comments_added": {k: after[k]["comments"] - before[k]["comments"] for k in written if k in after}, + "initiative_creator_comments": {k: after[k]["initiative_creator_comments"] for k in written if k in after}, + "write_paths": sorted({f"{w['method']} {w['path']}" for w in writes}), + "data_repo_new_paths": new_paths, "ok": ok, "checked_at": datetime.now(timezone.utc).isoformat()} + if ok: + summary["kept_as_snapshot"] = jira.post(f"{j}/api/admin/snapshots", timeout=120, + json={"label": "cc75-after-S5"}).json()["name"] + jira.post(f"{j}/api/admin/snapshots/{base}/restore", timeout=120).raise_for_status() + summary["restored_after"] = base + out = ROOT / "evidence" / f"S5-{datetime.now(timezone.utc).strftime('%Y%m%dT%H%M%SZ')}.json" + out.write_text(json.dumps(summary, indent=2) + "\n") + for name, passed in checks.items(): + print(f" check {name:<52} {passed}") + print(f" jobs: {summary['jobs']}") + print(f" written: {written}; data repo: {len(new_paths)} new path(s); ok={ok}; evidence: {out.relative_to(ROOT)}") + return 0 if ok else 1 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/var/demos/initiatives/scripts/run_decompose.py b/var/demos/initiatives/scripts/run_decompose.py new file mode 100644 index 0000000..67755d5 --- /dev/null +++ b/var/demos/initiatives/scripts/run_decompose.py @@ -0,0 +1,229 @@ +#!/usr/bin/env python3 +"""S8: decompose signed-off Initiatives into RHAI Epics on the epic-decomposer mirror. + +Fixture (before the audit window): restore cc75-baseline, then attach the +synthetic strategies (generated/strategies/, scripts/strategy_fixtures.py) to the +signed-off Initiatives. Then play the stand-in job `decompose-initiatives` +(epic-creator PR #40, rhai-initiative workload, Model Relay) on main, and check +the oracle (expected.yaml epic_creator): + - RHAISTRAT-75025 (decompose): 2..8 new RHAI Epics with parent = the Initiative, + sibling links only of type Blocks, and epic-creator-auto-decomposed set; + - RHAISTRAT-75026 (existing Epic children) and RHAISTRAT-75027 (legacy + Incorporates link to an Epic): skipped, no new Epics, no label; + - Jira writes touch only the candidates and the new Epics; results reach + epic-decomposer-results. +With --rerun (default on) a second pipeline runs the job again and must create +no new Epics. The end state is kept as a snapshot (cc75-after-S8, or +cc75-S8-failed) and Jira is restored to the baseline. +Writes evidence/S8-.json. +""" +from __future__ import annotations + +import argparse +import json +import os +import re +import sys +import time +from datetime import datetime, timezone +from pathlib import Path +from urllib.parse import quote + +import requests +import yaml + +ROOT = Path(__file__).resolve().parents[1] +DOMAIN = os.getenv("BREADBOARD_DOMAIN", "local").strip(".") or "local" +PROJECT = "redhat/rhel-ai/agentic-ci/epic-decomposer" +DATA_PROJECT = "redhat/rhel-ai/agentic-ci/epic-decomposer-results" +JOB = "decompose-initiatives" +# The job YAML is production's: epic-creator from public GitHub main and results on +# gitlab.com. The mirror overrides both per pipeline (pipeline variables beat job +# variables), as rfe-autofixer's schedule does: epic-creator #40 (pending, mirrored in +# the GitHub emulator as pr-40) and the emulator's results repository. +DECOMPOSE_VARIABLES = [ + {"key": "CLAUDE_REPO", "value": "https://github-emulator.ai-pipeline.svc.cluster.local/fullsend-ai/epic-creator.git"}, + {"key": "CLAUDE_REPO_BRANCH", "value": "pr-40"}, + {"key": "RESULTS_REPO", "value": + "https://gitlab-emulator.ai-pipeline.svc.cluster.local/redhat/rhel-ai/agentic-ci/epic-decomposer-results.git"}, +] +PROCESSED = "epic-creator-auto-decomposed" +READ_ONLY_POSTS = ("/search", "/search/jql", "/search/approximate-count", "/issue/bulkfetch", "/expression/eval") +MARKERS = ("cc75: model via Model Relay", "cc75: Model Relay route; skipping setup-gcp-credentials.py", + "Jira identity probe OK for the JIRA_USERNAME username", "OK: model via ANTHROPIC_BASE_URL") + + +class Env: + def __init__(self): + ca = os.getenv("BREADBOARD_CA_FILE") or True + self.gl = requests.Session() + self.gl.auth = (os.getenv("GITLAB_USER", "admin"), os.getenv("GITLAB_ADMIN_PASSWORD", "admin")) + self.gl.verify = ca + self.jira = requests.Session() + self.jira.auth = (os.getenv("JIRA_ADMIN_USER", "admin"), os.getenv("JIRA_ADMIN_PASSWORD", "admin")) + self.jira.verify = ca + self.g, self.j = f"https://gitlab.{DOMAIN}/api/v4", f"https://jira.{DOMAIN}" + self.pid = quote(PROJECT, safe="") + + def snapshot(self, label): + snaps = self.jira.get(f"{self.j}/api/admin/snapshots", timeout=30).json()["snapshots"] + names = sorted(s["name"] if isinstance(s, dict) else s for s in snaps) + names = [n for n in names if label in n] + if not names: + raise SystemExit(f"no {label} snapshot") + return names[-1] + + def restore(self, name): + self.jira.post(f"{self.j}/api/admin/snapshots/{name}/restore", timeout=120).raise_for_status() + + def keys(self, jql): + out, token = [], None + while True: + params = {"jql": jql, "maxResults": 100, "fields": "key"} + if token: + params["nextPageToken"] = token + page = self.jira.get(f"{self.j}/rest/api/3/search/jql", params=params, timeout=60).json() + out += [i["key"] for i in page.get("issues", [])] + token = page.get("nextPageToken") + if not token or page.get("isLast", True): + return out + + def fields(self, key, fields="issuetype,parent,labels,issuelinks,summary"): + return self.jira.get(f"{self.j}/rest/api/2/issue/{key}", params={"fields": fields}, timeout=30).json()["fields"] + + def seq(self): + return self.jira.get(f"{self.j}/api/admin/requests", params={"since": 0, "limit": 1}, timeout=30).json()["last_seq"] + + def writes_since(self, seq0): + entries = self.jira.get(f"{self.j}/api/admin/requests", params={"since": seq0}, timeout=30).json()["requests"] + seen = [{"method": e.get("method"), "path": e.get("path"), "status": e.get("status")} + for e in entries if e.get("seq", 0) > seq0] + return [w for w in seen if not (w["method"] == "GET" or ( + w["method"] == "POST" and str(w["path"]).endswith(READ_ONLY_POSTS)))] + + def data_paths(self): + pid = quote(DATA_PROJECT, safe="") + out, page = [], 1 + while True: + r = self.gl.get(f"{self.g}/projects/{pid}/repository/tree", timeout=60, + params={"recursive": "true", "per_page": 100, "page": page}) + if r.status_code == 404: + return out + r.raise_for_status() + batch = r.json() + out += [x["path"] for x in batch if x.get("type") == "blob"] + if len(batch) < 100: + return out + page += 1 + + def run_job(self, timeout): + r = self.gl.post(f"{self.g}/projects/{self.pid}/pipeline", json={"ref": "main", "variables": DECOMPOSE_VARIABLES}, timeout=60) + r.raise_for_status() + pipeline = r.json()["id"] + t0, played, job = time.time(), False, None + while time.time() - t0 < timeout: + jobs = self.gl.get(f"{self.g}/projects/{self.pid}/pipelines/{pipeline}/jobs", timeout=60).json() + job = next((x for x in jobs if x["name"] == JOB), None) + if job and job["status"] == "manual" and not played: + self.gl.post(f"{self.g}/projects/{self.pid}/jobs/{job['id']}/play", timeout=60).raise_for_status() + played = True + print(f" pipeline {pipeline}: played {JOB} ({job['id']})", flush=True) + if played and job and job["status"] in ("success", "failed", "canceled", "skipped"): + break + time.sleep(15) + trace = self.gl.get(f"{self.g}/projects/{self.pid}/jobs/{job['id']}/trace", timeout=60).text if job else "" + if job: + traces = Path.home() / ".cache" / "cc75" / "traces" + traces.mkdir(parents=True, exist_ok=True) + (traces / f"S8-job{job['id']}.log").write_text(trace) + cost = re.findall(r"claude-[a-z0-9.-]+\s+\$\s*([0-9.]+)", trace) # the OTEL summary table + return {"pipeline": pipeline, "job": job and job["id"], "status": job and job["status"], + "markers": {m: (m in trace) for m in MARKERS}, "cost_lines": cost[-3:]} + + +def main() -> int: + ap = argparse.ArgumentParser(description=__doc__.splitlines()[0]) + ap.add_argument("--no-rerun", action="store_true") + ap.add_argument("--timeout", type=int, default=5 * 3600) + args = ap.parse_args() + e = Env() + oracle = yaml.safe_load((ROOT / "expected.yaml").read_text())["epic_creator"]["candidates"] + candidates = sorted(oracle) + + base = e.snapshot("cc75-baseline") + e.restore(base) + for key in candidates: + path = ROOT / "generated" / "strategies" / f"{key}-strategy.md" + r = e.jira.post(f"{e.j}/rest/api/3/issue/{key}/attachments", timeout=60, + headers={"X-Atlassian-Token": "no-check"}, + files={"file": (path.name, path.read_bytes(), "text/markdown")}) + r.raise_for_status() + rhai_before = set(e.keys("project = RHAI ORDER BY key ASC")) + data_before = set(e.data_paths()) + seq0 = e.seq() + print(f"S8: fixture on {base}: strategies attached to {candidates}; RHAI issues before: {len(rhai_before)}", flush=True) + + first = e.run_job(args.timeout) + rhai_after = set(e.keys("project = RHAI ORDER BY key ASC")) + new_issues = sorted(rhai_after - rhai_before) + new = {k: e.fields(k) for k in new_issues} + by_parent = {} + for k, f in new.items(): + by_parent.setdefault((f.get("parent") or {}).get("key"), []).append(k) + link_types = sorted({l["type"]["name"] for f in new.values() for l in f.get("issuelinks") or [] + if (l.get("outwardIssue") or l.get("inwardIssue") or {}).get("key") in new}) + labels = {k: e.fields(k, "labels")["labels"] for k in candidates} + writes = e.writes_since(seq0) + written = sorted({k for w in writes for k in re.findall(r"[A-Z][A-Z0-9]+-\d+", str(w["path"]))}) + data_new = sorted(set(e.data_paths()) - data_before) + + checks = {"job_success": first["status"] == "success", **{f"trace: {m}": v for m, v in first["markers"].items()}} + for key, spec in oracle.items(): + made = by_parent.get(key, []) + if spec["action"] == "decompose": + checks[f"{key} decomposed into {spec['epic_count_min']}..{spec['epic_count_max']} Epics"] = ( + spec["epic_count_min"] <= len(made) <= spec["epic_count_max"]) + checks[f"{key} new Epics are {spec['target_project']} Epics"] = bool(made) and all( + k.startswith(spec["target_project"] + "-") and new[k]["issuetype"]["name"] == "Epic" for k in made) + checks[f"{key} labelled {spec['parent_label']}"] = spec["parent_label"] in labels[key] + else: + # Meaningful only when submission ran: a failed submit also creates nothing. + checks[f"{key} skipped ({spec['reason']}): no new Epics"] = bool(new_issues) and not made + checks[f"{key} skipped ({spec['reason']}): not labelled"] = PROCESSED not in labels[key] + checks["sibling links are Blocks only"] = set(link_types) <= {"Blocks"} + checks["writes only to candidates and new Epics"] = set(written) <= set(candidates) | set(new_issues) + checks["results pushed"] = bool(data_new) + + rerun = None + if not args.no_rerun: + seq1 = e.seq() + rhai_mid = set(e.keys("project = RHAI ORDER BY key ASC")) + rerun = e.run_job(args.timeout) + rerun["new_issues"] = sorted(set(e.keys("project = RHAI ORDER BY key ASC")) - rhai_mid) + rerun["jira_writes"] = len(e.writes_since(seq1)) + checks["rerun job success"] = rerun["status"] == "success" + checks["rerun creates no Epics"] = not rerun["new_issues"] + + ok = all(checks.values()) + label = "cc75-after-S8" if ok else "cc75-S8-failed" + kept = e.jira.post(f"{e.j}/api/admin/snapshots", json={"label": label}, timeout=120).json()["name"] + e.restore(base) + summary = {"scenario": "S8", "fixture": {"baseline": base, "strategies_attached": candidates}, + "first": first, "rerun": rerun, "checks": checks, + "new_epics_by_parent": by_parent, "sibling_link_types": link_types, + "new_epic_summaries": {k: f.get("summary") for k, f in new.items()}, + "candidate_labels": labels, "written_keys": written, + "write_paths": sorted({f"{w['method']} {re.sub(r'/[0-9]+$', '/', str(w['path']))}" for w in writes}), + "data_repo_new_paths": data_new, "kept_as_snapshot": kept, "restored_after": base, "ok": ok, + "checked_at": datetime.now(timezone.utc).isoformat()} + out = ROOT / "evidence" / f"S8-{datetime.now(timezone.utc).strftime('%Y%m%dT%H%M%SZ')}.json" + out.write_text(json.dumps(summary, indent=2) + "\n") + for name, passed in checks.items(): + print(f" check {name:<70} {passed}") + print(f" new Epics by parent: {by_parent}; links: {link_types}") + print(f" ok={ok}; kept {kept}; evidence: {out.relative_to(ROOT)}") + return 0 if ok else 1 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/var/demos/initiatives/scripts/run_feature.py b/var/demos/initiatives/scripts/run_feature.py new file mode 100644 index 0000000..06052c7 --- /dev/null +++ b/var/demos/initiatives/scripts/run_feature.py @@ -0,0 +1,222 @@ +#!/usr/bin/env python3 +"""S10: Feature regression - the existing single-RFE strategy path on the new pins. + +Production's `workflow-single-rfe` (strat-pipeline main, strat-creator #124 plus the +emulator patches, Model Relay) on one RFE, with the project defaults: an RFE run is +live (STRAT_DRY_RUN=0, FULLSEND_PUBLISH=1); the Initiative tripwire does not apply. + +Fixture (before the audit window): restore cc75-baseline, then create one synthetic +RHAIRFE Feature Request that strat-creator's single-RFE intake accepts (release +label strat-creator-3.7, quality label rfe-creator-autofix-rubric-pass, status New, +no existing clone). The fixture's own RFEs are 53-character stubs kept only as link +sources. + +Checks: the jobs succeed; a new RHAISTRAT Feature is cloned from the RFE with a +gate label and the strategy-creator provenance; no `initiative-*` label on the +Feature or the RFE; Jira writes touch only the RFE and the new Feature (no +Initiative); results land under RHAISTRAT/ in strat-pipeline-data, nothing new +under initiative-strategy/. The end state is kept as a snapshot and Jira is +restored to the baseline. Writes evidence/S10-.json. +""" +from __future__ import annotations + +import json +import os +import re +import sys +import time +from datetime import datetime, timezone +from pathlib import Path +from urllib.parse import quote + +import requests + +ROOT = Path(__file__).resolve().parents[1] +DOMAIN = os.getenv("BREADBOARD_DOMAIN", "local").strip(".") or "local" +PROJECT = "redhat/rhel-ai/agentic-ci/strat-pipeline" +DATA_PROJECT = "redhat/rhel-ai/agentic-ci/strat-pipeline-data" +JOB = "workflow-single-rfe" +GATES = ("strat-creator-rubric-pass", "strat-creator-needs-attention") +READ_ONLY_POSTS = ("/search", "/search/jql", "/search/approximate-count", "/issue/bulkfetch", "/expression/eval") +EMULATOR_SOURCE = { + "STRAT_CREATOR_REPO": "https://github-emulator.ai-pipeline.svc.cluster.local/fullsend-ai/strat-creator.git", + "STRAT_CREATOR_BRANCH": "cc75-emulator", +} +RFE = { + "summary": "[SYNTH] Per-namespace request quotas for shared model-serving endpoints", + "description": """h2. Problem + +Teams that share one model-serving endpoint have no way to stop a single namespace from +consuming the endpoint's whole request capacity. During load spikes one workload starves the +others, and operators can only react by scaling the endpoint for everyone. + +h2. Who benefits + +Platform operators who run shared serving endpoints, and the application teams whose latency +budgets suffer when a neighbour floods the endpoint. + +h2. Requested capability + +* An operator can set a request-rate quota per namespace on a shared serving endpoint. +* Requests over the quota receive HTTP 429 with a Retry-After header; requests within quota are + unaffected. +* Quota usage per namespace is exported as metrics and visible on the existing dashboard. +* Quotas can be changed without restarting the endpoint. + +h2. Acceptance criteria + +* With two namespaces sharing an endpoint and a quota on one of them, saturating traffic from + that namespace does not raise the other namespace's p95 latency by more than 10 percent. +* Changing a quota takes effect within one minute. +* The 429 responses and quota usage appear in the platform metrics. + +h2. Out of scope + +Per-user quotas, billing, and quotas on training workloads.""", + "labels": ["cc75-synthetic", "cc75-s10", "strat-creator-3.7", "rfe-creator-autofix-rubric-pass"], +} + + +class Env: + def __init__(self): + ca = os.getenv("BREADBOARD_CA_FILE") or True + self.gl, self.jira = requests.Session(), requests.Session() + self.gl.auth = (os.getenv("GITLAB_USER", "admin"), os.getenv("GITLAB_ADMIN_PASSWORD", "admin")) + self.jira.auth = (os.getenv("JIRA_ADMIN_USER", "admin"), os.getenv("JIRA_ADMIN_PASSWORD", "admin")) + self.gl.verify = self.jira.verify = ca + self.g, self.j = f"https://gitlab.{DOMAIN}/api/v4", f"https://jira.{DOMAIN}" + + def snapshot(self, label): + snaps = self.jira.get(f"{self.j}/api/admin/snapshots", timeout=30).json()["snapshots"] + names = sorted(s["name"] if isinstance(s, dict) else s for s in snaps) + names = [n for n in names if label in n] + if not names: + raise SystemExit(f"no {label} snapshot") + return names[-1] + + def restore(self, name): + self.jira.post(f"{self.j}/api/admin/snapshots/{name}/restore", timeout=120).raise_for_status() + + def keys(self, jql): + out, token = [], None + while True: + params = {"jql": jql, "maxResults": 100, "fields": "key"} + if token: + params["nextPageToken"] = token + page = self.jira.get(f"{self.j}/rest/api/3/search/jql", params=params, timeout=60).json() + out += [i["key"] for i in page.get("issues", [])] + token = page.get("nextPageToken") + if not token or page.get("isLast", True): + return out + + def fields(self, key): + return self.jira.get(f"{self.j}/rest/api/2/issue/{key}", timeout=30, params={ + "fields": "issuetype,labels,issuelinks,summary,attachment,status"}).json()["fields"] + + def data_paths(self, prefix): + pid = quote(DATA_PROJECT, safe="") + out, page = [], 1 + while True: + r = self.gl.get(f"{self.g}/projects/{pid}/repository/tree", timeout=60, + params={"path": prefix, "recursive": "true", "per_page": 100, "page": page}) + if r.status_code == 404: + return out + r.raise_for_status() + batch = r.json() + out += [x["path"] for x in batch if x.get("type") == "blob"] + if len(batch) < 100: + return out + page += 1 + + +def main() -> int: + e = Env() + pid = quote(PROJECT, safe="") + base = e.snapshot("cc75-baseline") + e.restore(base) + r = e.jira.post(f"{e.j}/rest/api/2/issue", timeout=60, json={"fields": { + "project": {"key": "RHAIRFE"}, "issuetype": {"name": "Feature Request"}, + "summary": RFE["summary"], "description": RFE["description"], "labels": RFE["labels"], + "priority": {"name": "Major"}}}) + r.raise_for_status() + rfe = r.json()["key"] + strat_before = set(e.keys("project = RHAISTRAT ORDER BY key ASC")) + initiatives = set(e.keys("project = RHAISTRAT AND issuetype = Initiative ORDER BY key ASC")) + data_before = {p: set(e.data_paths(p)) for p in ("RHAISTRAT", "initiative-strategy")} + seq0 = e.jira.get(f"{e.j}/api/admin/requests", params={"since": 0, "limit": 1}, timeout=30).json()["last_seq"] + variables = dict(STRAT_EXECUTOR="fullsend", RFE_KEY=rfe, **EMULATOR_SOURCE) + r = e.gl.post(f"{e.g}/projects/{pid}/pipeline", timeout=60, json={ + "ref": "main", "variables": [{"key": k, "value": v} for k, v in variables.items()]}) + r.raise_for_status() + pipeline = r.json()["id"] + print(f"S10: fixture RFE {rfe} on {base}; pipeline {pipeline} variables={variables}", flush=True) + + t0, played, jobs = time.time(), False, [] + while time.time() - t0 < 3 * 3600: + jobs = e.gl.get(f"{e.g}/projects/{pid}/pipelines/{pipeline}/jobs", timeout=60).json() + job = next((x for x in jobs if x["name"] == JOB), None) + if job and job["status"] == "manual" and not played: + e.gl.post(f"{e.g}/projects/{pid}/jobs/{job['id']}/play", timeout=60).raise_for_status() + played = True + print(f" played {JOB} ({job['id']})", flush=True) + if played and job and job["status"] in ("success", "failed", "canceled"): + break + time.sleep(15) + statuses = {x["name"]: x["status"] for x in jobs} + job = next((x for x in jobs if x["name"] == JOB), None) + trace = e.gl.get(f"{e.g}/projects/{pid}/jobs/{job['id']}/trace", timeout=60).text if job else "" + traces = Path.home() / ".cache" / "cc75" / "traces" + traces.mkdir(parents=True, exist_ok=True) + if job: + (traces / f"S10-job{job['id']}.log").write_text(trace) + + entries = e.jira.get(f"{e.j}/api/admin/requests", params={"since": seq0}, timeout=30).json()["requests"] + seen = [{"method": x.get("method"), "path": x.get("path")} for x in entries if x.get("seq", 0) > seq0] + writes = [w for w in seen if not (w["method"] == "GET" or ( + w["method"] == "POST" and str(w["path"]).endswith(READ_ONLY_POSTS)))] + written = sorted({k for w in writes for k in re.findall(r"[A-Z][A-Z0-9]+-\d+", str(w["path"]))}) + new_strats = sorted(set(e.keys("project = RHAISTRAT ORDER BY key ASC")) - strat_before) + features = {k: e.fields(k) for k in new_strats} + rfe_fields = e.fields(rfe) + clone_links = {k: [(l["type"]["name"], (l.get("outwardIssue") or l.get("inwardIssue") or {}).get("key")) + for l in f.get("issuelinks") or []] for k, f in features.items()} + data_new = {p: sorted(set(e.data_paths(p)) - data_before[p]) for p in data_before} + feature = new_strats[0] if len(new_strats) == 1 else None + f_labels = features[feature]["labels"] if feature else [] + checks = { + "job success": statuses.get(JOB) == "success", + "python-tests success": statuses.get("python-tests") == "success", + "exactly one new RHAISTRAT issue": len(new_strats) == 1, + "it is a Feature": bool(feature) and features[feature]["issuetype"]["name"] == "Feature", + "cloned from the RFE": bool(feature) and any(rfe == other for _, other in clone_links[feature]), + "Feature has a gate label": any(g in f_labels for g in GATES), + "Feature has no initiative-* label": not any(l.startswith("initiative-") for l in f_labels), + "RFE has no initiative-* label": not any(l.startswith("initiative-") for l in rfe_fields["labels"]), + "writes only to the RFE and the new Feature": set(written) <= {rfe, *new_strats}, + "no Initiative written": not (set(written) & initiatives), + "results under RHAISTRAT/": bool(data_new["RHAISTRAT"]), + "nothing new under initiative-strategy/": not data_new["initiative-strategy"], + } + cost = re.findall(r"Cost: \$([0-9.]+)", trace) + ok = all(checks.values()) + kept = e.jira.post(f"{e.j}/api/admin/snapshots", json={"label": "cc75-after-S10" if ok else "cc75-S10-failed"}, + timeout=120).json()["name"] + e.restore(base) + summary = {"scenario": "S10", "pipeline": pipeline, "variables": variables, "jobs": statuses, "rfe": rfe, + "new_rhaistrat": new_strats, "feature_labels": f_labels, "rfe_labels": rfe_fields["labels"], + "clone_links": clone_links, "written_keys": written, + "write_paths": sorted({f"{w['method']} {w['path']}" for w in writes}), + "data_repo_new_paths": data_new, "cost_lines": cost[-2:], "checks": checks, "ok": ok, + "kept_as_snapshot": kept, "restored_after": base, + "checked_at": datetime.now(timezone.utc).isoformat()} + out = ROOT / "evidence" / f"S10-{datetime.now(timezone.utc).strftime('%Y%m%dT%H%M%SZ')}.json" + out.write_text(json.dumps(summary, indent=2) + "\n") + for name, passed in checks.items(): + print(f" check {name:<45} {passed}") + print(f" jobs: {statuses}; cost: {cost[-1:]}") + print(f" ok={ok}; kept {kept}; evidence: {out.relative_to(ROOT)}") + return 0 if ok else 1 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/var/demos/initiatives/scripts/run_scenario.py b/var/demos/initiatives/scripts/run_scenario.py new file mode 100644 index 0000000..879b590 --- /dev/null +++ b/var/demos/initiatives/scripts/run_scenario.py @@ -0,0 +1,280 @@ +#!/usr/bin/env python3 +"""Run a CC-75 pipeline scenario on the strat-pipeline emulator mirror. + + run_scenario.py S3 tripwire negative: Initiative run without dry flags + run_scenario.py S3-control same, with STRAT_DRY_RUN=1 FULLSEND_PUBLISH=0 + run_scenario.py S4 dry Initiative batch with no opted-in Initiatives: + the pipeline succeeds with no work and no sandbox + run_scenario.py S6 dry strategy canary on the baseline, BATCH_SIZE=1: + the oracle's first Initiative goes through the real + model in the sandbox; nothing is written to Jira + run_scenario.py S7a LIVE on the emulators (strat-pipeline main, INITIATIVE_LIVE=on), + baseline, BATCH_SIZE=1: the strategy for the oracle's + first Initiative is written to the Jira emulator and the + run is published to the GitLab emulator's data repo + run_scenario.py S7b LIVE, continuing from S7a's end state, BATCH_SIZE=3: the + next three Initiatives; the one S7a finished is skipped + +Each scenario creates one API pipeline with fixed variables, waits for the +named jobs to settle, checks job status and trace markers, and compares the +Jira emulator's request audit (non-GET /rest/ requests) before and after: +the dry scenarios must write nothing to Jira. Live scenarios (S7*) must write +only to the Initiatives they select, leave each with a strategy attachment, a +review gate label and no lock, and add initiative-strategy/ results to the data +repo; they keep their end state as a snapshot (cc75-after-) instead of +restoring the baseline. Writes evidence/-*.json. +""" +from __future__ import annotations + +import argparse +import json +import os +import sys +import time +from datetime import datetime, timezone +from pathlib import Path +from urllib.parse import quote + +import requests + +ROOT = Path(__file__).resolve().parents[1] +DOMAIN = os.getenv("BREADBOARD_DOMAIN", "local").strip(".") or "local" +PROJECT = "redhat/rhel-ai/agentic-ci/strat-pipeline" +# Log lines the strat-pipeline jobs print (the refusal and the live-run notice) quote private +# source, so they are read from the private patch folder; without it only job status is checked. +_MARKERS = Path(os.getenv("CC75_PRIVATE_PATCHES", "~/.cache/cc75/private-patches")).expanduser() / "strat-pipeline" / "markers.json" +MARKERS = json.loads(_MARKERS.read_text()) if _MARKERS.exists() else {} +TRIPWIRE, LIVE_NOTICE = MARKERS.get("tripwire"), MARKERS.get("live") +BASE_VARS = {"INITIATIVE_STRATEGIES": "on", "STRAT_EXECUTOR": "fullsend"} +DRY = {"STRAT_DRY_RUN": "1", "FULLSEND_PUBLISH": "0"} +LIVE = {"STRAT_DRY_RUN": "0", "FULLSEND_PUBLISH": "1"} +DATA_PROJECT = "redhat/rhel-ai/agentic-ci/strat-pipeline-data" +GATE_LABELS = ("strat-creator-rubric-pass", "strat-creator-needs-attention") +LOCK_LABEL = "strat-creator-processing" +EMULATOR_SOURCE = { + "STRAT_CREATOR_REPO": "https://github-emulator.ai-pipeline.svc.cluster.local/fullsend-ai/strat-creator.git", + "STRAT_CREATOR_BRANCH": "cc75-emulator", +} +OPT_IN = "initiative-autofix-opt-in" +# The audit records every non-GET /rest/ request; these POSTs only read. +READ_ONLY_POSTS = ("/search", "/search/jql", "/search/approximate-count", "/issue/bulkfetch", "/expression/eval") + +SCENARIOS = { + "S3": { + "variables": dict(BASE_VARS), + "expect": {"python-tests": ("failed", TRIPWIRE)}, + }, + "S3-control": { + "variables": dict(BASE_VARS, **DRY), + "expect": {"python-tests": ("success", None)}, + }, + "S4": { + "variables": dict(BASE_VARS, **DRY, **EMULATOR_SOURCE, BATCH_SIZE="1"), + "fixture": "no-opt-in", + "play": ["workflow-batch-initiative"], + "expect": {"python-tests": ("success", None), "fullsend-input-check": ("success", None), + "workflow-batch-initiative": ("success", None)}, + }, + "S6": { + "variables": dict(BASE_VARS, **DRY, **EMULATOR_SOURCE, BATCH_SIZE="1"), + "fixture": "baseline", + "play": ["workflow-batch-initiative"], + "expect": {"python-tests": ("success", None), "fullsend-input-check": ("success", None), + "workflow-batch-initiative": ("success", None)}, + "markers": {"workflow-batch-initiative": ["RHAISTRAT-75006", "Sandbox created", "Validation passed", "Job succeeded"]}, + "timeout": 6 * 3600, + }, + "S7a": { + "variables": dict(BASE_VARS, **LIVE, INITIATIVE_LIVE="on", **EMULATOR_SOURCE, BATCH_SIZE="1"), + "fixture": "baseline", + "play": ["workflow-batch-initiative"], + "expect": {"python-tests": ("success", LIVE_NOTICE), + "fullsend-input-check": ("success", None), "workflow-batch-initiative": ("success", None)}, + "markers": {"workflow-batch-initiative": ["RHAISTRAT-75006", "Validation passed", "Job succeeded"]}, + "live": {"processed": ["RHAISTRAT-75006"], "untouched": ["RHAISTRAT-75009", "RHAISTRAT-75010", + "RHAISTRAT-75019"]}, + "timeout": 6 * 3600, + }, + "S7b": { + "variables": dict(BASE_VARS, **LIVE, INITIATIVE_LIVE="on", **EMULATOR_SOURCE, BATCH_SIZE="3"), + "fixture": "after-S7a", + "play": ["workflow-batch-initiative"], + "expect": {"python-tests": ("success", LIVE_NOTICE), + "fullsend-input-check": ("success", None), "workflow-batch-initiative": ("success", None)}, + "markers": {"workflow-batch-initiative": ["RHAISTRAT-75009", "RHAISTRAT-75010", "RHAISTRAT-75019", + "Validation passed", "Job succeeded"]}, + "live": {"processed": ["RHAISTRAT-75009", "RHAISTRAT-75010", "RHAISTRAT-75019"], + "untouched": ["RHAISTRAT-75006"]}, + "timeout": 6 * 3600, + }, +} + + +def baseline_snapshot(jira, j, label="cc75-baseline"): + snaps = jira.get(f"{j}/api/admin/snapshots", timeout=30).json()["snapshots"] + names = sorted(s["name"] if isinstance(s, dict) else s for s in snaps) + names = [n for n in names if label in n] + if not names: + raise SystemExit(f"no {label} snapshot; run seed_initiatives.py (or the scenario that makes it) first") + return names[-1] + + +def apply_fixture(jira, j, variant): + """Restore the baseline, then derive the scenario's variant (before the audit window).""" + snap = baseline_snapshot(jira, j, f"cc75-{variant}" if variant.startswith("after-") else "cc75-baseline") + jira.post(f"{j}/api/admin/snapshots/{snap}/restore", timeout=120).raise_for_status() + if variant == "no-opt-in": + keys = [i["key"] for i in jira.get(f"{j}/rest/api/3/search/jql", timeout=60, params={ + "jql": f'labels = cc75-synthetic AND labels = "{OPT_IN}"', "maxResults": 100, + "fields": "key"}).json()["issues"]] + for key in keys: + jira.put(f"{j}/rest/api/2/issue/{key}", timeout=30, + json={"update": {"labels": [{"remove": OPT_IN}]}}).raise_for_status() + return {"baseline": snap, "variant": variant, "opt_in_removed": len(keys)} + return {"baseline": snap, "variant": variant} + + +def issue_state(jira, j, key): + f = jira.get(f"{j}/rest/api/2/issue/{key}", timeout=30, params={"fields": "labels,attachment,status"}).json()["fields"] + return {"labels": sorted(f.get("labels") or []), "status": (f.get("status") or {}).get("name"), + "attachments": sorted(a["filename"] for a in f.get("attachment") or [])} + + +def data_repo_paths(gl, g, prefix="initiative-strategy"): + pid = quote(DATA_PROJECT, safe="") + paths, page = [], 1 + while True: + r = gl.get(f"{g}/projects/{pid}/repository/tree", timeout=60, + params={"path": prefix, "recursive": "true", "per_page": 100, "page": page}) + if r.status_code == 404: + return paths + r.raise_for_status() + batch = r.json() + paths += [x["path"] for x in batch if x.get("type") == "blob"] + if len(batch) < 100: + return paths + page += 1 + + +def main() -> int: + ap = argparse.ArgumentParser(description=__doc__.splitlines()[0]) + ap.add_argument("scenario", choices=sorted(SCENARIOS)) + ap.add_argument("--timeout", type=int, default=None) + args = ap.parse_args() + sc = SCENARIOS[args.scenario] + args.timeout = args.timeout or sc.get("timeout", 1800) + ca = os.getenv("BREADBOARD_CA_FILE") or True + gl = requests.Session() + gl.auth = (os.getenv("GITLAB_USER", "admin"), os.getenv("GITLAB_ADMIN_PASSWORD", "admin")) + gl.verify = ca + jira = requests.Session() + jira.auth = (os.getenv("JIRA_ADMIN_USER", "admin"), os.getenv("JIRA_ADMIN_PASSWORD", "admin")) + jira.verify = ca + g = f"https://gitlab.{DOMAIN}/api/v4" + j = f"https://jira.{DOMAIN}" + pid = quote(PROJECT, safe="") + + fixture = apply_fixture(jira, j, sc["fixture"]) if sc.get("fixture") else None + live = sc.get("live") + before = {"data_paths": data_repo_paths(gl, g)} if live else None + seq0 = jira.get(f"{j}/api/admin/requests", params={"since": 0, "limit": 1}, timeout=30).json()["last_seq"] + r = gl.post(f"{g}/projects/{pid}/pipeline", timeout=60, json={ + "ref": sc.get("ref", "main"), "variables": [{"key": k, "value": v} for k, v in sc["variables"].items()]}) + if r.status_code >= 400: + raise SystemExit(f"create pipeline: HTTP {r.status_code}: {r.text[:300]}") + pipeline = r.json()["id"] + print(f"{args.scenario}: pipeline {pipeline} variables={sc['variables']}", flush=True) + + t0, jobs, played = time.time(), [], set() + while time.time() - t0 < args.timeout: + jobs = gl.get(f"{g}/projects/{pid}/pipelines/{pipeline}/jobs", timeout=60).json() + for job in jobs: + if job["name"] in sc.get("play", []) and job["status"] == "manual" and job["id"] not in played: + gl.post(f"{g}/projects/{pid}/jobs/{job['id']}/play", timeout=60).raise_for_status() + played.add(job["id"]) + print(f" played {job['name']} ({job['id']})", flush=True) + watched = [x for x in jobs if x["name"] in sc["expect"]] + if watched and all(x["status"] in ("success", "failed", "canceled", "skipped") for x in watched): + break + time.sleep(10) + + results, ok = {}, True + for job in jobs: + trace = gl.get(f"{g}/projects/{pid}/jobs/{job['id']}/trace", timeout=60).text + entry = {"id": job["id"], "status": job["status"], "stage": job.get("stage")} + extra = sc.get("markers", {}).get(job["name"], []) + if extra: + entry["markers"] = {m: (m in trace) for m in extra} + ok &= all(entry["markers"].values()) + if job["name"] in sc["expect"]: + want_status, marker = sc["expect"][job["name"]] + entry["expected_status"] = want_status + entry["status_ok"] = job["status"] == want_status + if marker: + entry["marker"] = marker + entry["marker_found"] = marker in trace + ok &= entry["status_ok"] and entry.get("marker_found", True) + results[job["name"]] = entry + + audit1 = jira.get(f"{j}/api/admin/requests", params={"since": seq0}, timeout=30).json() + entries = audit1["requests"] + requests_seen = [{"method": e.get("method"), "path": e.get("path"), "status": e.get("status"), + "user": e.get("user")} for e in entries if e.get("seq", 0) > seq0] + reads = [r for r in requests_seen if r["method"] == "POST" and str(r["path"]).endswith(READ_ONLY_POSTS)] + writes = [r for r in requests_seen if r not in reads] + live_report = None + if live: + import re + allowed = set(live["processed"]) + named = {k for w in writes for k in re.findall(r"[A-Z][A-Z0-9]+-\d+", str(w["path"]))} + issues = {k: issue_state(jira, j, k) for k in live["processed"] + live["untouched"]} + checks = { + "writes_only_to_selected": named <= allowed, + "every_selected_written": all(any(k in str(w["path"]) for w in writes) for k in allowed), + "untouched_not_written": not (named & set(live["untouched"])), + } + for k in live["processed"]: + st = issues[k] + checks[f"{k}_strategy_attachment"] = f"{k}-strategy.md" in st["attachments"] + checks[f"{k}_gate_label"] = any(lbl in st["labels"] for lbl in GATE_LABELS) + checks[f"{k}_lock_released"] = LOCK_LABEL not in st["labels"] + after_paths = data_repo_paths(gl, g) + new_paths = sorted(set(after_paths) - set(before["data_paths"])) + checks["results_published"] = bool(new_paths) + live_report = {"checks": checks, "issues": issues, "write_keys": sorted(named), + "write_paths": sorted({f"{w['method']} {w['path']}" for w in writes}), + "data_repo_new_paths": new_paths} + ok &= all(checks.values()) + if fixture and ok: + # Only a passing run's end state may seed the next scenario (S7b starts from S7a's). + snap_name = jira.post(f"{j}/api/admin/snapshots", timeout=120, + json={"label": f"cc75-after-{args.scenario}"}).json()["name"] + fixture["kept_as_snapshot"] = snap_name + else: + ok &= not writes + if fixture and not live: + snap = baseline_snapshot(jira, j) + jira.post(f"{j}/api/admin/snapshots/{snap}/restore", timeout=120).raise_for_status() + fixture["restored_after"] = snap + summary = {"scenario": args.scenario, "pipeline": pipeline, "variables": sc["variables"], + "ref": sc.get("ref", "main"), + "fixture": fixture, "jobs": results, "live": live_report, + "jira_writes": writes if not live else len(writes), "jira_read_posts": reads, "ok": ok, + "checked_at": datetime.now(timezone.utc).isoformat()} + out = ROOT / "evidence" / f"{args.scenario}-{datetime.now(timezone.utc).strftime('%Y%m%dT%H%M%SZ')}.json" + out.parent.mkdir(exist_ok=True) + out.write_text(json.dumps(summary, indent=2) + "\n") + for name, e in results.items(): + print(f" {name:<28} {e['status']:<8}" + (f" expected={e['expected_status']}" if "expected_status" in e else "") + + (f" marker_found={e['marker_found']}" if "marker_found" in e else "") + + (f" markers={e['markers']}" if "markers" in e else "")) + if live_report: + for name, passed in live_report["checks"].items(): + print(f" check {name:<40} {passed}") + print(f" data repo: {len(live_report['data_repo_new_paths'])} new path(s) under initiative-strategy/") + print(f" jira writes: {len(writes)} (read-only POSTs: {len(reads)}); ok={ok}; evidence: {out.relative_to(ROOT)}") + return 0 if ok else 1 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/var/demos/initiatives/scripts/run_smoke.py b/var/demos/initiatives/scripts/run_smoke.py new file mode 100644 index 0000000..538bf9c --- /dev/null +++ b/var/demos/initiatives/scripts/run_smoke.py @@ -0,0 +1,130 @@ +#!/usr/bin/env python3 +"""Run a CC-75 CI smoke project in the GitLab emulator and record evidence. + + run_smoke.py fullsend-gateway + +Ensures group `cc75` and project `cc75/` (admin:admin, the emulator's +development default), pushes smoke// as the project's main branch, +creates one pipeline for that commit (unless one already exists for it and +--rerun is not given), waits for it, and writes the job trace to +~/.cache/cc75/traces/ plus a summary (status, SMOKE_* lines, timings) to +evidence/smoke--.json. +""" +from __future__ import annotations + +import argparse +import json +import os +import shutil +import subprocess +import sys +import time +from datetime import datetime, timezone +from pathlib import Path +from urllib.parse import quote + +import requests + +ROOT = Path(__file__).resolve().parents[1] +DOMAIN = os.getenv("BREADBOARD_DOMAIN", "local").strip(".") or "local" +CACHE = Path(os.getenv("CC75_CACHE", Path.home() / ".cache" / "cc75" / "sources")).parent + + +def main() -> int: + ap = argparse.ArgumentParser(description=__doc__.splitlines()[0]) + ap.add_argument("name") + ap.add_argument("--gitlab-url", default=os.getenv("GITLAB_URL", f"https://gitlab.{DOMAIN}")) + ap.add_argument("--rerun", action="store_true") + ap.add_argument("--timeout", type=int, default=3600) + args = ap.parse_args() + user, password = os.getenv("GITLAB_USER", "admin"), os.getenv("GITLAB_ADMIN_PASSWORD", "admin") + ca = os.getenv("BREADBOARD_CA_FILE") + base = args.gitlab_url.rstrip("/") + api = requests.Session() + api.auth = (user, password) + api.verify = ca or True + v4 = f"{base}/api/v4" + + def call(method, path, **kw): + for attempt in range(6): + r = api.request(method, f"{v4}/{path}", timeout=60, **kw) + if r.status_code == 503 and "lock" in r.text.lower(): + time.sleep(0.5 * 2 ** attempt) + continue + return r + return r + + groups = [g for g in call("GET", "groups", params={"search": "cc75"}).json() if g["full_path"] == "cc75"] + group = groups[0] if groups else call("POST", "groups", json={"name": "cc75", "path": "cc75", + "visibility": "private"}).json() + proj_path = f"cc75/{args.name}" + r = call("GET", f"projects/{quote(proj_path, safe='')}") + if r.status_code == 404: + r = call("POST", "projects", json={"name": args.name, "path": args.name, + "namespace_id": group["id"], "visibility": "private", + "default_branch": "main", "initialize_with_readme": False}) + r.raise_for_status() + project = r.json() + + src = ROOT / "smoke" / args.name + work = CACHE / "work" / f"smoke-{args.name}" + shutil.rmtree(work, ignore_errors=True) + shutil.copytree(src, work) + env = {k: v for k, v in os.environ.items() if not k.startswith("GIT_")} + env.update(GIT_TERMINAL_PROMPT="0", GIT_AUTHOR_NAME="cc75", GIT_AUTHOR_EMAIL="cc75@example.invalid", + GIT_COMMITTER_NAME="cc75", GIT_COMMITTER_EMAIL="cc75@example.invalid", + GIT_AUTHOR_DATE="2026-11-15T00:00:00Z", GIT_COMMITTER_DATE="2026-11-15T00:00:00Z") + tls = ["-c", f"http.sslCAInfo={ca}"] if ca else [] + remote = base.replace("://", f"://{quote(user)}:{quote(password)}@", 1) + f"/{proj_path}.git" + for cmd in (["init", "-q", "-b", "main"], ["add", "-A"], ["commit", "-q", "-m", f"cc75 {args.name} smoke"], + [*tls, "push", "-q", "-f", remote, "main:main"]): + res = subprocess.run(["git", *cmd], cwd=work, env=env, capture_output=True, text=True) + if res.returncode: + raise SystemExit(f"git {cmd[0]}: {(res.stderr or res.stdout).replace(password, '***')}") + sha = subprocess.run(["git", "rev-parse", "HEAD"], cwd=work, capture_output=True, text=True).stdout.strip() + + pid = None + if not args.rerun: + existing = call("GET", f"projects/{project['id']}/pipelines", params={"sha": sha}).json() + pid = existing[0]["id"] if existing else None + if pid is None: + r = call("POST", f"projects/{project['id']}/pipeline", json={"ref": "main"}) + if r.status_code >= 400: + raise SystemExit(f"create pipeline: HTTP {r.status_code}: {r.text[:300]}") + pid = r.json()["id"] + print(f"project {proj_path} (id {project['id']}) commit {sha[:8]} pipeline {pid}", flush=True) + + t0, status = time.time(), None + while time.time() - t0 < args.timeout: + p = call("GET", f"projects/{project['id']}/pipelines/{pid}").json() + if p["status"] != status: + status = p["status"] + print(f" {int(time.time() - t0):>5}s pipeline {status}", flush=True) + if status in ("success", "failed", "canceled", "skipped"): + break + time.sleep(15) + jobs = call("GET", f"projects/{project['id']}/pipelines/{pid}/jobs").json() + traces = CACHE / "traces" + traces.mkdir(parents=True, exist_ok=True) + summary = {"project": proj_path, "commit": sha, "pipeline": pid, "status": status, + "wall_seconds": int(time.time() - t0), "jobs": []} + for job in jobs: + trace = call("GET", f"projects/{project['id']}/jobs/{job['id']}/trace").text + (traces / f"{args.name}-job{job['id']}.log").write_text(trace) + # Emulator trace lines look like " 01O "; match on the text. + texts = [l.split(" ", 2)[2] if len(l.split(" ", 2)) == 3 else l for l in trace.splitlines()] + marks = [t.strip() for t in texts if t.lstrip().startswith(("SMOKE", "SANDBOX_OK", "PROBE"))] + summary["jobs"].append({"id": job["id"], "name": job["name"], "status": job["status"], + "markers": marks[:40], "trace_tail": trace.splitlines()[-60:]}) + out = ROOT / "evidence" / f"smoke-{args.name}-{datetime.now(timezone.utc).strftime('%Y%m%dT%H%M%SZ')}.json" + out.parent.mkdir(exist_ok=True) + out.write_text(json.dumps(summary, indent=2) + "\n") + for job in summary["jobs"]: + print(f"job {job['id']} {job['name']}: {job['status']}") + print("\n".join(" " + m for m in job["markers"])) + print(f"evidence: {out.relative_to(ROOT)}; full trace under {traces}") + return 0 if status == "success" else 1 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/var/demos/initiatives/scripts/seed_initiatives.py b/var/demos/initiatives/scripts/seed_initiatives.py new file mode 100644 index 0000000..ee16d76 --- /dev/null +++ b/var/demos/initiatives/scripts/seed_initiatives.py @@ -0,0 +1,195 @@ +#!/usr/bin/env python3 +"""Seed the CC-75 synthetic Initiative fixture into a breadboard Jira emulator. + +Steps (idempotent; a second run converges without creating duplicates): + 1. Project-config import: Outcome type, Release Pending status, the + "CC75 Initiative Workflow", Incorporates/Depend link types, synthetic + custom fields, Outcome on RHAISTRAT, and an RHAI engineering project with the + fixture's synthetic components (epic-creator #40 reads RHAI's components and + stops when there are none). + Existing statuses are re-sent with their live category and description, + because the emulator's upsert overwrites both. + 2. Issue import of generated/issues.json (explicit synthetic keys). + 3. Read-back verification of every issue: type, status, labels, parent and + link order. The emulator silently drops unknown parents, so this matters. + 4. A jira-emulator snapshot labelled cc75-baseline (skip with --no-snapshot). + +Writes a non-secret summary to evidence/seed-.json. +""" +from __future__ import annotations + +import argparse +import json +import os +import sys +from datetime import datetime, timezone +from pathlib import Path + +import requests + +ROOT = Path(__file__).resolve().parents[1] +DOMAIN = os.getenv("BREADBOARD_DOMAIN", "local").strip(".") or "local" +WORKFLOW = "CC75 Initiative Workflow" +WORKFLOW_STATUSES = ["New", "Backlog", "Refinement", "To Do", "In Progress", "Review", + "Release Pending", "Closed"] +NEW_STATUSES = {"Release Pending": ("indeterminate", "Synthetic CC-75 status: awaiting release.")} +CATEGORY_KEYS = {"new", "indeterminate", "done"} + + +class Jira: + def __init__(self, url: str, user: str, password: str, ca): + self.url = url.rstrip("/") + self.s = requests.Session() + self.s.auth = (user, password) + self.s.verify = ca + + def get(self, path, **params): + r = self.s.get(self.url + path, params=params, timeout=60) + r.raise_for_status() + return r.json() + + def upload(self, path, name, payload: bytes): + r = self.s.post(self.url + path, files={"file": (name, payload, "application/json")}, timeout=300) + if r.status_code >= 400: + raise SystemExit(f"{path}: HTTP {r.status_code}: {r.text[:500]}") + return r.json() + + def post(self, path, body): + r = self.s.post(self.url + path, json=body, timeout=120) + r.raise_for_status() + return r.json() + + +def config_payloads(jira: Jira) -> list[tuple[str, dict]]: + live = {s["name"]: s for s in jira.get("/rest/api/2/status")} + statuses = [] + for name in WORKFLOW_STATUSES: + if name in live: + cat = (live[name].get("statusCategory") or {}).get("key", "indeterminate") + if cat not in CATEGORY_KEYS: + cat = "indeterminate" + statuses.append({"status_id": name, "name": name, "status_category": cat, + "description": live[name].get("description")}) + else: + cat, desc = NEW_STATUSES[name] + statuses.append({"status_id": name, "name": name, "status_category": cat, "description": desc}) + rhaistrat_types = [t["name"] for t in jira.get("/rest/api/2/project/RHAISTRAT").get("issueTypes", [])] + rhaistrat = { + "version": "1.0", + "statuses": statuses, + "issue_types": [{"name": "Outcome", "subtask": False, + "description": "Synthetic CC-75 parent of Initiatives and Features."}], + "link_types": [ + {"name": "Incorporates", "inward_description": "is incorporated by", + "outward_description": "incorporates"}, + {"name": "Depend", "inward_description": "is depended on by", + "outward_description": "depends on"}, + ], + "custom_fields": [ + {"field_id": "customfield_10855", "name": "Target Version", "field_type": "string"}, + {"field_id": "customfield_75001", "name": "RICE Score (synthetic)", "field_type": "number"}, + {"field_id": "customfield_75002", "name": "RICE Effort (synthetic)", "field_type": "number"}, + ], + "workflows": [{"workflow_id": "cc75", "name": WORKFLOW, + "statuses": [{"status_id": n, "sequence": i} for i, n in enumerate(WORKFLOW_STATUSES)]}], + "project": {"key": "RHAISTRAT", + "issue_types": sorted(set(rhaistrat_types) | {"Outcome", "Initiative", "Feature"}), + "workflows": [{"workflow_id": "cc75", "issue_type": "Initiative"}, + {"workflow_id": "cc75", "issue_type": "Outcome"}]}, + } + rhai = {"version": "1.0", + "project": {"key": "RHAI", "name": "RHAI (synthetic engineering)", + "description": "Synthetic CC-75 engineering project for Initiative child Epics.", + "issue_types": ["Epic", "Story", "Task", "Sub-task"]}} + return [("rhaistrat-initiatives.json", rhaistrat), ("rhai-project.json", rhai)] + + +def verify(jira: Jira, issues: list[dict]) -> list[str]: + problems = [] + for rec in issues: + want = rec["fields"] + got = jira.get(f"/rest/api/2/issue/{rec['key']}", + fields="issuetype,status,labels,parent,issuelinks,summary")["fields"] + if got["issuetype"]["name"] != want["issuetype"]["name"]: + problems.append(f"{rec['key']}: type {got['issuetype']['name']}") + if got["status"]["name"] != want["status"]["name"]: + problems.append(f"{rec['key']}: status {got['status']['name']}") + if sorted(got.get("labels") or []) != sorted(want["labels"]): + problems.append(f"{rec['key']}: labels differ") + want_parent = (want.get("parent") or {}).get("key") + got_parent = (got.get("parent") or {}).get("key") + if want_parent != got_parent: + problems.append(f"{rec['key']}: parent {got_parent!r}, expected {want_parent!r}") + want_links = [(l["type"]["name"], l["outwardIssue"]["key"]) for l in want.get("issuelinks", [])] + got_links = [(l["type"]["name"], l["outwardIssue"]["key"]) + for l in got.get("issuelinks") or [] if "outwardIssue" in l] + if got_links != want_links: + problems.append(f"{rec['key']}: outward links {got_links}, expected {want_links}") + return problems + + +def count_fixture(jira: Jira) -> int: + n, token = 0, None + while True: + params = {"jql": "labels = cc75-synthetic ORDER BY key ASC", "maxResults": 100, "fields": "key"} + if token: + params["nextPageToken"] = token + page = jira.get("/rest/api/3/search/jql", **params) + n += len(page.get("issues", [])) + token = page.get("nextPageToken") + if not token or page.get("isLast", True): + return n + + +def main() -> int: + ap = argparse.ArgumentParser(description=__doc__.splitlines()[0]) + ap.add_argument("--jira-url", default=os.getenv("JIRA_URL", f"https://jira.{DOMAIN}")) + ap.add_argument("--user", default=os.getenv("JIRA_ADMIN_USER", "admin")) + ap.add_argument("--password", default=os.getenv("JIRA_ADMIN_PASSWORD", "admin")) + ap.add_argument("--issues", default=ROOT / "generated" / "issues.json", type=Path) + ap.add_argument("--no-snapshot", action="store_true") + ap.add_argument("--verify-only", action="store_true") + args = ap.parse_args() + ca = os.getenv("BREADBOARD_CA_FILE") or True + jira = Jira(args.jira_url, args.user, args.password, ca) + issues = json.loads(args.issues.read_text())["issues"] + summary = {"jira_url": args.jira_url, "issues_in_fixture": len(issues), + "started": datetime.now(timezone.utc).isoformat()} + + if not args.verify_only: + for name, payload in config_payloads(jira): + res = jira.upload("/api/admin/import/project-config", name, json.dumps(payload).encode()) + if res.get("errors"): + raise SystemExit(f"{name}: config import errors: {res['errors']}") + summary[f"config:{name}"] = {k: v for k, v in res.items() if k != "errors"} + res = jira.upload("/api/admin/import/file", "issues.json", args.issues.read_bytes()) + if res.get("errors"): + raise SystemExit(f"issue import errors: {res['errors'][:10]}") + summary["import"] = {k: res.get(k) for k in ("imported", "updated", "projects_created", "users_created")} + wanted = sorted({c["name"] for i in issues for c in i["fields"].get("components") or []}) + have = {c["name"] for c in jira.get("/rest/api/2/project/RHAI/components")} + for name in wanted: + if name not in have: + jira.post("/rest/api/2/component", {"name": name, "project": "RHAI", + "description": "Synthetic CC-75 component"}) + summary["rhai_components"] = {"wanted": wanted, "created": sorted(set(wanted) - have)} + + problems = verify(jira, issues) + summary["verify_problems"] = problems + summary["fixture_issue_count"] = count_fixture(jira) + ok = not problems and summary["fixture_issue_count"] == len(issues) + if ok and not args.verify_only and not args.no_snapshot: + summary["snapshot"] = jira.post("/api/admin/snapshots", {"label": "cc75-baseline"})["name"] + summary["ok"] = ok + evidence = ROOT / "evidence" + evidence.mkdir(exist_ok=True) + out = evidence / f"seed-{datetime.now(timezone.utc).strftime('%Y%m%dT%H%M%SZ')}.json" + out.write_text(json.dumps(summary, indent=2) + "\n") + print(json.dumps({k: summary[k] for k in summary if k != "verify_problems"}, indent=1)) + for p in problems[:20]: + print("PROBLEM", p, file=sys.stderr) + return 0 if ok else 1 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/var/demos/initiatives/scripts/strategy_fixtures.py b/var/demos/initiatives/scripts/strategy_fixtures.py new file mode 100644 index 0000000..79876a0 --- /dev/null +++ b/var/demos/initiatives/scripts/strategy_fixtures.py @@ -0,0 +1,139 @@ +#!/usr/bin/env python3 +"""Write synthetic strategy attachments for the signed-off Initiatives (S8 fixture). + +epic-creator's rhai-initiative workload (PR #40) reads an Initiative's strategy +only from its `{key}-strategy.md` attachment (description_fallback: false). The +catalogue's signed-off Initiatives (archetypes S-signed*) model strategies that +already went through strat-creator and human sign-off, so their attachments are +fixture data, not model output. The format is the one strat-creator #124's +push_strategy.py writes on a same-ticket Initiative: the Strategy section, a blank +line, then the Staff Engineer / SME Input section; no frontmatter. Headings follow +the strategy S7 produced. Every name and fact here is synthetic. + +Writes generated/strategies/-strategy.md for each signed-off Initiative. +""" +from __future__ import annotations + +import json +import sys +from pathlib import Path + +import yaml + +ROOT = Path(__file__).resolve().parents[1] + +# Synthetic technical content per catalogue area (codenames are fictional). +CONTENT = { + "I22": { + "tldr": "Ship a default-deny network policy baseline for every workload namespace the platform " + "creates, with an allow list generated from each component's declared service graph, and " + "an audit-only rollout mode before enforcement.", + "approach": [ + ("Baseline policy set", "The platform operator installs a default-deny ingress and egress " + "NetworkPolicy plus DNS and API-server allowances into each managed namespace."), + ("Generated allow lists", "Each component declares its peers in a manifest annotation; a " + "controller renders allow policies from those declarations and reconciles drift."), + ("Audit-only mode", "A per-namespace mode label switches the baseline to log-only so teams " + "can review would-be denials before enforcement."), + ("Dashboard and alerts", "Denied-flow counters are exported as metrics and surfaced on the " + "existing platform dashboard, with an alert for sustained denials after enforcement."), + ], + "components": ["synth-networking (controller, policy templates)", "synth-security (review of the " + "baseline set)", "synth-dashboard (denial panels)"], + "hlrs": ["Install the default-deny baseline into every managed namespace on creation and upgrade.", + "Render allow policies from component peer declarations and reconcile drift within 5 minutes.", + "Provide an audit-only mode per namespace, with denials logged but not enforced.", + "Export denied-flow metrics and add dashboard panels and one alert rule.", + "Document the peer declaration format and the migration from audit-only to enforce."], + "deps": ["The cluster CNI must support NetworkPolicy logging (verified on the reference CNI)."], + "risks": ["Undeclared peers in older components cause denials at enforcement; mitigated by the " + "audit-only phase and a pre-enforcement report."], + }, + "I23": { + "tldr": "Rotate platform service credentials automatically on a schedule and on demand, with " + "dual-validity windows so services never see a hard cut-over.", + "approach": [ + ("Rotation controller", "A controller owns rotation for secrets labelled for management and " + "writes the new version alongside the old one."), + ("Dual-validity window", "Consumers accept both versions for a configurable window; the old " + "version is revoked when every consumer reports the new one."), + ("On-demand rotation", "Operators trigger an immediate rotation through a custom resource, " + "for incident response."), + ], + "components": ["synth-security (rotation controller)", "platform services consuming managed secrets"], + "hlrs": ["Rotate managed secrets on a schedule with a configurable period.", + "Keep the previous version valid until every consumer reports the new one.", + "Support on-demand rotation through a custom resource.", + "Record every rotation in the audit log."], + "deps": ["Consumers must reload credentials without a restart, or tolerate a rolling restart."], + "risks": ["A consumer that never reports the new version blocks revocation; a maximum window " + "forces revocation and raises an alert."], + }, + "I24": { + "tldr": "Generate and publish an SBOM for every shipped image at build time, attach it to the " + "image as a signed attestation, and expose it through the product's documentation index.", + "approach": [ + ("Build-time generation", "The image build pipeline generates an SPDX SBOM per image and " + "stores it next to the build record."), + ("Signed attestation", "The SBOM is attached to the image digest as a signed attestation, " + "verifiable with the published public key."), + ("Publication index", "A per-release index lists every image digest with a link to its SBOM."), + ], + "components": ["synth-images (build pipeline, attestation)", "release documentation index"], + "hlrs": ["Generate an SPDX SBOM for every shipped image at build time.", + "Attach the SBOM to the image digest as a signed attestation.", + "Publish a per-release index of digests and SBOM links.", + "Fail the release gate when an image lacks a verified SBOM."], + "deps": ["The build system must expose the final image digest to the generation step."], + "risks": ["SBOM generation adds build time; generation runs in parallel with image scanning."], + }, +} + +STAFF_INPUT = """## Staff Engineer / SME Input + +*Add technical corrections, architectural direction, component preferences, or domain expertise below. \ +Write in declarative, cumulative form — statements that remain valid across refinement iterations. \ +This input takes priority over architecture context when they conflict. \ +After review: address findings, then remove the needs-attention label from Jira.*""" + + +def strategy(item: dict) -> str: + c = CONTENT[item["id"]] + parts = ["## Strategy (AI Generated by Agentic SDLC Pipeline)", "", "### TL;DR", "", c["tldr"], "", + "### Technical Approach", ""] + for n, (title, text) in enumerate(c["approach"], 1): + parts += [f"#### {n}. {title}", "", text, ""] + parts += ["### Affected Components", ""] + [f"- {x}" for x in c["components"]] + [""] + parts += ["### High Level Requirements", ""] + [f"- HLR-{n}: {x}" for n, x in enumerate(c["hlrs"], 1)] + [""] + parts += ["### Dependencies", ""] + [f"- {x}" for x in c["deps"]] + [""] + parts += ["### Non-Functional Requirements", "", "- No measurable latency regression on the " + "platform's reference workloads.", ""] + parts += ["### Acceptance Criteria (Proposed — requires PM/Engineering validation)", ""] + parts += [f"- HLR-{n} is demonstrated in the release candidate." for n in range(1, len(c["hlrs"]) + 1)] + [""] + parts += ["### Effort Estimate", "", "M (one to two sprints for two teams).", ""] + parts += ["### Risks", ""] + [f"- {x}" for x in c["risks"]] + [""] + parts += ["### Open Questions", "", "- None blocking.", ""] + return "\n".join(parts).rstrip() + "\n\n" + STAFF_INPUT + "\n" + + +def main() -> int: + catalogue = yaml.safe_load((ROOT / "catalogue.yaml").read_text()) + issues = json.loads((ROOT / "generated" / "issues.json").read_text())["issues"] + by_label = {lbl: i["key"] for i in issues for lbl in i["fields"]["labels"] if lbl.startswith("cc75-fx-")} + out = ROOT / "generated" / "strategies" + out.mkdir(parents=True, exist_ok=True) + written = [] + for item in catalogue["initiatives"]: + if not str(item.get("archetype", "")).startswith("S-signed"): + continue + key = by_label[f"cc75-fx-{item['id'].lower()}"] + path = out / f"{key}-strategy.md" + path.write_text(strategy(item)) + written.append((item["id"], key)) + for item_id, key in written: + print(f"{item_id} -> {key}-strategy.md") + return 0 + + +if __name__ == "__main__": + sys.exit(main()) diff --git a/var/demos/initiatives/smoke/agentic-ci-gateway/.gitlab-ci.yml b/var/demos/initiatives/smoke/agentic-ci-gateway/.gitlab-ci.yml new file mode 100644 index 0000000..cc078d8 --- /dev/null +++ b/var/demos/initiatives/smoke/agentic-ci-gateway/.gitlab-ci.yml @@ -0,0 +1,9 @@ +# CC-75: start agentic-ci's own OpenShell gateway in the rfe-autofixer job image (no model). +gateway-probe: + image: quay.io/aipcc/agentic-ci/openshell:0.3.46 + tags: [aipcc-small-x86_64] + timeout: 20m + script: + - bash smoke.sh + after_script: + - "true" diff --git a/var/demos/initiatives/smoke/agentic-ci-gateway/smoke.sh b/var/demos/initiatives/smoke/agentic-ci-gateway/smoke.sh new file mode 100644 index 0000000..4208ddb --- /dev/null +++ b/var/demos/initiatives/smoke/agentic-ci-gateway/smoke.sh @@ -0,0 +1,38 @@ +#!/bin/bash +# The rfe-autofixer setup steps that matter to the gateway, then agentic-ci's gateway.start() +# with a timeout long enough to tell "slow" from "broken". Prints the gateway log. +set -u +# As strat-creator's with-fullsend-gateway.sh: keep the gateway off its in-cluster (Kubernetes) bootstrap. +unset KUBERNETES_SERVICE_HOST KUBERNETES_SERVICE_PORT KUBERNETES_PORT +: > /etc/subuid +: > /etc/subgid +printf '[storage]\ndriver = "vfs"\n' > /etc/containers/storage.conf +echo "SMOKE agentic-ci: $(python3 -m pip show agentic-ci 2>/dev/null | sed -n 2p)" +echo "SMOKE openshell: $(openshell --version) / $(openshell-gateway --version)" +echo "SMOKE supervisor env: ${OPENSHELL_SUPERVISOR_IMAGE:-unset}" +echo "SMOKE uid: $(id -u) XDG_RUNTIME_DIR=${XDG_RUNTIME_DIR:-unset}" +python3 - <<'PY' +import glob, os, subprocess, time +from agentic_ci.backends.openshell import gateway +print("SMOKE gateway module:", gateway.__file__) +t0 = time.time() +try: + gateway.start() + print(f"SMOKE gateway healthy after {time.time()-t0:.0f}s") + ok = True +except Exception as exc: + print(f"SMOKE gateway start failed after {time.time()-t0:.0f}s: {exc}") + ok = False +st = os.path.expanduser("~/.local/state/openshell") +for f in sorted(glob.glob(st + "/gateway-*.log")): + print("----- gateway log", f) + print(open(f).read()[-6000:]) +cfg = glob.glob(os.path.expanduser("~/.config/openshell/*.toml")) + glob.glob(os.path.expanduser("~/.config/openshell/**/*.toml"), recursive=True) +for f in cfg: + print("----- config", f); print(open(f).read()) +print("----- openshell status"); print(subprocess.run(["openshell", "status"], capture_output=True, text=True).stdout[-1500:]) +print("----- ps"); print(subprocess.run(["sh", "-c", "ps -eo pid,args | grep -E 'openshell|podman' | grep -v grep"], capture_output=True, text=True).stdout) +if ok: + gateway.stop() +print("SMOKE_PASS" if ok else "SMOKE_FAIL") +PY diff --git a/var/demos/initiatives/smoke/agentic-ci-sandbox/.gitlab-ci.yml b/var/demos/initiatives/smoke/agentic-ci-sandbox/.gitlab-ci.yml new file mode 100644 index 0000000..8d06833 --- /dev/null +++ b/var/demos/initiatives/smoke/agentic-ci-sandbox/.gitlab-ci.yml @@ -0,0 +1,9 @@ +# CC-75: an agentic-ci OpenShell sandbox as rfe-autofixer creates it; report its TLS view (no model). +sandbox-probe: + image: quay.io/aipcc/agentic-ci/openshell:0.3.46 + tags: [aipcc-small-x86_64] + timeout: 30m + script: + - bash smoke.sh + after_script: + - "true" diff --git a/var/demos/initiatives/smoke/agentic-ci-sandbox/smoke.sh b/var/demos/initiatives/smoke/agentic-ci-sandbox/smoke.sh new file mode 100644 index 0000000..f3ec23e --- /dev/null +++ b/var/demos/initiatives/smoke/agentic-ci-sandbox/smoke.sh @@ -0,0 +1,57 @@ +#!/bin/bash +# The rfe-autofixer mirror's sandbox: agentic-ci's OpenShell backend, the claude-sandbox image +# with the emulator CA baked into its system trust (as the patched runner builds it), the relay +# and Jira endpoints. Claude Code calls the relay with a placeholder key: success is an auth +# error from the relay (no model call), not a TLS error. +set -u +unset KUBERNETES_SERVICE_HOST KUBERNETES_SERVICE_PORT KUBERNETES_PORT +: > /etc/subuid; : > /etc/subgid +printf '[storage]\ndriver = "vfs"\n' > /etc/containers/storage.conf +for b in /etc/pki/tls/certs/ca-bundle.crt /etc/ssl/certs/ca-certificates.crt; do [ -f "$b" ] && break; done +cat "$b" /etc/gitlab-runner/certs/ca.crt > /tmp/cc75-ca-bundle.pem +mkdir -p /tmp/work && echo probe > /tmp/work/README +printf 'endpoints:\n - "jira.w530.local:443:read-write"\n - "relay-api.w530.local:443:read-write"\n' > /tmp/policy.yml +export ANTHROPIC_API_KEY=cc75-placeholder-not-a-key CC75_SANDBOX_CA_SRC=/tmp/cc75-ca-bundle.pem +python3 - <<'PY' +import os, shutil, subprocess, tempfile +from agentic_ci.backends import create_backend +from agentic_ci.backends.openshell import sandbox +from agentic_ci.harness import create_harness +base = "quay.io/aipcc/agentic-ci/claude-sandbox:0.3.46" +image = "localhost/cc75-claude-sandbox:0.3.46-ca" +ctx = tempfile.mkdtemp() +shutil.copy(os.environ["CC75_SANDBOX_CA_SRC"], os.path.join(ctx, "ca-bundle.pem")) +with open(os.path.join(ctx, "Containerfile"), "w") as f: + cc_img = "ghcr.io/fullsend-ai/fullsend-sandbox@sha256:2fc886b02c280ccf11f317662d182a56cefa6f9299ca9cbd54e780fced743ca7" + cc = "/usr/lib/node_modules/@anthropic-ai/claude-code/bin/claude.exe" + f.write(f"FROM {cc_img} AS claude-code\nFROM {base}\nCOPY --from=claude-code {cc} /usr/local/sbin/claude\n" + f"COPY --from=claude-code {cc} /usr/local/bin/claude\n" + "COPY ca-bundle.pem /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem\n") +subprocess.run(["podman", "build", "--quiet", "-t", image, ctx], check=True) +print("SMOKE built", image) +backend = create_backend("openshell", harness=create_harness("claude-code"), workdir="/tmp/work", + image=image, extra_env={}, policy="/tmp/policy.yml") +ok = False +try: + backend.setup() + print("SMOKE sandbox created from local image") + subprocess.run(["openshell", "policy", "update", "--wait", "--binary", "/usr/bin/curl", + "--add-endpoint", "relay-api.w530.local:443:read-write", + "--add-endpoint", "jira.w530.local:443:read-write", "ci"], check=True) + sandbox.exec_cmd(["bash", "-c", "for u in https://relay-api.w530.local/v1/models https://jira.w530.local/rest/api/2/serverInfo; do " + "echo CURL_PROBE $u $(curl -s -o /tmp/b -w '%{http_code} verify=%{ssl_verify_result}' $u 2>&1) $(head -c 160 /tmp/b); done"]) + probe = r''' +echo "== claude: $(claude --version 2>&1 | head -1)"; echo "== trust has emulator CA:"; grep -c "BEGIN CERTIFICATE" /etc/pki/ca-trust/extracted/pem/tls-ca-bundle.pem +cd /tmp && ANTHROPIC_BASE_URL=https://relay-api.w530.local ANTHROPIC_API_KEY=cc75-placeholder-not-a-key \ + CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1 timeout 120 claude -p "reply ok" --model claude-opus-5-5 \ + --output-format json >/tmp/c.json 2>/tmp/c.err +echo "claude rc=$?" +echo "CLAUDE_STDOUT $(head -c 700 /tmp/c.json)" +echo "CLAUDE_STDERR $(grep -v -e backup -e "restore it" -e "^$" /tmp/c.err | tail -4 | tr "\n" " " | head -c 600)" +''' + sandbox.exec_cmd(["bash", "-c", probe]) + ok = True +finally: + backend.stop() +print("SMOKE_DONE" if ok else "SMOKE_FAIL") +PY diff --git a/var/demos/initiatives/smoke/fullsend-gateway/.gitlab-ci.yml b/var/demos/initiatives/smoke/fullsend-gateway/.gitlab-ci.yml new file mode 100644 index 0000000..9400a1a --- /dev/null +++ b/var/demos/initiatives/smoke/fullsend-gateway/.gitlab-ci.yml @@ -0,0 +1,19 @@ +# CC-75 S2: job-owned Fullsend/OpenShell gateway smoke (no model). +gateway-smoke: + image: quay.io/aipcc/agentic-ci/openshell:0.3.46 + tags: [aipcc-small-x86_64] + timeout: 45m + variables: + STRAT_CREATOR_URL: https://github-emulator.ai-pipeline.svc.cluster.local/fullsend-ai/strat-creator.git + STRAT_CREATOR_REF: main + script: + - bash smoke.sh + after_script: + - | + for f in smoke-output/podman.log smoke-output/sandbox-build.log smoke-output/gateway.log smoke-output/gateway-cleanup.log smoke-output/sandbox-create-help.txt; do + [ -f "$f" ] && { echo "----- tail $f"; tail -n 40 "$f"; } + done + true + artifacts: + when: always + paths: [smoke-output/] diff --git a/var/demos/initiatives/smoke/fullsend-gateway/smoke.sh b/var/demos/initiatives/smoke/fullsend-gateway/smoke.sh new file mode 100644 index 0000000..d5e56c2 --- /dev/null +++ b/var/demos/initiatives/smoke/fullsend-gateway/smoke.sh @@ -0,0 +1,41 @@ +#!/usr/bin/env bash +# CC-75 S2 smoke: strat-pipeline's job-owned Fullsend stack on the breadboard +# GitLab runner, without a model. Mirrors the parts of strat-creator's +# .fullsend/ci/run-fullsend.sh that precede `fullsend run`, then runs one +# sandbox command through strat-creator's own with-fullsend-gateway.sh. +set -Eeuo pipefail +export STRAT_PRIVATE_DIR="$CI_PROJECT_DIR/.private" +export FULLSEND_OUTPUT_DIR="$CI_PROJECT_DIR/smoke-output" +mkdir -p "$STRAT_PRIVATE_DIR/tools" "$FULLSEND_OUTPUT_DIR" +start=$(date +%s) +stamp() { echo "SMOKE_TIMING $1=$(( $(date +%s) - start ))s"; } + +git clone -q --depth 1 --branch "$STRAT_CREATOR_REF" "$STRAT_CREATOR_URL" "$STRAT_PRIVATE_DIR/strat-creator" +git -C "$STRAT_PRIVATE_DIR/strat-creator" log -1 --format='SMOKE strat-creator %H' +set -a +# shellcheck disable=SC1091 +. "$STRAT_PRIVATE_DIR/strat-creator/.fullsend/ci/fullsend-versions.env" +set +a +stamp clone + +archive="$STRAT_PRIVATE_DIR/tools/fullsend.tar.gz" +curl -fsSL --retry 3 --output "$archive" \ + "https://github.com/fullsend-ai/fullsend/releases/download/v$FULLSEND_VERSION/fullsend_${FULLSEND_VERSION}_linux_amd64.tar.gz" +printf '%s %s\n' "$FULLSEND_TARBALL_SHA256" "$archive" | sha256sum -c - +tar -xzf "$archive" -C "$STRAT_PRIVATE_DIR/tools" fullsend +export PATH="$STRAT_PRIVATE_DIR/tools:$PATH" +echo "SMOKE fullsend $(fullsend --version 2>&1 | head -1)" +stamp fullsend + +cat >"$STRAT_PRIVATE_DIR/inner.sh" <<'EOF' +set -Eeuo pipefail +echo "SMOKE gateway ready; sandbox image $FULLSEND_SANDBOX_IMAGE" +openshell sandbox create --help >"$FULLSEND_OUTPUT_DIR/sandbox-create-help.txt" 2>&1 || true +t0=$(date +%s) +openshell sandbox create --name "smoke-$CI_JOB_ID" --from "$FULLSEND_SANDBOX_IMAGE" --no-keep \ + -- sh -c 'echo SANDBOX_OK; id -u; claude --version' +echo "SMOKE_TIMING sandbox=$(( $(date +%s) - t0 ))s" +EOF +bash "$STRAT_PRIVATE_DIR/strat-creator/.fullsend/ci/with-fullsend-gateway.sh" -- bash "$STRAT_PRIVATE_DIR/inner.sh" +stamp total +echo SMOKE_PASS diff --git a/var/demos/initiatives/smoke/sandbox-egress/.gitlab-ci.yml b/var/demos/initiatives/smoke/sandbox-egress/.gitlab-ci.yml new file mode 100644 index 0000000..8f1928d --- /dev/null +++ b/var/demos/initiatives/smoke/sandbox-egress/.gitlab-ci.yml @@ -0,0 +1,19 @@ +# CC-75: sandbox egress probe for emulator Jira and Model Relay (no model). +egress-probe: + image: quay.io/aipcc/agentic-ci/openshell:0.3.46 + tags: [aipcc-small-x86_64] + timeout: 45m + variables: + STRAT_CREATOR_URL: https://github-emulator.ai-pipeline.svc.cluster.local/fullsend-ai/strat-creator.git + STRAT_CREATOR_REF: cc75-emulator + script: + - bash smoke.sh + after_script: + - | + for f in smoke-output/podman.log smoke-output/sandbox-build.log smoke-output/gateway.log smoke-output/gateway-cleanup.log smoke-output/sandbox-create-help.txt; do + [ -f "$f" ] && { echo "----- tail $f"; tail -n 40 "$f"; } + done + true + artifacts: + when: always + paths: [smoke-output/] diff --git a/var/demos/initiatives/smoke/sandbox-egress/smoke.sh b/var/demos/initiatives/smoke/sandbox-egress/smoke.sh new file mode 100644 index 0000000..f7cad36 --- /dev/null +++ b/var/demos/initiatives/smoke/sandbox-egress/smoke.sh @@ -0,0 +1,92 @@ +#!/usr/bin/env bash +# CC-75 sandbox egress probe (no model). Builds strat-creator's per-job gateway +# and sandbox image, then starts sandboxes whose policy is strat-creator's own +# shared/policy.yaml plus candidate endpoints for the in-cluster Jira emulator +# and Model Relay, and probes them from inside. Variants differ only in how the +# plain-HTTP relay ports are declared. +set -Eeuo pipefail +export STRAT_PRIVATE_DIR="$CI_PROJECT_DIR/.private" +export FULLSEND_OUTPUT_DIR="$CI_PROJECT_DIR/smoke-output" +mkdir -p "$STRAT_PRIVATE_DIR/tools" "$FULLSEND_OUTPUT_DIR" +git clone -q --depth 1 --branch "$STRAT_CREATOR_REF" "$STRAT_CREATOR_URL" "$STRAT_PRIVATE_DIR/strat-creator" +SC="$STRAT_PRIVATE_DIR/strat-creator" +git -C "$SC" log -1 --format='SMOKE strat-creator %H' +set -a +# shellcheck disable=SC1091 +. "$SC/.fullsend/ci/fullsend-versions.env" +set +a + +# CA bundle for the sandbox: public roots plus the runner-mounted emulator CA. +roots=/etc/pki/tls/certs/ca-bundle.crt +[ -f "$roots" ] || roots=/etc/ssl/certs/ca-certificates.crt +cat "$roots" /etc/gitlab-runner/certs/ca.crt >"$STRAT_PRIVATE_DIR/cc75-ca.pem" + +JIRA_HOST=jira-emulator.ai-pipeline.svc.cluster.local +RELAY_HOST=model-relay.ai-pipeline.svc.cluster.local +policy() { # $1 = variant name, $2 = extra endpoint keys for the relay ports + local out="$STRAT_PRIVATE_DIR/policy-$1.yaml" + cp "$SC/.fullsend/shared/policy.yaml" "$out" + cat >>"$out" <"$STRAT_PRIVATE_DIR/probe.py" <<'EOF' +import base64, json, os, ssl, sys, urllib.request, urllib.error +open("/tmp/cc75-ca.pem", "wb").write(base64.b64decode(sys.argv[1])) +ctx = ssl.create_default_context(cafile="/tmp/cc75-ca.pem") +def probe(name, url, data=None, context=None): + try: + req = urllib.request.Request(url, data=data, method="POST" if data is not None else "GET") + with urllib.request.urlopen(req, timeout=20, context=context) as r: + result = r.status + except urllib.error.HTTPError as e: + result = e.code + except Exception as e: + result = f"ERR {type(e).__name__}: {str(e)[:120]}" + print(f"PROBE {name} {result}", flush=True) +probe("jira_https", "https://jira-emulator.ai-pipeline.svc.cluster.local/rest/api/2/serverInfo", context=ctx) +probe("relay_8080_health", "http://model-relay.ai-pipeline.svc.cluster.local:8080/health") +probe("relay_8082_token", "http://model-relay.ai-pipeline.svc.cluster.local:8082/v1/token", data=b"{}") +probe("denied_example", "https://example.com/", context=ctx) +print("PROBE proxy_env " + json.dumps({k: bool(os.environ.get(k)) for k in ("HTTPS_PROXY", "HTTP_PROXY", "https_proxy", "http_proxy", "NO_PROXY")})) +EOF + +cat >"$STRAT_PRIVATE_DIR/inner.sh" <<'EOF' +set -Euo pipefail +echo "SMOKE policy flags:"; openshell sandbox create --help 2>&1 | grep -i -E "^\s*--policy|policy" | head -8 | sed 's/^/SMOKE /' +ca_b64=$(base64 -w0 /etc/gitlab-runner/certs/ca.crt) +probe=$(cat "$STRAT_PRIVATE_DIR/probe.py") +for variant in skip default; do + pol="$STRAT_PRIVATE_DIR/policy-$variant.yaml" + echo "SMOKE variant=$variant" + openshell sandbox create --name "egress-$variant-$CI_JOB_ID" --from "$FULLSEND_SANDBOX_IMAGE" --no-keep \ + --policy "$pol" \ + -- python3 -c "$probe" "$ca_b64" 2>&1 | sed "s/^PROBE /PROBE $variant /" || echo "SMOKE variant=$variant create_exit=$?" +done +EOF +bash "$SC/.fullsend/ci/with-fullsend-gateway.sh" -- bash "$STRAT_PRIVATE_DIR/inner.sh" +echo SMOKE_PASS diff --git a/var/demos/initiatives/smoke/sandbox-relay/.gitlab-ci.yml b/var/demos/initiatives/smoke/sandbox-relay/.gitlab-ci.yml new file mode 100644 index 0000000..cd626b4 --- /dev/null +++ b/var/demos/initiatives/smoke/sandbox-relay/.gitlab-ci.yml @@ -0,0 +1,19 @@ +# CC-75: Claude-in-sandbox auth through Model Relay (one tiny model call). +relay-probe: + image: quay.io/aipcc/agentic-ci/openshell:0.3.46 + tags: [aipcc-small-x86_64] + timeout: 45m + variables: + STRAT_CREATOR_URL: https://github-emulator.ai-pipeline.svc.cluster.local/fullsend-ai/strat-creator.git + STRAT_CREATOR_REF: cc75-emulator + script: + - bash smoke.sh + after_script: + - | + for f in smoke-output/podman.log smoke-output/sandbox-build.log smoke-output/gateway.log smoke-output/gateway-cleanup.log smoke-output/sandbox-create-help.txt; do + [ -f "$f" ] && { echo "----- tail $f"; tail -n 40 "$f"; } + done + true + artifacts: + when: always + paths: [smoke-output/] diff --git a/var/demos/initiatives/smoke/sandbox-relay/smoke.sh b/var/demos/initiatives/smoke/sandbox-relay/smoke.sh new file mode 100644 index 0000000..d822422 --- /dev/null +++ b/var/demos/initiatives/smoke/sandbox-relay/smoke.sh @@ -0,0 +1,97 @@ +#!/usr/bin/env bash +# CC-75: reproduce strat-batch's sandboxed Claude auth through Model Relay without +# the Fullsend harness. Uses strat-creator cc75-emulator's own shared/policy.yaml +# (plus a probe-only python3 rule for the token endpoint), the CI File variables +# GOOGLE_APPLICATION_CREDENTIALS (external_account ADC) and CC75_RELAY_WORKLOAD_KEY, +# and the harness's in-sandbox paths. One `claude -p` call of a few tokens. +set -Eeuo pipefail +export STRAT_PRIVATE_DIR="$CI_PROJECT_DIR/.private" +export FULLSEND_OUTPUT_DIR="$CI_PROJECT_DIR/smoke-output" +mkdir -p "$STRAT_PRIVATE_DIR" "$FULLSEND_OUTPUT_DIR" +: "${GOOGLE_APPLICATION_CREDENTIALS:?}" "${CC75_RELAY_WORKLOAD_KEY:?}" +export GCP_PROJECT_ID="${GCP_PROJECT_ID:-cc75-initiatives}" +git clone -q --depth 1 --branch "$STRAT_CREATOR_REF" "$STRAT_CREATOR_URL" "$STRAT_PRIVATE_DIR/strat-creator" +SC="$STRAT_PRIVATE_DIR/strat-creator" +git -C "$SC" log -1 --format='SMOKE strat-creator %H' +set -a +# shellcheck disable=SC1091 +. "$SC/.fullsend/ci/fullsend-versions.env" +set +a +pol="$STRAT_PRIVATE_DIR/policy.yaml" +cp "$SC/.fullsend/shared/policy.yaml" "$pol" +cat >>"$pol" <<'EOF' + cc75_probe_python: + name: cc75-probe-python + endpoints: + - host: model-relay.ai-pipeline.svc.cluster.local + port: 8082 + tls: skip + binaries: + - path: '**/python3*' +EOF +grep -c "cc75-model-relay" "$pol" | sed 's/^/SMOKE relay policy groups: /' + +cat >"$STRAT_PRIVATE_DIR/probe.sh" <<'EOF' +set -u +echo "$1" | base64 -d > /tmp/.cc75-relay-workload-key +echo "$2" | base64 -d > /tmp/.gcp-credentials.json +PROJECT="$3" +python3 - <<'PY' +import json, urllib.parse, urllib.request, urllib.error +adc = json.load(open("/tmp/.gcp-credentials.json")) +key = open(adc["credential_source"]["file"]).read().strip() +TT = "urn:ietf:params:oauth:token-type:access_token" +body = urllib.parse.urlencode({"grant_type": "urn:ietf:params:oauth:grant-type:token-exchange", + "scope": "https://www.googleapis.com/auth/cloud-platform", "requested_token_type": TT, + "subject_token_type": TT, "audience": adc["audience"], "subject_token": key}).encode() +try: + with urllib.request.urlopen(urllib.request.Request(adc["token_url"], data=body), timeout=20) as r: + print("PROBE python_token_exchange", r.status, flush=True) +except urllib.error.HTTPError as e: + print("PROBE python_token_exchange", e.code, flush=True) +except Exception as e: + print("PROBE python_token_exchange ERR", type(e).__name__, str(e)[:150], flush=True) +PY +c=$(command -v claude || true) +echo "PROBE claude_path ${c:-missing} -> $(readlink -f "${c:-/dev/null}")" +echo "PROBE proxy_vars $(env | grep -i -E '^(https?|no|all)_proxy=' | cut -d= -f1 | sort | tr '\n' ' ')" +echo "PROBE no_proxy_has_cluster $(env | grep -i '^no_proxy=' | grep -c -E 'svc|cluster.local|model-relay')" +export CLAUDE_CODE_USE_VERTEX=1 ANTHROPIC_VERTEX_PROJECT_ID="$PROJECT" GOOGLE_CLOUD_PROJECT="$PROJECT" \ + CLOUD_ML_REGION=global GOOGLE_APPLICATION_CREDENTIALS=/tmp/.gcp-credentials.json NO_GCE_CHECK=true \ + METADATA_SERVER_DETECTION=none DISABLE_AUTOUPDATER=1 \ + ANTHROPIC_VERTEX_BASE_URL=http://model-relay.ai-pipeline.svc.cluster.local:8080/v1 +cd /tmp && claude -p "Reply with the single word OK." --model claude-opus-5-5 --debug >/tmp/out.txt 2>/tmp/dbg.txt +echo "PROBE claude_exit $? output=$(head -c 40 /tmp/out.txt | tr '\n' ' ')" +dbgf=$(ls -t "$HOME"/.claude/debug/*.txt /sandbox/claude-config/debug/*.txt 2>/dev/null | head -1) +echo "PROBE debug_file ${dbgf:-none}" +[ -n "$dbgf" ] && grep -n -i -B3 -A3 -E "oauth|credential|external|sts|token_url|gaxios|ECONN|EAI_|proxy|fetch failed|403|401|subject" "$dbgf" \ + | grep -v -i -E "bearer [a-z0-9._-]{16,}|access_token\"?:|subject_token=" | head -40 | sed 's/^/PROBE dbg /' | cut -c1-300 +# A/B: exchange in Python, hand Claude the short-lived token, skip Claude's own Google auth. +TOKEN=$(python3 - <<'PY' +import json, urllib.parse, urllib.request +adc = json.load(open("/tmp/.gcp-credentials.json")); TT = "urn:ietf:params:oauth:token-type:access_token" +key = open(adc["credential_source"]["file"]).read().strip() +body = urllib.parse.urlencode({"grant_type": "urn:ietf:params:oauth:grant-type:token-exchange", + "scope": "https://www.googleapis.com/auth/cloud-platform", "requested_token_type": TT, + "subject_token_type": TT, "audience": adc["audience"], "subject_token": key}).encode() +print(json.load(urllib.request.urlopen(urllib.request.Request(adc["token_url"], data=body), timeout=20))["access_token"]) +PY +) +CLAUDE_CODE_SKIP_VERTEX_AUTH=1 ANTHROPIC_CUSTOM_HEADERS="Authorization: Bearer $TOKEN" \ + claude -p "Reply with the single word OK." --model claude-opus-5-5 >/tmp/out2.txt 2>/tmp/dbg2.txt +echo "PROBE claude_skip_auth_exit $? output=$(head -c 40 /tmp/out2.txt | tr '\n' ' ')" +unset TOKEN +EOF + +cat >"$STRAT_PRIVATE_DIR/inner.sh" <<'EOF' +set -Euo pipefail +script=$(base64 -w0 "$STRAT_PRIVATE_DIR/probe.sh") +key=$(base64 -w0 "$CC75_RELAY_WORKLOAD_KEY") +adc=$(base64 -w0 "$GOOGLE_APPLICATION_CREDENTIALS") +openshell sandbox create --name "relay-$CI_JOB_ID" --from "$FULLSEND_SANDBOX_IMAGE" --no-keep \ + --policy "$STRAT_PRIVATE_DIR/policy.yaml" \ + -- sh -c 'echo "$0" | base64 -d > /tmp/p.sh && sh /tmp/p.sh "$1" "$2" "$3"' "$script" "$key" "$adc" "$GCP_PROJECT_ID" \ + || echo "SMOKE create_exit=$?" +EOF +bash "$SC/.fullsend/ci/with-fullsend-gateway.sh" -- bash "$STRAT_PRIVATE_DIR/inner.sh" +echo SMOKE_PASS diff --git a/var/demos/initiatives/smoke/variable-precedence/.gitlab-ci.yml b/var/demos/initiatives/smoke/variable-precedence/.gitlab-ci.yml new file mode 100644 index 0000000..2777598 --- /dev/null +++ b/var/demos/initiatives/smoke/variable-precedence/.gitlab-ci.yml @@ -0,0 +1,20 @@ +# CC-75: how the GitLab emulator resolves CI variables (no model). Project variables, a +# File variable and pipeline variables are set by run_smoke.py --vars; this job prints names +# and values of throwaway probe variables only. +variables: + TOP_ONLY: "yaml-top" + TOP_VS_PROJECT: "yaml-top" +probe: + image: registry.access.redhat.com/ubi9/python-312:latest + tags: [aipcc-small-x86_64] + variables: + JOB_VS_PROJECT: "yaml-job" + JOB_VS_PIPELINE: "yaml-job" + EXPANDED: "$PROBE_SOURCE" + script: + - echo "SMOKE TOP_VS_PROJECT=$TOP_VS_PROJECT (project sets project)" + - echo "SMOKE JOB_VS_PROJECT=$JOB_VS_PROJECT (project sets project)" + - echo "SMOKE JOB_VS_PIPELINE=$JOB_VS_PIPELINE (pipeline sets pipeline)" + - echo "SMOKE EXPANDED=$EXPANDED (PROBE_SOURCE is project-value)" + - echo "SMOKE PROBE_FILE path=$PROBE_FILE first_line=$(head -1 "$PROBE_FILE" 2>&1)" + - echo SMOKE_PASS diff --git a/var/demos/initiatives/source-manifest.json b/var/demos/initiatives/source-manifest.json new file mode 100644 index 0000000..7b0506c --- /dev/null +++ b/var/demos/initiatives/source-manifest.json @@ -0,0 +1,59 @@ +{ + "version": 1, + "note": "Public upstreams mirrored into the GitHub emulator. Pins are resolved at mirror time and recorded in topology-manifest.json; a deliberate refresh is a new mirror run plus a ledger entry. Private GitLab sources (strat-pipeline, strat-pipeline-data, strat-dashboard, rfe-autofixer, rfe-autofixer-results, epic-decomposer) need glab and are listed under gitlab_private.", + "github": [ + { + "org": "fullsend-ai", + "name": "strat-creator", + "upstream": "https://github.com/fullsend-ai/strat-creator.git", + "refs": { + "main": "refs/heads/main", + "pr-124": "refs/pull/124/head" + } + }, + { + "org": "fullsend-ai", + "name": "rfe-creator", + "upstream": "https://github.com/fullsend-ai/rfe-creator.git", + "refs": { + "main": "refs/heads/main", + "ci-prod": "refs/heads/ci-prod", + "ci-stage": "refs/heads/ci-stage" + } + }, + { + "org": "fullsend-ai", + "name": "epic-creator", + "upstream": "https://github.com/fullsend-ai/epic-creator.git", + "refs": { + "main": "refs/heads/main", + "pr-40": "refs/pull/40/head" + } + }, + { + "org": "opendatahub-io", + "name": "assess-strat", + "upstream": "https://github.com/opendatahub-io/assess-strat.git", + "refs": { + "main": "refs/heads/main" + } + } + ], + "gitlab_private": [ + "redhat/rhel-ai/agentic-ci/strat-pipeline", + "redhat/rhel-ai/agentic-ci/strat-pipeline-data", + "redhat/rhel-ai/agentic-ci/strat-dashboard", + "redhat/rhel-ai/agentic-ci/rfe-autofixer", + "redhat/rhel-ai/agentic-ci/rfe-autofixer-results", + "redhat/rhel-ai/agentic-ci/epic-decomposer" + ], + "patched": [ + { + "org": "fullsend-ai", + "name": "strat-creator", + "base": "pr-124", + "branch": "cc75-emulator", + "patches": "strat-creator" + } + ] +} diff --git a/var/demos/initiatives/topology-manifest.json b/var/demos/initiatives/topology-manifest.json new file mode 100644 index 0000000..2688276 --- /dev/null +++ b/var/demos/initiatives/topology-manifest.json @@ -0,0 +1,91 @@ +{ + "version": 1, + "github_url": "https://github.w530.local", + "mirrored_at": "2026-11-16T00:36:09.285543+00:00", + "github": [ + { + "path": "fullsend-ai/strat-creator", + "upstream": "https://github.com/fullsend-ai/strat-creator.git", + "refs": { + "main": { + "upstream_ref": "refs/heads/main", + "commit": "95799c4e0812313d8834bc0c83bf89248610a75d" + }, + "pr-124": { + "upstream_ref": "refs/pull/124/head", + "commit": "55e03525808febd3f1c5c0bd509a95aac71e2ce9" + } + } + }, + { + "path": "fullsend-ai/rfe-creator", + "upstream": "https://github.com/fullsend-ai/rfe-creator.git", + "refs": { + "main": { + "upstream_ref": "refs/heads/main", + "commit": "f8ae373d754e5088cf5da80b402756253ba8d1e8" + }, + "ci-prod": { + "upstream_ref": "refs/heads/ci-prod", + "commit": "1a961e37c7bb1cac71f5c662aa5cb3614127bd6a" + }, + "ci-stage": { + "upstream_ref": "refs/heads/ci-stage", + "commit": "1a961e37c7bb1cac71f5c662aa5cb3614127bd6a" + } + } + }, + { + "path": "fullsend-ai/epic-creator", + "upstream": "https://github.com/fullsend-ai/epic-creator.git", + "refs": { + "main": { + "upstream_ref": "refs/heads/main", + "commit": "dc36066355aff330114ed4c383a6219706646da4" + }, + "pr-40": { + "upstream_ref": "refs/pull/40/head", + "commit": "8efd835f5b6f89f953f5e3b37e66f1d7c14ab1bb" + } + } + }, + { + "path": "opendatahub-io/assess-strat", + "upstream": "https://github.com/opendatahub-io/assess-strat.git", + "refs": { + "main": { + "upstream_ref": "refs/heads/main", + "commit": "ae449845b2c8bde238ba7cd6ecd536b2c83f4a8b" + } + } + } + ], + "gitlab_private_pending": [ + "redhat/rhel-ai/agentic-ci/strat-pipeline", + "redhat/rhel-ai/agentic-ci/strat-pipeline-data", + "redhat/rhel-ai/agentic-ci/strat-dashboard", + "redhat/rhel-ai/agentic-ci/rfe-autofixer", + "redhat/rhel-ai/agentic-ci/rfe-autofixer-results", + "redhat/rhel-ai/agentic-ci/epic-decomposer" + ], + "notes": [ + "No credentials are stored in this manifest." + ], + "patched": [ + { + "path": "fullsend-ai/strat-creator", + "branch": "cc75-emulator", + "base": "pr-124", + "base_commit": "55e03525808febd3f1c5c0bd509a95aac71e2ce9", + "commit": "512d0ad3992eedc8ac67f76e6aa9c0242120c266", + "patches": [ + "patches/strat-creator/0001-raw-base.py", + "patches/strat-creator/0002-local-harness.py", + "patches/strat-creator/0003-relay-provider.py", + "patches/strat-creator/0004-sandbox-ca-image.py", + "patches/strat-creator/0005-jira-extra-ca.py", + "patches/strat-creator/0006-results-base.py" + ] + } + ] +}