Commit Graph
102 Commits
Author SHA1 Message Date
public-repo-gate 436c08e521 release: make project categories knowledge-wide 2026-09-12 17:21:34 +03:00
Зарубин Филипп c2209edb5b release: canonical project categories 2026-09-12 17:06:36 +03:00
public-repo-gate 44d940e521 release: publish 995c712 from the private source 2026-09-04 00:05:57 +03:00
public-repo-gate d9c529dd78 release: publish 23adbaf from the private source 2026-09-04 00:03:54 +03:00
public-repo-gate 892f3a2501 release: publish aca1eaf from the private source 2026-08-30 00:16:30 +03:00
public-repo-gate a510b087ca release: publish 5c4786f from the private source 2026-08-29 23:23:35 +03:00
public-repo-gate 2fbba8bace docs: one spelling, and the onboarding through the same editor 2026-08-29 23:00:32 +03:00
public-repo-gate 777a760d40 docs: living copy in three languages, one file per scene 2026-08-29 22:04:11 +03:00
public-repo-gate ae8ef3e52d fix: one frame for every published image, superseded artwork removed 2026-08-29 21:34:42 +03:00
public-repo-gate d320aa62f9 release: the workflow series, one wide scene per step 2026-08-29 21:14:58 +03:00
public-repo-gate 1e137e149f fix: the README is what GitHub shows again 2026-08-29 20:46:46 +03:00
public-repo-gate 8e6947be63 release: guided install, update skill, onboarding in three languages 2026-08-29 20:36:33 +03:00
Зарубин Филипп b2150ffc3f fix: repair the reference doc links and guard them in the gate
Moving the previous long README into docs/DETAILS.md left every relative link
pointing at the repository root, so the reference doc was full of dead links
and missing images. All of them now resolve from their new location.

The release gate learned the rule that would have caught this: every relative
link and image in the three READMEs must exist as a tracked file, and a link
that escapes the repository is refused.

Entire-Checkpoint: 01M176RAJ9Z9QWG7AD7YX3GXFB
2026-08-29 19:48:26 +03:00
Зарубин Филипп 2f0fb3166e docs: sync the Chinese Olympuz family block
Entire-Checkpoint: 01M176DJ03ACZ2PMR7KTHJ171G
2026-08-29 19:42:33 +03:00
Зарубин Филипп 90b5896b87 docs: add the Chinese README and generate all three from data
Chinese joins English and Russian, so the page a reader lands on is the same
shape in every language: promise, badges, wide hero, contents, and the ten
beginner headings with the ASCII workflow diagram.

The three files are no longer written by hand. Prose lives in
.github/readme.json, the workflow stages live in .github/pantheon.json, and
Heztia renders README.md, README.ru.md and README.zh.md from that data. Stage
titles and diagram labels gained their Chinese variants, and the generated
Olympuz family table renders in Chinese too.

public-repo-gate check --release-intent public: PASS 100/80.
2026-08-29 19:30:31 +03:00
Зарубин Филипп 8c7eb255fc chore: track agent sessions in a private Entire checkpoint repository
A public repository must never hold its own agent sessions, and the work still
has to be reproducible. Entire is enabled here with a separate private
checkpoint repository, hooks for Claude Code and Codex, and the git-refs
checkpoint backend.

The release gate now enforces this before any public push: tracked
.entire/settings.json, tracking enabled, automatic session pushing on, and a
checkpoint repository that exists, is separate from this repository, and is
private. Unknown visibility fails closed.
2026-08-29 19:09:17 +03:00
Зарубин Филипп bf1f9deadb docs: beginner-first README on the shared family anatomy
Rebuild both READMEs on the packaging patterns the most downloaded
vibe-coding repositories use, in the same order across the whole family:
one-line promise, badges, wide hero at full width, table of contents, and
ten fixed beginner headings.

- How It Works now carries an ASCII workflow diagram, a stage table, and one
  step per stage, each ending with a plain "you get" line;
- Quickstart offers three real install or download paths;
- honest four-column comparison, glossary, safety, limits, star ask, and the
  fork -> branch -> commit -> push -> Pull Request path;
- workflow stages are declared in .github/pantheon.json (schema 3) with short
  diagram labels; the wide stage image series is still pending;
- CLAUDE.md, GEMINI.md, .github/copilot-instructions.md and .cursor/rules
  point every coding agent at AGENTS.md;
