Skip to content

About

Speculative agentic wait queue — ETA-sized plan stacks; consumes wait-hub

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Contributors Forks Stargazers Issues MIT License

plan-stack

Schedule columns for agent-coordinator. Each session is a column of waits, and the height of a step is the estimate.

Architecture · Changelog · wait-hub · harness

Table of contents

About

Most agent wall-clock time is waiting on CI or other remote work. This program draws those waits: phases stack top to start and bottom to end, and the cell height is the estimated wait. When an estimate breaks, dependents show a recalculating state, then new steps animate into the gap.

The plan itself is agent-coordinator in the coordination repository. agent-coordinator plan is the tree. agent-coordinator schedule wait writes the wait on a step. This process keeps JSON files when that database is not running. Those files are its copy of the schedule. They are not the routine ledger. The routine ledger is recurring work in git.

This is not wait-hub. wait-hub is the atomic wait/event bus. A phase may name a wait-hub id for completion. See ADR 0001.

(back to top)

Getting started

Prerequisites: Node 20+.

git clone https://github.com/dev-centr/plan-stack.git "$env:code\github.com\dev-centr\plan-stack"
cd "$env:code\github.com\dev-centr\plan-stack"
node bin/plan-stackd.js --write-config --code-root $env:code
node bin/plan-stackd.js --serve

IPC + UI: http://127.0.0.1:17358 (wait-hub uses 17357).

In another shell:

node bin/plan-stack.js seed
node bin/plan-stack.js overview

Artifacts (machine-local, not committed):

Path Role
$CODE_ROOT/plan-stack.config.json Port, paths, wait-hub URL
$CODE_ROOT/plan-stack.status.json Summary for trays / harness
$CODE_ROOT/plan-stack.events.jsonl Append-only events
$CODE_ROOT/plan-stack/plans/*.json Per-session plans

(back to top)

CLI

node bin/plan-stack.js health
node bin/plan-stack.js upsert --harness devcentr-harness --session s1 --title "My session"
node bin/plan-stack.js complete <planId> <phaseId>

Harness client id example: devcentr-harness.

(back to top)

UI model

Layer Meaning
Window One harness
Column One agent session (h-scroll)
Stack cell One phase; height ∝ estimatedWaitMs

Dock the same overview inside DevCentr harness as a cross-cutting panel (not a Linear/Grid/Tree peer). Teaching demo: HCI-Nerdz plan-stack.

(back to top)

Related

(back to top)

License

MIT — see LICENSE.

Contact

Dev-Centr — github.com/dev-centr

About

Speculative agentic wait queue — ETA-sized plan stacks; consumes wait-hub

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages