@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 +176 -0
- package/README.md +112 -0
- package/bin/awareness.js +9 -0
- package/docs/adoption.md +99 -0
- package/docs/cli.md +300 -0
- package/docs/evaluation-loop.md +128 -0
- package/docs/framework.md +95 -0
- package/docs/governance.md +48 -0
- package/docs/hooks-and-scheduling.md +160 -0
- package/docs/install.md +250 -0
- package/docs/lifecycle.md +125 -0
- package/docs/memory.md +173 -0
- package/docs/multi-user-scoping.md +146 -0
- package/docs/personality.md +144 -0
- package/docs/private-state.md +157 -0
- package/package.json +45 -0
- package/src/cli.js +1330 -0
- package/templates/agent-instructions.md +37 -0
- package/templates/awareness-current.md +53 -0
- package/templates/cli-wrapper.md +11 -0
- package/templates/daily-worklog.md +11 -0
- package/templates/end-of-day-summary.md +27 -0
- package/templates/evaluation-note.md +42 -0
- package/templates/framework-improvement-proposal.md +24 -0
- package/templates/memory-long-term.md +37 -0
- package/templates/personality.md +38 -0
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
# Private State
|
|
2
|
+
|
|
3
|
+
Private state is the live operational data used by agents during the day. It should not be committed to this repository.
|
|
4
|
+
|
|
5
|
+
## Recommended Paths
|
|
6
|
+
|
|
7
|
+
```text
|
|
8
|
+
~/.agents/
|
|
9
|
+
AGENTS.md
|
|
10
|
+
awareness/current.md
|
|
11
|
+
worklog/YYYY-MM-DD.md
|
|
12
|
+
memory/preferences.md
|
|
13
|
+
memory/patterns.md
|
|
14
|
+
memory/personality.md
|
|
15
|
+
memory/long-term.md
|
|
16
|
+
memory/users/<user>.md
|
|
17
|
+
evaluations/YYYY-MM-DD.md
|
|
18
|
+
runtime/hooks/YYYY-MM-DD.jsonl
|
|
19
|
+
runtime/schedule/YYYY-MM-DD.jsonl
|
|
20
|
+
channels/<channel>/
|
|
21
|
+
awareness/current.md
|
|
22
|
+
worklog/YYYY-MM-DD.md
|
|
23
|
+
memory/users/<user>.md
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Awareness Board
|
|
27
|
+
|
|
28
|
+
The awareness board is mutable. It represents the current operating state.
|
|
29
|
+
|
|
30
|
+
Use it for:
|
|
31
|
+
|
|
32
|
+
- current focus
|
|
33
|
+
- active tasks
|
|
34
|
+
- paused tasks
|
|
35
|
+
- blocked tasks
|
|
36
|
+
- waiting-on-user items
|
|
37
|
+
- next actions
|
|
38
|
+
- evidence pointers
|
|
39
|
+
|
|
40
|
+
Do not use it as:
|
|
41
|
+
|
|
42
|
+
- a full historical archive
|
|
43
|
+
- a replacement for the worklog
|
|
44
|
+
- a private memory dump
|
|
45
|
+
- a duplicate of all Jira fields
|
|
46
|
+
|
|
47
|
+
## Daily Worklog
|
|
48
|
+
|
|
49
|
+
The daily worklog is append-only.
|
|
50
|
+
|
|
51
|
+
Use it for:
|
|
52
|
+
|
|
53
|
+
- starts
|
|
54
|
+
- switches
|
|
55
|
+
- concrete progress
|
|
56
|
+
- decisions
|
|
57
|
+
- verification
|
|
58
|
+
- blockers
|
|
59
|
+
- PRs, commits, and deployments
|
|
60
|
+
|
|
61
|
+
Corrections should be appended as new entries.
|
|
62
|
+
|
|
63
|
+
## Memory
|
|
64
|
+
|
|
65
|
+
Memory is optional and private.
|
|
66
|
+
|
|
67
|
+
Use it for:
|
|
68
|
+
|
|
69
|
+
- operator preferences
|
|
70
|
+
- recurring working patterns
|
|
71
|
+
- stable project context
|
|
72
|
+
- repeated review guidance
|
|
73
|
+
- durable collaboration rules
|
|
74
|
+
- narrow participant memory such as nicknames, repeated questions, topics, and explicit preferences
|
|
75
|
+
|
|
76
|
+
Do not use it for:
|
|
77
|
+
|
|
78
|
+
- secrets
|
|
79
|
+
- tokens
|
|
80
|
+
- sensitive customer data
|
|
81
|
+
- raw chat transcripts
|
|
82
|
+
|
|
83
|
+
See [Memory Model](memory.md) for the short-term, episodic, and long-term memory lifecycle.
|
|
84
|
+
|
|
85
|
+
## Channel Scope
|
|
86
|
+
|
|
87
|
+
Channel-scoped state isolates context for multi-channel integrations.
|
|
88
|
+
|
|
89
|
+
Use it for:
|
|
90
|
+
|
|
91
|
+
- per-channel awareness
|
|
92
|
+
- per-channel worklogs
|
|
93
|
+
- per-channel evaluations
|
|
94
|
+
- per-channel user memory
|
|
95
|
+
|
|
96
|
+
Do not use it to create a full workspace per user. User memory should stay narrow under `memory/users/<user>.md`.
|
|
97
|
+
|
|
98
|
+
## Evaluation Notes
|
|
99
|
+
|
|
100
|
+
Evaluation notes are private by default. They are used to decide whether the framework should change.
|
|
101
|
+
|
|
102
|
+
Only sanitized observations should be copied into framework improvement proposals.
|
|
103
|
+
|
|
104
|
+
## Runtime Events
|
|
105
|
+
|
|
106
|
+
Runtime events are local automation records generated by hooks and scheduled maintenance.
|
|
107
|
+
|
|
108
|
+
Use them for:
|
|
109
|
+
|
|
110
|
+
- checking whether hooks fired
|
|
111
|
+
- recording scheduler health checks
|
|
112
|
+
- debugging stale or missing private state
|
|
113
|
+
|
|
114
|
+
Do not use them as:
|
|
115
|
+
|
|
116
|
+
- task evidence
|
|
117
|
+
- worklog replacement
|
|
118
|
+
- long-term memory
|
|
119
|
+
- external reporting input without review
|
|
120
|
+
|
|
121
|
+
## Personality Profile
|
|
122
|
+
|
|
123
|
+
The personality profile is private durable memory for collaboration style.
|
|
124
|
+
|
|
125
|
+
Use it for:
|
|
126
|
+
|
|
127
|
+
- preferred tone and language
|
|
128
|
+
- update style
|
|
129
|
+
- formatting preferences
|
|
130
|
+
- recurring collaboration habits
|
|
131
|
+
|
|
132
|
+
Do not use it for:
|
|
133
|
+
|
|
134
|
+
- secrets
|
|
135
|
+
- sensitive personal data
|
|
136
|
+
- customer information
|
|
137
|
+
- fictional identity claims
|
|
138
|
+
- rules that override direct user instructions
|
|
139
|
+
|
|
140
|
+
## Version Control Guardrails
|
|
141
|
+
|
|
142
|
+
This repository includes `.gitignore` entries for common private-state paths. That does not replace review.
|
|
143
|
+
|
|
144
|
+
Before committing, check that the diff contains only:
|
|
145
|
+
|
|
146
|
+
- docs
|
|
147
|
+
- templates
|
|
148
|
+
- sanitized examples
|
|
149
|
+
- governance changes
|
|
150
|
+
|
|
151
|
+
Never commit:
|
|
152
|
+
|
|
153
|
+
- real daily worklogs
|
|
154
|
+
- real awareness boards
|
|
155
|
+
- personal memories
|
|
156
|
+
- local credentials
|
|
157
|
+
- customer-specific task details
|
package/package.json
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@fyso/awareness-framework",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Methodology and helper CLI for agent awareness, initialization, daily worklogs, handoffs, and evaluation loops.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"author": "Fyso",
|
|
7
|
+
"homepage": "https://github.com/fyso-dev/awareness-framework#readme",
|
|
8
|
+
"repository": {
|
|
9
|
+
"type": "git",
|
|
10
|
+
"url": "git+https://github.com/fyso-dev/awareness-framework.git"
|
|
11
|
+
},
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/fyso-dev/awareness-framework/issues"
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"agents",
|
|
17
|
+
"awareness",
|
|
18
|
+
"worklog",
|
|
19
|
+
"memory",
|
|
20
|
+
"cli",
|
|
21
|
+
"handoff",
|
|
22
|
+
"automation"
|
|
23
|
+
],
|
|
24
|
+
"bin": {
|
|
25
|
+
"awareness": "bin/awareness.js"
|
|
26
|
+
},
|
|
27
|
+
"files": [
|
|
28
|
+
"bin",
|
|
29
|
+
"src",
|
|
30
|
+
"docs",
|
|
31
|
+
"templates",
|
|
32
|
+
"README.md"
|
|
33
|
+
],
|
|
34
|
+
"publishConfig": {
|
|
35
|
+
"access": "public"
|
|
36
|
+
},
|
|
37
|
+
"scripts": {
|
|
38
|
+
"test": "node --test",
|
|
39
|
+
"prepublishOnly": "npm test"
|
|
40
|
+
},
|
|
41
|
+
"engines": {
|
|
42
|
+
"node": ">=20"
|
|
43
|
+
},
|
|
44
|
+
"license": "Apache-2.0"
|
|
45
|
+
}
|