- the previous long README is preserved as docs/DETAILS.md and DETAILS.ru.md.

public-repo-gate check --release-intent public: PASS 100/80.
2026-08-29 18:53:20 +03:00
Зарубин Филипп 484fdf9a55 docs: prepare Olympuz public release 2026-08-26 18:04:42 +03:00
Зарубин Филипп 521348d418 release: Mnemazine public update 2026-08-26 16:00:24 +03:00
Зарубин Филипп 4c8213eacd release: Mnemazine
Local-first memory system: raw material in, finished notes out. Synthesis on write.

This release brings a guided install that explains itself and ends with a live demo
pass, eleven fixes to the knowledge pipeline found by running it against a real
archive of 216 sources, and a documentation pass in the project's own voice.
2026-08-25 00:38:03 +03:00
Зарубин Филипп 17fd8fef5f Stabilize Mnemazine end-to-end gates 2026-06-24 19:10:26 +03:00
Зарубин Филипп a2a555cf1d Finish live run readiness tooling 2026-06-24 12:32:27 +03:00
Зарубин Филипп 8f2fc2f8ee Add live run preflight checklist 2026-06-24 12:21:42 +03:00
Зарубин Филипп fb70104fd1 Automate release gates in CI 2026-06-24 12:15:54 +03:00
Зарубин Филипп dd6b69b893 Harden Mnemazine production gates 2026-06-24 12:12:36 +03:00
Зарубин Филипп 1a9b73614f Add root chat command instructions 2026-06-23 18:42:15 +03:00
Зарубин Филипп 18ee35e0b9 Add safe chat update command 2026-06-23 18:40:30 +03:00
Зарубин Филипп 93b2f49895 Document safe GitHub update command 2026-06-23 18:35:28 +03:00
Зарубин Филипп 419482c6ee Add one-word Mnemazine entrypoint 2026-06-23 18:32:56 +03:00
Зарубин Филипп 4c5ed5f8f5 Add short desktop protocol entrypoint 2026-06-23 18:27:42 +03:00
Зарубин Филипп 821d575b74 Harden desktop protocol completion gate 2026-06-23 18:25:58 +03:00
Зарубин Филипп 727ecc03d3 Make postrun report visual-first 2026-06-23 12:27:52 +03:00
Зарубин Филипп b1a9161111 Update release-check actions to Node 24 2026-06-23 12:23:20 +03:00
Зарубин Филипп e12090e971 Use Node 24 in release-check CI 2026-06-23 12:22:21 +03:00
Зарубин Филипп fa8585e33c Make release check CI self-contained 2026-06-23 12:21:38 +03:00
Зарубин Филипп 9de6115f1a Make postrun report CI-portable 2026-06-23 12:20:08 +03:00
Зарубин Филипп e41a4666cf Strengthen release-check CI 2026-06-23 12:16:57 +03:00
Зарубин Филипп 126ea7a071 Align Mnemazine agent workflow and postrun reports 2026-06-23 12:06:44 +03:00
Зарубин Филипп 1a0a38d5bc fix(install): default ROOT to clone dir, not hardcoded personal path
Standalone `bash install.sh` (no env) used $HOME/Проекты/mnemazine — the
author's path. Default to the script's own location so a fresh clone in any
directory installs into itself.
2026-06-19 19:44:27 +03:00
Зарубин Филипп 39264f7179 fix(onboarding): greeting prints at true end, not buried mid-install
setup.sh (the README-default path) ran install.sh as a mid-flow step, so
its author greeting scrolled past under stages 4-7 and users never saw it.

- scripts/hello.sh: single source of the bilingual greeting.
- install.sh: greet only when run directly; silent under MNEMAZINE_FROM_SETUP.
- setup.sh: pass that flag, print the greeting itself as the last line.
2026-06-19 19:43:00 +03:00
Зарубин Филипп 6236cda2e2 feat(intake): inbox honours MNEMAZINE_INBOX via gitignored sidecar
- sync.sh: LOCAL_INBOX/STAGING from MNEMAZINE_INBOX (default repo/inbox),
  exported so `npm run run` reads the same dir; handles paths with spaces.
- sync.sh + poll.sh: source .mnemazine/config.local.sh for non-secret
  personal path overrides (keeps secrets out of tracked files and .env guard).
