Skip to content

Commit bdce4c7

Browse files
duyetduyetbot
andauthored
style(agent-loop): satisfy super-linter markdown + json checks (#73)
Co-authored-by: duyetbot <duyetbot@users.noreply.github.com>
1 parent b0f9d5d commit bdce4c7

6 files changed

Lines changed: 66 additions & 54 deletions

File tree

agent-loop/.claude-plugin/plugin.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
"description": "Continuous agent loop for overnight/day repository maintenance. Orchestrates triage, autoreview, browser automation, and parallel agent work across threads. Wake every 5 min, direct work to threads, land autonomously.",
55
"author": { "name": "duyetbot" },
66
"license": "MIT"
7-
}
7+
}

agent-loop/.codex-plugin/plugin.json

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,19 @@
66
"license": "MIT",
77
"skills": "./skills/",
88
"codex": {
9-
"skills": ["agent-loop-orchestrator", "agent-loop-triage", "agent-loop-autoreview", "agent-loop-browser"],
10-
"commands": ["agent-loop:start", "agent-loop:stop", "agent-loop:status", "agent-loop:triage", "agent-loop:autoreview"]
9+
"skills": [
10+
"agent-loop-orchestrator",
11+
"agent-loop-triage",
12+
"agent-loop-autoreview",
13+
"agent-loop-browser"
14+
],
15+
"commands": [
16+
"agent-loop:start",
17+
"agent-loop:stop",
18+
"agent-loop:status",
19+
"agent-loop:triage",
20+
"agent-loop:autoreview"
21+
]
1122
},
1223
"interface": {
1324
"displayName": "Agent Loop",
@@ -16,4 +27,4 @@
1627
"category": "Automation",
1728
"capabilities": ["Skill", "Command"]
1829
}
19-
}
30+
}

agent-loop/CLAUDE.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Continuous overnight/day repository maintenance with autonomous agent loops.
88

99
## Plugin Structure
1010

11-
```
11+
```text
1212
agent-loop/
1313
├── .claude-plugin/
1414
│ └── plugin.json # Manifest (version 0.2.0)
@@ -25,40 +25,40 @@ agent-loop/
2525

2626
### Commands
2727

28-
| Command | Description |
29-
|---------|-------------|
30-
| `/agent-loop:start` | Start the continuous maintenance loop |
31-
| `/agent-loop:stop` | Gracefully stop the loop |
32-
| `/agent-loop:status` | Check loop status and history |
33-
| `/agent-loop:triage` | One-shot repo queue triage |
34-
| `/agent-loop:autoreview` | One-shot PR review and fix |
28+
| Command | Description |
29+
| ------------------------ | ------------------------------------- |
30+
| `/agent-loop:start` | Start the continuous maintenance loop |
31+
| `/agent-loop:stop` | Gracefully stop the loop |
32+
| `/agent-loop:status` | Check loop status and history |
33+
| `/agent-loop:triage` | One-shot repo queue triage |
34+
| `/agent-loop:autoreview` | One-shot PR review and fix |
3535

3636
### Skills
3737

38-
| Skill | Purpose |
39-
|-------|---------|
38+
| Skill | Purpose |
39+
| --------------------------- | ------------------------------------------------------ |
4040
| **agent-loop-orchestrator** | Core loop: wait → triage → dispatch → monitor → report |
41-
| **agent-loop-triage** | GitHub issue/PR queue scanning and classification |
42-
| **agent-loop-autoreview** | Autonomous PR review, fix application, and merging |
43-
| **agent-loop-browser** | Browser automation for live UI proof and verification |
41+
| **agent-loop-triage** | GitHub issue/PR queue scanning and classification |
42+
| **agent-loop-autoreview** | Autonomous PR review, fix application, and merging |
43+
| **agent-loop-browser** | Browser automation for live UI proof and verification |
4444

4545
## Versioning
4646

4747
Follow semantic versioning (semver):
4848

49-
| Change Type | Version Bump | Example |
50-
|-------------|--------------|---------|
51-
| Bug fix, docs | Patch | 0.2.0 → 0.2.1 |
52-
| New feature, minor change | Minor | 0.2.0 → 0.3.0 |
53-
| Breaking change | Major | 0.2.0 → 1.0.0 |
49+
| Change Type | Version Bump | Example |
50+
| ------------------------- | ------------ | ------------- |
51+
| Bug fix, docs | Patch | 0.2.0 → 0.2.1 |
52+
| New feature, minor change | Minor | 0.2.0 → 0.3.0 |
53+
| Breaking change | Major | 0.2.0 → 1.0.0 |
5454

5555
Always update `plugin.json` version when making changes.
5656

5757
## Commit Convention
5858

5959
Use semantic commits with plugin scope:
6060

61-
```
61+
```text
6262
feat(agent-loop): add new feature
6363
fix(agent-loop): fix bug
6464
docs(agent-loop): update documentation

agent-loop/README.md

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Continuous overnight/day repository maintenance with autonomous agent loops.
44

