Runner: run a voyage remotely as the kab-automation identity #1
Reference in New Issue
Block a user
Delete Branch "runner-remote-voyages"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
The first built part of Shakedown: a runner that runs one engagement's chain (F01 Discovery → F02 Assessment → F03 Strategy) on KAB remotely, with no person's token.
kab-automationclient of realmkab, using client credentials. Stellwerk provisions it (crucible-platform-deploy,kab-cluster/devcomponent 85) and keeps the secret incrucible-kab-dev-kv. The runner reads the secret fromKAB_CLIENT_SECRETonly and renews the token itself.evaluate_case.py.config/runner.yamlgate_projects, the runner continues on a criticpasswith no failed step, and its note says the system decided. It never continues on afail. In any other project it waits for a person and records who decided.gate_projectslists the Cymbal Bank project (5a2da83b-…, added infb65ef9), so the runner decides review points there. Every other project waits for a person.--resume. No token or secret is written.ENG-CYMBAL-001voyage, the workflow registry, a Dockerfile and an unapplied Job template.The branch also carries two earlier plan commits that weren't on
main(0890bc5: one UI in the docs portal, nightly cycle, skills;07060db: §5b end-to-end use cases).Tested
python3 -m unittest discover -s tests -t .: 15 tests against a fake KAB, all passing. They cover the whole voyage, a critic fail, waiting for a person, a person timeout, a stale workflow id, resume and dry run, plus the gate rule and token renewal.Before a real run
token-check: confirm the automation user can act in CP1 tenant6ae37d…. It is an Editor of "Default Organization".run … --dry-run: the F02 and F03 workflow ids in the voyage are unverified, and a stale or individual-pattern id is refused.exec_e60e23f0a4acis probably an individual-pattern F01 run feeding the sub-agent F02. Keep it, or run Discovery afresh.Unconfirmed KAB details:
_step_<n>numbering for the sub-agent workflows.🤖 Generated with Claude Code
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.