@jossuealcala/madre 0.2.1 → 0.2.2
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.
- package/CHANGELOG.md +7 -0
- package/README.md +1 -1
- package/package.json +1 -1
- package/src/adapters/claude.mjs +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Todas las versiones publicadas de `@jossuealcala/madre`. Fechas en ISO.
|
|
4
4
|
|
|
5
|
+
## 0.2.2 · 2026-09-18
|
|
6
|
+
|
|
7
|
+
### Corrección crítica
|
|
8
|
+
- Claude Code negaba toda escritura en `#2 CREATE` y `#3 CONTROL`: las reglas `Write(/ruta/**)` se leían como relativas al proyecto. Ahora van como `//ruta/**`, la forma absoluta de Claude Code; las zonas prohibidas siguen bloqueadas antes del turno.
|
|
9
|
+
|
|
10
|
+
Reproducido con el CLI real en un repositorio temporal: con una barra el archivo quedaba bloqueado sin pregunta; con dos se escribe y `.env` sigue bloqueado. Sin otros cambios respecto a 0.2.1.
|
|
11
|
+
|
|
5
12
|
## 0.2.1 · 2026-09-18 · beta pública
|
|
6
13
|
|
|
7
14
|
Primera versión pensada para manos ajenas. Requiere Node 22.5 o superior.
|
package/README.md
CHANGED
|
@@ -290,7 +290,7 @@ Todos los adaptadores corren en su propio grupo de procesos. Si un agente no res
|
|
|
290
290
|
|
|
291
291
|
## Cambios
|
|
292
292
|
|
|
293
|
-
Ver [CHANGELOG.md](CHANGELOG.md). La versión actual es 0.2.
|
|
293
|
+
Ver [CHANGELOG.md](CHANGELOG.md). La versión actual es 0.2.2, beta pública: el núcleo está probado y bajo CI, la superficie sigue cambiando y las decisiones que aún duelen están escritas en el modelo de amenazas. Los problemas se reportan desde MU/TH/UR (`✎ FEEDBACK` o el sentinel) o en [issues](https://github.com/jossuealcacao-exe/madre/issues); la seguridad, según [SECURITY.md](SECURITY.md).
|
|
294
294
|
|
|
295
295
|
## Licencia
|
|
296
296
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jossuealcala/madre",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "MADRE: one local room where the AI coding agents already installed on your machine (Codex, Claude Code, Gemini CLI, OpenCode) work on a project together over the PULSE channel: read-only by default, per-message permission modes up to a checkpointed CONTROL, a shared memory every agent recalls and queries, and NOSTROMO to browse it.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai-agents",
|
package/src/adapters/claude.mjs
CHANGED
|
@@ -25,7 +25,8 @@ export function buildClaudeArgs({ prompt, model = null, attachmentsDir = null, l
|
|
|
25
25
|
];
|
|
26
26
|
const allowed = [
|
|
27
27
|
'Read', 'Glob', 'Grep',
|
|
28
|
-
|
|
28
|
+
// Claude Code reads `/path` as relative to the project and `//path` as an absolute path.
|
|
29
|
+
...(lease ? [`Write(//${lease.outDir}/**)`, `Edit(//${lease.outDir}/**)`] : []),
|
|
29
30
|
...(scopes?.web ? ['WebFetch', 'WebSearch'] : []),
|
|
30
31
|
...mcpTools,
|
|
31
32
|
];
|
|
@@ -43,7 +44,7 @@ export function buildClaudeArgs({ prompt, model = null, attachmentsDir = null, l
|
|
|
43
44
|
'--tools', tools.join(','),
|
|
44
45
|
...(lease || scopes?.web || anyMcp ? ['--allowedTools', allowed.join(',')] : []),
|
|
45
46
|
// CONTROL: the whole project is writable except MADRE's forbidden zones.
|
|
46
|
-
...(lease?.control ? ['--disallowedTools', ['.git/**', '.pulse/**', '.env', '.env.*', '**/.env', '**/.env.*'].flatMap((glob) => [`Write(
|
|
47
|
+
...(lease?.control ? ['--disallowedTools', ['.git/**', '.pulse/**', '.env', '.env.*', '**/.env', '**/.env.*'].flatMap((glob) => [`Write(//${lease.outDir}/${glob})`, `Edit(//${lease.outDir}/${glob})`]).join(',')] : []),
|
|
47
48
|
// --safe-mode disables every MCP server, ours included. With a MADRE server
|
|
48
49
|
// attached we drop it and instead load no setting sources at all: no user
|
|
49
50
|
// hooks, plugins or MCP servers, only the project's CLAUDE.md and ours.
|