Skip to content

Commit 693a6ed

Browse files
committed
Update repo-template capture and skills policy
project: aware agent: 019d6ebe-3413-78d3-bdae-c7af38845b64 role: orchestrator artifacts: LOG-20260409-002, DEC-20260409-002
1 parent 4de38ef commit 693a6ed

8 files changed

Lines changed: 292 additions & 28 deletions

File tree

AGENTS.md

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ It should enforce repo behavior while deferring canonical policy details to `REP
1212
- `STATUS.md`
1313
- `PLANS.md`
1414
- `INBOX.md`
15+
- `skills/README.md`
1516

16-
If the repo includes reusable workflows, also read `skills/README.md` and the relevant `skills/<name>/SKILL.md`.
17+
Before running a repeatable repo workflow, read the relevant `skills/<name>/SKILL.md`. Treat skills as repo-native procedures even when the agent runtime does not auto-load them.
1718

1819
When writing into a repo surface or artifact directory, read the matching local guide first. That means the surface template itself for `SPEC.md`, `STATUS.md`, `PLANS.md`, and `INBOX.md`, and the local `README.md` in directories such as `research/`, `records/decisions/`, and `records/agent-worklogs/`.
1920

@@ -28,11 +29,14 @@ When writing into a repo surface or artifact directory, read the matching local
2829

2930
## Operating Rules
3031

31-
- Keep durable truth in repo files, not only in chat.
32+
- Keep durable truth in repo files, not only in external tools.
3233
- Route work using the routing ladder in `REPO.md`.
3334
- Preserve the boundary between `SPEC.md`, `STATUS.md`, `PLANS.md`, `INBOX.md`, `research/`, `records/decisions/`, and `records/agent-worklogs/`.
3435
- Worker agents should prefer worklogs, evidence, and proposals. The orchestrator or operator owns truth-doc updates unless the operator explicitly allows a different flow.
36+
- Treat `INBOX.md` as pressure, not a backlog. During inbox review, cluster capture and promote only survived triage.
37+
- Promote sparsely. Do not mirror one evolving thought into research, decisions, plans, spec, status, upstream records, and worklogs.
3538
- When creating artifacts or commits, follow the stable-ID and provenance rules in `REPO.md`.
39+
- Use `skills/<name>/SKILL.md` for repeatable repo procedures instead of copying one-off instructions into repo-wide policy.
3640
- Prefer appending to the current relevant `LOG-*` instead of creating a new one unless the work is materially distinct or reuse would harm clarity.
3741
- When hooks or CI are enabled, normal commits must satisfy the provenance checks; bootstrap or migration exceptions must be explicit exceptions only.
3842
- Prefer the local surface template or directory `README.md` shape over ad hoc formatting when it defines one.
@@ -42,6 +46,15 @@ When writing into a repo surface or artifact directory, read the matching local
4246
When you write or update repo artifacts, adherence to the repo's ruleset is required.
4347

4448
- Do not invent a new document shape when the repo already provides a canonical surface, directory `README.md`, or explicit template.
45-
- Do not collapse truth, plans, decisions, research, inbox intake, and worklogs into one mixed artifact.
46-
- Do not replace normalized repo artifacts with freeform chat summaries.
49+
- Do not collapse truth, plans, decisions, research, inbox capture, and worklogs into one mixed artifact.
50+
- Do not promote exploratory debate into `SPEC.md`, `STATUS.md`, `PLANS.md`, or `records/decisions/` until there is a concise accepted outcome for that layer.
51+
- Do not turn an inbox review into a giant digest of every low-confidence idea. Report counts or clusters when full detail does not protect focus.
4752
- If an artifact needs a justified local variation, keep the core fields and section order intact and make the smallest possible deviation.
53+
54+
## Skills
55+
56+
`skills/<name>/SKILL.md` files are reusable procedures for bounded workflows.
57+
58+
- Keep them procedural.
59+
- Do not duplicate canonical repo policy inside them.
60+
- Use them to standardize repeatable tasks, escalation triggers, and output shape.

AWARE-AGENT-PROMPT.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ Use this file as a pointer, not as the canonical product spec.
88
- `SPEC.md` holds durable product truth.
99
- `STATUS.md` holds current operational reality.
1010
- `PLANS.md` holds accepted future direction only.
11-
- `INBOX.md` is the scratch surface for untriaged intake.
11+
- `INBOX.md` is the scratch surface for untriaged capture.
1212
- `records/decisions/` and `records/agent-worklogs/` store durable decisions and execution history.
13+
- `skills/README.md` and `skills/<name>/SKILL.md` store required repo-native procedures.
1314

1415
## Working Rules
1516

INBOX.md

Lines changed: 31 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
11
# Aware Inbox
22

3-
This file is an ephemeral scratch disk for intake waiting to be triaged.
3+
This file is an ephemeral scratch disk for capture waiting to be triaged.
44

55
Rules:
66

7-
- Keep it easy to append to from messenger, operator notes, or agent capture.
7+
- Keep it easy to append to from external capture, operator notes, or agent capture.
8+
- Use it as a pressure valve for untriaged capture, not as a backlog or brainstorm graveyard.
9+
- Group related raw source events into one meaningful inbox entry when possible.
10+
- Triage meaningful capture packets or clusters, not every raw source event and not an entire external history.
11+
- During daily review, route, research, plan, discard, or leave capture; do not produce a giant project digest.
12+
- It is okay to report counts or clusters of held, noisy, stale, or discarded items without summarizing every item.
13+
- Do not update truth docs directly from inbox. Route through the orchestrator or an operator-approved decision.
814
- Remove entries once they are reflected into durable repo artifacts.
915
- Keep the stable `IBX-*` id even after the inbox entry itself is later deleted.
1016
- Do not treat this file as durable truth.
1117

12-
## Active Intake
18+
## Active Capture
1319

14-
No active intake items are currently recorded.
20+
No active capture items are currently recorded.
1521

1622
When the next item arrives, use this default shape:
1723

@@ -20,13 +26,32 @@ When the next item arrives, use this default shape:
2026
- Opened: `YYYY-MM-DD HH-mm-ss KST`
2127
- Recorded by agent:
2228
- Source:
29+
- Source / capture ids:
30+
- Capture packet:
2331
- Received:
2432
- Summary:
25-
- Triage status: `new` | `in review` | `reflected` | `dropped`
33+
- Confidence: `low` | `medium` | `high`
34+
- Triage status: `new` | `held` | `in review` | `reflected` | `dropped`
35+
- Triage decision: `route` | `research` | `plan` | `discard` | `leave`
2636
- Suggested destination:
2737
- Related ids:
2838
- Notes:
2939

40+
## Daily Pressure Review Scratch
41+
42+
Use this section during a daily IBX review, then clear it after entries are routed, held, discarded, or escalated.
43+
44+
- Review date:
45+
- Reviewer:
46+
- Inbox pressure summary:
47+
- Clusters reviewed:
48+
- Promotion candidates:
49+
- Research candidates:
50+
- Plan candidates:
51+
- Discard or purge candidates:
52+
- Held without full summary:
53+
- Operator route questions:
54+
3055
## Purge Rule
3156

32-
Once an item has been reflected into `SPEC.md`, `STATUS.md`, `PLANS.md`, `research/`, `records/decisions/`, `records/agent-worklogs/`, or a future `upstream-intake/` module if the repo later adds one, remove the inbox entry.
57+
Once an item has been reflected into `SPEC.md`, `STATUS.md`, `PLANS.md`, `research/`, `records/decisions/`, `records/agent-worklogs/`, a future `upstream-intake/` module if the repo later adds one, or a deliberate discard/hold note, remove the inbox entry.

REPO.md

Lines changed: 116 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ The goal is simple:
1818
- Project id: `aware`
1919
- Canonical user-facing docs remain in `README.md`, `docs/`, and `release-notes/`.
2020
- Canonical repo-operating docs live in `SPEC.md`, `STATUS.md`, `PLANS.md`, `INBOX.md`, `research/`, `records/decisions/`, and `records/agent-worklogs/`.
21+
- Canonical repo procedures live in `skills/`.
2122
- `AGENTS.md` is the canonical editable agent-instructions entrypoint for tools that require one.
2223
- `CLAUDE.md` is a thin compatibility shim that points to `AGENTS.md`.
2324
- `AWARE-AGENT-PROMPT.md` is a legacy bootstrap pointer, not a second policy layer.
@@ -32,10 +33,36 @@ Every repo using this system should separate these surfaces:
3233
| `SPEC.md` | Durable statement of what the project is supposed to be. | rewritten |
3334
| `STATUS.md` | What is true right now operationally. | rewritten |
3435
| `PLANS.md` | Accepted future direction that is not current truth yet. | rewritten |
35-
| `INBOX.md` | Ephemeral intake waiting for triage. | append then purge |
36+
| `INBOX.md` | Ephemeral capture waiting for triage. | append then purge |
3637
| `research/` | Curated research memos worth keeping. | append by new file |
3738
| `records/decisions/` | Durable decision records with rationale. | append-only by new file |
3839
| `records/agent-worklogs/` | Execution history for runs, agents, and subagents. | append-only |
40+
| `skills/` | Required procedural workflows for repeatable agent tasks. | edit by skill |
41+
42+
## Agent Compatibility Files
43+
44+
Some coding agents look for repo-root instruction files such as `AGENTS.md` or `CLAUDE.md`.
45+
46+
When a repo using this model includes them:
47+
48+
- they should act as entrypoints into the canonical rules, not competing policy documents
49+
- they should stay short enough that they do not drift from `REPO.md`
50+
- `AGENTS.md` should be the main editable agent-instructions file when both files exist
51+
- `CLAUDE.md` should be a thin shim that points to `AGENTS.md` when the tool supports it
52+
- `SKILL.md` stays separate because it defines a bounded reusable procedure, not repo-wide policy
53+
- `skills/` should ship with adopted repos as repo-native procedural documentation, even when the agent runtime does not auto-load skills
54+
- optional repo subsystems may have optional companion skills
55+
56+
Recommended split:
57+
58+
- `REPO.md`
59+
- canonical rules
60+
- `AGENTS.md`
61+
- canonical editable agent-instructions file
62+
- `CLAUDE.md`
63+
- Claude Code shim that points to `AGENTS.md`
64+
- `skills/<name>/SKILL.md`
65+
- procedure for one repeatable workflow
3966

4067
## Separation Rules
4168

@@ -71,12 +98,13 @@ The orchestrator owns synthesis and routing.
7198
It may:
7299

73100
- triage inbox items
101+
- run daily inbox pressure reviews
74102
- classify work into the right artifact layer
75103
- update `SPEC.md`, `STATUS.md`, and `PLANS.md`
76104
- create research memos
77105
- create decision records
78106
- append to the current relevant worklog or create a new one when the work is materially distinct
79-
- translate messenger intake into repo artifacts
107+
- translate external capture into repo artifacts
80108
- escalate non-obvious product, architecture, workflow, or policy calls
81109

82110
### Worker Agents
@@ -91,24 +119,96 @@ They may:
91119

92120
They should not update `SPEC.md`, `STATUS.md`, or `PLANS.md` directly unless the operator explicitly allows that flow.
93121

94-
### Messenger Surfaces
122+
### External Capture Surfaces
95123

96-
Messenger surfaces are intake and control channels.
124+
External capture surfaces are capture and control channels.
97125

98126
They may:
99127

100-
- create or append inbox intake
128+
- create or append inbox capture
101129
- request approvals
102130
- deliver summaries
103131
- surface blocked states
104132

105133
They must not write truth docs directly.
106134

135+
### Capture Packets
136+
137+
Raw external source events are immutable Off-Git events.
138+
Do not treat every raw source event as a separate repo artifact.
139+
Do not treat a full external-tool history as one giant inbox item.
140+
141+
Use capture packets as mutable working envelopes around one or more relevant raw source events.
142+
143+
A capture packet may be:
144+
145+
- appended as new related source events arrive
146+
- edited into a clearer operator-intent summary
147+
- split when it contains multiple independent asks
148+
- merged when several source events are one meaningful thread
149+
- summarized into `INBOX.md` as an `IBX-*`
150+
- routed into durable repo artifacts after triage
151+
152+
Triage should happen per meaningful capture packet.
153+
Routed repo artifacts should copy a short summary, the stable inbox ID, and any needed external provenance handle instead of relying on raw external source staying visible.
154+
155+
## Inbox Pressure Review
156+
157+
`INBOX.md` is an ephemeral scratch disk for untriaged capture.
158+
It is not a backlog, roadmap, brainstorm archive, or project digest.
159+
160+
Run a daily inbox pressure review when the project receives substantial capture.
161+
This review is focus-protecting triage.
162+
It is not an unconditional digest of every random idea.
163+
164+
During the review:
165+
166+
- group related `IBX-*` entries and capture packets into meaningful clusters
167+
- identify stale, duplicate, low-confidence, noisy, or "maybe later" capture
168+
- ask whether each meaningful cluster should route, research, plan, discard, or stay held
169+
- promote only items that survived triage and have an accepted destination
170+
- report counts or clusters of held, discarded, stale, or noisy capture instead of summarizing every low-signal item
171+
- preserve `IBX-*` as a permanent provenance ID even if the inbox line is deleted
172+
173+
Do not update `SPEC.md`, `STATUS.md`, `PLANS.md`, `research/`, or `records/decisions/` directly from raw inbox pressure.
174+
The orchestrator or operator-approved routing step owns promotion.
175+
176+
## Promotion Discipline
177+
178+
Promotion should be sparse.
179+
Do not mirror one evolving thought into every repo surface.
180+
181+
Raw shaping may stay in external capture, generic notes, off-Git capture packets, or `INBOX.md` while the thought is still forming.
182+
Repo artifacts are a refinery: each layer should receive only the part that belongs there, when it is ready.
183+
184+
Use each layer for its distinct job:
185+
186+
- `INBOX.md`
187+
- ephemeral routed capture
188+
- `research/`
189+
- reusable exploration, evidence, framing, rejected paths, and open questions
190+
- `records/decisions/`
191+
- meaningful accepted choices and why the winning choice won
192+
- `PLANS.md`
193+
- accepted future work that survived triage
194+
- `SPEC.md`
195+
- concise durable product or system truth after the argument is settled
196+
- `STATUS.md`
197+
- current operational reality
198+
- `records/agent-worklogs/`
199+
- execution history, not truth, decision, plan, or research mirrors
200+
201+
A research memo may remain research forever.
202+
A decision record should exist only when a real product, architecture, workflow, trust, upstream, or repo-operating choice has been made.
203+
`SPEC.md`, `STATUS.md`, and `PLANS.md` should receive concise outcomes, not copied debate.
204+
205+
One task may touch multiple layers, but each touched layer must have its own distinct job.
206+
107207
## Orchestrator Routing Ladder
108208

109209
When new work arrives, the orchestrator should classify it in this order:
110210

111-
1. Is this untriaged intake?
211+
1. Is this untriaged capture?
112212
- Route to `INBOX.md`.
113213
2. Is this durable truth about what the project is?
114214
- Route to `SPEC.md`.
@@ -129,10 +229,14 @@ One task may legitimately touch multiple layers. For example:
129229
- a product choice can create `DEC-*` and update `PLANS.md`
130230
- implementation progress can append to an existing relevant `LOG-*` and update `STATUS.md`
131231

232+
Touch multiple layers only when each layer receives distinct information.
233+
Do not copy the same evolving thought into research, decision, plan, spec, status, upstream, and log surfaces.
234+
132235
## Write Rules
133236

134237
- `SPEC.md`, `STATUS.md`, and `PLANS.md` should be updated only by the operator or orchestrator.
135-
- `INBOX.md` is an aggressive scratch disk. Purge entries once they are reflected elsewhere.
238+
- `INBOX.md` is an aggressive scratch disk. Purge entries once they are reflected elsewhere or explicitly discarded.
239+
- Daily inbox review should reduce pressure by clustering, routing, holding, or purging capture; it should not generate a larger digest by default.
136240
- `research/` keeps curated findings only.
137241
- `records/decisions/` is append-only by new decision file.
138242
- `records/agent-worklogs/` is append-only by appended entries or, when clarity requires it, a new log file.
@@ -228,11 +332,15 @@ The Off-Git runtime should answer:
228332

229333
- which conversation or run the `agent-id` maps to
230334
- whether the agent was top-level or a subagent
231-
- which messages or events produced the artifact
335+
- which source events produced the artifact
232336
- which commits belong to that `agent-id`
233337

234338
## Scaffold Rule
235339

236340
This repo uses the repo-template skeleton as a canonical layout, not a loose grab-bag of snippets.
237341

238342
Keep the operating surfaces recognizable so future operators and agents can recover context quickly.
343+
344+
In repo-template source, scaffold files live under `scaffold/`.
345+
After adoption, the scaffold contents belong at the target repo root.
346+
For example, `scaffold/skills/repo-orchestrator/SKILL.md` becomes `skills/repo-orchestrator/SKILL.md` in the adopted repo.

records/agent-worklogs/LOG-20260409-002-normalize-repo-template-docs.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,21 @@ Introduce repo-root `AGENTS.md` and `CLAUDE.md`, then normalize the touched repo
6161
- Output: replaced the generic spec outline with an Aware-native durable spec, preserved current accepted facts from the source tree, restored durable privacy/capture/detection contracts from the pre-adoption README and agent prompt where still current, and relaxed `research/README.md` to the current memo-oriented guidance because this repo has no `RSH-*` memos yet
6262
- Blockers: none
6363
- Next: hand off the reconciled docs and call out old-source facts that were intentionally not restored because they conflict with current runtime
64+
65+
## Entry 2026-04-09 20-23-25 KST
66+
67+
- Action: adopted repo-template's sparse promotion discipline and capture packet vocabulary in Aware's live operating-policy surfaces
68+
- Files touched: `REPO.md`, `AGENTS.md`, `INBOX.md`, `AWARE-AGENT-PROMPT.md`, `skills/repo-orchestrator/SKILL.md`, `records/agent-worklogs/LOG-20260409-002-normalize-repo-template-docs.md`
69+
- Checks run: live-policy `rg` scans for old `messenger`, `chat`, `raw message`, `intake span`, and `Active Intake` vocabulary; live-policy `rg` scan for new capture / capture packet / promotion discipline vocabulary; `git diff --check`; targeted verbatim-block check for imported repo-template text
70+
- Output: replaced live generic intake/messenger/chat wording with current capture vocabulary, added capture-packet, inbox-pressure, and sparse-promotion policy, aligned the inbox skeleton's generic labels, and kept `upstream-intake/` omitted because Aware still has no upstream-review module
71+
- Blockers: none
72+
- Next: summarize the targeted policy adoption, preserved local adaptations, and checks run
73+
74+
## Entry 2026-04-09 20-35-32 KST
75+
76+
- Action: migrated Aware to repo-template's mandatory repo-native skills layer
77+
- Files touched: `REPO.md`, `AGENTS.md`, `AWARE-AGENT-PROMPT.md`, `skills/README.md`, `skills/daily-inbox-pressure-review/SKILL.md`, `records/agent-worklogs/LOG-20260409-002-normalize-repo-template-docs.md`
78+
- Checks run: root-skill Markdown link validation, stale optional-skills wording scan, `test ! -e scaffold`, root `skills/` inventory
79+
- Output: kept `skills/` at the adopted repo root, made `skills/README.md`, `skills/repo-orchestrator/SKILL.md`, and `skills/daily-inbox-pressure-review/SKILL.md` the required baseline, documented skills as repo-native procedures, and continued omitting `skills/upstream-intake/` because Aware does not use `upstream-intake/`
80+
- Blockers: none
81+
- Next: run final link, stale wording, vocabulary, and diff hygiene checks

skills/README.md

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,37 @@
11
# Skills
22

3-
This directory is optional.
3+
This directory is part of Aware's repo-template operating layer.
44

5-
Use it when the environment supports reusable procedural skills or workflows.
5+
Use it as repo-native procedural documentation.
6+
Agents should read the relevant workflow even when their runtime does not auto-load skills.
67

7-
## What Lives Here
8+
Each reusable workflow should live at `skills/<name>/SKILL.md`.
9+
10+
## Required Baseline Skills
811

912
- `repo-orchestrator/`
1013
- Routes work into `SPEC.md`, `STATUS.md`, `PLANS.md`, `INBOX.md`, `research/`, `records/decisions/`, and `records/agent-worklogs/`.
14+
- `daily-inbox-pressure-review/`
15+
- Focus-protecting daily triage for `IBX-*` capture and capture packets.
1116

12-
## Omitted For Now
17+
## Conditional Skills
1318

14-
- `upstream-intake/` is not included because Aware is not currently using the optional upstream-review module.
19+
- `upstream-intake/`
20+
- Companion workflow for the optional upstream-review module.
21+
- Omitted because Aware is not currently using the optional upstream-review module.
1522

1623
Keep skills procedural.
1724
Do not duplicate the canonical rules from `REPO.md` inside them.
25+
26+
Use `SKILL.md` for:
27+
28+
- step-by-step procedures
29+
- required inputs and expected outputs
30+
- escalation triggers
31+
- links to supporting templates or reference docs
32+
33+
Do not use `SKILL.md` for:
34+
35+
- repo-wide policy
36+
- general project truth
37+
- local or personal preferences that belong in tool-specific memory files

0 commit comments

Comments
 (0)