@fyso/awareness-framework 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,176 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
package/README.md ADDED
@@ -0,0 +1,112 @@
1
+ # Awareness Framework
2
+
3
+ Awareness Framework is a working methodology for humans who use multiple AI agents across parallel tasks. It gives agents a shared operational protocol for current focus, task handoff, daily worklogs, and process evaluation without depending on hidden model memory.
4
+
5
+ This repository contains the framework, templates, and governance rules. It must not contain real awareness boards, daily worklogs, personal memories, customer details, or private task state.
6
+
7
+ ## What This Is
8
+
9
+ - A methodology for agent-assisted work.
10
+ - A shared vocabulary for awareness, worklog, handoff, and evaluation.
11
+ - A set of templates that can be copied into private local state.
12
+ - An optional helper CLI that maintains and checks private state.
13
+ - A reviewable process for improving the methodology over time.
14
+
15
+ ## What This Is Not
16
+
17
+ - Not a task manager.
18
+ - Not dependent on a CLI tool.
19
+ - Not a Jira replacement.
20
+ - Not a vector memory product.
21
+ - Not a place to store private operational state.
22
+
23
+ ## Core Artifacts
24
+
25
+ | Artifact | Versioned here? | Purpose |
26
+ |----------|-----------------|---------|
27
+ | Framework docs | Yes | Canonical methodology and rules |
28
+ | Templates | Yes | Sanitized starting points |
29
+ | Awareness board | No | Mutable private current state |
30
+ | Daily worklog | No | Append-only private record of the day |
31
+ | Personal memory | No | Durable private preferences and patterns |
32
+ | Evaluation notes | No by default | Private observations used to propose framework improvements |
33
+
34
+ Personality is treated as a private operating profile: continuity, voice, context sensitivity, bounded initiative, and honest repair. It must not become fake emotion, fake identity, or hidden autonomy.
35
+
36
+ ## Recommended Private Layout
37
+
38
+ ```text
39
+ ~/.agents/
40
+ AGENTS.md
41
+ awareness/
42
+ current.md
43
+ worklog/
44
+ YYYY-MM-DD.md
45
+ memory/
46
+ preferences.md
47
+ patterns.md
48
+ long-term.md
49
+ users/
50
+ <user>.md
51
+ evaluations/
52
+ YYYY-MM-DD.md
53
+ runtime/
54
+ hooks/
55
+ schedule/
56
+ channels/
57
+ <channel>/
58
+ awareness/
59
+ worklog/
60
+ memory/
61
+ users/
62
+ ```
63
+
64
+ ## Method
65
+
66
+ 1. At session start, the agent loads private awareness state. If the CLI is available, it runs `awareness status` or `awareness check`; otherwise it reads the private awareness board.
67
+ 2. When focus changes, the agent updates awareness and appends a task-switch worklog entry.
68
+ 3. When concrete progress happens, the agent appends a worklog entry with evidence.
69
+ 4. Before handoff, or when parallel work may have changed state, the agent refreshes from disk and leaves a clear current state and next action.
70
+ 5. At end of day, the agent prepares a task-grouped summary for human review.
71
+ 6. During evaluation, the agent identifies process friction and proposes framework changes through PRs.
72
+
73
+ ## Documentation
74
+
75
+ - [Install](docs/install.md)
76
+ - [Framework](docs/framework.md)
77
+ - [Lifecycle](docs/lifecycle.md)
78
+ - [Private State](docs/private-state.md)
79
+ - [Evaluation Loop](docs/evaluation-loop.md)
80
+ - [Memory Model](docs/memory.md)
81
+ - [Multi-User Scoping](docs/multi-user-scoping.md)
82
+ - [Hooks and Scheduling](docs/hooks-and-scheduling.md)
83
+ - [CLI](docs/cli.md)
84
+ - [Personality](docs/personality.md)
85
+ - [Adoption Guide](docs/adoption.md)
86
+ - [Governance](docs/governance.md)
87
+
88
+ ## Templates
89
+
90
+ - [Agent instructions](templates/agent-instructions.md)
91
+ - [CLI wrapper](templates/cli-wrapper.md)
92
+ - [Awareness board](templates/awareness-current.md)
93
+ - [Daily worklog](templates/daily-worklog.md)
94
+ - [End-of-day summary](templates/end-of-day-summary.md)
95
+ - [Evaluation note](templates/evaluation-note.md)
96
+ - [Framework improvement proposal](templates/framework-improvement-proposal.md)
97
+ - [Personality profile](templates/personality.md)
98
+
99
+ ## CLI Quick Start
100
+
101
+ ```bash
102
+ npm install -g @fyso/awareness-framework
103
+ awareness init
104
+ awareness init --wrappers
105
+ awareness status
106
+ awareness refresh
107
+ awareness check
108
+ awareness hook install --tool all --command "$(command -v awareness)"
109
+ awareness schedule install --cadence all --command "$(command -v awareness)"
110
+ ```
111
+
112
+ The CLI only reads and writes private local files. It does not post to Jira, GitHub, or any external system.
@@ -0,0 +1,9 @@
1
+ #!/usr/bin/env node
2
+
3
+ import { runCli } from '../src/cli.js';
4
+
5
+ process.exitCode = runCli(process.argv.slice(2), {
6
+ env: process.env,
7
+ stdout: process.stdout,
8
+ stderr: process.stderr,
9
+ });
@@ -0,0 +1,99 @@
1
+ # Adoption Guide
2
+
3
+ This framework can be adopted by any AI coding agent or assistant that can read and write local files.
4
+
5
+ ## Local Setup
6
+
7
+ Create private files outside this repository:
8
+
9
+ ```text
10
+ ~/.agents/
11
+ AGENTS.md
12
+ awareness/current.md
13
+ worklog/YYYY-MM-DD.md
14
+ ```
15
+
16
+ Copy the templates from `templates/` into private state and adapt paths for the operator.
17
+
18
+ Alternatively, use the helper CLI:
19
+
20
+ ```bash
21
+ npm install -g @fyso/awareness-framework
22
+ awareness init
23
+ awareness init --wrappers
24
+ ```
25
+
26
+ See [Install](install.md) for the full setup flow.
27
+
28
+ ## Agent Instruction Pattern
29
+
30
+ Use one canonical private instruction file:
31
+
32
+ ```text
33
+ ~/.agents/AGENTS.md
34
+ ```
35
+
36
+ Then use small per-agent wrappers that point to it.
37
+
38
+ This keeps the methodology consistent across agents while allowing each CLI to use its own instruction-file location.
39
+
40
+ ## Wrapper Pattern
41
+
42
+ Some agents support direct imports from instruction files. Others require explicit text telling the agent to read the canonical file.
43
+
44
+ Use a regular file for each wrapper. Avoid relying on symlinks unless the target CLI is known to resolve them correctly in the operator's environment.
45
+
46
+ Direct imports and `@path` expansion should be treated as session-start snapshots. They are useful for bootstrap context, but they do not guarantee that the agent sees changes made by another agent later in the session.
47
+
48
+ If the CLI is available, wrappers should instruct agents to use:
49
+
50
+ - `awareness status` or `awareness check` at session start
51
+ - `awareness refresh` before acting on possibly stale state
52
+ - `awareness handoff` before returning control
53
+
54
+ Example wrapper:
55
+
56
+ ```markdown
57
+ # Local Agent Instructions
58
+
59
+ Read and follow the canonical private protocol at:
60
+
61
+ @/Users/example/.agents/AGENTS.md
62
+
63
+ If your CLI does not expand `@` imports automatically, open that file explicitly before starting work.
64
+
65
+ If the Awareness CLI is available, run `awareness status` or `awareness check` at session start, `awareness refresh` before acting on possibly stale state, and `awareness handoff` before returning control.
66
+ ```
67
+
68
+ ## External Systems
69
+
70
+ The framework complements external systems.
71
+
72
+ | System | Role |
73
+ |--------|------|
74
+ | Jira | Planning, accountability, final worklog target |
75
+ | GitHub Issues | Code-related tasks and discussion |
76
+ | Pull requests | Reviewable code and documentation changes |
77
+ | Task managers | Optional project decomposition |
78
+ | Awareness board | Local current operating state |
79
+ | Daily worklog | Local chronological evidence |
80
+
81
+ Do not duplicate every external field. Store only what helps the next agent session and the end-of-day report.
82
+
83
+ ## End-of-Day Flow
84
+
85
+ 1. Read the daily worklog.
86
+ 2. Group entries by task ID.
87
+ 3. Attach evidence.
88
+ 4. Identify blockers.
89
+ 5. Prepare suggested external worklog text.
90
+ 6. Ask for human confirmation before posting.
91
+
92
+ ## Migration From Ad Hoc Notes
93
+
94
+ Start small:
95
+
96
+ 1. Use only `Current Focus`, `Active Tasks`, and the daily worklog.
97
+ 2. Add `Blocked Tasks` when parallel work increases.
98
+ 3. Add evaluation notes after the process has been used for at least one day.
99
+ 4. Promote only repeated improvements into this repository.
package/docs/cli.md ADDED
@@ -0,0 +1,300 @@
1
+ # CLI
2
+
3
+ The Awareness Framework CLI is an optional helper. The framework does not require a tool, but the CLI reduces how much methodology an agent must keep in context.
4
+
5
+ Instead of asking every agent to remember the full protocol, use commands that check and maintain private files.
6
+
7
+ ## Install
8
+
9
+ ```bash
10
+ npm install -g @fyso/awareness-framework
11
+ ```
12
+
13
+ See [Install](install.md) for first-run setup, wrapper initialization, updates, and custom paths.
14
+
15
+ For local development:
16
+
17
+ ```bash
18
+ npm install
19
+ npm test
20
+ npm link
21
+ ```
22
+
23
+ ## Private State
24
+
25
+ By default, commands use:
26
+
27
+ ```text
28
+ ~/.agents/
29
+ ```
30
+
31
+ Override with:
32
+
33
+ ```bash
34
+ awareness status --home /path/to/private/agents
35
+ ```
36
+
37
+ or:
38
+
39
+ ```bash
40
+ AGENTS_HOME=/path/to/private/agents awareness status
41
+ ```
42
+
43
+ Use channel-scoped state for multi-channel integrations:
44
+
45
+ ```bash
46
+ awareness status --channel support
47
+ ```
48
+
49
+ This resolves to:
50
+
51
+ ```text
52
+ ~/.agents/channels/support/
53
+ ```
54
+
55
+ Use `--agent-folder` as a clearer alias when the path is a base folder:
56
+
57
+ ```bash
58
+ awareness status --agent-folder /path/to/agents --channel support
59
+ ```
60
+
61
+ User memory is narrow and separate from the channel context. It lives under `memory/users/` inside the selected channel or base folder.
62
+
63
+ ## Session Bootstrap vs Operational Refresh
64
+
65
+ Instruction-file imports are a bootstrap mechanism. They can load a snapshot of `current.md` at session start, but they do not guarantee that an agent sees updates made later by another agent.
66
+
67
+ Use the CLI as the operational refresh and maintenance layer:
68
+
69
+ - At session start, run `awareness status` or `awareness check` when the CLI is available.
70
+ - If the session may be stale because another agent worked in parallel, run `awareness refresh`.
71
+ - Before handoff, run `awareness handoff` or `awareness check`.
72
+ - When changing state, prefer `awareness focus` and `awareness log` over manual edits.
73
+
74
+ If the CLI is not available, read `~/.agents/awareness/current.md` directly.
75
+
76
+ ## Commands
77
+
78
+ ### `init`
79
+
80
+ Creates the private directory structure and starter files if they do not exist.
81
+
82
+ ```bash
83
+ awareness init
84
+ ```
85
+
86
+ Creates:
87
+
88
+ - `AGENTS.md`
89
+ - `awareness/current.md`
90
+ - `worklog/YYYY-MM-DD.md`
91
+ - `memory/personality.md`
92
+ - `memory/preferences.md`
93
+ - `memory/patterns.md`
94
+ - `memory/long-term.md`
95
+ - `evaluations/`
96
+ - `runtime/`
97
+
98
+ Create regular wrapper files for Codex, Claude Code, OpenCode, and Pi:
99
+
100
+ ```bash
101
+ awareness init --wrappers
102
+ ```
103
+
104
+ Existing wrappers are preserved. To replace them intentionally:
105
+
106
+ ```bash
107
+ awareness init --wrappers --overwrite-wrappers
108
+ ```
109
+
110
+ Use custom roots for tests or non-standard machines:
111
+
112
+ ```bash
113
+ awareness init --wrappers \
114
+ --home /path/to/.agents \
115
+ --user-home /path/to/user-home \
116
+ --config-home /path/to/config-home
117
+ ```
118
+
119
+ ### `status`
120
+
121
+ Shows the current focus and warnings.
122
+
123
+ ```bash
124
+ awareness status
125
+ ```
126
+
127
+ ### `refresh`
128
+
129
+ Reloads the awareness board from disk and prints the current status. This is an alias for `status` with a name that makes the cross-agent refresh intent explicit.
130
+
131
+ ```bash
132
+ awareness refresh
133
+ ```
134
+
135
+ ### `check`
136
+
137
+ Checks whether private state is maintainable.
138
+
139
+ ```bash
140
+ awareness check
141
+ awareness check --strict
142
+ ```
143
+
144
+ Use `--strict` in automation when warnings should fail the command.
145
+
146
+ ### `focus`
147
+
148
+ Updates `Current Focus`, upserts the task in `Active Tasks`, and appends a worklog entry.
149
+
150
+ ```bash
151
+ awareness focus \
152
+ --task PROJECT-123 \
153
+ --summary "Agent awareness framework" \
154
+ --repo fyso-dev/awareness-framework \
155
+ --branch codex/cli-and-personality \
156
+ --next "Run tests and open a PR"
157
+ ```
158
+
159
+ ### `log`
160
+
161
+ Appends a concrete progress entry to the daily worklog.
162
+
163
+ ```bash
164
+ awareness log \
165
+ --task PROJECT-123 \
166
+ --summary "Added CLI helper" \
167
+ --changes "Implemented init, status, check, focus, log, handoff, evaluate, and personality commands." \
168
+ --evidence "src/cli.js"
169
+ ```
170
+
171
+ ### `handoff`
172
+
173
+ Prints a handoff snapshot from the awareness board.
174
+
175
+ ```bash
176
+ awareness handoff
177
+ ```
178
+
179
+ ### `evaluate`
180
+
181
+ Builds a private daily evaluation note using simple heuristics.
182
+
183
+ ```bash
184
+ awareness evaluate
185
+ awareness evaluate --print
186
+ awareness evaluate --force
187
+ ```
188
+
189
+ The CLI does not automatically change the framework. Repeated findings should become reviewed framework changes.
190
+
191
+ ### `hook run`
192
+
193
+ Records a lightweight lifecycle event from an agent CLI hook.
194
+
195
+ ```bash
196
+ awareness hook run --tool codex --event session-start
197
+ awareness hook run --tool claude --event pre-compact --quiet
198
+ awareness hook run --tool opencode --event session.idle
199
+ ```
200
+
201
+ This writes JSON lines under:
202
+
203
+ ```text
204
+ ~/.agents/runtime/hooks/YYYY-MM-DD.jsonl
205
+ ```
206
+
207
+ Hook events do not append to the daily worklog. Use `awareness log` for human-relevant progress.
208
+
209
+ ### `hook install`
210
+
211
+ Installs supported hook integrations.
212
+
213
+ ```bash
214
+ awareness hook install --tool all --command "$(command -v awareness)"
215
+ awareness hook install --tool codex --command "$(command -v awareness)"
216
+ awareness hook install --tool claude --command "$(command -v awareness)"
217
+ awareness hook install --tool opencode --command "$(command -v awareness)"
218
+ ```
219
+
220
+ Generated files:
221
+
222
+ - `~/.codex/hooks.json`
223
+ - `~/.claude/settings.json`
224
+ - `~/.config/opencode/plugins/awareness-framework.js`
225
+
226
+ Use an absolute `--command` path when hooks run outside an interactive shell.
227
+
228
+ For OpenCode, `--overwrite` replaces an existing non-generated plugin file. Use it only when that file is intentionally managed by this framework.
229
+
230
+ ### `schedule run`
231
+
232
+ Runs periodic maintenance.
233
+
234
+ ```bash
235
+ awareness schedule run --cadence hourly
236
+ awareness schedule run --cadence daily
237
+ ```
238
+
239
+ Hourly runs record warnings under `runtime/schedule/`. Daily runs also create `evaluations/YYYY-MM-DD.md` if it does not exist.
240
+
241
+ ### `schedule install`
242
+
243
+ Installs macOS LaunchAgents for global periodic execution.
244
+
245
+ ```bash
246
+ awareness schedule install --cadence all --command "$(command -v awareness)"
247
+ awareness schedule install --cadence all --command "$(command -v awareness)" --load
248
+ ```
249
+
250
+ Generated files:
251
+
252
+ - `~/Library/LaunchAgents/dev.fyso.awareness.hourly.plist`
253
+ - `~/Library/LaunchAgents/dev.fyso.awareness.daily.plist`
254
+
255
+ See [Hooks and Scheduling](hooks-and-scheduling.md) for tool-specific notes.
256
+
257
+ ### `user show`
258
+
259
+ Shows narrow memory for a user. If `--channel` is provided, memory is read from that channel's private state.
260
+
261
+ ```bash
262
+ awareness user show --user user-123
263
+ awareness user show --channel support --user user-123
264
+ ```
265
+
266
+ ### `user note`
267
+
268
+ Appends a small evidence-backed fact about a user.
269
+
270
+ ```bash
271
+ awareness user note \
272
+ --channel support \
273
+ --user user-123 \
274
+ --kind question \
275
+ --text "Asked how worklog automation should be organized" \
276
+ --evidence "Message link or timestamp"
277
+ ```
278
+
279
+ Supported kinds:
280
+
281
+ - `nickname`
282
+ - `question`
283
+ - `topic`
284
+ - `preference`
285
+ - `fact`
286
+ - `note`
287
+
288
+ User notes do not create a full awareness workspace for that user. Channel context remains in `awareness/` and `worklog/`; user memory remains in `memory/users/<user>.md`.
289
+
290
+ ## Personality Commands
291
+
292
+ Personality is stored privately in `~/.agents/memory/personality.md`.
293
+
294
+ ```bash
295
+ awareness personality show
296
+ awareness personality note --text "User prefers concise Spanish status updates" --evidence "Repeated feedback"
297
+ awareness personality adopt --text "Use direct, pragmatic Spanish for work updates" --evidence "User confirmed preference"
298
+ ```
299
+
300
+ Candidate observations are cheap to record. Accepted traits should come from repeated evidence or explicit user confirmation.