Skip to content

Commit 9a4a83a

Browse files
author
Alex
committed
docs: add release announcement for v2026.05.19
Refs: release v2026.05.19
1 parent 6fea5ad commit 9a4a83a

1 file changed

Lines changed: 55 additions & 0 deletions

File tree

.docs/releases/v2026.05.19.md

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Release v2026.05.19
2+
3+
**Date:** 2026-05-19
4+
**Author:** Alex
5+
6+
## Highlights
7+
8+
### Project-Level Config Discovery for terraphim-agent
9+
10+
This release introduces project-level configuration support for `terraphim-agent`, enabling developers to define project-specific roles, global shortcuts, and configuration overrides in a `.terraphim/config.json` file within their project directories.
11+
12+
**Key Features:**
13+
- **Automatic Discovery**: Searches parent directories for `.terraphim/` directory starting from current working directory
14+
- **Role Merging**: Project-specific roles override global roles by `RoleName` (full replacement, not deep merge)
15+
- **Global Shortcut**: Optional `global_shortcut` field allows project configs to omit it
16+
- **Non-Invasive**: Global config remains unchanged; project config is optional
17+
18+
**Usage:**
19+
```json
20+
{
21+
"global_shortcut": "Cmd+K",
22+
"roles": {
23+
"MyProjectRole": {
24+
"haystacks": ["/path/to/project/docs"],
25+
...
26+
}
27+
}
28+
}
29+
```
30+
31+
### Security Fix
32+
33+
- **fix(security): char-safe truncation in sanitize_system_prompt** (Fixes #1721)
34+
35+
### Build Improvements
36+
37+
- **fix(build-runner): tee output to file and fix BUILD.md parsing**
38+
39+
## Full Changelog
40+
41+
| Commit | Description |
42+
|--------|-------------|
43+
| `59cd233b7` | feat(config): implement project-level config discovery for .terraphim/ |
44+
| `26f5b8728` | feat(config): implement project-level config discovery for .terraphim/ |
45+
| `82c746757` | fix(config): remove needless borrows in project.rs clippy warnings |
46+
| `511813479` | fix(security): char-safe truncation in sanitize_system_prompt Fixes #1721 |
47+
| `0b1ebf9d2` | fix(build-runner): tee output to file and fix BUILD.md parsing |
48+
49+
## Upgrade Notes
50+
51+
No breaking changes. Project-level config is entirely optional and backward-compatible with existing global configurations.
52+
53+
## Related Issues
54+
55+
- #1721 - Security: UTF-8 boundary panic in sanitize_system_prompt

0 commit comments

Comments
 (0)