brickai 4.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.
- brickai-4.0.0/LICENSE +25 -0
- brickai-4.0.0/PKG-INFO +169 -0
- brickai-4.0.0/README.md +130 -0
- brickai-4.0.0/brickai/__init__.py +3 -0
- brickai-4.0.0/brickai/cli.py +1276 -0
- brickai-4.0.0/brickai/core/__init__.py +1 -0
- brickai-4.0.0/brickai/core/autofix.py +278 -0
- brickai-4.0.0/brickai/core/checkpoint.py +211 -0
- brickai-4.0.0/brickai/core/context.py +87 -0
- brickai-4.0.0/brickai/core/context_ast.py +1804 -0
- brickai-4.0.0/brickai/core/deployer.py +551 -0
- brickai-4.0.0/brickai/core/discovery/__init__.py +1 -0
- brickai-4.0.0/brickai/core/discovery/discover.py +236 -0
- brickai-4.0.0/brickai/core/ecosystem.py +230 -0
- brickai-4.0.0/brickai/core/health.py +370 -0
- brickai-4.0.0/brickai/core/ingest.py +1009 -0
- brickai-4.0.0/brickai/core/integrations/__init__.py +1 -0
- brickai-4.0.0/brickai/core/integrations/playwright_mcp.py +40 -0
- brickai-4.0.0/brickai/core/manifest_compiler.py +194 -0
- brickai-4.0.0/brickai/core/memory.py +557 -0
- brickai-4.0.0/brickai/core/model_router.py +45 -0
- brickai-4.0.0/brickai/core/model_selection.py +251 -0
- brickai-4.0.0/brickai/core/patcher.py +273 -0
- brickai-4.0.0/brickai/core/paths.py +34 -0
- brickai-4.0.0/brickai/core/policy_guard.py +617 -0
- brickai-4.0.0/brickai/core/research/__init__.py +1 -0
- brickai-4.0.0/brickai/core/research/evidence.py +81 -0
- brickai-4.0.0/brickai/core/research/extract.py +79 -0
- brickai-4.0.0/brickai/core/research/official.py +208 -0
- brickai-4.0.0/brickai/core/research/search.py +169 -0
- brickai-4.0.0/brickai/core/research/task_sources.py +235 -0
- brickai-4.0.0/brickai/core/routing/__init__.py +1 -0
- brickai-4.0.0/brickai/core/routing/intent.py +68 -0
- brickai-4.0.0/brickai/core/scaffolder.py +172 -0
- brickai-4.0.0/brickai/core/security_audit.py +393 -0
- brickai-4.0.0/brickai/core/task_router.py +69 -0
- brickai-4.0.0/brickai/core/vision_critic.py +975 -0
- brickai-4.0.0/brickai/core/workflow_engine.py +1172 -0
- brickai-4.0.0/brickai/mcp_server.py +1341 -0
- brickai-4.0.0/brickai/preview_server.py +392 -0
- brickai-4.0.0/brickai/studios/__init__.py +1 -0
- brickai-4.0.0/brickai/studios/asset_bridges.py +1197 -0
- brickai-4.0.0/brickai/studios/deck_builder.py +3792 -0
- brickai-4.0.0/brickai/studios/video_builder.py +2862 -0
- brickai-4.0.0/brickai/studios/web_auditor.py +1176 -0
- brickai-4.0.0/brickai/studios/web_builder.py +2230 -0
- brickai-4.0.0/brickai/ui_server.py +1394 -0
- brickai-4.0.0/brickai.egg-info/PKG-INFO +169 -0
- brickai-4.0.0/brickai.egg-info/SOURCES.txt +97 -0
- brickai-4.0.0/brickai.egg-info/dependency_links.txt +1 -0
- brickai-4.0.0/brickai.egg-info/entry_points.txt +2 -0
- brickai-4.0.0/brickai.egg-info/requires.txt +13 -0
- brickai-4.0.0/brickai.egg-info/top_level.txt +1 -0
- brickai-4.0.0/pyproject.toml +74 -0
- brickai-4.0.0/setup.cfg +4 -0
- brickai-4.0.0/tests/test_agent_evidence.py +34 -0
- brickai-4.0.0/tests/test_asset_bridges.py +544 -0
- brickai-4.0.0/tests/test_autofix.py +203 -0
- brickai-4.0.0/tests/test_benchmark.py +77 -0
- brickai-4.0.0/tests/test_checkpoint.py +200 -0
- brickai-4.0.0/tests/test_cli.py +859 -0
- brickai-4.0.0/tests/test_context.py +64 -0
- brickai-4.0.0/tests/test_context_ast.py +430 -0
- brickai-4.0.0/tests/test_deck_builder.py +694 -0
- brickai-4.0.0/tests/test_deployer.py +237 -0
- brickai-4.0.0/tests/test_discovery.py +87 -0
- brickai-4.0.0/tests/test_ecosystem.py +229 -0
- brickai-4.0.0/tests/test_external_project_e2e.py +297 -0
- brickai-4.0.0/tests/test_fixture_baselines.py +35 -0
- brickai-4.0.0/tests/test_fixture_verifiers.py +69 -0
- brickai-4.0.0/tests/test_frozen_runner.py +116 -0
- brickai-4.0.0/tests/test_host_setup.py +323 -0
- brickai-4.0.0/tests/test_ingest.py +314 -0
- brickai-4.0.0/tests/test_manifest_compiler.py +90 -0
- brickai-4.0.0/tests/test_mcp_server.py +440 -0
- brickai-4.0.0/tests/test_memory.py +366 -0
- brickai-4.0.0/tests/test_model_selection.py +145 -0
- brickai-4.0.0/tests/test_official_sources.py +120 -0
- brickai-4.0.0/tests/test_patcher.py +144 -0
- brickai-4.0.0/tests/test_policy_guard.py +288 -0
- brickai-4.0.0/tests/test_policy_qa.py +82 -0
- brickai-4.0.0/tests/test_preview_server.py +365 -0
- brickai-4.0.0/tests/test_rag_eval.py +72 -0
- brickai-4.0.0/tests/test_routing_quality.py +27 -0
- brickai-4.0.0/tests/test_scaffolder.py +77 -0
- brickai-4.0.0/tests/test_security_audit.py +152 -0
- brickai-4.0.0/tests/test_skills_v2.py +179 -0
- brickai-4.0.0/tests/test_source_probe_audit.py +29 -0
- brickai-4.0.0/tests/test_statistical_heldout.py +37 -0
- brickai-4.0.0/tests/test_task_sources.py +282 -0
- brickai-4.0.0/tests/test_trace_metrics.py +33 -0
- brickai-4.0.0/tests/test_ui_server.py +263 -0
- brickai-4.0.0/tests/test_v3_benchmarks.py +165 -0
- brickai-4.0.0/tests/test_validator.py +168 -0
- brickai-4.0.0/tests/test_video_studio.py +1056 -0
- brickai-4.0.0/tests/test_vision_critic.py +730 -0
- brickai-4.0.0/tests/test_web_decisions.py +20 -0
- brickai-4.0.0/tests/test_web_studio.py +774 -0
- brickai-4.0.0/tests/test_workflow_engine.py +345 -0
brickai-4.0.0/LICENSE
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
This license applies to the implementation files created here. The original
|
|
2
|
+
BrickAITools_Documentation archive and extracted files retain their prior terms;
|
|
3
|
+
their license is not specified by this repository.
|
|
4
|
+
|
|
5
|
+
MIT License
|
|
6
|
+
|
|
7
|
+
Copyright (c) 2026 BrickAITools contributors
|
|
8
|
+
|
|
9
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
10
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
11
|
+
in the Software without restriction, including without limitation the rights
|
|
12
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
13
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
14
|
+
furnished to do so, subject to the following conditions:
|
|
15
|
+
|
|
16
|
+
The above copyright notice and this permission notice shall be included in all
|
|
17
|
+
copies or substantial portions of the Software.
|
|
18
|
+
|
|
19
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
20
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
21
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
22
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
23
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
24
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
25
|
+
SOFTWARE.
|
brickai-4.0.0/PKG-INFO
ADDED
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: brickai
|
|
3
|
+
Version: 4.0.0
|
|
4
|
+
Summary: BrickAITools v4.0.0 — AI Engineering & Creative Studio OS (CLI + MCP Control Plane + Local Web UI)
|
|
5
|
+
Author: BrickAITools Contributors
|
|
6
|
+
License: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/BrickRunner/BrickAITools
|
|
8
|
+
Project-URL: Repository, https://github.com/BrickRunner/BrickAITools
|
|
9
|
+
Project-URL: Issues, https://github.com/BrickRunner/BrickAITools/issues
|
|
10
|
+
Keywords: ai,mcp,cli,coding-agent,developer-tools,creative-studio,figma,blender
|
|
11
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
12
|
+
Classifier: Environment :: Console
|
|
13
|
+
Classifier: Intended Audience :: Developers
|
|
14
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
15
|
+
Classifier: Operating System :: OS Independent
|
|
16
|
+
Classifier: Programming Language :: Python :: 3
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
22
|
+
Classifier: Topic :: Software Development :: Build Tools
|
|
23
|
+
Classifier: Topic :: Software Development :: Code Generators
|
|
24
|
+
Requires-Python: >=3.9
|
|
25
|
+
Description-Content-Type: text/markdown
|
|
26
|
+
License-File: LICENSE
|
|
27
|
+
Provides-Extra: full
|
|
28
|
+
Requires-Dist: jsonschema>=4.20; extra == "full"
|
|
29
|
+
Requires-Dist: pyyaml>=6.0; extra == "full"
|
|
30
|
+
Requires-Dist: mcp>=1.0; extra == "full"
|
|
31
|
+
Requires-Dist: playwright>=1.40; extra == "full"
|
|
32
|
+
Requires-Dist: ruff>=0.4; extra == "full"
|
|
33
|
+
Provides-Extra: dev
|
|
34
|
+
Requires-Dist: pytest>=7.4; extra == "dev"
|
|
35
|
+
Requires-Dist: pytest-cov>=4.1; extra == "dev"
|
|
36
|
+
Requires-Dist: jsonschema>=4.20; extra == "dev"
|
|
37
|
+
Requires-Dist: pyyaml>=6.0; extra == "dev"
|
|
38
|
+
Dynamic: license-file
|
|
39
|
+
|
|
40
|
+
# BrickAITools v3.0.0
|
|
41
|
+
|
|
42
|
+
AI Engineering & Creative Studio OS — unified CLI, native stdio MCP Control Plane, AST context & SQLite FTS5 episodic memory, deterministic Policy & Sandbox Guard, Config-Driven Web / Deck / Video Studios, and a zero-dependency Local Web UI Control Plane.
|
|
43
|
+
|
|
44
|
+
## Quickstart
|
|
45
|
+
|
|
46
|
+
Requires **Python 3.9+** with zero required third-party runtime dependencies.
|
|
47
|
+
|
|
48
|
+
### 1. Install
|
|
49
|
+
|
|
50
|
+
```sh
|
|
51
|
+
# Recommended isolated CLI install via pipx
|
|
52
|
+
pipx install git+https://github.com/BrickRunner/BrickAITools.git
|
|
53
|
+
|
|
54
|
+
# Or install from a local clone
|
|
55
|
+
git clone https://github.com/BrickRunner/BrickAITools.git
|
|
56
|
+
cd BrickAITools
|
|
57
|
+
pipx install .
|
|
58
|
+
|
|
59
|
+
# Or install editable for development & tests
|
|
60
|
+
pip install -e ".[dev]"
|
|
61
|
+
|
|
62
|
+
# Or install via Homebrew (see Formula/brickai.rb)
|
|
63
|
+
brew install --HEAD Formula/brickai.rb
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
### 2. Initialize a Host Project
|
|
67
|
+
|
|
68
|
+
Generate compact agent instructions (`AGENTS.md`, `CLAUDE.md`, `GEMINI.md`), auto-detected domain packs, and MCP server wiring (`.mcp.json`, `.gemini/settings.json`, `.codex/config.toml`, `opencode.json`, `.brickai/config.json`):
|
|
69
|
+
|
|
70
|
+
```sh
|
|
71
|
+
brickai init --host all --dry-run --target .
|
|
72
|
+
brickai init --host all --apply --target .
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
### 3. Launch the Local Web UI Control Plane
|
|
76
|
+
|
|
77
|
+
Inspect runtime health (`doctor`), browse the compiled Resource Catalog (`manifests/resources.bundle.json`), manage Spec-Gate task checkpoints, search local & global FTS5 memory, and copy Studio quick-commands:
|
|
78
|
+
|
|
79
|
+
```sh
|
|
80
|
+
brickai ui
|
|
81
|
+
# Custom bind / headless flags
|
|
82
|
+
brickai ui --host 127.0.0.1 --port 8765 --no-open
|
|
83
|
+
# Print self-contained Control Plane HTML and exit 0
|
|
84
|
+
brickai ui --dump-html
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
### 4. Start the Native MCP Server
|
|
88
|
+
|
|
89
|
+
Run the JSON-RPC 2.0 MCP server over stdio, confined to the target workspace root:
|
|
90
|
+
|
|
91
|
+
```sh
|
|
92
|
+
brickai mcp serve --root .
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
### 5. Run Environment Diagnostics
|
|
96
|
+
|
|
97
|
+
```sh
|
|
98
|
+
brickai doctor --json
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
## Creative & Verification Studios
|
|
104
|
+
|
|
105
|
+
### Web Studio (`web-build`, `web-verify`, `web-extract`)
|
|
106
|
+
|
|
107
|
+
Config-driven motion & 3D web site compiler (`editorial-swiss`, `spatial-3d-dark`, `neo-brutalist-craft`, `minimal-luxury` presets), design-token extractor, and Playwright + deterministic static fallback auditor with built-in Anti-AI-Slop checks:
|
|
108
|
+
|
|
109
|
+
```sh
|
|
110
|
+
brickai web-build --spec site.manifest.json --out-dir dist
|
|
111
|
+
brickai web-verify --path dist --json
|
|
112
|
+
brickai web-extract --source https://example.com --name brand-tokens --out-dir tokens
|
|
113
|
+
```
|
|
114
|
+
|
|
115
|
+
### Presentation Deck Studio (`deck`)
|
|
116
|
+
|
|
117
|
+
Compile and verify `deck.manifest.json` across `slidev`, `reveal`, and `marp` engines with `1280x720` layout-alternation & word-budget checks, and export to `pptx`, `pdf`, or `html`:
|
|
118
|
+
|
|
119
|
+
```sh
|
|
120
|
+
brickai deck init --engine slidev --out-dir deck
|
|
121
|
+
brickai deck build --manifest deck/deck.manifest.json --out-dir deck/dist
|
|
122
|
+
brickai deck verify --manifest deck/deck.manifest.json
|
|
123
|
+
brickai deck export deck/dist --format pptx
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
### Video Studio (`video`)
|
|
127
|
+
|
|
128
|
+
Compile, verify, render, and synthesize local TTS voiceovers (`kokoro`, `piper`, `say`, `espeak-ng`) for `hyperframes`, `motion-canvas`, and `manim`:
|
|
129
|
+
|
|
130
|
+
```sh
|
|
131
|
+
brickai video init --engine hyperframes --out-dir video
|
|
132
|
+
brickai video build --manifest video/video.manifest.json --out-dir video/dist
|
|
133
|
+
brickai video verify video/dist
|
|
134
|
+
brickai video render video/dist
|
|
135
|
+
brickai video voiceover video/video.manifest.json --provider auto
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
---
|
|
139
|
+
|
|
140
|
+
## Core Engineering Engine
|
|
141
|
+
|
|
142
|
+
- **AST Symbol Map (`brickai context map`)**: Token-budgeted AST context map (`--max-tokens 4000`).
|
|
143
|
+
- **Episodic & Global Memory (`brickai memory`)**: SQLite FTS5 BM25 search with secret redaction and TTL pruning (`record`, `query`, `prune`).
|
|
144
|
+
- **Scaffolder & Surgical Patcher (`brickai scaffold`, `brickai patch`, `brickai autofix`)**: Template scaffolding, bounded `SEARCH/REPLACE` and AST codemod edits, and formatting.
|
|
145
|
+
- **Checkpoints & Spec-Gate (`brickai checkpoint`, `brickai workflow run`)**: Atomic `.brickai/checkpoints/*.json` persistence with `spec_approved` enforcement.
|
|
146
|
+
- **Content Ingestion (`brickai ingest`)**: SSRF-guarded URL & local document conversion into secret-redacted Markdown.
|
|
147
|
+
- **Security Audit (`brickai audit`)**: Built-in secret/AST scan plus optional `gitleaks`, `semgrep`, and `osv-scanner` integration.
|
|
148
|
+
|
|
149
|
+
---
|
|
150
|
+
|
|
151
|
+
## Documentation & Policies
|
|
152
|
+
|
|
153
|
+
- [Documentation Overview (RU / EN)](docs/README.md)
|
|
154
|
+
- [Documentation Index](docs/FINAL_DOCUMENTATION_INDEX.md)
|
|
155
|
+
- [Architecture](docs/ARCHITECTURE.md)
|
|
156
|
+
- [Agent Setup Guide](docs/AGENT_SETUP.md)
|
|
157
|
+
- [Bootstrap Entry](bootstrap/START.md)
|
|
158
|
+
- [Compiled Resource Catalog](manifests/resources.bundle.json)
|
|
159
|
+
- [Homebrew Formula](Formula/brickai.rb)
|
|
160
|
+
- [Security Policy](policies/SECURITY_POLICY.md)
|
|
161
|
+
- [External Content Policy](policies/EXTERNAL_CONTENT_POLICY.md)
|
|
162
|
+
|
|
163
|
+
## Verification
|
|
164
|
+
|
|
165
|
+
```sh
|
|
166
|
+
python3 -m brickai.core.manifest_compiler --check
|
|
167
|
+
python3 tests/validate.py --require-schema
|
|
168
|
+
python3 -m pytest -q
|
|
169
|
+
```
|
brickai-4.0.0/README.md
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
# BrickAITools v3.0.0
|
|
2
|
+
|
|
3
|
+
AI Engineering & Creative Studio OS — unified CLI, native stdio MCP Control Plane, AST context & SQLite FTS5 episodic memory, deterministic Policy & Sandbox Guard, Config-Driven Web / Deck / Video Studios, and a zero-dependency Local Web UI Control Plane.
|
|
4
|
+
|
|
5
|
+
## Quickstart
|
|
6
|
+
|
|
7
|
+
Requires **Python 3.9+** with zero required third-party runtime dependencies.
|
|
8
|
+
|
|
9
|
+
### 1. Install
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
# Recommended isolated CLI install via pipx
|
|
13
|
+
pipx install git+https://github.com/BrickRunner/BrickAITools.git
|
|
14
|
+
|
|
15
|
+
# Or install from a local clone
|
|
16
|
+
git clone https://github.com/BrickRunner/BrickAITools.git
|
|
17
|
+
cd BrickAITools
|
|
18
|
+
pipx install .
|
|
19
|
+
|
|
20
|
+
# Or install editable for development & tests
|
|
21
|
+
pip install -e ".[dev]"
|
|
22
|
+
|
|
23
|
+
# Or install via Homebrew (see Formula/brickai.rb)
|
|
24
|
+
brew install --HEAD Formula/brickai.rb
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
### 2. Initialize a Host Project
|
|
28
|
+
|
|
29
|
+
Generate compact agent instructions (`AGENTS.md`, `CLAUDE.md`, `GEMINI.md`), auto-detected domain packs, and MCP server wiring (`.mcp.json`, `.gemini/settings.json`, `.codex/config.toml`, `opencode.json`, `.brickai/config.json`):
|
|
30
|
+
|
|
31
|
+
```sh
|
|
32
|
+
brickai init --host all --dry-run --target .
|
|
33
|
+
brickai init --host all --apply --target .
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### 3. Launch the Local Web UI Control Plane
|
|
37
|
+
|
|
38
|
+
Inspect runtime health (`doctor`), browse the compiled Resource Catalog (`manifests/resources.bundle.json`), manage Spec-Gate task checkpoints, search local & global FTS5 memory, and copy Studio quick-commands:
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
brickai ui
|
|
42
|
+
# Custom bind / headless flags
|
|
43
|
+
brickai ui --host 127.0.0.1 --port 8765 --no-open
|
|
44
|
+
# Print self-contained Control Plane HTML and exit 0
|
|
45
|
+
brickai ui --dump-html
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
### 4. Start the Native MCP Server
|
|
49
|
+
|
|
50
|
+
Run the JSON-RPC 2.0 MCP server over stdio, confined to the target workspace root:
|
|
51
|
+
|
|
52
|
+
```sh
|
|
53
|
+
brickai mcp serve --root .
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
### 5. Run Environment Diagnostics
|
|
57
|
+
|
|
58
|
+
```sh
|
|
59
|
+
brickai doctor --json
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
---
|
|
63
|
+
|
|
64
|
+
## Creative & Verification Studios
|
|
65
|
+
|
|
66
|
+
### Web Studio (`web-build`, `web-verify`, `web-extract`)
|
|
67
|
+
|
|
68
|
+
Config-driven motion & 3D web site compiler (`editorial-swiss`, `spatial-3d-dark`, `neo-brutalist-craft`, `minimal-luxury` presets), design-token extractor, and Playwright + deterministic static fallback auditor with built-in Anti-AI-Slop checks:
|
|
69
|
+
|
|
70
|
+
```sh
|
|
71
|
+
brickai web-build --spec site.manifest.json --out-dir dist
|
|
72
|
+
brickai web-verify --path dist --json
|
|
73
|
+
brickai web-extract --source https://example.com --name brand-tokens --out-dir tokens
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### Presentation Deck Studio (`deck`)
|
|
77
|
+
|
|
78
|
+
Compile and verify `deck.manifest.json` across `slidev`, `reveal`, and `marp` engines with `1280x720` layout-alternation & word-budget checks, and export to `pptx`, `pdf`, or `html`:
|
|
79
|
+
|
|
80
|
+
```sh
|
|
81
|
+
brickai deck init --engine slidev --out-dir deck
|
|
82
|
+
brickai deck build --manifest deck/deck.manifest.json --out-dir deck/dist
|
|
83
|
+
brickai deck verify --manifest deck/deck.manifest.json
|
|
84
|
+
brickai deck export deck/dist --format pptx
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
### Video Studio (`video`)
|
|
88
|
+
|
|
89
|
+
Compile, verify, render, and synthesize local TTS voiceovers (`kokoro`, `piper`, `say`, `espeak-ng`) for `hyperframes`, `motion-canvas`, and `manim`:
|
|
90
|
+
|
|
91
|
+
```sh
|
|
92
|
+
brickai video init --engine hyperframes --out-dir video
|
|
93
|
+
brickai video build --manifest video/video.manifest.json --out-dir video/dist
|
|
94
|
+
brickai video verify video/dist
|
|
95
|
+
brickai video render video/dist
|
|
96
|
+
brickai video voiceover video/video.manifest.json --provider auto
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
---
|
|
100
|
+
|
|
101
|
+
## Core Engineering Engine
|
|
102
|
+
|
|
103
|
+
- **AST Symbol Map (`brickai context map`)**: Token-budgeted AST context map (`--max-tokens 4000`).
|
|
104
|
+
- **Episodic & Global Memory (`brickai memory`)**: SQLite FTS5 BM25 search with secret redaction and TTL pruning (`record`, `query`, `prune`).
|
|
105
|
+
- **Scaffolder & Surgical Patcher (`brickai scaffold`, `brickai patch`, `brickai autofix`)**: Template scaffolding, bounded `SEARCH/REPLACE` and AST codemod edits, and formatting.
|
|
106
|
+
- **Checkpoints & Spec-Gate (`brickai checkpoint`, `brickai workflow run`)**: Atomic `.brickai/checkpoints/*.json` persistence with `spec_approved` enforcement.
|
|
107
|
+
- **Content Ingestion (`brickai ingest`)**: SSRF-guarded URL & local document conversion into secret-redacted Markdown.
|
|
108
|
+
- **Security Audit (`brickai audit`)**: Built-in secret/AST scan plus optional `gitleaks`, `semgrep`, and `osv-scanner` integration.
|
|
109
|
+
|
|
110
|
+
---
|
|
111
|
+
|
|
112
|
+
## Documentation & Policies
|
|
113
|
+
|
|
114
|
+
- [Documentation Overview (RU / EN)](docs/README.md)
|
|
115
|
+
- [Documentation Index](docs/FINAL_DOCUMENTATION_INDEX.md)
|
|
116
|
+
- [Architecture](docs/ARCHITECTURE.md)
|
|
117
|
+
- [Agent Setup Guide](docs/AGENT_SETUP.md)
|
|
118
|
+
- [Bootstrap Entry](bootstrap/START.md)
|
|
119
|
+
- [Compiled Resource Catalog](manifests/resources.bundle.json)
|
|
120
|
+
- [Homebrew Formula](Formula/brickai.rb)
|
|
121
|
+
- [Security Policy](policies/SECURITY_POLICY.md)
|
|
122
|
+
- [External Content Policy](policies/EXTERNAL_CONTENT_POLICY.md)
|
|
123
|
+
|
|
124
|
+
## Verification
|
|
125
|
+
|
|
126
|
+
```sh
|
|
127
|
+
python3 -m brickai.core.manifest_compiler --check
|
|
128
|
+
python3 tests/validate.py --require-schema
|
|
129
|
+
python3 -m pytest -q
|
|
130
|
+
```
|