Repository navigation
Expand file tree
/
Copy pathNOTICE
More file actions
74 lines (65 loc) · 3.92 KB
/
Copy pathNOTICE
File metadata and controls
74 lines (65 loc) · 3.92 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
brainstack
Copyright 2026 Mustafa Bharmal
This product includes software developed by codejunkie99 as part of the
agentic-stack project (https://github.com/codejunkie99/agentic-stack),
licensed under the Apache License, Version 2.0.
The following files in this repository are derived from agentic-stack
v0.11.2 (commit df806abace1a693e042844bf4ac0cccf9bb6270a). Each file
preserves its original copyright header and includes a modification
notice block per Apache License 2.0 §4(b).
Vendored files (verbatim or with documented modifications). Paths shown
below are relative to this repo's `agent/` source directory, which the
installer copies to `~/.agent/` on the user's machine. Upstream paths in
parentheses are relative to upstream's `.agent/` directory.
agent/memory/auto_dream.py (from .agent/memory/auto_dream.py)
agent/memory/cluster.py (from .agent/memory/cluster.py)
agent/memory/promote.py (from .agent/memory/promote.py)
agent/memory/validate.py (from .agent/memory/validate.py)
agent/memory/review_state.py (from .agent/memory/review_state.py)
agent/memory/render_lessons.py (from .agent/memory/render_lessons.py)
agent/memory/decay.py (from .agent/memory/decay.py)
agent/memory/archive.py (from .agent/memory/archive.py)
agent/tools/graduate.py (from .agent/tools/graduate.py)
agent/tools/reject.py (from .agent/tools/reject.py)
agent/tools/reopen.py (from .agent/tools/reopen.py)
agent/tools/list_candidates.py (from .agent/tools/list_candidates.py)
agent/tools/data_layer_export.py (from .agent/tools/data_layer_export.py)
agent/harness/hooks/claude_code_post_tool.py (from .agent/harness/hooks/claude_code_post_tool.py)
agent/harness/hooks/_episodic_io.py (from .agent/harness/hooks/_episodic_io.py)
agent/harness/hooks/_provenance.py (from .agent/harness/hooks/_provenance.py)
agent/harness/hooks/on_failure.py (from .agent/harness/hooks/on_failure.py)
agent/harness/hooks/post_execution.py (from .agent/harness/hooks/post_execution.py)
agent/harness/salience.py (from .agent/harness/salience.py)
agent/harness/text.py (from .agent/harness/text.py)
Modifications summary:
- Path resolution: directory layout under ~/.agent/ flattens upstream's
.agent/ wrapper. Files preserve their __file__-relative path resolution
logic; no code changes were required for this.
- tools/render_lessons.py: extended _bullet_for() to render optional
'why' and 'how_to_apply' fields when present in lesson rows. Backward
compatible — when absent, output matches upstream.
- tools/graduate.py: added a human-decision gate. With the default
reviewer ('host-agent') and no TTY on stdin, graduation now requires
an explicit --non-interactive-ack flag (asserting a human approved
the promotion) or exits non-zero with an actionable message.
Interactive runs are unchanged.
Files originally written by Mustafa Bharmal (clean-room, not derived from
upstream):
install.sh, upgrade.sh
agent/tools/redact.py
agent/tools/migrate.py
agent/tools/sync.sh
agent/harness/hooks/agentic_post_tool_global.py (absolute-path Claude Code entry point)
adapters/claude-code/*
schemas/lessons.schema.json (extension fields documentation)
templates/*
docs/*, README.md, CHANGELOG.md
tests/*
memory_seed/* (empty directory templates)
recall/* — read-side retriever (CLI + MCP server). Hybrid BM25 + sentence-
transformers via Reciprocal Rank Fusion. Recognizes the auto-memory
frontmatter convention so it can read brains produced by this framework.
Originally developed standalone as `recall-brain` and integrated here.
tests/recall/* — test suite for the retriever (parametrized query corpus,
Hypothesis property tests, adversarial-input regression tests).
For the original Apache License 2.0 text, see LICENSE.