pi-beyin 0.1.4 → 0.1.5

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/README.md CHANGED
@@ -10,7 +10,7 @@ Codex/Claude/OpenCode hooks, plus a CommandCode classifier bridge and the projec
10
10
  | `extensions/context.ts` | Injects relevant vault notes into every request and reminds the agent to write a receipt when a turn edited files without recording. Registers the `beyin_jev_memory` / `beyin_jev_review` / `beyin_jev_answer` advisor tools. |
11
11
  | `extensions/damitma.ts` | At the end of a turn, if the vault was written but nothing was distilled into `knowledge/`, offers **distillation candidates** (never writes on its own). `/damitma`. |
12
12
  | `extensions/jev.ts` | Registers CommandCode's `typesafe/jev` decision model as a pi classifier. `/jev-test`. |
13
- | `skills/` | `experiment-record`, `journal`, `literature`, `maintenance` — project-memory procedures driven by `<project>/.pi/beyin-project.json` (see [`skills/_shared/project-profile.md`](skills/_shared/project-profile.md)). |
13
+ | `skills/` | `brain` (vault memory work), `brain-doctor` (health), `brain-update` (upgrades), `source-distillation` (external sources → concept notes), and the project-memory procedures `experiment-record`, `journal`, `literature`, `maintenance` driven by `<project>/.pi/beyin-project.json` (see [`skills/_shared/project-profile.md`](skills/_shared/project-profile.md)). |
14
14
  | `tools/pi-harness-patch.py` | Makes a beyin vault treat `pi` as a first-class harness (`receipt --harness pi`). Idempotent; the extension re-applies it after beyin updates. |
15
15
 
16
16
  Everything is **fail-open**: an error never breaks the turn, that turn's contribution is just
@@ -79,8 +79,10 @@ A vault whose `beyin.py` does not accept `--harness pi` needs `tools/pi-harness-
79
79
 
80
80
  ## Project memory skills
81
81
 
82
- The four skills read `<project>/.pi/beyin-project.json` for paths and scopes; without a profile they
83
- fall back to `logs/`, `journal/`, `literature/`. The profile schema and the safety rules (source ≠
82
+ The skills are written in English; what they produce is not. Every skill writes in the user's language
83
+ and reuses the target file's headings — existing headings are never translated. The project-memory skills
84
+ read `<project>/.pi/beyin-project.json` for paths and scopes; without a profile they fall back to `logs/`,
85
+ `journal/`, `literature/`. The profile schema and the safety rules (source ≠
84
86
  derived report, never delete, secrets are never read or copied) are in
85
87
  [`skills/_shared/project-profile.md`](skills/_shared/project-profile.md).
86
88
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-beyin",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "pi-native bridge for the beyin second brain: context injection, distillation reminders, and Jev advisor tools.",
5
5
  "keywords": [
6
6
  "pi-package",
@@ -1,6 +1,6 @@
1
1
  # Project Profile Schema (`<project>/.pi/beyin-project.json`)
2
2
 
3
- The portable skills (`experiment-record`, `journal`, `literature`, `maintenance`) read their paths from this file, so the
3
+ The portable skills (`experiment-record`, `journal`, `literature`, `maintenance`, and the beyin workflow skills) read their paths from this file, so the
4
4
  same skill writes into each project's own directories.
5
5
 
6
6
  ## Schema
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: beyin
2
+ name: brain
3
3
  description: Vault memory procedure — find knowledge, write notes and tasks, record finished work with its sources, and keep companion notes current. Use for requests like "hatırla", "bunu kaydet", "not al", "hafızama bak", "görevi güncelle", "ne yapmıştık", "oturumu kapat", "beyne yaz", "remember this", "save this to memory", "note this down", "update the task", "what did we do", "close the session". Runs against the vault root that holds beyin.py. Also covers the optional Jev advisor and the consumption/auto-check preferences.
4
4
  ---
5
5
 
@@ -245,7 +245,7 @@ model runner or a new dependency without being asked.
245
245
 
246
246
  V3.1: the `updates` section inside `doctor` shows the latest version check; a network error does not prove being
247
247
  up to date. Use `beyin.py update --check --metadata-only` only for a version question. Route an update request to
248
- the `beyin-update` skill.
248
+ the `brain-update` skill.
249
249
 
250
250
  ## Optional Jev and source-backed decision review
251
251
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: beyin-doctor
2
+ name: brain-doctor
3
3
  description: Health check for the beyin installation — does memory actually work, are sources indexed, are hook/worker, skills and updates healthy. Use for requests like "beyin doktor", "hafıza çalışıyor mu", "sağlık kontrolü", "doctor çalıştır", "neden hatırlamıyor", "hook çalışmıyor", "skill çakışması", "run a health check", "is the memory working", "why doesn't it remember", "check the hook". Never turns an indicator green by deleting data.
4
4
  ---
5
5
 
@@ -16,7 +16,7 @@ logs or private notes into the chat, explain the fault and the smallest fix.
16
16
 
17
17
  If a source change isn't indexed, `python3 beyin.py sync`; if skill files differ, reconcile deliberately with
18
18
  `python3 beyin.py skill-sync`. If both sides changed, keep the files and say which version has to be chosen. If an
19
- update was left half-done, use the `beyin-update` path; never turn a health indicator green by deleting the runtime
19
+ update was left half-done, use the `brain-update` path; never turn a health indicator green by deleting the runtime
20
20
  database or the user's files.
21
21
 
22
22
  When the client connection has to be verified, use a probe note that contains no private data. In a new real
@@ -66,7 +66,7 @@ ask again for nothing.
66
66
 
67
67
  V3.1: the `updates` section inside `doctor` shows the latest version check; a network error does not prove being up
68
68
  to date. Use `beyin.py update --check --metadata-only` only for a version question. Route an update request to the
69
- `beyin-update` skill.
69
+ `brain-update` skill.
70
70
 
71
71
  **Structural auditing is not `doctor`'s job.** Note/task/link graph, single-ownership violations, broken links,
72
72
  traces of dead claims → delegate to a read-only vault-audit sub-agent: it returns evidenced findings plus a
@@ -1,5 +1,5 @@
1
1
  ---
2
- name: beyin-update
2
+ name: brain-update
3
3
  description: Update an existing beyin installation to the new official version, check the version, or roll back a failed upgrade. Use for requests like "beynimi güncelle", "yeni sürüm var mı", "sürümü kontrol et", "güncelleme kaldı", "geri dön", "rollback", "update beyin", "is there a new version", "check the version", "undo the update". One tool only — beyin.py update.
4
4
  ---
5
5
 
@@ -9,7 +9,7 @@ Language: write in the user's language and reuse the target file's headings —
9
9
 
10
10
  Distill transferable knowledge from an **external source** the user gives (web, paper, local PDF, bookmark) into
11
11
  the vault. Not copying raw text: **source ≠ derived**. The raw source stays outside the vault; the vault holds only
12
- the distilled, source-linked note. Related: `../beyin/SKILL.md`.
12
+ the distilled, source-linked note. Related: `../brain/SKILL.md`.
13
13
 
14
14
  ## Paths (from the project profile)
15
15
  `<project root>/.pi/beyin-project.json` → `sources` (optional; fallback `sources/` under the project root),