11 Commits
Author SHA1 Message Date
public-repo-gate 4468182500 docs: one spelling, and the onboarding through the same editor 2026-08-29 23:00:47 +03:00
public-repo-gate 97418f8862 release: guided install, update skill, onboarding in three languages 2026-08-29 20:50:55 +03:00
Зарубин Филипп b9aad52bca feat: Фаза 8 — dashboard (athena-status + athena-weekly-report)
- specs/08-dashboard.md: спек тонкого UI над Ф7 local-workflows.
- athena-status.mjs: CLI snapshot ≤20 строк из routing-evals.jsonl
  (jobs/classes/split/corrections/steward/reports); exit 1 при unretried failed.
- athena-weekly-report.mjs: weekly MD+HTML из routing-evals.jsonl (last 7d);
  next-steps секция; quality-gate (athena-report-quality-gate.mjs) pass.
- smoke/agent-contract.sh: +Phase 8 проверки (status exit 0 + weekly→quality-gate).
- specs/00-roadmap.md: Ф8 закрыта (✓). docs/FEATURES.ru.md: §20 Dashboard.
- shellcheck -S warning: 0 warnings · SMOKE OK.
2026-06-23 22:23:50 +03:00
Зарубин Филипп 09a6cbe0a4 feat: Фаза 7 шаги 7-10 — job-lifecycle FSM + project passport + parity-smoke
- chezmoi/dot_agents/job-lifecycle.yaml: FSM 13 состояний (Draft→Archived
  + Failed→Retry), invariants (retry-once, delivered/archived gates), ledger_fields.
- claude-starter/project.yaml: шаблон project passport (data_policy,
  capabilities, agents.preferred_pair, steward.max_proposals_per_week).
- claude-starter/routing-evals.example.jsonl: формат eval-записей (3 примера:
  code-edit/arch/legal с полями ts/job_id/task_class/primary/reviewer/outcome/correction).
- athena-router.md: добавлен start matrix 10 классов + eval feedback loop.
- smoke/parity-smoke.sh: synthetic parity-smoke — сравнение schema route-card
  Claude vs Codex + drift-check ~/.claude↔~/.codex если оба развёрнуты.
- smoke/agent-contract.sh: +5 проверок (job-lifecycle/project.yaml/routing-evals/
  start-matrix/parity-smoke).
- smoke/smoke.sh: секция [parity].
- shellcheck -S warning: 0 warnings · smoke: SMOKE OK.
2026-06-23 22:16:08 +03:00
Зарубин ФилиппandClaude Sonnet 4.6 cc947028c5 feat: Фаза 7 шаги 4-6 — session-review skill + postrun-report + quality-gate
Step 4: skills/agent-session-review/SKILL.md (dual-write root+chezmoi)
  - 4 mandatory blocks: brief_md / agent_trace / self_reflection / most_important
  - Karpathy method: synthesize on write, mandatory before deliver gate

Step 5: chezmoi/dot_agents/registry/scripts/athena-postrun-report.mjs
  - Adapted from mnemazine-postrun-knowledge-report.mjs (520→~120 lines)
  - Input: --results-json [{group_id, outcome, helps, next_action}]
  - Output: --format md (default) | html | json
  - Env: ATHENA_REPORTS, ATHENA_RUN_ID; zero hardcoded paths

Step 6: chezmoi/dot_agents/registry/scripts/athena-report-quality-gate.mjs
  - Adapted from mnemazine-report-quality-gate.mjs (99→~110 lines)
  - 5 rules: no-raw-ocr / no-local-paths / no-secrets / has-outcome / has-next-action
  - Accepts .html and .md reports; exit 0=pass, 1=fail

Smoke: agent-contract.sh +4 checks (SKILL.md blocks, postrun synthetic,
  gate positive PASS, gate negative FAIL). smoke green, shellcheck -S error 0.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-23 18:33:42 +03:00
Зарубин Филипп 3094b0a6ae feat: Фаза 7 шаги 2-3 — handoff-граф + agent-contract smoke
handoff-graph.yaml: directed DAG (7 agents/handoffs/forbidden/gates), engine-agnostic,
per-edge when, per-forbidden why, final-learning-tail (brief/trace/reflection/most_important).
agent-contract.sh: zero-dep валидатор (passports + граф integrity), врезан в smoke.sh.
Негатив-тесты подтверждены: ловит missing when/why/tail/passport. shellcheck 0 (error-level).
role-passports/_index.md — навигация по 7 душам.
2026-06-23 17:55:32 +03:00
Зарубин Филипп 9b8e296b19 feat: Фаза 7 Local Agent Contract — спека + 7 паспортов athena-* (English-first)
Skeleton = docs/MNEMAZINE-AGENTOS-TRANSFER (local-first перенос идей Mnemazine).
Сверка Б против vault-канона показала: transfer-док сжал мастер-док до потери 6 контрактов.
Привиты: job-lifecycle FSM, eval-loop→router, project.yaml, security+emergency, per-class матрица.
Роли 6→7 (reviewer ≠ reconciler — раздельные ворота). Parity = run_job + matrix + smoke, не агент.
Паспорта English (English-first policy: артефакты EN, communication-язык спрашивается на установке).

