brain-framework 33.2.0__tar.gz → 34.0.0__tar.gz
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.
- brain_framework-34.0.0/PKG-INFO +141 -0
- brain_framework-34.0.0/README.md +109 -0
- brain_framework-34.0.0/THIRD_PARTY_NOTICES.md +322 -0
- {brain_framework-33.2.0 → brain_framework-34.0.0}/pyproject.toml +8 -8
- {brain_framework-33.2.0 → brain_framework-34.0.0}/pyproject.toml.orig +9 -9
- brain_framework-34.0.0/src/bf/__init__.py +14 -0
- brain_framework-34.0.0/src/bf/cli.py +751 -0
- brain_framework-34.0.0/src/bf/config.py +704 -0
- brain_framework-34.0.0/src/bf/cron.py +469 -0
- brain_framework-34.0.0/src/bf/engine.py +902 -0
- brain_framework-34.0.0/src/bf/index.py +905 -0
- brain_framework-34.0.0/src/bf/loops.py +958 -0
- brain_framework-34.0.0/src/bf/markdown.py +592 -0
- brain_framework-34.0.0/src/bf/models.py +448 -0
- brain_framework-34.0.0/src/bf/proc.py +476 -0
- brain_framework-34.0.0/src/bf/query.py +842 -0
- brain_framework-34.0.0/src/bf/records.py +416 -0
- brain_framework-34.0.0/src/bf/refs.py +331 -0
- brain_framework-34.0.0/src/bf/render.py +366 -0
- brain_framework-34.0.0/src/bf/schemas.py +640 -0
- brain_framework-34.0.0/src/bf/starter/AGENTS.md +17 -0
- {brain_framework-33.2.0 → brain_framework-34.0.0}/src/bf/starter/concepts/welcome.md +3 -3
- {brain_framework-33.2.0 → brain_framework-34.0.0}/src/bf/starter/evals/smoke.py +3 -1
- brain_framework-34.0.0/src/bf/starter/gitignore +6 -0
- brain_framework-34.0.0/src/bf/state.py +853 -0
- brain_framework-34.0.0/src/bf/status.py +331 -0
- {brain_framework-33.2.0 → brain_framework-34.0.0}/src/bf/storage.py +279 -109
- brain_framework-34.0.0/src/bf/watch.py +805 -0
- brain_framework-34.0.0/src/bf/yaml_io.py +177 -0
- brain_framework-33.2.0/PKG-INFO +0 -86
- brain_framework-33.2.0/README.md +0 -54
- brain_framework-33.2.0/THIRD_PARTY_NOTICES.md +0 -970
- brain_framework-33.2.0/src/bf/__init__.py +0 -31
- brain_framework-33.2.0/src/bf/cli.py +0 -345
- brain_framework-33.2.0/src/bf/config.py +0 -561
- brain_framework-33.2.0/src/bf/engine.py +0 -609
- brain_framework-33.2.0/src/bf/guides/authoring.md +0 -57
- brain_framework-33.2.0/src/bf/guides/getting-started.md +0 -89
- brain_framework-33.2.0/src/bf/guides/index.md +0 -19
- brain_framework-33.2.0/src/bf/guides/operations.md +0 -74
- brain_framework-33.2.0/src/bf/guides/reference.md +0 -70
- brain_framework-33.2.0/src/bf/guides/retrieval.md +0 -69
- brain_framework-33.2.0/src/bf/loops.py +0 -633
- brain_framework-33.2.0/src/bf/markdown.py +0 -649
- brain_framework-33.2.0/src/bf/models.py +0 -258
- brain_framework-33.2.0/src/bf/proc.py +0 -358
- brain_framework-33.2.0/src/bf/query.py +0 -530
- brain_framework-33.2.0/src/bf/records.py +0 -569
- brain_framework-33.2.0/src/bf/schemas.py +0 -414
- brain_framework-33.2.0/src/bf/skills/bf/SKILL.md +0 -47
- brain_framework-33.2.0/src/bf/starter/AGENTS.md +0 -17
- brain_framework-33.2.0/src/bf/starter/gitignore +0 -8
- brain_framework-33.2.0/src/bf/status.py +0 -425
- brain_framework-33.2.0/src/bf/watch.py +0 -666
- {brain_framework-33.2.0 → brain_framework-34.0.0}/LICENSE +0 -0
- {brain_framework-33.2.0 → brain_framework-34.0.0}/src/bf/__main__.py +0 -0
- {brain_framework-33.2.0 → brain_framework-34.0.0}/src/bf/py.typed +0 -0
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: brain-framework
|
|
3
|
+
Version: 34.0.0
|
|
4
|
+
Summary: Brain Framework is a local-first brain for you and your AI agents. It compiles YAML-frontmatter Markdown notes into JSONL records, validates with optional JSON Schemas, orchestrates least-privilege loops, and searches offline via a disposable SQLite FTS5 index.
|
|
5
|
+
Keywords: ai,ai-agents,agent-memory,agent-skills,agents-md,context-engineering,json,json-schema,knowledge-graph,knowledge-management,local-first,personal-knowledge-management,python,second-brain
|
|
6
|
+
Author: Médéric Hurier
|
|
7
|
+
License-Expression: MIT
|
|
8
|
+
License-File: LICENSE
|
|
9
|
+
License-File: THIRD_PARTY_NOTICES.md
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Environment :: Console
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: Operating System :: MacOS
|
|
14
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
19
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
20
|
+
Classifier: Topic :: Text Processing :: Indexing
|
|
21
|
+
Classifier: Typing :: Typed
|
|
22
|
+
Requires-Dist: jsonschema>=4.26.0,<5
|
|
23
|
+
Requires-Dist: markdown-it-py>=3.0.0,<5
|
|
24
|
+
Requires-Dist: pyyaml>=6.0.3,<7
|
|
25
|
+
Requires-Python: >=3.12
|
|
26
|
+
Project-URL: Changelog, https://fmind.github.io/brain-framework/changelog/
|
|
27
|
+
Project-URL: Documentation, https://fmind.github.io/brain-framework/
|
|
28
|
+
Project-URL: Issues, https://github.com/fmind/brain-framework/issues
|
|
29
|
+
Project-URL: Repository, https://github.com/fmind/brain-framework
|
|
30
|
+
Project-URL: Security, https://github.com/fmind/brain-framework/security/policy
|
|
31
|
+
Description-Content-Type: text/markdown
|
|
32
|
+
|
|
33
|
+
<p align="center">
|
|
34
|
+
<img
|
|
35
|
+
src="https://raw.githubusercontent.com/fmind/brain-framework/main/docs/assets/brain-framework.svg"
|
|
36
|
+
alt="Brain Framework logo"
|
|
37
|
+
width="128"
|
|
38
|
+
/>
|
|
39
|
+
</p>
|
|
40
|
+
|
|
41
|
+
<h1 align="center">Brain Framework</h1>
|
|
42
|
+
|
|
43
|
+
<p align="center">
|
|
44
|
+
<strong>From scattered information to informed actions, using plain files you own forever.</strong>
|
|
45
|
+
</p>
|
|
46
|
+
|
|
47
|
+
<p align="center">
|
|
48
|
+
<a href="https://github.com/fmind/brain-framework/actions/workflows/ci.yml"><img src="https://github.com/fmind/brain-framework/actions/workflows/ci.yml/badge.svg?branch=main" alt="CI" /></a>
|
|
49
|
+
<a href="https://pypi.org/project/brain-framework/"><img src="https://img.shields.io/pypi/v/brain-framework?color=174EA6" alt="PyPI" /></a>
|
|
50
|
+
<a href="https://pypi.org/project/brain-framework/"><img src="https://img.shields.io/pypi/pyversions/brain-framework" alt="Python" /></a>
|
|
51
|
+
<a href="https://github.com/fmind/brain-framework/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-174EA6" alt="License: MIT" /></a>
|
|
52
|
+
</p>
|
|
53
|
+
|
|
54
|
+
AI coding agents lose context between sessions, while proprietary memory platforms lock your knowledge inside opaque databases. **Brain Framework (`bf`)** turns a plain Git folder of Markdown notes, schema-validated JSONL records, and shell or Python loops into a fast, offline knowledge brain for humans and AI coding agents.
|
|
55
|
+
|
|
56
|
+
- **Plain files, zero lock-in**: YAML for config, Markdown for humans, canonical JSONL for records. Inspect or query your data anytime with `git`, `rg`, `jq`, or DuckDB.
|
|
57
|
+
- **Instant offline BM25 search**: A strictly disposable SQLite FTS5 cache ranks authored notes ahead of raw memories, resolves aliases and backlinks, and never mutates disk on read-only commands.
|
|
58
|
+
- **Least-privilege automation loops**: Run deterministic collectors (`sensors/`), maintenance jobs (`routines/`), coding agents (`agents/`), and stream daemons (`when: daemon`) with per-loop secret allowlists (`env_from:`) and headless `bf watch`.
|
|
59
|
+
- **Lean, model-agnostic core**: Three runtime dependencies (`jsonschema`, `markdown-it-py`, `pyyaml`) on Python 3.12+, zero built-in LLMs, and zero global config.
|
|
60
|
+
|
|
61
|
+
## Quick start
|
|
62
|
+
|
|
63
|
+
Requires Linux or macOS and [uv](https://docs.astral.sh/uv/getting-started/installation/) (Python 3.12+). No model API key, database server, or cloud account is required:
|
|
64
|
+
|
|
65
|
+
```bash
|
|
66
|
+
uv tool install brain-framework
|
|
67
|
+
bf init ~/brain
|
|
68
|
+
cd ~/brain
|
|
69
|
+
bf check --format text
|
|
70
|
+
bf status --format text
|
|
71
|
+
bf query "welcome" --format text
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
Output on a fresh brain:
|
|
75
|
+
|
|
76
|
+
```text
|
|
77
|
+
Check: brain [OK]
|
|
78
|
+
notes=1 memories=0 errors=0 warnings=0
|
|
79
|
+
|
|
80
|
+
Brain: brain [HEALTHY]
|
|
81
|
+
notes=1 memories=0 loops=0 events=1
|
|
82
|
+
|
|
83
|
+
Query (fts5): 1 result(s) for 'welcome'
|
|
84
|
+
|
|
85
|
+
concepts/welcome.md#welcome Welcome
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
If `BF_BRAIN` is already exported in your shell, unset it or pass `--brain ~/brain`.
|
|
89
|
+
|
|
90
|
+
Next, follow [Getting started](https://fmind.github.io/brain-framework/getting-started/) to ingest records and write linked decisions, or run the [four-tool walkthrough](https://github.com/fmind/brain-framework/blob/main/examples/context-hub/README.md) with synthetic Workspace, Jira, GitHub, and Google Cloud fixtures.
|
|
91
|
+
|
|
92
|
+
## How it works
|
|
93
|
+
|
|
94
|
+
<a href="https://raw.githubusercontent.com/fmind/brain-framework/main/docs/assets/brain-loop.svg">
|
|
95
|
+
<img
|
|
96
|
+
src="https://raw.githubusercontent.com/fmind/brain-framework/main/docs/assets/brain-loop.svg"
|
|
97
|
+
alt="Gather, normalize, connect, act, and learn loop"
|
|
98
|
+
width="100%"
|
|
99
|
+
/>
|
|
100
|
+
</a>
|
|
101
|
+
|
|
102
|
+
A brain is one portable directory organized around a **3x3 layout** (three note folders, three loop folders, three JSONL record streams):
|
|
103
|
+
|
|
104
|
+
```text
|
|
105
|
+
my-brain/
|
|
106
|
+
├── bf.yaml # Config: notes, brains, search.exclude, concurrency pools, loops
|
|
107
|
+
├── concepts/ # Durable knowledge (<slug>.md or <slug>/index.md bundles)
|
|
108
|
+
├── projects/ # Ongoing initiatives and decisions
|
|
109
|
+
├── actions/ # Scoped requests, deliverables, and attachments
|
|
110
|
+
├── sensors/ # Deterministic collectors (stdout JSONL -> memories/)
|
|
111
|
+
├── routines/ # Maintenance scripts and continuous daemons (when: daemon)
|
|
112
|
+
├── agents/ # Coding-harness or LLM tasks
|
|
113
|
+
├── schemas/ # Optional domain JSON Schemas (core record schema always enforced)
|
|
114
|
+
├── evals/ # User-owned Python/pytest contract checks
|
|
115
|
+
├── memories/ # Canonical JSONL (_notes.jsonl + <source>.jsonl; gitignored)
|
|
116
|
+
├── logs/ # Private 0700 structured JSONL loop logs (gitignored)
|
|
117
|
+
└── .bf/ # Private 0700 runtime: disposable cache/index.sqlite3, state/, locks/
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
- [**Authoring**](https://fmind.github.io/brain-framework/authoring/): Write CommonMark Markdown with YAML frontmatter, `#id` heading anchors, checklist tasks, typed links (`{rel=cites}`), universal refs (`source:id`, `bf://`), and optional `schemas/<source>.json` validation.
|
|
121
|
+
- [**Retrieval**](https://fmind.github.io/brain-framework/retrieval/): Search ranked BM25 hits and `--links-to` backlinks with `bf query`, resolve notes, `#anchor` sections, or aliases with `bf read`, track freshness with `bf review`, and run `rg`, `jq`, or DuckDB directly on `memories/*.jsonl`.
|
|
122
|
+
- [**Operations**](https://fmind.github.io/brain-framework/operations/): Declare explicit `loops:` with named `concurrency:` pools, per-loop `env_from:` secrets, trailing-edge `debounce:`, delayed `bf emit --in|--at` wakeups, live `bf pause`/`bf resume`, and headless `bf watch` supervision.
|
|
123
|
+
- [**Reference**](https://fmind.github.io/brain-framework/reference/): Full CLI contract (strict read-only vs write commands), exit codes, `BF_*` env vars, `{{...}}` placeholders, `bf.yaml` config, and published Draft 2020-12 JSON Schemas (`bf schema`).
|
|
124
|
+
|
|
125
|
+
## Works with your AI coding harness
|
|
126
|
+
|
|
127
|
+
`bf` pairs with Claude Code, Codex, Antigravity, Gemini CLI, OpenCode, or any terminal agent without an MCP server:
|
|
128
|
+
|
|
129
|
+
- **Inside a brain**: Agents read the repo's `AGENTS.md`, orient with `bf status` and `bf review`, edit Markdown notes directly, and verify with `bf build && bf check` plus `evals/`.
|
|
130
|
+
- **From any repository**: Set `export BF_BRAIN=~/brain` and install the optional [`/bf` skill](https://github.com/fmind/brain-framework/blob/main/skills/bf/SKILL.md) so your harness queries and updates your brain on demand.
|
|
131
|
+
- **Always-on supervision**: Run `bf watch` headlessly under `systemd --user` or `launchd` and monitor live in any terminal with `watch -n 2 bf status --format text`.
|
|
132
|
+
|
|
133
|
+
## Design principles
|
|
134
|
+
|
|
135
|
+
1. **Strict read/write boundary**: `bf status`, `bf review`, `bf read`, `bf query`, `bf events`, `bf check`, and `bf schema` never touch disk. Cache readers open `.bf/cache/index.sqlite3` in strict read-only mode (`mode=ro`) with automatic JSONL fallback.
|
|
136
|
+
2. **Private and confined by default**: Every path opens via `O_NOFOLLOW` directory descriptors, `.bf/` and `logs/` enforce `0700`/`0600` owner-only permissions, secrets stay scoped to each loop's `env_from:`, and logs redact credentials automatically.
|
|
137
|
+
3. **Git-native collaboration**: Track notes, config, schemas, loops, and evals in Git while keeping generated `memories/`, private `logs/`, `.env`, and `.bf/` local.
|
|
138
|
+
|
|
139
|
+
---
|
|
140
|
+
|
|
141
|
+
[Documentation](https://fmind.github.io/brain-framework/) · [Examples](https://github.com/fmind/brain-framework/blob/main/examples/README.md) · [Issues](https://github.com/fmind/brain-framework/issues) · [Contributing](https://github.com/fmind/brain-framework/blob/main/CONTRIBUTING.md) · [Governance](https://github.com/fmind/brain-framework/blob/main/GOVERNANCE.md) · [Security](https://github.com/fmind/brain-framework/blob/main/SECURITY.md) · [Third-party notices](https://github.com/fmind/brain-framework/blob/main/THIRD_PARTY_NOTICES.md)
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img
|
|
3
|
+
src="https://raw.githubusercontent.com/fmind/brain-framework/main/docs/assets/brain-framework.svg"
|
|
4
|
+
alt="Brain Framework logo"
|
|
5
|
+
width="128"
|
|
6
|
+
/>
|
|
7
|
+
</p>
|
|
8
|
+
|
|
9
|
+
<h1 align="center">Brain Framework</h1>
|
|
10
|
+
|
|
11
|
+
<p align="center">
|
|
12
|
+
<strong>From scattered information to informed actions, using plain files you own forever.</strong>
|
|
13
|
+
</p>
|
|
14
|
+
|
|
15
|
+
<p align="center">
|
|
16
|
+
<a href="https://github.com/fmind/brain-framework/actions/workflows/ci.yml"><img src="https://github.com/fmind/brain-framework/actions/workflows/ci.yml/badge.svg?branch=main" alt="CI" /></a>
|
|
17
|
+
<a href="https://pypi.org/project/brain-framework/"><img src="https://img.shields.io/pypi/v/brain-framework?color=174EA6" alt="PyPI" /></a>
|
|
18
|
+
<a href="https://pypi.org/project/brain-framework/"><img src="https://img.shields.io/pypi/pyversions/brain-framework" alt="Python" /></a>
|
|
19
|
+
<a href="https://github.com/fmind/brain-framework/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-MIT-174EA6" alt="License: MIT" /></a>
|
|
20
|
+
</p>
|
|
21
|
+
|
|
22
|
+
AI coding agents lose context between sessions, while proprietary memory platforms lock your knowledge inside opaque databases. **Brain Framework (`bf`)** turns a plain Git folder of Markdown notes, schema-validated JSONL records, and shell or Python loops into a fast, offline knowledge brain for humans and AI coding agents.
|
|
23
|
+
|
|
24
|
+
- **Plain files, zero lock-in**: YAML for config, Markdown for humans, canonical JSONL for records. Inspect or query your data anytime with `git`, `rg`, `jq`, or DuckDB.
|
|
25
|
+
- **Instant offline BM25 search**: A strictly disposable SQLite FTS5 cache ranks authored notes ahead of raw memories, resolves aliases and backlinks, and never mutates disk on read-only commands.
|
|
26
|
+
- **Least-privilege automation loops**: Run deterministic collectors (`sensors/`), maintenance jobs (`routines/`), coding agents (`agents/`), and stream daemons (`when: daemon`) with per-loop secret allowlists (`env_from:`) and headless `bf watch`.
|
|
27
|
+
- **Lean, model-agnostic core**: Three runtime dependencies (`jsonschema`, `markdown-it-py`, `pyyaml`) on Python 3.12+, zero built-in LLMs, and zero global config.
|
|
28
|
+
|
|
29
|
+
## Quick start
|
|
30
|
+
|
|
31
|
+
Requires Linux or macOS and [uv](https://docs.astral.sh/uv/getting-started/installation/) (Python 3.12+). No model API key, database server, or cloud account is required:
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
uv tool install brain-framework
|
|
35
|
+
bf init ~/brain
|
|
36
|
+
cd ~/brain
|
|
37
|
+
bf check --format text
|
|
38
|
+
bf status --format text
|
|
39
|
+
bf query "welcome" --format text
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Output on a fresh brain:
|
|
43
|
+
|
|
44
|
+
```text
|
|
45
|
+
Check: brain [OK]
|
|
46
|
+
notes=1 memories=0 errors=0 warnings=0
|
|
47
|
+
|
|
48
|
+
Brain: brain [HEALTHY]
|
|
49
|
+
notes=1 memories=0 loops=0 events=1
|
|
50
|
+
|
|
51
|
+
Query (fts5): 1 result(s) for 'welcome'
|
|
52
|
+
|
|
53
|
+
concepts/welcome.md#welcome Welcome
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
If `BF_BRAIN` is already exported in your shell, unset it or pass `--brain ~/brain`.
|
|
57
|
+
|
|
58
|
+
Next, follow [Getting started](https://fmind.github.io/brain-framework/getting-started/) to ingest records and write linked decisions, or run the [four-tool walkthrough](https://github.com/fmind/brain-framework/blob/main/examples/context-hub/README.md) with synthetic Workspace, Jira, GitHub, and Google Cloud fixtures.
|
|
59
|
+
|
|
60
|
+
## How it works
|
|
61
|
+
|
|
62
|
+
<a href="https://raw.githubusercontent.com/fmind/brain-framework/main/docs/assets/brain-loop.svg">
|
|
63
|
+
<img
|
|
64
|
+
src="https://raw.githubusercontent.com/fmind/brain-framework/main/docs/assets/brain-loop.svg"
|
|
65
|
+
alt="Gather, normalize, connect, act, and learn loop"
|
|
66
|
+
width="100%"
|
|
67
|
+
/>
|
|
68
|
+
</a>
|
|
69
|
+
|
|
70
|
+
A brain is one portable directory organized around a **3x3 layout** (three note folders, three loop folders, three JSONL record streams):
|
|
71
|
+
|
|
72
|
+
```text
|
|
73
|
+
my-brain/
|
|
74
|
+
├── bf.yaml # Config: notes, brains, search.exclude, concurrency pools, loops
|
|
75
|
+
├── concepts/ # Durable knowledge (<slug>.md or <slug>/index.md bundles)
|
|
76
|
+
├── projects/ # Ongoing initiatives and decisions
|
|
77
|
+
├── actions/ # Scoped requests, deliverables, and attachments
|
|
78
|
+
├── sensors/ # Deterministic collectors (stdout JSONL -> memories/)
|
|
79
|
+
├── routines/ # Maintenance scripts and continuous daemons (when: daemon)
|
|
80
|
+
├── agents/ # Coding-harness or LLM tasks
|
|
81
|
+
├── schemas/ # Optional domain JSON Schemas (core record schema always enforced)
|
|
82
|
+
├── evals/ # User-owned Python/pytest contract checks
|
|
83
|
+
├── memories/ # Canonical JSONL (_notes.jsonl + <source>.jsonl; gitignored)
|
|
84
|
+
├── logs/ # Private 0700 structured JSONL loop logs (gitignored)
|
|
85
|
+
└── .bf/ # Private 0700 runtime: disposable cache/index.sqlite3, state/, locks/
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
- [**Authoring**](https://fmind.github.io/brain-framework/authoring/): Write CommonMark Markdown with YAML frontmatter, `#id` heading anchors, checklist tasks, typed links (`{rel=cites}`), universal refs (`source:id`, `bf://`), and optional `schemas/<source>.json` validation.
|
|
89
|
+
- [**Retrieval**](https://fmind.github.io/brain-framework/retrieval/): Search ranked BM25 hits and `--links-to` backlinks with `bf query`, resolve notes, `#anchor` sections, or aliases with `bf read`, track freshness with `bf review`, and run `rg`, `jq`, or DuckDB directly on `memories/*.jsonl`.
|
|
90
|
+
- [**Operations**](https://fmind.github.io/brain-framework/operations/): Declare explicit `loops:` with named `concurrency:` pools, per-loop `env_from:` secrets, trailing-edge `debounce:`, delayed `bf emit --in|--at` wakeups, live `bf pause`/`bf resume`, and headless `bf watch` supervision.
|
|
91
|
+
- [**Reference**](https://fmind.github.io/brain-framework/reference/): Full CLI contract (strict read-only vs write commands), exit codes, `BF_*` env vars, `{{...}}` placeholders, `bf.yaml` config, and published Draft 2020-12 JSON Schemas (`bf schema`).
|
|
92
|
+
|
|
93
|
+
## Works with your AI coding harness
|
|
94
|
+
|
|
95
|
+
`bf` pairs with Claude Code, Codex, Antigravity, Gemini CLI, OpenCode, or any terminal agent without an MCP server:
|
|
96
|
+
|
|
97
|
+
- **Inside a brain**: Agents read the repo's `AGENTS.md`, orient with `bf status` and `bf review`, edit Markdown notes directly, and verify with `bf build && bf check` plus `evals/`.
|
|
98
|
+
- **From any repository**: Set `export BF_BRAIN=~/brain` and install the optional [`/bf` skill](https://github.com/fmind/brain-framework/blob/main/skills/bf/SKILL.md) so your harness queries and updates your brain on demand.
|
|
99
|
+
- **Always-on supervision**: Run `bf watch` headlessly under `systemd --user` or `launchd` and monitor live in any terminal with `watch -n 2 bf status --format text`.
|
|
100
|
+
|
|
101
|
+
## Design principles
|
|
102
|
+
|
|
103
|
+
1. **Strict read/write boundary**: `bf status`, `bf review`, `bf read`, `bf query`, `bf events`, `bf check`, and `bf schema` never touch disk. Cache readers open `.bf/cache/index.sqlite3` in strict read-only mode (`mode=ro`) with automatic JSONL fallback.
|
|
104
|
+
2. **Private and confined by default**: Every path opens via `O_NOFOLLOW` directory descriptors, `.bf/` and `logs/` enforce `0700`/`0600` owner-only permissions, secrets stay scoped to each loop's `env_from:`, and logs redact credentials automatically.
|
|
105
|
+
3. **Git-native collaboration**: Track notes, config, schemas, loops, and evals in Git while keeping generated `memories/`, private `logs/`, `.env`, and `.bf/` local.
|
|
106
|
+
|
|
107
|
+
---
|
|
108
|
+
|
|
109
|
+
[Documentation](https://fmind.github.io/brain-framework/) · [Examples](https://github.com/fmind/brain-framework/blob/main/examples/README.md) · [Issues](https://github.com/fmind/brain-framework/issues) · [Contributing](https://github.com/fmind/brain-framework/blob/main/CONTRIBUTING.md) · [Governance](https://github.com/fmind/brain-framework/blob/main/GOVERNANCE.md) · [Security](https://github.com/fmind/brain-framework/blob/main/SECURITY.md) · [Third-party notices](https://github.com/fmind/brain-framework/blob/main/THIRD_PARTY_NOTICES.md)
|
|
@@ -0,0 +1,322 @@
|
|
|
1
|
+
# Third-party notices
|
|
2
|
+
|
|
3
|
+
Brain Framework depends on the following non-development Python distributions on its declared Linux and macOS platforms. The inventory is the complete locked closure selected by `uv tree --no-dev`; build and test dependencies are intentionally excluded.
|
|
4
|
+
|
|
5
|
+
License expressions come from the installed distribution metadata. Legal text is copied from the corresponding installed wheel files and formatted only as Markdown text blocks. The Brain Framework project itself is licensed separately in `LICENSE`.
|
|
6
|
+
|
|
7
|
+
## attrs 26.1.0
|
|
8
|
+
|
|
9
|
+
Source: <https://github.com/python-attrs/attrs>
|
|
10
|
+
|
|
11
|
+
License: `MIT`
|
|
12
|
+
|
|
13
|
+
Evidence: `attrs-26.1.0.dist-info/licenses/LICENSE`
|
|
14
|
+
|
|
15
|
+
### attrs-26.1.0.dist-info/licenses/LICENSE
|
|
16
|
+
|
|
17
|
+
```text
|
|
18
|
+
The MIT License (MIT)
|
|
19
|
+
|
|
20
|
+
Copyright (c) 2015 Hynek Schlawack and the attrs contributors
|
|
21
|
+
|
|
22
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
23
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
24
|
+
in the Software without restriction, including without limitation the rights
|
|
25
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
26
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
27
|
+
furnished to do so, subject to the following conditions:
|
|
28
|
+
|
|
29
|
+
The above copyright notice and this permission notice shall be included in all
|
|
30
|
+
copies or substantial portions of the Software.
|
|
31
|
+
|
|
32
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
33
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
34
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
35
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
36
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
37
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
38
|
+
SOFTWARE.
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## jsonschema 4.26.0
|
|
42
|
+
|
|
43
|
+
Source: <https://github.com/python-jsonschema/jsonschema>
|
|
44
|
+
|
|
45
|
+
License: `MIT`
|
|
46
|
+
|
|
47
|
+
Evidence: `jsonschema-4.26.0.dist-info/licenses/COPYING`
|
|
48
|
+
|
|
49
|
+
### jsonschema-4.26.0.dist-info/licenses/COPYING
|
|
50
|
+
|
|
51
|
+
```text
|
|
52
|
+
Copyright (c) 2013 Julian Berman
|
|
53
|
+
|
|
54
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
55
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
56
|
+
in the Software without restriction, including without limitation the rights
|
|
57
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
58
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
59
|
+
furnished to do so, subject to the following conditions:
|
|
60
|
+
|
|
61
|
+
The above copyright notice and this permission notice shall be included in
|
|
62
|
+
all copies or substantial portions of the Software.
|
|
63
|
+
|
|
64
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
65
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
66
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
67
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
68
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
69
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
70
|
+
THE SOFTWARE.
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
## jsonschema-specifications 2025.9.1
|
|
74
|
+
|
|
75
|
+
Source: <https://github.com/python-jsonschema/jsonschema-specifications>
|
|
76
|
+
|
|
77
|
+
License: `MIT`
|
|
78
|
+
|
|
79
|
+
Evidence: `jsonschema_specifications-2025.9.1.dist-info/licenses/COPYING`
|
|
80
|
+
|
|
81
|
+
### jsonschema_specifications-2025.9.1.dist-info/licenses/COPYING
|
|
82
|
+
|
|
83
|
+
```text
|
|
84
|
+
Copyright (c) 2022 Julian Berman
|
|
85
|
+
|
|
86
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
87
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
88
|
+
in the Software without restriction, including without limitation the rights
|
|
89
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
90
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
91
|
+
furnished to do so, subject to the following conditions:
|
|
92
|
+
|
|
93
|
+
The above copyright notice and this permission notice shall be included in
|
|
94
|
+
all copies or substantial portions of the Software.
|
|
95
|
+
|
|
96
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
97
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
98
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
99
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
100
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
101
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
102
|
+
THE SOFTWARE.
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
## markdown-it-py 4.3.0
|
|
106
|
+
|
|
107
|
+
Source: <https://github.com/executablebooks/markdown-it-py>
|
|
108
|
+
|
|
109
|
+
License: `MIT`
|
|
110
|
+
|
|
111
|
+
Evidence: `markdown_it_py-4.3.0.dist-info/licenses/LICENSE`
|
|
112
|
+
|
|
113
|
+
### markdown_it_py-4.3.0.dist-info/licenses/LICENSE
|
|
114
|
+
|
|
115
|
+
```text
|
|
116
|
+
MIT License
|
|
117
|
+
|
|
118
|
+
Copyright (c) 2020 ExecutableBookProject
|
|
119
|
+
|
|
120
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
121
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
122
|
+
in the Software without restriction, including without limitation the rights
|
|
123
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
124
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
125
|
+
furnished to do so, subject to the following conditions:
|
|
126
|
+
|
|
127
|
+
The above copyright notice and this permission notice shall be included in all
|
|
128
|
+
copies or substantial portions of the Software.
|
|
129
|
+
|
|
130
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
131
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
132
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
133
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
134
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
135
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
136
|
+
SOFTWARE.
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
Evidence: `markdown_it_py-4.3.0.dist-info/licenses/LICENSE.markdown-it`
|
|
140
|
+
|
|
141
|
+
### markdown_it_py-4.3.0.dist-info/licenses/LICENSE.markdown-it
|
|
142
|
+
|
|
143
|
+
```text
|
|
144
|
+
Copyright (c) 2014 Vitaly Puzrin, Alex Kocharin.
|
|
145
|
+
|
|
146
|
+
Permission is hereby granted, free of charge, to any person
|
|
147
|
+
obtaining a copy of this software and associated documentation
|
|
148
|
+
files (the "Software"), to deal in the Software without
|
|
149
|
+
restriction, including without limitation the rights to use,
|
|
150
|
+
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
151
|
+
copies of the Software, and to permit persons to whom the
|
|
152
|
+
Software is furnished to do so, subject to the following
|
|
153
|
+
conditions:
|
|
154
|
+
|
|
155
|
+
The above copyright notice and this permission notice shall be
|
|
156
|
+
included in all copies or substantial portions of the Software.
|
|
157
|
+
|
|
158
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
159
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
160
|
+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
161
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
162
|
+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
163
|
+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
164
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
165
|
+
OTHER DEALINGS IN THE SOFTWARE.
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
## mdurl 0.1.2
|
|
169
|
+
|
|
170
|
+
Source: <https://github.com/executablebooks/mdurl>
|
|
171
|
+
|
|
172
|
+
License: `MIT`
|
|
173
|
+
|
|
174
|
+
Evidence: `mdurl-0.1.2.dist-info/LICENSE`
|
|
175
|
+
|
|
176
|
+
### mdurl-0.1.2.dist-info/LICENSE
|
|
177
|
+
|
|
178
|
+
```text
|
|
179
|
+
Copyright (c) 2015 Vitaly Puzrin, Alex Kocharin.
|
|
180
|
+
Copyright (c) 2021 Taneli Hukkinen
|
|
181
|
+
|
|
182
|
+
Permission is hereby granted, free of charge, to any person
|
|
183
|
+
obtaining a copy of this software and associated documentation
|
|
184
|
+
files (the "Software"), to deal in the Software without
|
|
185
|
+
restriction, including without limitation the rights to use,
|
|
186
|
+
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
187
|
+
copies of the Software, and to permit persons to whom the
|
|
188
|
+
Software is furnished to do so, subject to the following
|
|
189
|
+
conditions:
|
|
190
|
+
|
|
191
|
+
The above copyright notice and this permission notice shall be
|
|
192
|
+
included in all copies or substantial portions of the Software.
|
|
193
|
+
|
|
194
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
195
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
196
|
+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
197
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
198
|
+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
199
|
+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
200
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
201
|
+
OTHER DEALINGS IN THE SOFTWARE.
|
|
202
|
+
|
|
203
|
+
--------------------------------------------------------------------------------
|
|
204
|
+
|
|
205
|
+
.parse() is based on Joyent's node.js `url` code:
|
|
206
|
+
|
|
207
|
+
Copyright Joyent, Inc. and other Node contributors. All rights reserved.
|
|
208
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
209
|
+
of this software and associated documentation files (the "Software"), to
|
|
210
|
+
deal in the Software without restriction, including without limitation the
|
|
211
|
+
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
212
|
+
sell copies of the Software, and to permit persons to whom the Software is
|
|
213
|
+
furnished to do so, subject to the following conditions:
|
|
214
|
+
|
|
215
|
+
The above copyright notice and this permission notice shall be included in
|
|
216
|
+
all copies or substantial portions of the Software.
|
|
217
|
+
|
|
218
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
219
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
220
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
221
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
222
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
223
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
224
|
+
IN THE SOFTWARE.
|
|
225
|
+
```
|
|
226
|
+
|
|
227
|
+
## pyyaml 6.0.3
|
|
228
|
+
|
|
229
|
+
Source: <https://github.com/yaml/pyyaml>
|
|
230
|
+
|
|
231
|
+
License: `MIT`
|
|
232
|
+
|
|
233
|
+
Evidence: `pyyaml-6.0.3.dist-info/licenses/LICENSE`
|
|
234
|
+
|
|
235
|
+
### pyyaml-6.0.3.dist-info/licenses/LICENSE
|
|
236
|
+
|
|
237
|
+
```text
|
|
238
|
+
Copyright (c) 2017-2021 Ingy döt Net
|
|
239
|
+
Copyright (c) 2006-2016 Kirill Simonov
|
|
240
|
+
|
|
241
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
|
242
|
+
this software and associated documentation files (the "Software"), to deal in
|
|
243
|
+
the Software without restriction, including without limitation the rights to
|
|
244
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
|
|
245
|
+
of the Software, and to permit persons to whom the Software is furnished to do
|
|
246
|
+
so, subject to the following conditions:
|
|
247
|
+
|
|
248
|
+
The above copyright notice and this permission notice shall be included in all
|
|
249
|
+
copies or substantial portions of the Software.
|
|
250
|
+
|
|
251
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
252
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
253
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
254
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
255
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
256
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
257
|
+
SOFTWARE.
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
## referencing 0.37.0
|
|
261
|
+
|
|
262
|
+
Source: <https://github.com/python-jsonschema/referencing>
|
|
263
|
+
|
|
264
|
+
License: `MIT`
|
|
265
|
+
|
|
266
|
+
Evidence: `referencing-0.37.0.dist-info/licenses/COPYING`
|
|
267
|
+
|
|
268
|
+
### referencing-0.37.0.dist-info/licenses/COPYING
|
|
269
|
+
|
|
270
|
+
```text
|
|
271
|
+
Copyright (c) 2022 Julian Berman
|
|
272
|
+
|
|
273
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
274
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
275
|
+
in the Software without restriction, including without limitation the rights
|
|
276
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
277
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
278
|
+
furnished to do so, subject to the following conditions:
|
|
279
|
+
|
|
280
|
+
The above copyright notice and this permission notice shall be included in
|
|
281
|
+
all copies or substantial portions of the Software.
|
|
282
|
+
|
|
283
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
284
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
285
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
286
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
287
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
288
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
289
|
+
THE SOFTWARE.
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
## rpds-py 2026.9.1
|
|
293
|
+
|
|
294
|
+
Source: <https://github.com/crate-py/rpds>
|
|
295
|
+
|
|
296
|
+
License: `MIT`
|
|
297
|
+
|
|
298
|
+
Evidence: `rpds_py-2026.9.1.dist-info/licenses/LICENSE`
|
|
299
|
+
|
|
300
|
+
### rpds_py-2026.9.1.dist-info/licenses/LICENSE
|
|
301
|
+
|
|
302
|
+
```text
|
|
303
|
+
Copyright (c) 2023 Julian Berman
|
|
304
|
+
|
|
305
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
306
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
307
|
+
in the Software without restriction, including without limitation the rights
|
|
308
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
309
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
310
|
+
furnished to do so, subject to the following conditions:
|
|
311
|
+
|
|
312
|
+
The above copyright notice and this permission notice shall be included in
|
|
313
|
+
all copies or substantial portions of the Software.
|
|
314
|
+
|
|
315
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
316
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
317
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
318
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
319
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
320
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
321
|
+
THE SOFTWARE.
|
|
322
|
+
```
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "brain-framework"
|
|
3
|
-
version = "
|
|
4
|
-
description = "Brain Framework is a local-first brain for you and your AI agents. It compiles
|
|
3
|
+
version = "34.0.0"
|
|
4
|
+
description = "Brain Framework is a local-first brain for you and your AI agents. It compiles YAML-frontmatter Markdown notes into JSONL records, validates with optional JSON Schemas, orchestrates least-privilege loops, and searches offline via a disposable SQLite FTS5 index."
|
|
5
5
|
readme = "README.md"
|
|
6
|
-
requires-python = ">=3.
|
|
6
|
+
requires-python = ">=3.12"
|
|
7
7
|
license = "MIT"
|
|
8
8
|
license-files = [
|
|
9
9
|
"LICENSE",
|
|
@@ -32,17 +32,17 @@ classifiers = [
|
|
|
32
32
|
"Operating System :: MacOS",
|
|
33
33
|
"Operating System :: POSIX :: Linux",
|
|
34
34
|
"Programming Language :: Python :: 3",
|
|
35
|
+
"Programming Language :: Python :: 3.12",
|
|
36
|
+
"Programming Language :: Python :: 3.13",
|
|
35
37
|
"Programming Language :: Python :: 3.14",
|
|
36
38
|
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
37
39
|
"Topic :: Text Processing :: Indexing",
|
|
38
40
|
"Typing :: Typed",
|
|
39
41
|
]
|
|
40
42
|
dependencies = [
|
|
41
|
-
"croniter>=6.0.0,<8",
|
|
42
43
|
"jsonschema>=4.26.0,<5",
|
|
43
|
-
"markdown>=3.
|
|
44
|
+
"markdown-it-py>=3.0.0,<5",
|
|
44
45
|
"pyyaml>=6.0.3,<7",
|
|
45
|
-
"watchfiles>=1.1.0,<2",
|
|
46
46
|
]
|
|
47
47
|
|
|
48
48
|
[[project.authors]]
|
|
@@ -74,7 +74,7 @@ src = [
|
|
|
74
74
|
extend-exclude = ["*.md"]
|
|
75
75
|
|
|
76
76
|
[tool.ruff.per-file-target-version]
|
|
77
|
-
"examples/**/*.py" = "
|
|
77
|
+
"examples/**/*.py" = "py312"
|
|
78
78
|
|
|
79
79
|
[tool.ruff.format]
|
|
80
80
|
docstring-code-format = true
|
|
@@ -174,7 +174,6 @@ timeout = "60"
|
|
|
174
174
|
[tool.coverage.run]
|
|
175
175
|
branch = true
|
|
176
176
|
source = ["bf"]
|
|
177
|
-
omit = ["*/bf/skills/*"]
|
|
178
177
|
patch = ["subprocess"]
|
|
179
178
|
|
|
180
179
|
[tool.coverage.report]
|
|
@@ -187,6 +186,7 @@ skip_empty = true
|
|
|
187
186
|
[dependency-groups]
|
|
188
187
|
dev = [
|
|
189
188
|
"deptry>=0.25.1",
|
|
189
|
+
"markdown>=3.11,<4",
|
|
190
190
|
"packaging>=26.3",
|
|
191
191
|
"pytest-cov>=7.1.0",
|
|
192
192
|
"pytest-socket>=0.8.1",
|