owledge 0.6.0__py3-none-any.whl
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.
- owledge-0.6.0.data/data/AGENTS.template.md +88 -0
- owledge-0.6.0.data/data/CLAUDE.template.md +88 -0
- owledge-0.6.0.data/data/DESIGN.md +114 -0
- owledge-0.6.0.data/data/PROJECT_CONTEXT.template.md +169 -0
- owledge-0.6.0.data/data/REPORT_DESIGN_SELECTOR.html +757 -0
- owledge-0.6.0.data/data/USER_CONTEXT.template.md +57 -0
- owledge-0.6.0.data/data/VERSION +1 -0
- owledge-0.6.0.data/data/skills/agent-memory-principles/SKILL.md +50 -0
- owledge-0.6.0.data/data/skills/agent-memory-principles/references/agent-rules.md +38 -0
- owledge-0.6.0.data/data/skills/agent-memory-principles/references/mapping-contract.md +51 -0
- owledge-0.6.0.data/data/skills/agent-memory-principles/references/principles.md +36 -0
- owledge-0.6.0.data/data/skills/agent-memory-principles/references/security-rules.md +43 -0
- owledge-0.6.0.data/data/skills/agent-memory-runtime-bridge/SKILL.md +72 -0
- owledge-0.6.0.data/data/skills/owledge-planning-layer/SKILL.md +71 -0
- owledge-0.6.0.data/data/skills/owledge-planning-layer/references/planning-layer.md +89 -0
- owledge-0.6.0.data/data/skills/render-memory-report/SKILL.md +49 -0
- owledge-0.6.0.data/data/skills/render-memory-report/references/agent-activity-report.md +30 -0
- owledge-0.6.0.data/data/skills/render-memory-report/references/decision-report.md +31 -0
- owledge-0.6.0.data/data/skills/render-memory-report/references/execution-dashboard.md +31 -0
- owledge-0.6.0.data/data/skills/render-memory-report/references/handoff-report.md +31 -0
- owledge-0.6.0.data/data/skills/render-memory-report/references/project-dashboard.md +31 -0
- owledge-0.6.0.data/data/skills/render-memory-report/references/project-site.md +33 -0
- owledge-0.6.0.data/data/skills/render-memory-report/references/rag-readiness-report.md +31 -0
- owledge-0.6.0.data/data/skills/render-memory-report/references/report-design-systems.md +45 -0
- owledge-0.6.0.data/data/skills/render-memory-report/references/website-ui-report.md +44 -0
- owledge-0.6.0.data/data/skills/review-evaluation-workflow/SKILL.md +78 -0
- owledge-0.6.0.data/data/templates/agent-memory/README.md +145 -0
- owledge-0.6.0.data/data/templates/agent-memory/canonical/.gitkeep +1 -0
- owledge-0.6.0.data/data/templates/agent-memory/compiled/.gitkeep +1 -0
- owledge-0.6.0.data/data/templates/agent-memory/decisions/.gitkeep +1 -0
- owledge-0.6.0.data/data/templates/agent-memory/evidence/.gitkeep +1 -0
- owledge-0.6.0.data/data/templates/agent-memory/evidence/promotions/.gitkeep +1 -0
- owledge-0.6.0.data/data/templates/agent-memory/exports/graphrag/.gitkeep +1 -0
- owledge-0.6.0.data/data/templates/agent-memory/exports/lightrag/.gitkeep +1 -0
- owledge-0.6.0.data/data/templates/agent-memory/exports/rag/.gitkeep +1 -0
- owledge-0.6.0.data/data/templates/agent-memory/handoffs/.gitkeep +1 -0
- owledge-0.6.0.data/data/templates/agent-memory/ideas/.gitkeep +1 -0
- owledge-0.6.0.data/data/templates/agent-memory/indexes/.gitkeep +1 -0
- owledge-0.6.0.data/data/templates/agent-memory/lessons/.gitkeep +1 -0
- owledge-0.6.0.data/data/templates/agent-memory/patterns/.gitkeep +1 -0
- owledge-0.6.0.data/data/templates/agent-memory/pi-agent/concepts/.gitkeep +1 -0
- owledge-0.6.0.data/data/templates/agent-memory/pi-agent/evaluations/.gitkeep +1 -0
- owledge-0.6.0.data/data/templates/agent-memory/pi-agent/indexes/.gitkeep +1 -0
- owledge-0.6.0.data/data/templates/agent-memory/pi-agent/parallels/.gitkeep +1 -0
- owledge-0.6.0.data/data/templates/agent-memory/pi-agent/recurring-errors/.gitkeep +1 -0
- owledge-0.6.0.data/data/templates/agent-memory/pi-agent/red-team/.gitkeep +1 -0
- owledge-0.6.0.data/data/templates/agent-memory/pi-agent/reports/.gitkeep +1 -0
- owledge-0.6.0.data/data/templates/agent-memory/pi-agent/scorecards/.gitkeep +1 -0
- owledge-0.6.0.data/data/templates/agent-memory/pi-agent/trends/.gitkeep +1 -0
- owledge-0.6.0.data/data/templates/agent-memory/plans/.gitkeep +0 -0
- owledge-0.6.0.data/data/templates/agent-memory/schemas/agent.schema.json +22 -0
- owledge-0.6.0.data/data/templates/agent-memory/schemas/canonical-memory.schema.json +7 -0
- owledge-0.6.0.data/data/templates/agent-memory/schemas/compiled-memory.schema.json +7 -0
- owledge-0.6.0.data/data/templates/agent-memory/schemas/context-pack.schema.json +19 -0
- owledge-0.6.0.data/data/templates/agent-memory/schemas/edge.schema.json +18 -0
- owledge-0.6.0.data/data/templates/agent-memory/schemas/epic.schema.json +16 -0
- owledge-0.6.0.data/data/templates/agent-memory/schemas/frontmatter.schema.json +40 -0
- owledge-0.6.0.data/data/templates/agent-memory/schemas/gate-report.schema.json +17 -0
- owledge-0.6.0.data/data/templates/agent-memory/schemas/global-user-memory.schema.json +24 -0
- owledge-0.6.0.data/data/templates/agent-memory/schemas/graphrag-edge.schema.json +14 -0
- owledge-0.6.0.data/data/templates/agent-memory/schemas/graphrag-node.schema.json +14 -0
- owledge-0.6.0.data/data/templates/agent-memory/schemas/lightrag-export.schema.json +19 -0
- owledge-0.6.0.data/data/templates/agent-memory/schemas/pattern-card.schema.json +7 -0
- owledge-0.6.0.data/data/templates/agent-memory/schemas/promotion.schema.json +17 -0
- owledge-0.6.0.data/data/templates/agent-memory/schemas/qa-spec.schema.json +16 -0
- owledge-0.6.0.data/data/templates/agent-memory/schemas/rag-document.schema.json +15 -0
- owledge-0.6.0.data/data/templates/agent-memory/schemas/shared-lesson.schema.json +14 -0
- owledge-0.6.0.data/data/templates/agent-memory/schemas/task-card.schema.json +22 -0
- owledge-0.6.0.data/data/templates/agent-memory/schemas/tenant.schema.json +14 -0
- owledge-0.6.0.data/data/templates/agent-memory/schemas/workpackage.schema.json +17 -0
- owledge-0.6.0.data/data/templates/agent-memory/sessions/.gitkeep +1 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/adr-template.md +44 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/agent-lane-handoff-template.md +28 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/agent-quality-scorecard-template.md +48 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/agent-session-template.md +64 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/canonical-memory-template.md +45 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/coach-report-template.md +39 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/compiled-memory-template.md +47 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/context-pack-template.md +31 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/cross-project-import-manifest-template.md +26 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/daily-note-template.md +36 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/epic-overview-template.md +39 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/evaluation-framework-template.md +61 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/evaluation-persona-pack-template.md +82 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/evidence-template.md +40 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/expert-lens-evaluation-template.md +115 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/gate-report-template.md +31 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/goal-card-template.md +39 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/handoff-packet-template.md +31 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/handoff-template.md +42 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/idea-card-template.md +70 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/multi-perspective-red-team-review-template.md +143 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/onboarding-profile-template.md +36 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/orchestration-delta-template.md +59 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/pattern-card-template.md +44 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/personal-pattern-template.md +34 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/personal-task-template.md +36 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/pi-central-project-template.md +48 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/pi-intelligence-report-template.md +53 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/pi-parallel-report-template.md +44 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/pi-recurring-error-template.md +45 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/pi-red-team-evaluation-template.md +54 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/preference-card-template.md +39 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/project-execution-snapshot-template.md +54 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/project-index-template.md +39 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/project-site-html-template.md +25 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/project-story-snapshot-template.md +52 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/promotion-proposal-template.md +28 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/qa-gate-template.md +42 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/qa-spec-template.md +27 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/rag-export-manifest-template.json +10 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/research-card-template.md +45 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/review-to-task-plan-template.md +85 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/root-review-template.md +47 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/scenario-simulation-evaluation-template.md +92 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/shared-lesson-template.md +42 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/swarm-orchestration-plan-template.md +31 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/task-card-template.md +43 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/techspec-template.md +31 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/user-context-template.md +38 -0
- owledge-0.6.0.data/data/templates/agent-memory/templates/workpackage-template.md +35 -0
- owledge-0.6.0.dist-info/METADATA +349 -0
- owledge-0.6.0.dist-info/RECORD +140 -0
- owledge-0.6.0.dist-info/WHEEL +5 -0
- owledge-0.6.0.dist-info/entry_points.txt +2 -0
- owledge-0.6.0.dist-info/licenses/LICENSE +21 -0
- owledge-0.6.0.dist-info/top_level.txt +1 -0
- tools/__init__.py +6 -0
- tools/agent_memory_cli.py +5747 -0
- tools/build_kb_module.py +499 -0
- tools/build_project_folder_kit.py +335 -0
- tools/cross-project-hub/.gitkeep +0 -0
- tools/cross-project-hub/build-cross-project-map.py +36 -0
- tools/decision-trace/.gitkeep +0 -0
- tools/decision-trace/render-decision-trace.py +339 -0
- tools/enterprise-context-benchmark/.gitkeep +0 -0
- tools/enterprise-context-benchmark/run-enterprise-context-benchmark.py +743 -0
- tools/owledge.py +1961 -0
- tools/poweruser-positioning/.gitkeep +0 -0
- tools/poweruser-positioning/render-poweruser-positioning.py +242 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "Agent Operating Notes Template"
|
|
3
|
+
date: "YYYY-MM-DD"
|
|
4
|
+
version: "0.1.0"
|
|
5
|
+
status: "template"
|
|
6
|
+
owner: "OWNER"
|
|
7
|
+
tenant_id: "TENANT_ID"
|
|
8
|
+
customer_id: "CUSTOMER_ID"
|
|
9
|
+
project: "PROJECT_NAME"
|
|
10
|
+
project_id: "PROJECT_ID"
|
|
11
|
+
type: "template"
|
|
12
|
+
session_id: "YYYY-MM-DD-short-task-title"
|
|
13
|
+
agent_id: "orchestrator"
|
|
14
|
+
parent_session: ""
|
|
15
|
+
related_files:
|
|
16
|
+
- "PROJECT_CONTEXT.md"
|
|
17
|
+
tags:
|
|
18
|
+
- agents
|
|
19
|
+
- runtime-instructions
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
# Agent Operating Notes
|
|
23
|
+
|
|
24
|
+
This file is intentionally mirrored with the sibling runtime instruction file. Keep `AGENTS.md` and `CLAUDE.md` in sync.
|
|
25
|
+
|
|
26
|
+
## Start Here
|
|
27
|
+
|
|
28
|
+
1. Read `USER_CONTEXT.md` when present for private user preferences, goals, and agent collaboration defaults.
|
|
29
|
+
2. Read `PROJECT_CONTEXT.md` before starting substantial project work.
|
|
30
|
+
3. Check `global-memory/preferences/`, `global-memory/goals/`, and `global-memory/research/` when planning or personal context matters.
|
|
31
|
+
4. Check `agent-memory/README.md` for the multi-agent documentation workflow.
|
|
32
|
+
5. Check active local plans in `agent-plans/` if the task references planning, architecture, or handoff context.
|
|
33
|
+
6. Check `agent-memory/ideas/` and `global-memory/ideas/` before drafting new plans or proposing new projects.
|
|
34
|
+
7. Use `agent-memory/pi-agent/` reports when the task asks about trends, parallels, recurring errors, or central project candidates.
|
|
35
|
+
8. Use `agent-memory/pi-agent/red-team/` scorecards when PI findings or agent outputs need quality challenge.
|
|
36
|
+
9. Use `README.md` and `docs/` for user-facing setup details.
|
|
37
|
+
|
|
38
|
+
## Memory Layers
|
|
39
|
+
|
|
40
|
+
| Layer | Path | Tracked | Purpose |
|
|
41
|
+
| --- | --- | --- | --- |
|
|
42
|
+
| Global user context | `USER_CONTEXT.md` | No by default | Private user profile, preferences, goals, and agent collaboration defaults |
|
|
43
|
+
| Global user memory | `global-memory/` | No by default | Private preferences, goals, daily notes, tasks, ideas, research, patterns, and coach reports |
|
|
44
|
+
| Canonical project router | `PROJECT_CONTEXT.md` | Yes | Current vision, state, architecture, plans, decisions, and next actions |
|
|
45
|
+
| Stable agent memory | `agent-memory/` | Yes | Session summaries, ADRs, templates, and reusable workflow documentation |
|
|
46
|
+
| Idea memory | `agent-memory/ideas/` | Yes | Captured ideas and future project opportunities |
|
|
47
|
+
| PI intelligence | `agent-memory/pi-agent/` | Yes | Candidate reports, parallels, trends, recurring errors, and central project concepts |
|
|
48
|
+
| PI red team | `agent-memory/pi-agent/red-team/` | Yes | Scorecards and challenge reports for PI findings |
|
|
49
|
+
| Local working plans | `agent-plans/` | No | Volatile task plans and scratch planning notes |
|
|
50
|
+
| User-facing docs | `README.md`, `docs/` | Yes | Setup, operations, release, and deployment guides |
|
|
51
|
+
|
|
52
|
+
## Multi-Agent Session Rules
|
|
53
|
+
|
|
54
|
+
- One writer per file.
|
|
55
|
+
- Subagents never edit canonical docs.
|
|
56
|
+
- Orchestrators own deltas.
|
|
57
|
+
- Reviewers own reviews.
|
|
58
|
+
- Stable findings are promoted only after review.
|
|
59
|
+
|
|
60
|
+
## Markdown Memory Rules
|
|
61
|
+
|
|
62
|
+
- Treat Markdown frontmatter and typed edges as the durable source of truth.
|
|
63
|
+
- Use stable `memory_id` values for links, graph edges, and RAG ids.
|
|
64
|
+
- Read `USER_CONTEXT.md`, relevant global preferences/goals/research, `PROJECT_CONTEXT.md`, then `agent-memory/indexes/memory-index.jsonl`, then relevant compiled/canonical docs.
|
|
65
|
+
- Workers write only sessions, evidence, handoffs, and task notes.
|
|
66
|
+
- Ideas are captured in `agent-memory/ideas/` as drafts and checked before new plans.
|
|
67
|
+
- Global ideas, preferences, goals, daily notes, tasks, research and coach reports live under `global-memory/` and remain private by default.
|
|
68
|
+
- Daily notes, personal tasks, and onboarding profiles are deep-dive sources only and are not default RAG input.
|
|
69
|
+
- Research cards must include source URL, source date, retrieval date, version context, valid-until date, and confidence.
|
|
70
|
+
- Coach recommendations must cite source memory IDs and include a next action.
|
|
71
|
+
- PI Agent findings are candidate intelligence in `agent-memory/pi-agent/` and require review before promotion.
|
|
72
|
+
- PI Red Team evaluations score outputs from 1-100 and classify them as `block`, `revise`, `accept`, or `promote-candidate`.
|
|
73
|
+
- Orchestrators and memory curators own promotion into canonical, compiled, patterns, and lessons.
|
|
74
|
+
- Attach evidence and gate reports before requesting promotion.
|
|
75
|
+
- Do not mark work `done` unless the required QA gates pass.
|
|
76
|
+
- Build a task-specific context pack instead of pasting long transcripts.
|
|
77
|
+
- Do not export raw sessions to shared RAG by default.
|
|
78
|
+
- Preserve contradictions through `contradicts` edges instead of overwriting history.
|
|
79
|
+
- Do not read, claim, export, or promote artifacts from another `tenant_id` unless `shared_scope` explicitly allows it.
|
|
80
|
+
|
|
81
|
+
## Optional Runtime Adapters
|
|
82
|
+
|
|
83
|
+
SQLite, HTTP, MCP, or runtime plugins may coordinate work, but they must not become the canonical memory store. Generated indexes and RAG exports can always be rebuilt from Markdown.
|
|
84
|
+
|
|
85
|
+
The optional `plugins/agent-memory-cowork/` adapter can capture Claude/Cowork runtime events into private sessions and draft summaries. Treat those drafts as unreviewed until a memory curator promotes them.
|
|
86
|
+
|
|
87
|
+
The optional `plugins/pi-agent-workspace/` adapter can run workspace checks and PI intelligence reports. Treat generated PI reports as review inputs, not accepted memory.
|
|
88
|
+
The optional Red Team PI Agent challenges PI reports and agent outputs before promotion decisions.
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "Agent Operating Notes Template"
|
|
3
|
+
date: "YYYY-MM-DD"
|
|
4
|
+
version: "0.1.0"
|
|
5
|
+
status: "template"
|
|
6
|
+
owner: "OWNER"
|
|
7
|
+
tenant_id: "TENANT_ID"
|
|
8
|
+
customer_id: "CUSTOMER_ID"
|
|
9
|
+
project: "PROJECT_NAME"
|
|
10
|
+
project_id: "PROJECT_ID"
|
|
11
|
+
type: "template"
|
|
12
|
+
session_id: "YYYY-MM-DD-short-task-title"
|
|
13
|
+
agent_id: "orchestrator"
|
|
14
|
+
parent_session: ""
|
|
15
|
+
related_files:
|
|
16
|
+
- "PROJECT_CONTEXT.md"
|
|
17
|
+
tags:
|
|
18
|
+
- agents
|
|
19
|
+
- runtime-instructions
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
# Agent Operating Notes
|
|
23
|
+
|
|
24
|
+
This file is intentionally mirrored with the sibling runtime instruction file. Keep `AGENTS.md` and `CLAUDE.md` in sync.
|
|
25
|
+
|
|
26
|
+
## Start Here
|
|
27
|
+
|
|
28
|
+
1. Read `USER_CONTEXT.md` when present for private user preferences, goals, and agent collaboration defaults.
|
|
29
|
+
2. Read `PROJECT_CONTEXT.md` before starting substantial project work.
|
|
30
|
+
3. Check `global-memory/preferences/`, `global-memory/goals/`, and `global-memory/research/` when planning or personal context matters.
|
|
31
|
+
4. Check `agent-memory/README.md` for the multi-agent documentation workflow.
|
|
32
|
+
5. Check active local plans in `agent-plans/` if the task references planning, architecture, or handoff context.
|
|
33
|
+
6. Check `agent-memory/ideas/` and `global-memory/ideas/` before drafting new plans or proposing new projects.
|
|
34
|
+
7. Use `agent-memory/pi-agent/` reports when the task asks about trends, parallels, recurring errors, or central project candidates.
|
|
35
|
+
8. Use `agent-memory/pi-agent/red-team/` scorecards when PI findings or agent outputs need quality challenge.
|
|
36
|
+
9. Use `README.md` and `docs/` for user-facing setup details.
|
|
37
|
+
|
|
38
|
+
## Memory Layers
|
|
39
|
+
|
|
40
|
+
| Layer | Path | Tracked | Purpose |
|
|
41
|
+
| --- | --- | --- | --- |
|
|
42
|
+
| Global user context | `USER_CONTEXT.md` | No by default | Private user profile, preferences, goals, and agent collaboration defaults |
|
|
43
|
+
| Global user memory | `global-memory/` | No by default | Private preferences, goals, daily notes, tasks, ideas, research, patterns, and coach reports |
|
|
44
|
+
| Canonical project router | `PROJECT_CONTEXT.md` | Yes | Current vision, state, architecture, plans, decisions, and next actions |
|
|
45
|
+
| Stable agent memory | `agent-memory/` | Yes | Session summaries, ADRs, templates, and reusable workflow documentation |
|
|
46
|
+
| Idea memory | `agent-memory/ideas/` | Yes | Captured ideas and future project opportunities |
|
|
47
|
+
| PI intelligence | `agent-memory/pi-agent/` | Yes | Candidate reports, parallels, trends, recurring errors, and central project concepts |
|
|
48
|
+
| PI red team | `agent-memory/pi-agent/red-team/` | Yes | Scorecards and challenge reports for PI findings |
|
|
49
|
+
| Local working plans | `agent-plans/` | No | Volatile task plans and scratch planning notes |
|
|
50
|
+
| User-facing docs | `README.md`, `docs/` | Yes | Setup, operations, release, and deployment guides |
|
|
51
|
+
|
|
52
|
+
## Multi-Agent Session Rules
|
|
53
|
+
|
|
54
|
+
- One writer per file.
|
|
55
|
+
- Subagents never edit canonical docs.
|
|
56
|
+
- Orchestrators own deltas.
|
|
57
|
+
- Reviewers own reviews.
|
|
58
|
+
- Stable findings are promoted only after review.
|
|
59
|
+
|
|
60
|
+
## Markdown Memory Rules
|
|
61
|
+
|
|
62
|
+
- Treat Markdown frontmatter and typed edges as the durable source of truth.
|
|
63
|
+
- Use stable `memory_id` values for links, graph edges, and RAG ids.
|
|
64
|
+
- Read `USER_CONTEXT.md`, relevant global preferences/goals/research, `PROJECT_CONTEXT.md`, then `agent-memory/indexes/memory-index.jsonl`, then relevant compiled/canonical docs.
|
|
65
|
+
- Workers write only sessions, evidence, handoffs, and task notes.
|
|
66
|
+
- Ideas are captured in `agent-memory/ideas/` as drafts and checked before new plans.
|
|
67
|
+
- Global ideas, preferences, goals, daily notes, tasks, research and coach reports live under `global-memory/` and remain private by default.
|
|
68
|
+
- Daily notes, personal tasks, and onboarding profiles are deep-dive sources only and are not default RAG input.
|
|
69
|
+
- Research cards must include source URL, source date, retrieval date, version context, valid-until date, and confidence.
|
|
70
|
+
- Coach recommendations must cite source memory IDs and include a next action.
|
|
71
|
+
- PI Agent findings are candidate intelligence in `agent-memory/pi-agent/` and require review before promotion.
|
|
72
|
+
- PI Red Team evaluations score outputs from 1-100 and classify them as `block`, `revise`, `accept`, or `promote-candidate`.
|
|
73
|
+
- Orchestrators and memory curators own promotion into canonical, compiled, patterns, and lessons.
|
|
74
|
+
- Attach evidence and gate reports before requesting promotion.
|
|
75
|
+
- Do not mark work `done` unless the required QA gates pass.
|
|
76
|
+
- Build a task-specific context pack instead of pasting long transcripts.
|
|
77
|
+
- Do not export raw sessions to shared RAG by default.
|
|
78
|
+
- Preserve contradictions through `contradicts` edges instead of overwriting history.
|
|
79
|
+
- Do not read, claim, export, or promote artifacts from another `tenant_id` unless `shared_scope` explicitly allows it.
|
|
80
|
+
|
|
81
|
+
## Optional Runtime Adapters
|
|
82
|
+
|
|
83
|
+
SQLite, HTTP, MCP, or runtime plugins may coordinate work, but they must not become the canonical memory store. Generated indexes and RAG exports can always be rebuilt from Markdown.
|
|
84
|
+
|
|
85
|
+
The optional `plugins/agent-memory-cowork/` adapter can capture Claude/Cowork runtime events into private sessions and draft summaries. Treat those drafts as unreviewed until a memory curator promotes them.
|
|
86
|
+
|
|
87
|
+
The optional `plugins/pi-agent-workspace/` adapter can run workspace checks and PI intelligence reports. Treat generated PI reports as review inputs, not accepted memory.
|
|
88
|
+
The optional Red Team PI Agent challenges PI reports and agent outputs before promotion decisions.
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
---
|
|
2
|
+
selected_report_design: "atlas-command"
|
|
3
|
+
design_catalog_version: "0.1.0"
|
|
4
|
+
status: "draft"
|
|
5
|
+
updated_at: "2026-05-12"
|
|
6
|
+
source_of_truth: "DESIGN.md"
|
|
7
|
+
applies_to:
|
|
8
|
+
- decision
|
|
9
|
+
- handoff
|
|
10
|
+
- rag-readiness
|
|
11
|
+
- agent-activity
|
|
12
|
+
- project-dashboard
|
|
13
|
+
- website-ui
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
# Report Design System
|
|
17
|
+
|
|
18
|
+
`DESIGN.md` is the central design decision file for all generated Agent Memory HTML reports. Markdown remains the source of truth. HTML files are generated views and must read this file before choosing colors, spacing, density, and report personality.
|
|
19
|
+
|
|
20
|
+
## Selected Design
|
|
21
|
+
|
|
22
|
+
| Field | Value |
|
|
23
|
+
| --- | --- |
|
|
24
|
+
| Selected design id | `atlas-command` |
|
|
25
|
+
| Selected design name | Atlas Command |
|
|
26
|
+
| Intended use | Dense enterprise dashboards, multi-agent status reports, RAG readiness views |
|
|
27
|
+
| Default density | Compact |
|
|
28
|
+
| Default mode | Light |
|
|
29
|
+
|
|
30
|
+
## Persistence Rule
|
|
31
|
+
|
|
32
|
+
When a user chooses a report style in `REPORT_DESIGN_SELECTOR.html`, persist the chosen style by updating `selected_report_design` in this file and keeping the selected row below unchanged. Generated reports should include the selected design id in their metadata.
|
|
33
|
+
|
|
34
|
+
## Branding Model
|
|
35
|
+
|
|
36
|
+
Current v0.2 behavior is intentionally simple: one global `selected_report_design` controls all generated reports in a project.
|
|
37
|
+
|
|
38
|
+
Future multi-brand behavior should add named profiles without breaking the current field:
|
|
39
|
+
|
|
40
|
+
```yaml
|
|
41
|
+
selected_report_design: "atlas-command"
|
|
42
|
+
brand_profiles:
|
|
43
|
+
default: "atlas-command"
|
|
44
|
+
internal: "signal-grid"
|
|
45
|
+
customer_acme: "nordic-clarity"
|
|
46
|
+
executive: "executive-ledger"
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Report generation can then accept a future `brand_profile` option while still falling back to `selected_report_design`.
|
|
50
|
+
|
|
51
|
+
## Design Catalog
|
|
52
|
+
|
|
53
|
+
| ID | Name | Best For | Visual Character | Primary | Background | Risk |
|
|
54
|
+
| --- | --- | --- | --- | --- | --- | --- |
|
|
55
|
+
| `atlas-command` | Atlas Command | Enterprise operations, RAG readiness, multi-agent dashboards | Command-center clarity with restrained blue, graphite, and crisp tables | `#245c88` | `#f6f7f9` | Can feel too operational for client-facing brand reports |
|
|
56
|
+
| `glass-ledger` | Glass Ledger | Governance, audit trails, compliance-adjacent decisions | Translucent panels, precise borders, cool neutrals | `#317873` | `#eef5f3` | Needs careful contrast for dense tables |
|
|
57
|
+
| `signal-grid` | Signal Grid | Metrics, retrieval evals, performance reports | High-signal grids, amber accents, terminal-inspired density | `#b36b00` | `#111418` | Dark mode may be too intense for executive exports |
|
|
58
|
+
| `courtroom-brief` | Courtroom Brief | ADRs, decisions, risk tradeoffs, evidence chains | Formal legal brief styling with serif headings and warm paper | `#7a3b1f` | `#fbf7ef` | Less suitable for technical dashboards |
|
|
59
|
+
| `mission-control` | Mission Control | Agent orchestration, task flow, delegation reports | Dark control-room panels, cyan status accents, strong grouping | `#35b7d8` | `#071117` | Should not be used for printable reports |
|
|
60
|
+
| `blueprint-studio` | Blueprint Studio | Architecture, UI systems, implementation plans | Blueprint grid, technical annotations, crisp cyan lines | `#1178a8` | `#edf7fb` | Can overemphasize technical structure |
|
|
61
|
+
| `executive-ledger` | Executive Ledger | Client status, management updates, board-style summaries | Quiet premium editorial system with navy, ivory, and gold accents | `#9b7a2f` | `#faf8f1` | Lower visual energy for engineering teams |
|
|
62
|
+
| `graph-aurora` | Graph Aurora | GraphRAG, cross-project parallels, semantic maps | Layered graph feel, saturated accent pairs, soft dark canvas | `#78d6a3` | `#10151f` | Needs restraint to avoid decorative noise |
|
|
63
|
+
| `monolith-minimal` | Monolith Minimal | Dense technical review, source-heavy reports | Brutal clarity, monochrome, hard lines, compact cards | `#111111` | `#f3f3f0` | Too severe for customer storytelling |
|
|
64
|
+
| `workshop-canvas` | Workshop Canvas | PM to dev handoffs, planning sessions, collaborative reviews | Whiteboard structure, sticky-note accents, approachable hierarchy | `#d66a28` | `#fffaf2` | Can feel informal for compliance reports |
|
|
65
|
+
| `neon-console` | Neon Console | Runtime logs, agent activity, dev demos | Black console canvas, green/cyan highlights, monospace data blocks | `#39ff88` | `#050806` | Not ideal for long-form reading |
|
|
66
|
+
| `nordic-clarity` | Nordic Clarity | Customer-safe reports, documentation, handoffs | Calm light surfaces, cool grays, precise blue-green accents | `#3f8f95` | `#f7faf9` | May feel too quiet for brand selection |
|
|
67
|
+
| `evidence-vault` | Evidence Vault | Source provenance, QA gates, audit reports | Secure archive look, dark slate, red/orange status semantics | `#d24b35` | `#111820` | Strong security tone can make normal reports feel high-risk |
|
|
68
|
+
| `product-lab` | Product Lab | Website/UI decisions, design tokens, experiments | Modular design-board layout with vivid swatches and sliders | `#e24d7b` | `#fff6f8` | Needs token discipline to stay polished |
|
|
69
|
+
| `zeus-celestial` | Zeus Celestial | Vision decks, strategic narratives, Zeus-style AI agency reports | High-contrast cosmic editorial with electric blue and silver | `#65a9ff` | `#080b13` | Use sparingly for polished storytelling, not raw QA |
|
|
70
|
+
|
|
71
|
+
## Token Contract
|
|
72
|
+
|
|
73
|
+
Each design must resolve to these tokens:
|
|
74
|
+
|
|
75
|
+
| Token | Meaning |
|
|
76
|
+
| --- | --- |
|
|
77
|
+
| `report.background` | Page background |
|
|
78
|
+
| `report.panel` | Card and section surface |
|
|
79
|
+
| `report.foreground` | Primary text |
|
|
80
|
+
| `report.ink` | Legacy alias for primary text |
|
|
81
|
+
| `report.muted` | Secondary text |
|
|
82
|
+
| `report.line` | Borders and dividers |
|
|
83
|
+
| `report.accent` | Primary action and emphasis color |
|
|
84
|
+
| `report.accent_2` | Secondary accent for charts, graph edges, or visual contrast |
|
|
85
|
+
| `report.radius` | Card and control radius |
|
|
86
|
+
| `report.density` | Density in pixels or compact/balanced/spacious alias |
|
|
87
|
+
| `report.border_width` | Standard report border width |
|
|
88
|
+
| `report.border_style` | `solid`, `dashed`, `dotted`, or `double` |
|
|
89
|
+
| `report.font_mode` | System, editorial, mono, or hybrid |
|
|
90
|
+
| `button.primary_bg` | Primary button background |
|
|
91
|
+
| `button.primary_fg` | Primary button text |
|
|
92
|
+
| `button.secondary_bg` | Secondary button background |
|
|
93
|
+
| `button.secondary_fg` | Secondary button text |
|
|
94
|
+
| `button.radius` | Button radius |
|
|
95
|
+
| `button.weight` | Button font weight |
|
|
96
|
+
| `button.case` | Button text transform |
|
|
97
|
+
| `ornament.mode` | Optional visual motif: none, grid, beam, ledger, radial |
|
|
98
|
+
| `shadow.color` | Shadow color source |
|
|
99
|
+
| `shadow.strength` | Shadow depth/intensity |
|
|
100
|
+
|
|
101
|
+
## Merge Note For AI-WorkOS Obsidian Vault
|
|
102
|
+
|
|
103
|
+
The uploaded AI-WorkOS Obsidian Vault should not replace Agent Memory Kit. It is best treated as an upstream concept library and migration source.
|
|
104
|
+
|
|
105
|
+
| Vault Concept | Merge Target | Decision |
|
|
106
|
+
| --- | --- | --- |
|
|
107
|
+
| `00_SYSTEM/MERGE_MAP.md` scoring | `find-parallels` and future merge assessment docs | Merge as a cross-project evaluation rubric |
|
|
108
|
+
| `00_SYSTEM/FRONTMATTER_SCHEMA.md` flat Obsidian fields | `agent-memory/schemas/frontmatter.schema.json` | Map concepts, keep stricter Agent Memory fields |
|
|
109
|
+
| `00_SYSTEM/GRAPH_SCHEMA.md` node/edge vocabulary | `agent-memory/schemas/graphrag-*.schema.json` | Merge vocabulary as aliases, keep typed frontmatter edges |
|
|
110
|
+
| `00_SYSTEM/INGEST_PIPELINE.md` raw to reviewed flow | runtime capture and session compaction docs | Merge as lifecycle documentation |
|
|
111
|
+
| `00_SYSTEM/RAG_INDEXING_POLICY.md` tier model | RAG export policy | Merge as index priority tiers |
|
|
112
|
+
| Obsidian folder taxonomy | Optional enterprise hub adapter | Keep separate, do not force into project-local core |
|
|
113
|
+
|
|
114
|
+
Recommendation: keep the vault as a second-system adapter until a migration tool can map its `type/id/canonical/kb_ready/confidentiality` fields into Agent Memory `memory_id/doc_type/status/review_status/sanitization_status/data_class/edges`.
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: "PROJECT_NAME Project Context"
|
|
3
|
+
date: "YYYY-MM-DD"
|
|
4
|
+
version: "0.1.0"
|
|
5
|
+
status: "active"
|
|
6
|
+
owner: "OWNER"
|
|
7
|
+
memory_id: "mem:TENANT_ID:CUSTOMER_ID:PROJECT_ID:project_context:project-router"
|
|
8
|
+
tenant_id: "TENANT_ID"
|
|
9
|
+
customer_id: "CUSTOMER_ID"
|
|
10
|
+
project: "PROJECT_NAME"
|
|
11
|
+
project_id: "PROJECT_ID"
|
|
12
|
+
doc_type: "project_context"
|
|
13
|
+
visibility: "private"
|
|
14
|
+
data_class: "internal"
|
|
15
|
+
semantic_title: "PROJECT_NAME project context router"
|
|
16
|
+
summary: "Project router for goals, architecture, memory locations, QA gates, and agent operating model."
|
|
17
|
+
concept_tags:
|
|
18
|
+
- "project-context"
|
|
19
|
+
- "agent-memory"
|
|
20
|
+
stack_tags: []
|
|
21
|
+
problem_patterns: []
|
|
22
|
+
architecture_patterns:
|
|
23
|
+
- "markdown-first-memory"
|
|
24
|
+
failure_modes: []
|
|
25
|
+
reusable_lessons: []
|
|
26
|
+
confidence: 1.0
|
|
27
|
+
review_status: "reviewed"
|
|
28
|
+
sanitization_status: "not_required"
|
|
29
|
+
created_at: "YYYY-MM-DDT00:00:00Z"
|
|
30
|
+
updated_at: "YYYY-MM-DDT00:00:00Z"
|
|
31
|
+
source_hash: ""
|
|
32
|
+
edges: []
|
|
33
|
+
type: "project-context"
|
|
34
|
+
session_id: "YYYY-MM-DD-short-task-title"
|
|
35
|
+
agent_id: "orchestrator"
|
|
36
|
+
parent_session: ""
|
|
37
|
+
related_files:
|
|
38
|
+
- "AGENTS.md"
|
|
39
|
+
- "CLAUDE.md"
|
|
40
|
+
- "README.md"
|
|
41
|
+
tags:
|
|
42
|
+
- project-context
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
# PROJECT_NAME Project Context
|
|
46
|
+
|
|
47
|
+
## Project Vision
|
|
48
|
+
|
|
49
|
+
Describe the product, project, or system vision.
|
|
50
|
+
|
|
51
|
+
## Current State
|
|
52
|
+
|
|
53
|
+
Describe what works today and what is verified.
|
|
54
|
+
|
|
55
|
+
## Current Tech Stack
|
|
56
|
+
|
|
57
|
+
| Component | Purpose | Why It Exists | Status |
|
|
58
|
+
| --- | --- | --- | --- |
|
|
59
|
+
|
|
60
|
+
## Painpoints To Solve
|
|
61
|
+
|
|
62
|
+
- Painpoint 1
|
|
63
|
+
|
|
64
|
+
## Solved Painpoints
|
|
65
|
+
|
|
66
|
+
- Solved item 1
|
|
67
|
+
|
|
68
|
+
## Target Architecture
|
|
69
|
+
|
|
70
|
+
```text
|
|
71
|
+
User -> System -> Result
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## Stack Mapping
|
|
75
|
+
|
|
76
|
+
| Stack | Use When | Key Files |
|
|
77
|
+
| --- | --- | --- |
|
|
78
|
+
|
|
79
|
+
## Setup Routes
|
|
80
|
+
|
|
81
|
+
- Route 1
|
|
82
|
+
|
|
83
|
+
## Agent Operating Model
|
|
84
|
+
|
|
85
|
+
Describe how agents and subagents should document work.
|
|
86
|
+
|
|
87
|
+
## Tenant / Access Model
|
|
88
|
+
|
|
89
|
+
| Field | Value |
|
|
90
|
+
| --- | --- |
|
|
91
|
+
| Tenant ID | TENANT_ID |
|
|
92
|
+
| Customer ID | CUSTOMER_ID |
|
|
93
|
+
| Project ID | PROJECT_ID |
|
|
94
|
+
| Default Data Class | internal |
|
|
95
|
+
| Shared Scope | none |
|
|
96
|
+
|
|
97
|
+
## Markdown Memory Core
|
|
98
|
+
|
|
99
|
+
| Setting | Value |
|
|
100
|
+
| --- | --- |
|
|
101
|
+
| Source Of Truth | Markdown frontmatter and typed edges |
|
|
102
|
+
| Project Router | `PROJECT_CONTEXT.md` |
|
|
103
|
+
| Canonical Memory | `agent-memory/canonical/` |
|
|
104
|
+
| Compiled Memory | `agent-memory/compiled/` |
|
|
105
|
+
| Pattern Memory | `agent-memory/patterns/` |
|
|
106
|
+
| Shared Lessons | `agent-memory/lessons/` |
|
|
107
|
+
| Idea Memory | `agent-memory/ideas/` |
|
|
108
|
+
| PI Intelligence | `agent-memory/pi-agent/` |
|
|
109
|
+
| PI Red Team | `agent-memory/pi-agent/red-team/` |
|
|
110
|
+
| Machine Index | `agent-memory/indexes/memory-index.jsonl` |
|
|
111
|
+
| RAG Exports | `agent-memory/exports/` |
|
|
112
|
+
|
|
113
|
+
## QA Gates
|
|
114
|
+
|
|
115
|
+
| Gate | Required | Evidence |
|
|
116
|
+
| --- | --- | --- |
|
|
117
|
+
| Tests | Yes | Gate report |
|
|
118
|
+
| Build / Type Safety | Yes | Gate report |
|
|
119
|
+
| Security | Yes | Gate report |
|
|
120
|
+
| Performance | Project-specific | Gate report |
|
|
121
|
+
| Accessibility | UI projects | Gate report |
|
|
122
|
+
|
|
123
|
+
## Active Plans
|
|
124
|
+
|
|
125
|
+
| Plan | Status | Location |
|
|
126
|
+
| --- | --- | --- |
|
|
127
|
+
|
|
128
|
+
## Idea Backlog
|
|
129
|
+
|
|
130
|
+
Agents should check `agent-memory/ideas/` before drafting new plans. Related ideas should be linked through `similar_to`, `relates_to`, `derived_from`, or `shared_lesson_for` edges.
|
|
131
|
+
|
|
132
|
+
| Idea | Status | Relevance | Location |
|
|
133
|
+
| --- | --- | --- | --- |
|
|
134
|
+
|
|
135
|
+
## PI Agent Intelligence
|
|
136
|
+
|
|
137
|
+
PI Agent reports are candidate intelligence for parallels, trends, repeated agent errors, and central project opportunities. They help planning and memory curation, but require review before promotion.
|
|
138
|
+
|
|
139
|
+
| Artifact | Status | Signal | Location |
|
|
140
|
+
| --- | --- | --- | --- |
|
|
141
|
+
|
|
142
|
+
## Evaluation Frameworks
|
|
143
|
+
|
|
144
|
+
Use 1-100 scorecards for important agent outputs, PI reports, plans, QA findings, and promotion candidates.
|
|
145
|
+
|
|
146
|
+
| Framework | Target | Accept Score | Location |
|
|
147
|
+
| --- | --- | ---: | --- |
|
|
148
|
+
| PI Red Team Evaluation | PI intelligence reports | 85 | `agent-memory/pi-agent/red-team/` |
|
|
149
|
+
|
|
150
|
+
## Session Log
|
|
151
|
+
|
|
152
|
+
| Date | Session | Outcome |
|
|
153
|
+
| --- | --- | --- |
|
|
154
|
+
|
|
155
|
+
## Decision Log
|
|
156
|
+
|
|
157
|
+
- Decision 1
|
|
158
|
+
|
|
159
|
+
## Validation / QA Status
|
|
160
|
+
|
|
161
|
+
- QA state
|
|
162
|
+
|
|
163
|
+
## Next Best Actions
|
|
164
|
+
|
|
165
|
+
1. Next action
|
|
166
|
+
|
|
167
|
+
## Open Questions
|
|
168
|
+
|
|
169
|
+
- Question 1
|