runbook-tutorials/workplans/RBT-WP-0006-execution-mode-and-pack-index.md
tegwick e30d81c5b6
All checks were successful
CI Smoke / host-smoke (push) Successful in 0s
CI Smoke / container-smoke (push) Successful in 3s
Work Records / validate (push) Successful in 12s
Sync consistency output
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

Assistant: claude-code
Assistant-Model: sonnet
Assistant-Process: 295952@bnt-lap001
Assistant-Session: e93f64ad-516c-46eb-9666-aad8d300c477
2026-09-29 10:49:53 +02:00

71 lines
1.8 KiB
Markdown

---
id: RBT-WP-0006
type: workplan
title: "Execution mode and multi-repo pack index"
domain: infotech
repo: runbook-tutorials
status: active
flavor: implementation
owner: claude
topic_slug: stack
created: "2026-09-29"
updated: "2026-09-29"
depends_on: [RBT-WP-0004]
state_hub_workstream_id: "35196f02-7cb9-5706-9529-1cba9c736058"
---
## Goal
Later capabilities, deliberately not started: opt-in execution of steps, and
discovery of packs across the estate.
## Opt-in, audited step execution
```task
id: RBT-WP-0006-T01
status: wait
priority: low
state_hub_task_id: "0424deab-3b51-5222-80b1-54c0ea26928d"
```
Per-step `execute: true` allowed only for `read-only` steps first, with an
explicit operator confirmation, timeouts, and an audit record. Needs a
decision on which identity runs the command.
## Cross-repo pack index
```task
id: RBT-WP-0006-T02
status: wait
priority: low
state_hub_task_id: "0cfb69bc-dc7e-5960-8359-64c49a742a6e"
```
`rtut list --estate` scans registered repos for `runbooks/*/pack.yaml` and publishes
a capability entry in the registry. Needs a decision on scan scope.
## Runbook-aware feedback assistant
```task
id: RBT-WP-0006-T03
status: wait
priority: low
state_hub_task_id: "ce82d1ae-76a3-59c8-9d26-4813e8dc9745"
```
Operator feedback on a step feeds an assistant that knows the runbook and may
diagnose the deployment (read-only access first), giving a feedback, retry,
feedback, confirm loop. Needs decisions on access, identity and what is sent where.
## Dependencies between runbooks
```task
id: RBT-WP-0006-T04
status: wait
priority: low
state_hub_task_id: "acd969c3-3bd4-5953-9f9a-8ad8c5d8e380"
```
Packs declare `requires_packs` with a required result (exercised, or a named gate
passed), instead of deeper nesting (v0.2 caps nesting at three levels). Needs a decision
on how a pack in another repo is identified and trusted.