5-
```
5+
```text
66
Wake every 5m ──► Triage repos ──► Dispatch threads ──► Track & land
77
```
88

@@ -25,24 +25,24 @@ That makes it easy to parallelize + steer work as needed.
2525

2626
### Skills
2727

28-
| Skill | Purpose |
29-
|-------|---------|
28+
| Skill | Purpose |
29+
| --------------------------- | ------------------------------------------------------ |
3030
| **agent-loop-orchestrator** | Core loop: wait → triage → dispatch → monitor → report |
31-
| **agent-loop-triage** | GitHub issue/PR queue scanning and classification |
32-
| **agent-loop-autoreview** | Autonomous PR review, fix application, and merging |
33-
| **agent-loop-browser** | Browser automation for live UI proof and verification |
31+
| **agent-loop-triage** | GitHub issue/PR queue scanning and classification |
32+
| **agent-loop-autoreview** | Autonomous PR review, fix application, and merging |
33+
| **agent-loop-browser** | Browser automation for live UI proof and verification |
3434

3535
### Commands
3636

37-
| Command | Description |
38-
|---------|-------------|
39-
| `/agent-loop:start` | Start the continuous maintenance loop |
40-
| `/agent-loop:stop` | Gracefully stop the loop |
41-
| `/agent-loop:status` | Check loop status and history |
42-
| `/agent-loop:triage` | One-shot repo queue triage |
43-
| `/agent-loop:autoreview` | One-shot PR review and fix |
37+
| Command | Description |
38+
| ------------------------ | ------------------------------------- |
39+
| `/agent-loop:start` | Start the continuous maintenance loop |
40+
| `/agent-loop:stop` | Gracefully stop the loop |
41+
| `/agent-loop:status` | Check loop status and history |
42+
| `/agent-loop:triage` | One-shot repo queue triage |
43+
| `/agent-loop:autoreview` | One-shot PR review and fix |
4444

45-
## Skills
45+
## Skill Sources
4646

4747
Sources adapted for the agent-loop plugin:
4848

@@ -72,18 +72,18 @@ Sources adapted for the agent-loop plugin:
7272

7373
## Configuration
7474

75-
| Env Variable | Default | Description |
76-
|-------------|---------|-------------|
77-
| `AGENT_LOOP_INTERVAL` | 300 | Sleep between cycles (seconds) |
78-
| `AGENT_LOOP_MAX_CONCURRENCY` | 3 | Max parallel worker threads |
79-
| `AGENT_LOOP_SCOPE` | current | Default triage scope |
80-
| `AGENT_LOOP_LOG_DIR` | .agent-loop/logs | Log output directory |
81-
| `AGENT_LOOP_STATE_FILE` | .agent-loop/state.json | Persisted loop state |
82-
| `AGENT_LOOP_REPOS` | (from git remote) | Comma-separated repo list |
75+
| Env Variable | Default | Description |
76+
| ---------------------------- | ---------------------- | ------------------------------ |
77+
| `AGENT_LOOP_INTERVAL` | 300 | Sleep between cycles (seconds) |
78+
| `AGENT_LOOP_MAX_CONCURRENCY` | 3 | Max parallel worker threads |
79+
| `AGENT_LOOP_SCOPE` | current | Default triage scope |
80+
| `AGENT_LOOP_LOG_DIR` | .agent-loop/logs | Log output directory |
81+
| `AGENT_LOOP_STATE_FILE` | .agent-loop/state.json | Persisted loop state |
82+
| `AGENT_LOOP_REPOS` | (from git remote) | Comma-separated repo list |
8383

8484
## Plugin Structure
8585

86-
```
86+
```text
8787
agent-loop/
8888
├── .claude-plugin/
8989
│ └── plugin.json # Manifest (version 0.2.0)
@@ -111,17 +111,17 @@ agent-loop/
111111

112112
Follow semantic versioning (semver):
113113

114-
| Change Type | Version Bump | Example |
115-
|-------------|--------------|---------|
116-
| Bug fix, docs | Patch | 0.2.0 → 0.2.1 |
117-
| New feature, minor change | Minor | 0.2.0 → 0.3.0 |
118-
| Breaking change | Major | 0.2.0 → 1.0.0 |
114+
| Change Type | Version Bump | Example |
115+
| ------------------------- | ------------ | ------------- |
116+
| Bug fix, docs | Patch | 0.2.0 → 0.2.1 |
117+
| New feature, minor change | Minor | 0.2.0 → 0.3.0 |
118+
| Breaking change | Major | 0.2.0 → 1.0.0 |
119119

120120
## Commit Convention
121121

122122
Use semantic commits with plugin scope:
123123

124-
```
124+
```text
125125
feat(agent-loop): add new feature
126126
fix(agent-loop): fix bug
127127
docs(agent-loop): update documentation

agent-loop/commands/status.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Check the current state of the agent-loop.
2222

2323
## Output
2424

25-
```
25+
```text
2626
Agent Loop: RUNNING (PID: 42391)
2727
Started: 2026-06-11 00:00:00 UTC
2828
Uptime: 2h 14m 32s

agent-loop/commands/stop.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ Gracefully shut down the running agent-loop.
2424
2. Active threads get up to 120s to finish (or 0 with `--force`)
2525
3. Final state is persisted to `.agent-loop/state.json`
2626
4. Prints cycle summary:
27-
```
27+
28+
```text
2829
Agent Loop Stopped
2930
Cycles completed: 24
3031
Items processed: 87

0 commit comments

Comments
 (0)