Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .ledger/PLAN.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
284 changes: 284 additions & 0 deletions .ledger/plans/cc75-w530-initiatives-scenario-plan.md

Large diffs are not rendered by default.

33 changes: 33 additions & 0 deletions .ledger/tasks/blocked/cc75-w530-initiatives-scenario.md
Original file line number Diff line number Diff line change
@@ -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
57 changes: 57 additions & 0 deletions var/demos/initiatives/README.md
Original file line number Diff line number Diff line change
@@ -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-<id>`. Keys are in the `<PROJECT>-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/<name>/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/<name>`.
- `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/`.
Loading
Loading