Зарубин Филипп
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
zarubinvibe and Зарубин Филипп
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
Зарубин Филипп
e2dd73c98a
Complete Mnemazine intake gate
2026-06-18 23:14:29 +03:00
Зарубин Филипп and Claude Opus 4.8
73cbc0d30c
feat(swarm): async LLM bridge + bounded-concurrency research swarm in deep synthesize
...
E3: llm bridge now uses async spawn (non-blocking) instead of spawnSync, so agent calls run concurrently. Deep synthesize processes clusters through a bounded pool (MNEMAZINE_CONCURRENCY, default 4) — cheap and fast. Each task is isolated (inner + outer try/catch): one cluster failing never blocks the swarm. Docs cover recognition fallback, swarm, concurrency.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-18 17:33:11 +03:00
Зарубин Филипп and Claude Opus 4.8
72424cfdb2
docs: de-Codex deep-mode wording — provider-neutral (Claude primary)
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-18 17:23:23 +03:00
Зарубин Филипп and Claude Opus 4.8
fb0831bb92
feat(llm): robust Claude binary discovery (npm/Homebrew/standalone/Desktop/VSCode)
...
Resolve claude independently of install method: explicit env -> login-shell PATH (respects however the user installed it: Desktop, npm global, standalone) -> common absolute locations -> newest VSCode extension binary. No longer tied to the VSCode path.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-18 17:22:35 +03:00
Зарубин Филипп and Claude Opus 4.8
e09dc6332d
docs: deep-mode covers provider abstraction, enrichment, digest, owner-context
...
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-18 17:19:22 +03:00
Зарубин Филипп and Claude Opus 4.8
84ac4c44b1
docs: deep-mode bridge guide (codex env, --deep flow, fence, sandbox, scan)
...
Self-documents the codex integration in-repo: env vars, atomize/verify, prompt-injection fencing, sandbox rationale, data boundary. Bilingual + linked from both READMEs.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-18 16:57:35 +03:00
Зарубин Филипп
d782c7faca
Support API-backed Graphify semantic refresh
2026-06-17 23:32:16 +03:00
Зарубин Филипп and Claude Opus 4.8
2d37393cdb
docs: Pantheon-family visuals for README — Mnemosyne goddess, marble column, light Higgsfield diagrams
...
Replace off-family hero/logo + dead section images with a cohesive Pantheon
set generated via Higgsfield nano_banana_pro, anchored to the family style-anchor:
- hero: marble Mnemosyne beside the column, memory spring, blue+gold threads → glass system
- emblem (logo): Mnemosyne bust + column + memory pool
- labeled diagrams (light, English text): pipeline (raw→reuse), synthesis-on-write, token economics
Rewrite README EN+RU intro in plain warm language; credit Karpathy (synthesis on write) + Obsidian.
Drop the old realistic-woman hero, red/blue logo, and dark off-family section images.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-17 20:51:13 +03:00
tv5171621-source
d20e6b6c09
docs: bilingual docs/ (EN+RU pairs) + CI release-check gate
...
- docs/*.md: add language toggle, fix stale clone URL (7teenno1-art -> zarubinphil)
- docs/*.ru.md: full Russian translations (9 docs)
- README.ru.md: Documentation links now point to .ru.md
- .github/workflows/release-check.yml: run release gate on every push/PR
2026-06-15 22:08:59 +03:00
tv5171621-source
79cd8c4944
Harden graph refresh defaults and smoke tests
2026-06-15 14:30:49 +03:00
tv5171621-source
65b36a93d0
Add guarded Graphify refresh helper
2026-06-15 14:22:32 +03:00
tv5171621-source
ba6d8b1e45
Unify README visuals in photorealistic style
2026-06-15 03:32:13 +03:00
tv5171621-source
a77a7b50b2
Add photorealistic hero and pipeline visuals
2026-06-15 03:25:20 +03:00
tv5171621-source
60289f787d
Add YouTube channel ingestion
2026-06-15 03:11:15 +03:00
tv5171621-source
b0d2786701
Replace Mnemazine logo
2026-06-15 02:55:40 +03:00
tv5171621-source
1a5c706d8d
Revert to original Mnemazine logo
2026-06-15 02:53:53 +03:00
tv5171621-source
227e7af03c
Refine Mnemazine logo wordmark
2026-06-15 02:52:43 +03:00
tv5171621-source
0868983b24
Add Mnemazine wordmark to logo
2026-06-15 02:50:43 +03:00
tv5171621-source
ddc1e35946
Add Mnemazine logo
2026-06-15 02:50:01 +03:00
tv5171621-source
5c59152c06
Initial open source release
2026-06-15 02:47:14 +03:00