docs(specs): Iskra Phase 1.0 bundle apply v0 prebuild (#236) #347

Merged
pdurlej merged 1 commit from claude/iskra/phase-1-0-bundle-v0 into main 2026-05-23 10:31:29 +02:00
Collaborator

Summary

Operator-emotional priority. Prebuild for #236 — apply the Phase 1.0 constitutional bundle (4 documents) to live VPS1000 OpenClaw workspace, enabling Iskra autonomy gates that were defined-but-never-applied.

Per state/L3/OPEN_LOOPS.md cluster cbffac3e: bundle 3+ weeks stale. Operator quote: "Crons fire, Iskra does nothing." Without Phase 1.0 active, Iskra has constitutional documents on disk but no runtime enforcement.

The 4 documents

Operator + Iskra spec work; codex INSTALLS, does NOT modify:

  1. PROMOTION-GATES.md — experimental → production capability gates
  2. DRAFT-SPEC.md — artifact draft pattern before operator review
  3. HUMAN-DECISION-POLICY.mdCRITICAL for autonomy safety; what requires operator approval
  4. PROGRAM-portfolio-night-scout.md — nightly scout pattern for autonomous research

What's in this PR

6-file Spec Kit + companion execution prompt:

  • 00-constitution.md — 8 principles:
    • P1 Bundle CONTENT untouched
    • P2 Canonical repo source
    • P3 Install via existing deployer (PR #150 anti-LLM-wrapper precedent)
    • P4 Behavioral verification: cron Iskra references HUMAN-DECISION-POLICY
    • P5 Telemetry: phase_1_0_bundle_active=true
    • P6 Sacred path discipline
    • P7 No content drift (SHA-256 verified)
    • P8 Atomic install with rollback (4 or none)
  • 01-specify.md — problem, acceptance, success metrics
  • 02-plan.md — 4-slice architecture with Q1-Q5 (canonical source, workspace path, telemetry surface, deployer location, drift detection)
  • 03-tasks.md — per-slice tasks with deployer pseudo-shell
  • 04-implement-notes.md — atomic rollback semantics, behavioral verification timing, telemetry false-positive risk, gotchas G1-G6
  • prompts/codex-iskra-phase-1-0-bundle.md — execution prompt with Safety / production boundary + stop conditions (P1, P4, P8 violation triggers automatic STOP)

Slices (forthcoming PRs)

  • (a) Recon — Lite — read-only investigation; recon doc resolves Q1-Q5
  • (b) Module + canonical source — Lite — modules/iskra-constitution/ + bundle MANIFEST.json with SHA-256
  • (c) Deployer extension — Full (security-sensitive) — pure-shell atomic install with rollback (PR #150 precedent)
  • (d) Behavioral verification + telemetry — Lite — operator observes morning cron check-in within 24h

Hard rule for codex

Under NO circumstances does codex generate bundle content (P1 violation). If files missing in repo → operator commits canonical content; codex packages. If codex tempted to write any document content → automatic STOP.

Operator coordination points

  • Slice (a) recon: SSH to VPS1000
  • Slice (b) content review: operator confirms 4 documents are correct version (NOT content edit)
  • Slice (c) real deploy: operator-scheduled window (sacred path mutation)
  • Slice (d) behavioral verification: operator observes morning cron check-in within 24h

Tier

Trivial per ADR-0007 (docs-only prebuild).

Operator action

Draft for review. After merge: paste prompts/codex-iskra-phase-1-0-bundle.md to fresh codex session to begin Slice (a) recon.

Refs #236 (related: #235 mail consumer aligns reply approval with HUMAN-DECISION-POLICY; #135 OpenClaw scheduler obs PR #325 same sacred surface; #76 Agent Access Plane v0.1 ACL composition; PR #150 anti-LLM-wrapper precedent)

## Summary **Operator-emotional priority.** Prebuild for #236 — apply the Phase 1.0 constitutional bundle (4 documents) to live VPS1000 OpenClaw workspace, enabling Iskra autonomy gates that were defined-but-never-applied. Per `state/L3/OPEN_LOOPS.md` cluster `cbffac3e`: bundle 3+ weeks stale. Operator quote: *"Crons fire, Iskra does nothing."* Without Phase 1.0 active, Iskra has constitutional documents on disk but no runtime enforcement. ## The 4 documents Operator + Iskra spec work; codex INSTALLS, does NOT modify: 1. `PROMOTION-GATES.md` — experimental → production capability gates 2. `DRAFT-SPEC.md` — artifact draft pattern before operator review 3. `HUMAN-DECISION-POLICY.md` — **CRITICAL** for autonomy safety; what requires operator approval 4. `PROGRAM-portfolio-night-scout.md` — nightly scout pattern for autonomous research ## What's in this PR 6-file Spec Kit + companion execution prompt: - `00-constitution.md` — 8 principles: - **P1** Bundle CONTENT untouched - **P2** Canonical repo source - **P3** Install via existing deployer (PR #150 anti-LLM-wrapper precedent) - **P4** Behavioral verification: cron Iskra references HUMAN-DECISION-POLICY - **P5** Telemetry: `phase_1_0_bundle_active=true` - **P6** Sacred path discipline - **P7** No content drift (SHA-256 verified) - **P8** Atomic install with rollback (4 or none) - `01-specify.md` — problem, acceptance, success metrics - `02-plan.md` — 4-slice architecture with Q1-Q5 (canonical source, workspace path, telemetry surface, deployer location, drift detection) - `03-tasks.md` — per-slice tasks with deployer pseudo-shell - `04-implement-notes.md` — atomic rollback semantics, behavioral verification timing, telemetry false-positive risk, gotchas G1-G6 - `prompts/codex-iskra-phase-1-0-bundle.md` — execution prompt with Safety / production boundary + stop conditions (P1, P4, P8 violation triggers automatic STOP) ## Slices (forthcoming PRs) - **(a) Recon** — Lite — read-only investigation; recon doc resolves Q1-Q5 - **(b) Module + canonical source** — Lite — `modules/iskra-constitution/` + bundle MANIFEST.json with SHA-256 - **(c) Deployer extension** — Full (security-sensitive) — pure-shell atomic install with rollback (PR #150 precedent) - **(d) Behavioral verification + telemetry** — Lite — operator observes morning cron check-in within 24h ## Hard rule for codex **Under NO circumstances does codex generate bundle content** (P1 violation). If files missing in repo → operator commits canonical content; codex packages. If codex tempted to write any document content → automatic STOP. ## Operator coordination points - Slice (a) recon: SSH to VPS1000 - Slice (b) content review: operator confirms 4 documents are correct version (NOT content edit) - Slice (c) real deploy: operator-scheduled window (sacred path mutation) - Slice (d) behavioral verification: operator observes morning cron check-in within 24h ## Tier Trivial per ADR-0007 (docs-only prebuild). ## Operator action Draft for review. After merge: paste `prompts/codex-iskra-phase-1-0-bundle.md` to fresh codex session to begin Slice (a) recon. Refs #236 (related: #235 mail consumer aligns reply approval with HUMAN-DECISION-POLICY; #135 OpenClaw scheduler obs PR #325 same sacred surface; #76 Agent Access Plane v0.1 ACL composition; PR #150 anti-LLM-wrapper precedent)
docs(specs): Iskra Phase 1.0 bundle apply v0 prebuild for #236
All checks were successful
base-is-main / guard (pull_request) Successful in 1s
canary-required / collect-diff (pull_request) Successful in 4s
patchwarden-pr-sanity / collect-diff (pull_request) Successful in 4s
canary-required / canary (pull_request) Successful in 13s
patchwarden-pr-sanity / sanity (pull_request) Successful in 20s
3a8c956c7b
Apply the Phase 1.0 constitutional bundle (4 documents) to live VPS1000
OpenClaw workspace, enabling Iskra autonomy gates that were
defined-but-never-applied. Per L3/OPEN_LOOPS.md cluster cbffac3e:
3+ weeks stale. Operator quote: "Crons fire, Iskra does nothing."

The 4 documents (operator + Iskra spec work; codex INSTALLS, NOT modifies):
- PROMOTION-GATES.md
- DRAFT-SPEC.md
- HUMAN-DECISION-POLICY.md (CRITICAL for autonomy safety)
- PROGRAM-portfolio-night-scout.md

Spec Kit:
- 00-constitution.md: 8 principles (bundle content untouched, canonical
  repo source, install via existing deployer, behavioral verification
  required, phase_1_0_bundle_active telemetry emit, sacred path
  discipline, no content drift during install, atomic install with
  rollback)
- 01-specify.md: problem, acceptance criteria, success metrics
- 02-plan.md: 4-slice architecture (recon, module + canonical source,
  deployer extension, behavioral verification + telemetry) with Q1-Q5
- 03-tasks.md: per-slice tasks; deployer pure-shell per PR #150
  anti-LLM-wrapper precedent
- 04-implement-notes.md: atomic rollback semantics, behavioral
  verification timing, telemetry flag false-positive risk, gotchas
  G1-G6

Companion execution prompt: prompts/codex-iskra-phase-1-0-bundle.md
with explicit Safety / production boundary (P1 content sacred,
P8 atomic install non-negotiable).

Codex must NOT generate bundle content under any circumstances
(P1 violation). If files missing in repo, operator commits canonical
content first; codex packages.

Tier: Trivial per ADR-0007 (docs-only prebuild).

Refs #236 (related: #235 mail consumer HUMAN-DECISION-POLICY alignment,
#135 OpenClaw scheduler obs PR #325 same sacred surface, #76 Agent
Access Plane v0.1 capability composition)
Sign in to join this conversation.
No reviewers
No labels
W6d-automerge-calibration
agent/claude-code
agent/codex
agent/hermes
agent/iskra
agent/ollama
agent/patchwarden
automerge-candidate
class/security-sensitive
cutover-gate
dependency/blocked
dependency/blocks-others
dependency/cross-repo
dependency/needs-confirmation
domain:agents
domain:ci
domain:docs
domain:forgejo
domain:infra
domain:memory
domain:runtime
domain:signal
domain:ux
flow/architecture
flow/blocked
flow/deployed
flow/done
flow/implementation
flow/intake
flow/maintained
flow/observed
flow/ready
flow/refining
flow/retired
flow/review
iterating
judge/codex-candidate
judge/hermes-candidate
judge/low-confidence
judge/needs-refinement
judge/operator-needed
judge/p0
judge/p1
judge/p2
judge/p3
judge/park
judge/patchwarden-candidate
judge/stale-priority
kind/adr
kind/bug
kind/chore
kind/feature
kind/infra
kind/ops
kind/refactor
kind/research
large-impact
merge/auto
merge/manual
merge/manual-dependency-conflict
merge/manual-failing-tests
merge/manual-merge-conflict
merge/manual-missing-review
merge/manual-operator-preference
merge/manual-red-zone
merge/manual-security-sensitive
merge/manual-unclear-scope
merge/manual-unknown
meta
mode:operator-only
mode:patchwarden-iskra-approved
mode:safe-auto
needs-operator-decision
needs-triage
not-ready
observed/erroring
observed/needs-followup
observed/pending
observed/retire-candidate
observed/unused
observed/used
operator-emotional
owner-attention
phase/02
phase/03
priority:p0
priority:p1
priority:p2
priority:p3
proposed
ready-for-agent
ready-for-operator
recovery
review:claude-reviewed
review:codex-reviewed
review:dziadek-reviewed
review:needs-human
risk/exposure
risk/process
risk/product
risk/runtime
safety:external-write
safety:no-prod-mutation
safety:prod-impact
safety:secret-touch
size/large
size/medium
size/small
size/tiny
size/unknown
source/adr
source/agent-generated
source/manual
source/operator-chat
source/voice-note
status:blocked
status:codex-ready
status:merged:pending-evidence
status:needs-evidence
status:operator-needed
status:parked
tier/full
tier/lite
tier/stacked
tier:0-platform-substrate
tier:1-iskra-value-layer
tier:2-tools-products-modules
type:bug
type:chore
type:docs
type:feat
type:policy
type:research
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pdurlej/platform!347
No description provided.