8 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
Зарубин Филипп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
Зарубин Филипп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