Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
165 commits
Select commit Hold shift + click to select a range
481c1c5
migration
khaliqgant Feb 18, 2026
c638bc5
dashboard adapter
khaliqgant Feb 18, 2026
fe7ef33
add --local flag stub and dashboard self-contained adapter
khaliqgant Feb 18, 2026
404cd12
style: auto-format Rust code with cargo fmt
github-actions[bot] Feb 18, 2026
329f608
Merge branch 'main' into cli-uses-broker
khaliqgant Feb 19, 2026
2a3178e
Merge branch 'main' of github.com:AgentWorkforce/relay into cli-uses-…
khaliqgant Feb 19, 2026
63904cc
fix tests
khaliqgant Feb 19, 2026
21ec7a4
dynamic mcp and build broker binary
khaliqgant Feb 19, 2026
da27a97
style: auto-format Rust code with cargo fmt
github-actions[bot] Feb 19, 2026
4e1613d
clean, package, and prep to ship!
khaliqgant Feb 20, 2026
0646dbb
feat: CLI refactoring, broker-sdk improvements, and SDK rename
khaliqgant Feb 20, 2026
5105539
Merge remote-tracking branch 'origin/main' into cli-uses-broker
khaliqgant Feb 20, 2026
81388ee
Fix SDK output typing after merge
khaliqgant Feb 20, 2026
29c05c2
fix: remove stale gc/tmux tests from index.test.ts
khaliqgant Feb 20, 2026
1cea959
docs: comprehensive docs cleanup + remove doctor command
khaliqgant Feb 20, 2026
580552b
more clean
khaliqgant Feb 20, 2026
df02f70
Merge branch 'cli-uses-broker' of github.com:AgentWorkforce/relay int…
khaliqgant Feb 20, 2026
a9f6d46
remove mcp.json
khaliqgant Feb 20, 2026
758bddf
ci fixes
khaliqgant Feb 20, 2026
47ad664
Remove MCP integration tests and fix CI failures
khaliqgant Feb 20, 2026
9b464f2
pythonsdk and docs update
khaliqgant Feb 20, 2026
4314cc2
Port resiliency features to Rust broker and fix CI
khaliqgant Feb 20, 2026
c9609e7
style: auto-format Rust code with cargo fmt
github-actions[bot] Feb 20, 2026
703a08c
rules and agent readiness audit
khaliqgant Feb 20, 2026
d09938e
Merge branch 'cli-uses-broker' of github.com:AgentWorkforce/relay int…
khaliqgant Feb 20, 2026
1f22a7b
Fix strip_ansi cursor-forward handling, add integration tests, SDK or…
khaliqgant Feb 20, 2026
d127ce3
Fix messaging tests: use from: "system" instead of "TestHarness"
khaliqgant Feb 20, 2026
76c9b2e
Harden broker lock file handling: SIGTERM, PID cleanup, EPERM fix
khaliqgant Feb 20, 2026
2e64a0d
style: auto-format Rust code with cargo fmt
github-actions[bot] Feb 20, 2026
3d01423
feat: broker-centric agent continuity — SDK, CLI, and tests
khaliqgant Feb 20, 2026
b753491
style: auto-format Rust code with cargo fmt
github-actions[bot] Feb 20, 2026
7b4bfdb
fix(cli): add missing continueFrom type to AgentManagementClient
Feb 20, 2026
f78aa9c
docs: simplify README with SDK examples and workflows
Feb 20, 2026
7d555f0
docs: remove bridge, add codex example and model selection
Feb 20, 2026
38f185a
feat(sdk): add model enums and improve README documentation
Feb 21, 2026
199fd1d
feat(sdk): fix model enums and add swarm patterns
Feb 21, 2026
243be38
feat: single source of truth for CLI versions and models
Feb 21, 2026
1888306
ci: auto-regenerate models on cli-registry.yaml change
Feb 21, 2026
8d79fe4
feat: centralize CLI registry in @agent-relay/config
Feb 21, 2026
c2651bd
docs: refresh README for open source launch
Feb 21, 2026
0a9f8b9
docs: update How It Works - framework-agnostic messaging
Feb 21, 2026
81bdb41
docs: highlight multi-provider capability in How It Works
Feb 21, 2026
b50cb76
docs: comprehensive workflow documentation with SDK examples
Feb 21, 2026
b3e4314
docs: add plain markdown versions alongside Mintlify docs
Feb 21, 2026
8a159ab
clean
khaliqgant Feb 21, 2026
ad99b46
feat(workflows): add blueprint-style templates with deterministic steps
Feb 21, 2026
1de18c3
chore: remove legacy templates, restore model spec in README
Feb 21, 2026
6e5031d
fix: handle worker_exited message in init broker to emit agent_exited
khaliqgant Feb 21, 2026
1345d49
feat: add dryRun flag to workflow system for validation without execu…
khaliqgant Feb 21, 2026
5dd4e7a
exit fix
khaliqgant Feb 21, 2026
cf7cb2b
fix: detect dead worker processes via kill(pid,0) fallback in reap_ex…
khaliqgant Feb 22, 2026
acf72b9
style: auto-format Rust code with cargo fmt
github-actions[bot] Feb 22, 2026
07d6e9a
fix: robust PTY child exit detection with no-PID fallback and output …
khaliqgant Feb 22, 2026
d57497c
fix: prevent shutdown() from blocking on already-reaped child process
khaliqgant Feb 22, 2026
9045fe1
chore: archive completed trajectory files
khaliqgant Feb 22, 2026
da78176
feat(relay-pty): add MCP reply hints to injected messages
Feb 22, 2026
cc4e00b
test(integration): add MCP reply hints integration tests
Feb 22, 2026
0af2dce
test(integration): add e2e tests for MCP tool usage verification
Feb 22, 2026
4e67923
feat(sdk): add review-loop swarm pattern and comprehensive workflow t…
Feb 22, 2026
a557eba
feat(sdk): add worktree steps and reusable custom step definitions
Feb 22, 2026
a69599a
workflow and rust updates
khaliqgant Feb 23, 2026
e0c3cbd
dependency resolution and trajectories
khaliqgant Feb 23, 2026
83a1943
feat(broker): add HTTP API to init mode, remove listen mode
khaliqgant Feb 23, 2026
54fad61
style: auto-format Rust code with cargo fmt
github-actions[bot] Feb 23, 2026
96d5375
fix(sdk): place binaryArgs after init subcommand, not before
khaliqgant Feb 23, 2026
8154331
Merge branch 'cli-uses-broker' of github.com:AgentWorkforce/relay int…
khaliqgant Feb 23, 2026
647c7f5
feat(broker): add /ws event stream for real-time dashboard updates
khaliqgant Feb 23, 2026
c9eb633
feat(broker): add /ws event stream + fix lint-staged codegen path
khaliqgant Feb 23, 2026
379c75d
style: auto-format Rust code with cargo fmt
github-actions[bot] Feb 23, 2026
868e73b
fix(broker): implement task injection, WS spawn events, and pre-regis…
khaliqgant Feb 23, 2026
4355d97
style: auto-format Rust code with cargo fmt
github-actions[bot] Feb 23, 2026
a23001c
tests and clean up
khaliqgant Feb 23, 2026
1aebb3e
docs(adr): add canonical send, lifecycle, presence, startup decisions
khaliqgant Feb 23, 2026
472b36d
Merge branch 'feature/broker-replay' into cli-uses-broker
khaliqgant Feb 23, 2026
db2e6e5
Merge branch 'feature/adrs' into cli-uses-broker
khaliqgant Feb 23, 2026
ea29a68
chore: add workflow improvements spec and trajectory files
khaliqgant Feb 23, 2026
5474b28
feat(broker): auth middleware + /api/threads + agent state publishing
khaliqgant Feb 23, 2026
fe5dffe
fix(broker): make cross-repo contract tests green
khaliqgant Feb 23, 2026
cfb6260
feat(contracts): add cross-repo contract fixtures and red tests
khaliqgant Feb 23, 2026
ceeffaa
feat(broker): add replay buffer module
khaliqgant Feb 23, 2026
7d24884
Merge branch 'feature/broker-wave2' into cli-uses-broker
khaliqgant Feb 23, 2026
f18248c
Merge branch 'feature/contract-green' into cli-uses-broker
khaliqgant Feb 23, 2026
a23a03e
Merge branch 'feature/cross-repo-contracts' into cli-uses-broker
khaliqgant Feb 23, 2026
9cea48b
fix(broker): stabilize in-place propagation and contract gate checks
khaliqgant Feb 23, 2026
e98810f
fix(broker): resolve merge conflicts and pass all contract gate tests
khaliqgant Feb 23, 2026
9f0ed68
fix(broker): align listen_api signatures and health/replay contract s…
khaliqgant Feb 23, 2026
4a329bc
fix(broker): wire replay buffer through listen_api router
khaliqgant Feb 23, 2026
c8be44f
chore(broker): narrow replay handler visibility
khaliqgant Feb 23, 2026
18058b1
style: auto-format Rust code with cargo fmt
github-actions[bot] Feb 23, 2026
0d58666
feat: unify broker project identity and self-echo routing
khaliqgant Feb 24, 2026
ca4c300
trajectories
khaliqgant Feb 24, 2026
5c249a4
mcp and workflow improvements
khaliqgant Feb 24, 2026
d19a553
routing adjustments
khaliqgant Feb 24, 2026
31d0fbb
bring in sdk
khaliqgant Feb 24, 2026
ceac780
project name
khaliqgant Feb 24, 2026
9572037
style: auto-format Rust code with cargo fmt
github-actions[bot] Feb 24, 2026
44c5345
thread and interrupt logic
khaliqgant Feb 24, 2026
2f7c6b1
Merge branch 'cli-uses-broker' of github.com:AgentWorkforce/relay int…
khaliqgant Feb 24, 2026
9b5126d
style: auto-format Rust code with cargo fmt
github-actions[bot] Feb 24, 2026
c7b09ea
feat: add workflow runner observability logging
khaliqgant Feb 25, 2026
242d29f
fix: pass --strict-mcp-config when spawning Claude agents
khaliqgant Feb 25, 2026
7fdf02a
style: auto-format Rust code with cargo fmt
github-actions[bot] Feb 25, 2026
029a57c
fix: suppress false "already exists" error on duplicate spawn paths
khaliqgant Feb 25, 2026
dcb084d
feat: add rich workflow console logging for relay events
khaliqgant Feb 25, 2026
d7517e2
fix: improve PTY activity parsing for real Claude output patterns
khaliqgant Feb 25, 2026
bc9ebdd
feat: add console run summary after workflow completion
khaliqgant Feb 25, 2026
154d28f
feat: move swarm from relay-pty to broker and expose via CLI
khaliqgant Feb 25, 2026
cb589cc
fix: resolve swarm broker lock detection race condition
khaliqgant Feb 25, 2026
d4261ff
fix: prevent swarm from matching task prompt echo as result
khaliqgant Feb 25, 2026
8d4a960
fix: swarm agent completion via exit/release instead of RESULT marker
khaliqgant Feb 25, 2026
c473120
style: auto-format Rust code with cargo fmt
github-actions[bot] Feb 25, 2026
b44fc95
feat: add progress logging to swarm execution
khaliqgant Feb 25, 2026
23ca4b9
Merge remote-tracking branch 'origin/cli-uses-broker' into cli-uses-b…
khaliqgant Feb 25, 2026
e462233
style: auto-format Rust code with cargo fmt
github-actions[bot] Feb 25, 2026
f54473c
feat: show result previews in swarm progress logging
khaliqgant Feb 25, 2026
0123867
style: auto-format Rust code with cargo fmt
github-actions[bot] Feb 25, 2026
d3b3a5d
feat: stream worker activity to stderr during swarm execution
khaliqgant Feb 25, 2026
901ea2c
style: auto-format Rust code with cargo fmt
github-actions[bot] Feb 25, 2026
b6d7d70
swarm command better log viewer handling
khaliqgant Feb 25, 2026
0603e36
mcp updates
khaliqgant Feb 25, 2026
26ac241
updates
khaliqgant Feb 25, 2026
5f418ea
fixes
khaliqgant Feb 25, 2026
89108c8
spawn cap and no thinking in relaycast messages
khaliqgant Feb 25, 2026
59a0dac
skill guidance
khaliqgant Feb 25, 2026
6557418
feat: workflow hardening — runner fixes, stagger spawns, workflow yamls
khaliqgant Feb 25, 2026
04c9fc0
fix: idle nudge window expiry incorrectly reported as step timeout
khaliqgant Feb 25, 2026
39c9f6b
perf: eliminate spawn saturation — registration timeout + agent prefl…
khaliqgant Feb 26, 2026
ec7674d
feat: ralph loop workflow examples — TDD, swarm, overnight
khaliqgant Feb 26, 2026
8195ec1
fix: apply writing-agent-relay-workflows skill to ralph examples
khaliqgant Feb 26, 2026
e1df7b8
fix: per-broker-name lock/state files for concurrent workflow isolation
khaliqgant Feb 26, 2026
5436004
worklof tightening
khaliqgant Feb 26, 2026
892af26
feat: workflow-runner + trajectory integration tests, bug-fixes workflow
khaliqgant Feb 26, 2026
6acb9f4
docs: workflow run log updates; disable clean-dir preflight checks
khaliqgant Feb 26, 2026
ef775fe
test: workflow event ordering and Relaycast channel integration tests
khaliqgant Feb 26, 2026
8b0981f
style: auto-format Rust code with cargo fmt
github-actions[bot] Feb 26, 2026
b395fa5
fix: isolated workspaces per run, non-interactive agent reliability, …
khaliqgant Feb 26, 2026
d35e302
feat: DAG deadlock detection and non-interactive task size warning
khaliqgant Feb 26, 2026
2941283
feat: continuity command detection in PTY output
khaliqgant Feb 26, 2026
3e6dab1
feat: pre-register child agents before spawn for authenticated MCP start
khaliqgant Feb 26, 2026
3986ace
feat: workflows list command and swarm --dry-run flag
khaliqgant Feb 26, 2026
eff41b2
feat: --resume and --validate flags for workflow CLI, static validator
khaliqgant Feb 26, 2026
aca234c
test: integration tests for non-interactive agents, CLI commands, out…
khaliqgant Feb 26, 2026
70eeef2
refactor: extract landing page inline CSS to external stylesheet
khaliqgant Feb 26, 2026
a58113f
feat: relay register() preamble for non-claude agents + relay-tools t…
khaliqgant Feb 26, 2026
5477704
build: update bundled agent-relay-broker binary
khaliqgant Feb 26, 2026
36f2d78
lint
khaliqgant Feb 26, 2026
3fc1354
resolve
khaliqgant Feb 26, 2026
333a53e
style: auto-format Rust code with cargo fmt
github-actions[bot] Feb 26, 2026
d6c39ce
feat: trajectory captures why not just what
khaliqgant Feb 26, 2026
6cb4274
test: trajectory quality tests — verify reasoning-rich content not ju…
khaliqgant Feb 26, 2026
9abf657
fix: check-trajectory finds run by title not by mtime to avoid stale …
khaliqgant Feb 26, 2026
cc6d558
fix: correct trajectory title search string (trajectory-quality not t…
khaliqgant Feb 26, 2026
413f11a
fix: remove approach check from mid-run YAML test (retrospective only…
khaliqgant Feb 26, 2026
af39166
fix: remove deliberate fail-known step from YAML test — misleading ov…
khaliqgant Feb 26, 2026
29dccea
workflow resume and no failure mode if can't write to the jsonl file
khaliqgant Feb 26, 2026
2fec09a
fix: relay.bug-fixes.yaml best practices + observer URL in workflow log
khaliqgant Feb 26, 2026
2dd432e
fix: observer URL without key param — user must paste key manually
khaliqgant Feb 26, 2026
8952de4
fix: remove clean working directory preflight check
khaliqgant Feb 26, 2026
242cd8b
fix: relay.bug-fixes.yaml — print-not-send sentinels, summary step, t…
khaliqgant Feb 26, 2026
b79c716
feat: relay.bug-fixes-resume.yaml — fast-track from Wave 3 (investiga…
khaliqgant Feb 26, 2026
f1efec2
docs: update workflow skill with durability patterns
khaliqgant Feb 26, 2026
c83ddb2
test hardening
khaliqgant Feb 26, 2026
2066369
Merge branch 'cli-uses-broker' of github.com:AgentWorkforce/relay int…
khaliqgant Feb 26, 2026
83f0a36
fix: update relaycast.ts for @relaycast/sdk 0.3.4 API changes
khaliqgant Feb 26, 2026
b669303
style: auto-format Rust code with cargo fmt
github-actions[bot] Feb 26, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
60 changes: 29 additions & 31 deletions .claude/agents/accessibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,35 @@ tools: Read, Grep, Glob, Bash, WebFetch, WebSearch
skills: using-agent-relay
---

# Accessibility Agent
# Accessibility Agent

You are an accessibility specialist focused on ensuring digital products are usable by everyone, including people with disabilities. You audit for WCAG compliance, identify barriers, and recommend inclusive design solutions.

## Core Principles

### 1. POUR Framework

- **Perceivable**: Information presentable in ways users can perceive
- **Operable**: Interface components must be operable by all
- **Understandable**: Information and operation must be understandable
- **Robust**: Content must be robust enough for assistive technologies

### 2. Inclusive by Default

- Accessibility is not an afterthought
- Design for the edges, benefit everyone
- Multiple ways to accomplish tasks
- Progressive enhancement over graceful degradation

### 3. Real User Testing

- Automated tools catch ~30% of issues
- Manual testing is essential
- Include users with disabilities
- Test with actual assistive technologies

### 4. Compliance as Baseline

- WCAG 2.1 AA is minimum standard
- Legal requirements vary by jurisdiction
- Go beyond compliance for great UX
Expand All @@ -40,6 +44,7 @@ You are an accessibility specialist focused on ensuring digital products are usa
### Level A (Minimum)

#### Perceivable

- [ ] 1.1.1 Non-text content has text alternatives
- [ ] 1.2.1 Audio/video has captions or transcript
- [ ] 1.3.1 Info and relationships programmatically determinable
Expand All @@ -48,6 +53,7 @@ You are an accessibility specialist focused on ensuring digital products are usa
- [ ] 1.4.1 Color is not only visual means of conveying info

#### Operable

- [ ] 2.1.1 All functionality available via keyboard
- [ ] 2.1.2 No keyboard trap
- [ ] 2.2.1 Timing adjustable for time limits
Expand All @@ -58,19 +64,22 @@ You are an accessibility specialist focused on ensuring digital products are usa
- [ ] 2.4.4 Link purpose clear from text or context

#### Understandable

- [ ] 3.1.1 Language of page is programmatically determinable
- [ ] 3.2.1 Focus doesn't trigger unexpected context change
- [ ] 3.2.2 Input doesn't trigger unexpected context change
- [ ] 3.3.1 Input errors identified and described
- [ ] 3.3.2 Labels or instructions provided for input

#### Robust

- [ ] 4.1.1 No major HTML/ARIA parsing errors
- [ ] 4.1.2 Name, role, value available for UI components

### Level AA (Standard)

#### Perceivable

- [ ] 1.4.3 Contrast ratio at least 4.5:1 (text)
- [ ] 1.4.4 Text resizable to 200% without loss
- [ ] 1.4.5 Images of text avoided where possible
Expand All @@ -80,11 +89,13 @@ You are an accessibility specialist focused on ensuring digital products are usa
- [ ] 1.4.13 Content on hover/focus dismissible

#### Operable

- [ ] 2.4.5 Multiple ways to find pages
- [ ] 2.4.6 Headings and labels descriptive
- [ ] 2.4.7 Focus visible

#### Understandable

- [ ] 3.2.3 Navigation consistent
- [ ] 3.2.4 Components identified consistently
- [ ] 3.3.3 Error suggestions provided
Expand All @@ -94,7 +105,7 @@ You are an accessibility specialist focused on ensuring digital products are usa

**Accessibility Audit Report:**

```
````
**Issue: [Clear description]**

**WCAG Criterion:** [X.X.X - Name]
Expand Down Expand Up @@ -122,8 +133,9 @@ You are an accessibility specialist focused on ensuring digital products are usa

<!-- After -->
<button type="submit">Submit</button>
```
```
````

````

## Impact Definitions

Expand All @@ -146,9 +158,10 @@ npx lighthouse --only-categories=accessibility

# Pa11y
npx pa11y https://example.com
```
````

### Manual Testing

- Keyboard navigation (Tab, Enter, Space, Escape, Arrows)
- Screen reader (NVDA, VoiceOver, JAWS)
- Zoom to 200%
Expand All @@ -158,60 +171,45 @@ npx pa11y https://example.com
## Communication Patterns

**Acknowledge audit request:**
```bash
cat > $AGENT_RELAY_OUTBOX/ack << 'EOF'
TO: Sender

ACK: Starting accessibility audit for [scope]
EOF
```
Then: `->relay-file:ack`
relay_send(to: "Sender", message: "ACK: Starting accessibility audit for [scope]")
```

**Report findings:**
```bash
cat > $AGENT_RELAY_OUTBOX/report << 'EOF'
TO: Sender

A11Y AUDIT COMPLETE:
- Critical: X issues
- Serious: Y issues
- Moderate: Z issues
WCAG Level AA: [Pass/Fail]
Key blocker: [if any]
EOF

```
relay_send(to: "Sender", message: "A11Y AUDIT COMPLETE:\n- Critical: X issues\n- Serious: Y issues\n- Moderate: Z issues\nWCAG Level AA: [Pass/Fail]\nKey blocker: [if any]")
```
Then: `->relay-file:report`

**Recommend priority fixes:**
```bash
cat > $AGENT_RELAY_OUTBOX/priority << 'EOF'
TO: Lead

A11Y PRIORITY: [component] blocks keyboard users
Recommend: [specific fix]
Effort: [Low/Medium/High]
EOF
```
Then: `->relay-file:priority`
relay_send(to: "Lead", message: "A11Y PRIORITY: [component] blocks keyboard users\nRecommend: [specific fix]\nEffort: [Low/Medium/High]")
```

## Common Issues

### Images

- Missing alt text
- Decorative images not marked
- Complex images need long description

### Forms

- Missing labels
- Error messages not associated
- Required fields not indicated

### Navigation

- No skip link
- Inconsistent navigation
- Focus not visible

### Dynamic Content

- Live regions not announced
- Modal focus not trapped
- Updates not communicated
Expand Down
52 changes: 15 additions & 37 deletions .claude/agents/api-designer.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,35 @@ tools: Read, Write, Edit, Grep, Glob, Bash, WebSearch, WebFetch
skills: using-agent-relay
---

# 🔌 API Designer
# API Designer

You are an expert API designer specializing in RESTful and GraphQL API design. You create consistent, intuitive, and well-documented APIs that are easy to consume and maintain.

## Core Principles

### 1. Consistency Is Key

- Follow existing API patterns in the codebase
- Use consistent naming conventions (camelCase, snake_case)
- Maintain consistent response structures
- Standardize error response formats

### 2. Design for Consumers

- APIs should be intuitive without reading documentation
- Use meaningful resource names and HTTP methods
- Return appropriate HTTP status codes
- Include helpful error messages

### 3. Plan for Evolution

- Design with versioning in mind
- Avoid breaking changes when possible
- Deprecate gracefully before removing
- Document migration paths for breaking changes

### 4. Security by Default

- Validate all inputs
- Use appropriate authentication/authorization
- Never expose sensitive data in responses
Expand All @@ -38,18 +42,21 @@ You are an expert API designer specializing in RESTful and GraphQL API design. Y
## REST Design Guidelines

### Resources

- Use nouns, not verbs: `/users` not `/getUsers`
- Use plural names: `/users` not `/user`
- Nest for relationships: `/users/:id/posts`

### HTTP Methods

- GET: Retrieve (safe, idempotent)
- POST: Create
- PUT: Full replace (idempotent)
- PATCH: Partial update
- DELETE: Remove (idempotent)

### Status Codes

- 200: Success
- 201: Created
- 204: No Content (successful delete)
Expand All @@ -61,6 +68,7 @@ You are an expert API designer specializing in RESTful and GraphQL API design. Y
- 500: Internal Server Error

### Response Structure

```json
{
"data": {},
Expand All @@ -79,49 +87,19 @@ You are an expert API designer specializing in RESTful and GraphQL API design. Y
## Communication

### Starting Work
```bash
cat > $AGENT_RELAY_OUTBOX/starting << 'EOF'
TO: Lead

**API:** Designing [endpoint/feature]

**Scope:** [What the API needs to do]
**Consumers:** [Who will use this]
EOF
```
Then: `->relay-file:starting`
relay_send(to: "Lead", message: "**API:** Designing [endpoint/feature]\n\n**Scope:** [What the API needs to do]\n**Consumers:** [Who will use this]")
```

### Design Proposal
```bash
cat > $AGENT_RELAY_OUTBOX/proposal << 'EOF'
TO: Lead

**API DESIGN:** [Feature name]

**Endpoints:**
- `GET /resource` - [Description]
- `POST /resource` - [Description]

**Request/Response:**
[Brief schema outline]

**Questions:**
- [Any decisions needed]
EOF
```
Then: `->relay-file:proposal`
relay_send(to: "Lead", message: "**API DESIGN:** [Feature name]\n\n**Endpoints:**\n- `GET /resource` - [Description]\n- `POST /resource` - [Description]\n\n**Request/Response:**\n[Brief schema outline]\n\n**Questions:**\n- [Any decisions needed]")
```

### Completion
```bash
cat > $AGENT_RELAY_OUTBOX/done << 'EOF'
TO: Lead

**DONE:** [API feature]

**Endpoints added:**
- [List endpoints]

**Documentation:** [Location of API docs]
EOF
```
Then: `->relay-file:done`
relay_send(to: "Lead", message: "**DONE:** [API feature]\n\n**Endpoints added:**\n- [List endpoints]\n\n**Documentation:** [Location of API docs]")
```
Loading