Discussion about this post

User's avatar
Don Demcsak's avatar

Tyler — excellent framing. The Delegation Stack is the right diagnostic for why chat‑first workflows fail: “Chat is built around turns. Work is built around commitments.” and “The next jump is not prompt engineering. It is delegation design.” Those lines capture the problem perfectly. Where I’d push back is on the implicit architecture: you treat determinism as something you bolt onto a non‑deterministic surface. The Expression Layer inverts that tradeoff.

The practical difference is simple: make the orchestration deterministic first, and treat LLMs and agents as bounded, probabilistic workers called by that deterministic engine. That changes how you operationalize each layer of your stack.

Deterministic orchestration first. The workflow engine is the source of truth: explicit state, idempotent steps, typed inputs/outputs, and replayable logs. When the harness owns state transitions, retries, and rollbacks, failures stop being noisy surprises and become predictable, recoverable events.

Constrained Natural Languages (CNLs) as the UX bridge. Keep the conversational surface teams like, but constrain the language so it compiles to executable artifacts. A CNL maps a human instruction to a typed contract and a small program the harness runs or verifies. That’s the missing bridge between “ask” and “prove”: the user still writes something that feels like chat, but the system compiles it into machine‑verifiable checks.

Contracts as code. Tasks become schemas with acceptance tests. “Done” is not a confident summary; it’s a machine‑verifiable state: diffs, test results, signed attestations, or reviewer tokens. The harness enforces those contracts before marking completion, so evidence maps directly to acceptance criteria rather than to a persuasive summary.

Scoped authority enforced by the system. Instead of leaving “can the agent edit files?” as a vague policy, the harness issues capability tokens that allow only specific mutations. Authority is enforced by the system, not left to model discretion, which prevents the authority leaks you warn about.

Structured evidence and deterministic gates. Every step emits structured evidence. Escalation is a state transition that pauses the workflow and notifies the right human role. That prevents silent narrowing of goals and keeps human judgment where it matters.

Limelight‑X as the working MVP. Limelight‑X on GitHub is the current, pragmatic example of this pattern: a small harness, CNL examples, and a pipeline that compiles human instructions into executable checks and artifacts. It’s not a finished product — it’s an evolving architectural pattern — but it shows how the Delegation Stack can be operationalized without losing the conversational surface teams want.

Why this matters now: your checklist tells teams what to specify. The Expression Layer shows how to make those specifications executable and auditable. If you want agents that return provable completion rather than plausible summaries, you need a layer that turns prose contracts into code, evidence into structured artifacts, and authority into enforceable tokens. That’s how you get speed without silent risk.

MetaCortex Dynamics's avatar

Your Delegation Stack is authority separation built from failure instead of theory. Same architecture.

Your five layers map to a governance structure I have been building from the formal side.

Task is the declared outcome.

Context is the genealogical record: what history is relevant, what is dangerous, and what has already been decided.

Authority is the separation: who proposes, who decides, who promotes, and who executes.

Evidence is the structural checkpoint: what holds, what is checkable, and what maps each requirement to fresh evidence.

Escalation is the governance response to uncertainty: the agent stops when it reaches a boundary it was not authorized to cross.

Your authority layer is the sharpest part. “Reviewers can inspect but not edit. Workers can edit within scope. Validators can run checks but cannot redefine criteria. The parent agent owns completion.”

That is typed authority separation. Each role has a specific operation it CAN perform and a specific operation it CANNOT. The separation is structural, not managerial. The validator who redefines the acceptance criteria has collapsed authority. The worker who publishes has collapsed authority. Each collapse is a specific failure mode.

You found these by watching agents fail. I found them by proving that authority collapse produces specific, named structural failures.

The evidence layer is where the product lives. You said: completion is not a summary. Completion is a map from every requirement to fresh evidence.

I built QueueGate to enforce this pattern in AI-assisted software work.

The declared task gets a scoped packet. The agent proposes work. The repo workflow checks: does the work match the declared task, did the changed files stay inside scope, does the required evidence exist, are failures present, and is the result eligible to count as governed progress.

Generated work is not trusted because it exists. It has to pass through a governed path.

Your Delegation Stack is the management framework. QueueGate is the lifecycle enforcement layer around the repo workflow.

They compose.

https://metacortexdynamics.substack.com/p/stop-letting-ai-coding-agents-decide

No posts

Ready for more?