- specs/07-local-agent-contract.md — спека Фазы 7 (EN)
- chezmoi/dot_agents/role-passports/*.md — 7 паспортов
- specs/00-roadmap.md — Фаза 7 запись + DoD
- docs/{MNEMAZINE-AGENTOS-TRANSFER,FEATURES.ru} — rationale + ссылка
2026-06-23 17:43:35 +03:00
Зарубин ФилиппandClaude Opus 4.8 67e6b0e84d feat: thin session — hide skill bulk from injection, route on demand
Claude Code injects every personal skill name (~1.4k skills → ~11k tokens) into
each session. Thin session hides the bulk via native skillOverrides
(user-invocable-only) and surfaces the top-5 relevant skills per prompt — saving
~11k tokens/session while keeping every skill reachable by /name.

- gen-skill-overrides.mjs: writes the skillOverrides hide-map (allowlist editable)
- skill-router.mjs: UserPromptSubmit hook, per-prompt top-5, fail-open + guarded
- athena-research: manual router skill
- build-skill-index.mjs: index now scans ~/.claude/skills + dedupes parity copies
- route-skills.mjs / build_registry.py: usage/frequency removed from ranking
  (still collected for analytics; ranking is quality-led)
- settings.json.tmpl: register the hook; bootstrap Layer 2 runs the generator so
  thin session is on by default for fresh installs
- docs/thin-session.md + README: what it is, how it saves tokens, how to revert

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-22 20:31:30 +03:00
Зарубин Филипп 4bd75fefbd feat: event-driven пересбор реестра — новый скилл/знание routable сразу
Вместо weekly-батча реестр обновляется на событие:
- registry-rebuild.sh: единый идемпотентный чейн index→registry(+эмбеддинги)→views→
  graphify update(граф+эмбеддинги)→validate. mkdir-lock (macOS без flock) + settle-debounce.
- launchd com.athena.registry-watch: WatchPaths на скилл-дирки + overrides.jsonl →
  установка скилла / запись способности → rebuild сам, ~13с после изменения.
- Чинит weekly-пробел: build-skill-index + graphify раньше в weekly не гонялись.

Verify live: touch overrides.jsonl → watcher REBUILD START+DONE (runs=1,exit=0) ·
graphify 270 nodes · validate 1536 records 0 errors · dry-validate+smoke OK.
2026-06-16 23:49:56 +03:00
Зарубин Филипп 7876d3ff8f feat: канон overlay-aware для merged-apply (RU-routing · symlink-shadow · git-grep gate)
Реконсиляция перед миграцией на боевой Mac: канон выведен из живого, живое ушло
вперёд. Generic-улучшения → публичный канон (личное вынесено в overlay-данные):
- bootstrap Layer 1: реальный overlay-файл затеняет generic-symlink того же target
  (overlay dot_codex/AGENTS.md vs generic symlink_AGENTS.md.tmpl — duplicate-target).
- route-skills.mjs: +RU-алиасы (мультиязык routing, generic) + чтение опц.
  route-overlay.json (доменные правила как ДАННЫЕ, не в коде).
- build-skill-index.mjs: чтение опц. scan-roots.json (доп-корни сканирования).
- smoke.sh [личное]-gate: grep -r ФС → git grep (tracked-only). grep -r ловил
  gitignored athena.config.sh = ложный FAIL; интерактивный grep=ripgrep маскировал.

Verify: dry-validate OK · smoke OK · node --check OK · 0 личного (git grep).
2026-06-16 23:31:56 +03:00
Зарубин Филипп f219b1fc67 feat: Athena OS Фаза 2 — generic chezmoi-канон Мозга
chezmoi-source (чистая пересборка, не дамп 1.2 ГБ):
- dot_claude: CLAUDE.md лин-роутер, AGENTS.md.tmpl (VPS вычищен),
  settings.json.tmpl (deny-щит 20 + security-guard hook), rules
  (structure + ECC 21 язык), 30 generic ECC-агентов, health-check
- dot_codex: symlink-паритет; dot_agents: registry 13 скриптов
  HOME-генерик + методология docs
- плагины: plugins.manifest + bootstrap Слой 1b (marketplace+install)
- launchd: health.plist (PATH-фикс 127) + session-reaper.example
- smoke++: secret-токен guard + канон-проверки (зелёный)
- 0 hard личных данных; cut личного (kb/references/gsd/owner) → Ф4
2026-06-15 16:59:09 +03:00