- .gitignore: config.local.sh + runtime .last-daily marker.
2026-06-19 19:33:49 +03:00
zarubinvibe c139aec02e Merge pull request #4 from zarubinphil/feat/graph-swarm-tooling
feat(graph): track semantic swarm + shard merge scripts
2026-06-19 19:13:31 +03:00
Зарубин ФилиппandClaude Opus 4.8 c0b7cd89fc feat(graph): track semantic swarm + shard merge scripts
Commit the two scripts already referenced by the graph:semantic-swarm and
graph:merge-semantic-shards npm scripts so a fresh clone has them. Bounded-pool
concurrent semantic batcher + shard-graph merge into the master graph. Local
graph tooling, no VPS deploy.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-19 19:03:37 +03:00
zarubinvibe 2c5a8aff8c Merge pull request #3 from zarubinphil/feat/kb-search
feat(search): vault search swarm + Mini App button
2026-06-19 18:54:31 +03:00
Зарубин ФилиппandClaude Opus 4.8 103efd029a feat(search): facet-diverse swarm + verify lenses + eval harness + install greeting
2A perspective-diversity for ~free: the planner call now returns 2-4 query
facets (real axes of the question) alongside terms. Facets steer 0-token recon
routing, give each shard a focus axis in its prompt, and seed synthesis themes
— diversity without extra agents.

2B opt-in verify (MNEMAZINE_SEARCH_VERIFY=1): one agent per top-K finding judges
3 lenses at once (grounded/relevant/actionable) against the note's own text and
drops ungrounded findings. Bounded (K calls), default off to keep tokens tight.

Eval harness (tests/search-eval.mjs, §5): Tier A deterministic recall/anti-noise
over an inline synthetic vault (0 tokens, wired into release-check); Tier B
opt-in LLM judge scoring the deep report for groundedness/relevance/coverage
(generator != evaluator). New `npm run search:eval`.

install.sh: bilingual (RU/EN) greeting from the author on first install —
thanks, GitHub star ask, invite to suggest improvements.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-19 18:52:30 +03:00
Зарубин ФилиппandClaude Opus 4.8 48af0c5b4c feat(search): fail-closed cost cap on swarm size
Hard-limit the number of LLM agents a deep search spawns via
MNEMAZINE_SEARCH_MAX_SHARDS / --max-shards (default 12). Local mode stays
uncapped (0-token). Dropped shards are logged to stderr AND surfaced in the
report header — no silent truncation. Closes the missing circuit-breaker
called out by the agent-systems playbook.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-19 18:40:38 +03:00
Зарубин ФилиппandClaude Opus 4.8 8debd7f14e fix(release): stop public-check flagging its own root@YOUR_VPS_HOST placeholder
The `root@` private marker matched the literal placeholder used in the VPS
config example and the poller/sync scripts, so the gate failed on a clean
tree. Require a real host char (lowercase/digit) after `root@`; the uppercase
`root@YOUR_VPS_HOST` placeholder no longer trips it, while a genuine
`root@host` leak still does.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-19 18:30:59 +03:00
Зарубин ФилиппandClaude Opus 4.8 fbe205f3f1 feat(search): orchestrator-led agent swarm to search the vault + Mini App button
Add `npm run search` (mnemazine-kb-search.mjs): a recon → fan-out → fan-in
swarm over the live vault that writes a Russian "Справка" Markdown report.
Recon keyword-scores notes (0 tokens); --deep/MNEMAZINE_DEEP engages a
bounded-pool LLM swarm (one agent per shard, untrusted notes fenced), then
the orchestrator dedups + synthesizes. Local fallback keeps it 0-token by
default, mirroring the rest of the deep pipeline. Self-test included.

