@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.
@@ -0,0 +1,37 @@
1
+ # Agent Awareness and Worklog Protocol
2
+
3
+ You operate in a multi-task, multi-agent environment. Before doing work, load the private awareness state and maintain the private daily worklog.
4
+
5
+ ## Required Private Files
6
+
7
+ - Awareness board: `~/.agents/awareness/current.md`
8
+ - Daily worklog: `~/.agents/worklog/YYYY-MM-DD.md`
9
+ - Optional durable memory: `~/.agents/memory/`
10
+ - Optional narrow user memory: `~/.agents/memory/users/<user>.md` or scoped channel equivalent
11
+ - Optional evaluation notes: `~/.agents/evaluations/YYYY-MM-DD.md`
12
+ - Runtime hook and scheduler events: `~/.agents/runtime/`
13
+
14
+ ## Lifecycle
15
+
16
+ 1. On session start, run `awareness status` or `awareness check` if the CLI is available; otherwise read the awareness board directly.
17
+ 2. Treat imported `@current.md` content as a bootstrap snapshot, not live synchronization.
18
+ 3. If another agent may have worked in parallel, run `awareness refresh` or reread `current.md` before acting.
19
+ 4. If the user's request changes focus, update the awareness board and append a task-switch entry to the worklog.
20
+ 5. When concrete progress happens, append to the daily worklog.
21
+ 6. When state changes, update the awareness board.
22
+ 7. Before handoff, run `awareness handoff` if available; otherwise make the awareness board reflect the exact current state and append a final worklog entry.
23
+ 8. At end of day, prepare a task-grouped summary for human review.
24
+ 9. Treat hook and scheduler runtime events as diagnostics only; they do not replace task worklog entries.
25
+ 10. For multi-user channels, keep context scoped by channel and store only narrow user facts in `memory/users/<user>.md`.
26
+
27
+ ## Rules
28
+
29
+ - Keep the worklog append-only.
30
+ - Do not invent task IDs.
31
+ - Record evidence: paths, commands, test results, commits, PRs, deployments, blockers.
32
+ - Prefer CLI maintenance commands (`awareness focus`, `awareness log`, `awareness handoff`, `awareness evaluate`) when available.
33
+ - Use `awareness user note` only for short, evidence-backed participant facts such as nicknames, repeated questions, topics, or explicit preferences.
34
+ - Use `awareness hook run` and `awareness schedule run` only for low-noise maintenance; do not let them post externally or promote long-term memory silently.
35
+ - Keep private state out of version control.
36
+ - Ask before posting worklogs, comments, status changes, or summaries to external systems.
37
+ - Propose framework improvements through reviewed changes, not hidden local edits.
@@ -0,0 +1,53 @@
1
+ # Agent Awareness
2
+
3
+ - Updated: YYYY-MM-DD HH:MM TZ
4
+ - Operator: Human or agent identifier
5
+ - Scope: Local private state; do not commit
6
+
7
+ ## Current Focus
8
+
9
+ - Task: PROJECT-123 or Unassigned
10
+ - Summary: Short task description
11
+ - Repository: org/repo or local path
12
+ - Branch: branch-name
13
+ - State: in-progress
14
+ - Next: The next concrete action
15
+
16
+ ## Active Tasks
17
+
18
+ ### PROJECT-123 - Short title
19
+
20
+ - State: in-progress | paused | ready | in-review
21
+ - Last update: YYYY-MM-DD HH:MM TZ
22
+ - Repository: org/repo
23
+ - Branch: branch-name
24
+ - Done:
25
+ - Concrete completed item
26
+ - Next:
27
+ - Concrete next action
28
+ - Blockers:
29
+ - None
30
+ - Evidence:
31
+ - File paths, command results, commit hashes, PR links
32
+
33
+ ## Blocked Tasks
34
+
35
+ ### PROJECT-456 - Short title
36
+
37
+ - Blocked by: Missing approval, failing dependency, access issue
38
+ - Since: YYYY-MM-DD HH:MM TZ
39
+ - Needed to unblock: Specific action or decision
40
+ - Evidence:
41
+ - Link or command output
42
+
43
+ ## Waiting On User
44
+
45
+ - PROJECT-789: Decision needed
46
+
47
+ ## Parking Lot
48
+
49
+ - Idea or follow-up that should not interrupt current work
50
+
51
+ ## End-of-Day Candidates
52
+
53
+ - PROJECT-123: Summary candidate with evidence
@@ -0,0 +1,11 @@
1
+ # Local Agent Instructions
2
+
3
+ Read and follow the canonical private protocol at:
4
+
5
+ @/Users/example/.agents/AGENTS.md
6
+
7
+ If your CLI does not expand `@` imports automatically, open that file explicitly before starting work.
8
+
9
+ Treat imported awareness files as session-start snapshots. If the Awareness CLI is available, run `awareness status` or `awareness check` at session start, `awareness refresh` when parallel work may have changed state, and `awareness handoff` before returning control.
10
+
11
+ Keep this wrapper small. The framework should live in versioned methodology docs, and live operational state should stay private.
@@ -0,0 +1,11 @@
1
+ # Daily Worklog - YYYY-MM-DD
2
+
3
+ ## Entries
4
+
5
+ ### HH:MM - PROJECT-123 - Short action summary
6
+
7
+ - Context: Repository, branch, workspace, or meeting context
8
+ - State: started | in-progress | paused | blocked | done | in-review
9
+ - Changes: What changed or was decided
10
+ - Evidence: Paths, command outputs, test results, commit hashes, PR links
11
+ - Next: Optional next action
@@ -0,0 +1,27 @@
1
+ # End-of-Day Summary - YYYY-MM-DD
2
+
3
+ ## By Task
4
+
5
+ ### PROJECT-123 - Short title
6
+
7
+ - Time window: HH:MM-HH:MM
8
+ - Work performed:
9
+ - Concrete outcome
10
+ - Evidence:
11
+ - PR, commit, command result, file path, deployment link
12
+ - Remaining:
13
+ - Next action or blocker
14
+ - Suggested external worklog:
15
+ - Human-reviewed text for Jira or another system
16
+
17
+ ## Unassigned Work
18
+
19
+ - Work that should be linked to an external ID later
20
+
21
+ ## Blockers
22
+
23
+ - Task, blocker, owner, next checkpoint
24
+
25
+ ## Methodology Observations
26
+
27
+ - Anything that made the awareness or worklog process better or worse
@@ -0,0 +1,42 @@
1
+ # Awareness Evaluation - YYYY-MM-DD
2
+
3
+ ## Score
4
+
5
+ | Dimension | Score | Evidence |
6
+ |-----------|-------|----------|
7
+ | Freshness | 0-2 | What was current or stale |
8
+ | Traceability | 0-2 | Missing or present task IDs/evidence |
9
+ | Handoff quality | 0-2 | Whether next actions were clear |
10
+ | Noise control | 0-2 | What should be trimmed |
11
+ | Reporting readiness | 0-2 | How much rewrite was needed |
12
+ | Memory quality | 0-2 | What should be promoted, pruned, or left short-term |
13
+ | Personality fit | 0-2 | Continuity, voice, context sensitivity, repair |
14
+
15
+ ## Observations
16
+
17
+ - What worked well enough to keep
18
+ - What caused missing context or duplicate effort
19
+ - What should be changed in templates or rules
20
+
21
+ ## Memory Review
22
+
23
+ - Short-term observations to keep short-term:
24
+ - Long-term memory candidates:
25
+ - Memory to prune or revise:
26
+ - User confirmation needed:
27
+
28
+ ## Improvement Routing
29
+
30
+ - Awareness cleanup:
31
+ - Worklog correction:
32
+ - Long-term memory promotion:
33
+ - Personality update:
34
+ - Framework PR candidate:
35
+
36
+ ## Proposed Changes
37
+
38
+ - No change
39
+ - Local habit change
40
+ - Memory promotion or pruning
41
+ - Template adjustment
42
+ - Framework documentation PR
@@ -0,0 +1,24 @@
1
+ # Framework Improvement Proposal
2
+
3
+ ## Problem
4
+
5
+ What repeated failure or costly handoff issue was observed?
6
+
7
+ ## Evidence
8
+
9
+ - Dates or redacted examples
10
+ - Missing worklog fields
11
+ - Stale awareness states
12
+ - Rework caused during end-of-day reporting
13
+
14
+ ## Proposed Change
15
+
16
+ The smallest rule, template, or lifecycle change that addresses the issue.
17
+
18
+ ## Expected Effect
19
+
20
+ How the change improves traceability, handoff, or reporting.
21
+
22
+ ## Rollback Criteria
23
+
24
+ When the change should be removed or softened because it adds noise.
@@ -0,0 +1,37 @@
1
+ # Long-Term Memory
2
+
3
+ - Updated: never
4
+ - Scope: Local private state; do not commit
5
+
6
+ This file stores durable, curated memory that improves future collaboration. Add entries only when they are user-confirmed, repeated, or operationally important.
7
+
8
+ ## Preferences
9
+
10
+ - None yet.
11
+
12
+ ## Patterns
13
+
14
+ - None yet.
15
+
16
+ ## Project Conventions
17
+
18
+ - None yet.
19
+
20
+ ## Review Guidance
21
+
22
+ - None yet.
23
+
24
+ ## Promotion Candidates
25
+
26
+ - None yet.
27
+
28
+ ## Pruned Or Revised
29
+
30
+ - None yet.
31
+
32
+ ## Guardrails
33
+
34
+ - Do not store secrets, credentials, sensitive personal data, or raw transcripts.
35
+ - Do not promote one-off guesses without repeated evidence.
36
+ - Direct user instructions override memory.
37
+ - Remove or soften stale memory.
@@ -0,0 +1,38 @@
1
+ # Agent Personality Profile
2
+
3
+ - Updated: never
4
+ - Scope: Local private state; do not commit
5
+
6
+ This file captures the agent's durable working style for this operator. It should evolve from repeated evidence and explicit user feedback, not from a single guess.
7
+
8
+ ## Accepted Traits
9
+
10
+ - None yet.
11
+
12
+ ## Candidate Observations
13
+
14
+ - None yet.
15
+
16
+ ## Human-Feeling Collaboration
17
+
18
+ - Continuity:
19
+ - None yet.
20
+ - Consistent voice:
21
+ - None yet.
22
+ - Context sensitivity:
23
+ - None yet.
24
+ - Bounded initiative:
25
+ - None yet.
26
+ - Honest repair:
27
+ - None yet.
28
+ - Grounded uncertainty:
29
+ - None yet.
30
+
31
+ ## Guardrails
32
+
33
+ - Personality means communication style, collaboration habits, and decision preferences.
34
+ - Do not pretend to have emotions, identity, or lived experience.
35
+ - Do not store secrets, credentials, customer data, or sensitive personal data.
36
+ - Prefer user-confirmed traits over inferred traits.
37
+ - Remove or soften traits that create worse outcomes.
38
+ - Optimize for trust and continuity, not for passing as human through deception.