Commit Graph
6 Commits
Author SHA1 Message Date
mo7al876anyandClaude Fable 5 0fd954fe78 test: revert two method signatures the encoding sed pass over-matched
Greptile caught that the bulk encoding pass matched the 'open(' substring
inside the method names test_cache_busted_on_form_open(self) and
test_cache_not_guarded_by_if_on_open(self), injecting encoding="utf-8" into
their signatures. Harmless (pytest ignores the extra default param, so they
passed) but wrong. Restore the original (self) signatures. Verified this was
the only over-match in the commit; all other insertions are clean file reads.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-04 16:14:40 +03:00
mo7al876anyandClaude Fable 5 4bfc9c8aad docs(env): correct prefill default example values to match the code
Greptile caught two example values that disagreed with the code defaults in
api/streaming.py: PREFILL_MESSAGES_SCRIPT_TIMEOUT is 5s (not 10) and
PREFILL_CONTEXT_MAX_CHARS is 12000 (not 20000). An operator uncommenting
either line verbatim would have silently diverged from the real default.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-04 16:12:18 +03:00
mo7al876anyandClaude Fable 5 c1aa45fceb i18n: translate all 664 remaining TODO-translate placeholders
Completes it, ja, ru, es, de, pt, ko, tr (zh, zh-Hant, fr, pl, vi already
had none). Terminology and loanword conventions matched to each locale
block's existing neighbors; every placeholder, key name, and the en source
block left untouched (diff is exactly 664 balanced value replacements).
node --check passes; the locale-parity suite is green.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-04 16:04:23 +03:00
mo7al876anyandClaude Fable 5 5f0cc6c567 test: read static assets as utf-8 so locale/render tests run on Windows
34 test files read static/*.js via read_text()/open() without an encoding,
so Python's cp1252 default on Windows choked on non-Latin1 bytes and errored
at collection (Ubuntu CI defaults to utf-8, so it never saw this). Add
explicit encoding="utf-8" to those reads — purely mechanical, no assertion
changes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-04 16:04:23 +03:00
mo7al876anyandClaude Fable 5 3b56cc9629 docs: refresh stale version/test-count/locale numbers
- Version stamps v0.51.192/v0.50.281 → v0.51.792 (Jul 1) in the factual
  header lines (ROADMAP/ARCHITECTURE/SPRINTS/TESTING); curated narrative
  left untouched
- Test counts: the ~7,150 approximates and leftover absolute 5303/488 and
  3995 figures → ~11,500 tests / ~1,150 files (matches --collect-only)
- Locales: 9 → 14 (add Italian, Turkish, Polish, Vietnamese) in ROADMAP;
  '11 languages' → 14 in TESTING

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-04 16:04:23 +03:00
mo7al876anyandClaude Fable 5 a71cc734df docs(env): document the HERMES_WEBUI_* vars the code reads but no template listed
.env.example listed 8 basic vars; the server reads ~30. Add the
operator-facing ones with defaults from the code, grouped into Security,
Reverse-proxy header trust, Uploads & limits, Onboarding, and Advanced
integrations: PASSWORD, PASSKEY, SESSION_TTL, SECURE, COOKIE_NAME,
ALLOWED_ORIGINS, TLS_CERT/KEY, CSP_CONNECT_EXTRA/FRAME_EXTRA,
TRUST_FORWARDED_HOST/FOR/PROTO, ATTACHMENT_DIR, MAX_EXTRACTED_MB,
FOLDER_ZIP_MAX_*, SLOW_REQUEST_SECONDS, SKIP_ONBOARDING, PREFILL_* hooks,
EXTERNAL_NOTES_SOURCES, PLUGINS_DIR, GATEWAY_API_KEY, CLAUDE_PROJECTS_DIR,
CODEX_HOME, WIKI_PATH. The Docker template notes each needs a compose
environment: passthrough to take effect.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-04 16:04:23 +03:00