Skip to content
Back to skills

Agyloop Domain Model

ASecurity

CapacityState, TurnSignals, completion verdicts, waiting, and the run loop. Consult before editing domain/classify.py, waiting.py, completion.py, or loop.py.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 19, 2026
ai-agents

Security analysis

A100/100

Scanned September 19, 2026

npx -y skills add the-vibey-project/vibey --skill agyloop-domain-model --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Agyloop Domain Model?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Agyloop Domain Model
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/the-vibey-project-agyloop-domain-model/badge)](https://www.skillsdirectory.com/skills/the-vibey-project-agyloop-domain-model)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: agyloop-domain-model
description: CapacityState, TurnSignals, completion verdicts, waiting, and the run loop. Consult before editing domain/classify.py, waiting.py, completion.py, or loop.py.
allowed-tools: Read Grep Glob
---

# agyloop domain model

`src/agyloop/domain/` is stdlib-only. Frozen dataclasses / closed unions.

## CapacityState (ADR 0003 — five members)

```
Available | WindowExhausted | TransientThrottle | CreditsExhausted | AuthenticationFailed
```

`CreditsExhausted` has **no** `resets_at`. Never add one. Credits ≠ window.

`TransientThrottle` is a short waitable (503 / UNAVAILABLE / RetryInfo).

## classify.py

Ladder over `TurnSignals`. Operator cancel (exception type **or**
`context canceled` / `context cancelled` / `manage_task` in the message)
is Available **before** the throttle ladder. Do not match a bare
`canceled`. 404 / withdrawn-model is **not** a sixth state — the adapter
raises `AgentConfigError`.

## completion.py

Structured `{complete, remaining_work, blocked_on, summary}`. Capacity
rejection outranks a Done claim.

## loop.py

Pure state machine. No I/O. The runner only performs the Decision.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…