Wire it into the Telegram Mini App: the vault is Mac-only and the server is
on the VPS, so the button only enqueues. Server gains POST /api/search
(queue), GET /api/searches (list reports), GET /api/search?name= (read, with
path-escape guard). Mini App gets a search card + report list + text viewer
(rendered as text — no markdown XSS sink). The Mac poller drains the queue,
runs the swarm locally, and rsyncs reports back to the VPS.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-19 18:28:37 +03:00
zarubinvibeandЗарубин Филипп 3b7c85bae5 feat(telegram): intake bot + Mini App + guided installer (#2)
* feat(telegram): bot intake → inbox + daily VPS pull sync

- mnemazine-telegram-bot.mjs: zero-dep long-poll bot, writes text/photo/doc/voice/audio/video into staging inbox; chat_id allowlist; --selftest
- mnemazine-telegram-sync.sh: daily rsync pull VPS buffer → local inbox, then npm run run
- launchd plist template for daily 09:00 schedule

* feat(telegram): Mini App — status/send/run-now + reverse-channel poller

- webapp/index.html: Telegram Mini App (theme-aware, minimal); buffer status, send-to-inbox, run-now
- mnemazine-webapp-server.mjs: localhost API, initData HMAC verify + user allowlist, /api/{status,send,run}; --selftest
- run-now reverse channel: API touches .run-now; poll.sh consumes flag, Mac pulls+runs
- poll.sh: 5-min launchd tick — manual flag or daily 09:00 window; writes .last-run for app
- sync.sh: drop exec so markers persist; plist → StartInterval 300

* docs: Telegram intake architecture (bot + Mini App), EN+RU, no secrets

Generic scheme — host/secrets/domain abstracted. Linked from both READMEs.

* feat(setup): guided step-by-step installer for fresh devices

- setup.sh: staged wizard, numbered-menu questions, gates each stage
- checks prereqs and says exactly what to install before continuing
- missing capability → 'Друг, значит этого тебе не оставим' + continue
- asks inbox location (repo vs Desktop); optional Telegram bot incl. VPS deploy
- MNEMAZINE_SETUP_DRYRUN=1 walks stages without installing/deploying
- README EN+RU point to it

* fix(telegram): C1/C2 — secrets out of git, two-phase move (no data loss)

Phase 0+1.1 of audit fix plan:
- poll.sh/sync.sh: drop hardcoded VPS host/key → placeholders + gitignored .mnemazine/config.env (fail-fast on placeholder)
- sync.sh: two-phase move — pull to staging, promote, run protocol, delete on VPS ONLY after success (closes --remove-source-files data-loss window); deletes only files it took
- config.env.example template; .mnemazine/config.env gitignored
- selftest chat_id fixture 1 → 1 (was real personal id)

* fix(telegram): C3/C4 — kill stored-XSS + initData replay window

- webapp: render inbox file names via textContent/createElement (was innerHTML — file names come from untrusted Telegram uploads); add strict CSP meta
- webapp-server: verifyInitData now rejects stale auth_date (default 24h TTL, MNEMAZINE_INITDATA_TTL); closes forever-valid captured initData
- selftest: assert stale initData rejected (C7 — test from the threat, not current behavior)

* fix(telegram): C5 reliability — stop storm, TTY-guard, fail-closed, DoS caps

Phase 2:
- poll.sh: write daily marker BEFORE sync (no 5-min storm on failure); mkdir single-flight lock (macOS has no flock) with 60-min stale steal; re-queue manual run-now on failure. plist: RunAtLoad
- setup.sh: read EOF/TTY guard (no infinite loop under curl|bash/CI); gate install.sh exit code (stage actually gates)
- bot: advance/persist offset only AFTER successful handle (at-least-once, no dropped message); fail-closed allowlist (empty = reject + log id, not accept-all); cap download size 30MB; sanitize file extension (no traversal)
- webapp-server: cap request body 64KB (413); 500 returns generic error, detail to stderr only

* feat(telegram): C6 vault-patterns — run audit, config.env boundary, idempotent setup

Phase 3:
- /api/run: flag now carries {at, by} audit (kept as coalescing flag, not a full job queue — single user/button; YAGNI)
- 3.2 fenceUntrusted already covered: digest/synthesize fence note bodies at the LLM boundary (mnemazine-llm.mjs); inbox stays raw by design
- setup.sh: writes .mnemazine/config.env (chmod 600) from entered VPS details so poll/sync read the boundary; idempotent pm2 (start||restart) for rerun-safe deploy

* feat(telegram): Phase 4 polish — confirm run, auto-refresh, access log, throttle

- frontend: tg.showConfirm before run (no accidental token-spend); auto-refresh status every 15s while visible + on visibilitychange
- server: structured access log (stderr {ts,user,method,path}); light per-user 1/sec write throttle (429)

---------

Co-authored-by: Зарубин Филипп <289370046+zarubinphil@users.noreply.github.com>
2026-06-19 13:03:46 +03:00
Зарубин Филипп 80376437b2 Add semantic graph batcher 2026-06-18 23:41:18 +03:00