7 Commits

Author SHA1 Message Date
c6c9901c6a feat(oss): GOVERNANCE.md, Scribase-family branding, MCP serverInfo/tools fixes
- Add GOVERNANCE.md (BDFL-style, referenced from CONTRIBUTING.md).
- Scribase family branding: "Umpirix — an open-source project by Scribase"
  header line in README (linking scribase.com and scribase.com/decisions),
  a "Run it on Scribase" section next to the self-host instructions in
  README and SELF-HOSTING.md (self-hosting stays fully supported, nothing
  gated), the same line appended to every package's npm/PyPI description
  (root, sdk/js, sdk/js-lite, sdk/ai-sdk, sdk/scribase-decisions, skills,
  adapters/python, sdk/python, otsone), and the site's per-page footer
  brand line (10 routes) + roadmap prose, which still said the pre-rebrand
  "OpenJev · Apache-2.0" - now "Umpirix · Apache-2.0 · scribase.com".
- Fix two real gaps in the MCP server found in a fresh clone: serverInfo
  still said name "openjev" / title "OpenJev typed decisions"
  (src/lib/jev/mcp.ts) and the stdio bridge's log prefix was still
  "[openjev mcp]" (scripts/mcp-stdio.mjs). Both now say Umpirix. Verified
  live over stdio (plain node; Docker/colima unavailable in this
  environment) that `initialize` reports serverInfo.name "umpirix" /
  title "Umpirix typed decisions", and `tools/list` returns the real tool
  set: choice, score, noul, decide (no "cascade").
- npm run typecheck / npm test (138/138) / npm run gold (61/61) / npm run
  lint (0 errors, pre-existing warnings only) all green after this change.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-11 19:15:28 +03:00
03c7e2c397 fix(license): consistent Apache-2.0/MIT split + migrate 3 examples from private audit
- Root LICENSE: replace the short-form notice with the full canonical
  Apache-2.0 text (fixes GitHub's "Other" license detection); update the
  OpenJev -> Umpirix copyright line in LICENSE/NOTICE, otsone/NOTICE and
  sdk/python/LICENSE+NOTICE (missed by the rebrand pass).
- sdk/ai-sdk: was MIT with no LICENSE/NOTICE and no upstream fork trail
  (unlike sdk/js, sdk/python, adapters/python, skills, which are real
  TypeSafe AI SDK forks and correctly keep MIT per their NOTICE). It is
  original Umpirix code, so switch it to Apache-2.0 with its own
  LICENSE/NOTICE, matching the root.
- README Licensing section: list sdk/ai-sdk under Apache-2.0 and
  sdk/scribase-decisions under MIT, and spell out why the TypeSafe-forked
  directories stay MIT (their MIT terms require preserving the notice).
- Audited caelum0x/openjev-private (read-only clone): it's an older,
  mostly-superseded snapshot of this repo. Migrated the 3 self-contained,
  secret-free example scripts it had that this repo didn't (raw-HTTP, no
  SDK dependency): content-moderation, lead-scoring, support-ticket-routing
  (Python + Node.js, each with a sample JSONL), plus
  scripts/reproduce-leaderboard.mjs (wired to a new `npm run
  bench:reproduce`) for leaderboard reproducibility. Left behind in
  private: src/lib/seo/retired.ts (a reversed decision - this repo now has
  live /compare pages) and the hosted-SaaS pieces already superseded by
  this repo's own, newer versions of the same files.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-11 19:08:57 +03:00
5fc8aacd95 feat: rebrand OpenJev to Umpirix across README, CLI, SDKs and PyPI packages
Owner rename (GitHub repo already caelum0x/openjev -> caelum0x/umpirix,
origin updated): rebrands every user-facing surface while keeping full
backward compatibility.

- README.md: title, badges, clone/MCP commands, SDK table, model-family
  table and a new "Renamed from OpenJev" section (mirroring the existing
  "Renamed from opentypesafe" section) documenting every old->new mapping.
  Never claims Umpirix is or was made by TypeSafe; "Jev-compatible" kept
  only where it describes wire compatibility.
- CLI (scripts/cli.mjs): primary bin is now `umpirix`; `openjev` and
  `opentypesafe` still work and print a one-line rename notice (detected
  via the invoked bin's basename). package.json's `name` is now "umpirix"
  and all three bin names are installed.
- Site/app title: the single SITE_NAME constant (src/lib/seo/site.ts) is
  now "Umpirix", which cascades into every page's <title> and JSON-LD; the
  nav sidebar brand text (app-shell.tsx) and OG site title (og/site.json)
  updated too.
- SDK package names: @openjev/sdk -> @umpirix/sdk, @openjev/lite ->
  @umpirix/lite, @openjev/ai-sdk -> @umpirix/ai-sdk (sdk/js, sdk/js-lite,
  sdk/ai-sdk, plus the dependent sdk/scribase-decisions package and its
  source re-export). All import sites, peer/dev dependency keys, jsr.json
  and doc comments updated to match. Verified free on npm (404) as of
  2026-11-11. sdk/js (193 tests) and sdk/js-lite (99 tests) both typecheck
  and test clean after the rename; `npm pack --dry-run` confirmed real,
  correctly-named tarballs for both.
- PyPI: openjev-client -> umpirix-client (sdk/python), openjev-adapters ->
  umpirix-adapters (adapters/python); both plain names confirmed free on
  PyPI (404) as of 2026-11-11. The importable module stays `openjev` /
  `openjev_adapters` for compatibility. Found and fixed a real regression
  from the distribution rename: both packages' `_version.py` read
  `importlib.metadata.version()` by the old hardcoded distribution name,
  which would have raised PackageNotFoundError post-rename — now tries the
  new name first, falls back through the old names. `uv sync` + `uv build`
  + `uvx twine check` pass clean for both under the new names (681 + 452
  tests pass respectively); `adapters/python/pyproject.toml`'s
  `[tool.uv.sources]` key updated to match so the local editable override
  still resolves. No PyPI token exists on this machine, so nothing was
  published — exact commands are in PUBLISHING.md for whoever holds the
  credentials.
- PUBLISHING.md: renamed package table, documented the verified-clean local
  builds above, and the owner-gated npm (@umpirix org doesn't exist yet,
  needs browser 2FA) / PyPI (token removed) bootstrap steps.
- Root `npm run typecheck` / `npm test` (138 pass) / `npm run gold` (61
  pass) all clean after every change above.
- hackathons/geekroom-2026/demo-umpirix.mp4: the existing real
  narrated Bifrost demo capture (119.8s, Deepgram aura-2-asteria-en
  narration, -14.6 LUFS measured) copied to the name this task's submission
  expects, plus its real raw captures (media/raw, media/terminal) and a
  real SRT built from the narration's own word-level timestamps
  (media/demo-umpirix.srt) for caption generation. Known gap, not hidden:
  the capture's on-screen app UI still reads "OpenJev" (pre-rebrand,
  pre-redeploy) — a fresh re-record after this rebrand ships to the running
  app is a real follow-up, noted in plans/openjev.md.

Also pushed a companion one-line copy fix to caelum0x/scribase (commit
a8c2f72, not this repo): scribase.com/decisions now says "Built on
Umpirix" instead of "Built on OpenJev", deployed live (verified 200,
"Built on Umpirix" present).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-11 18:59:19 +03:00
74e3b24f7a fix(classify): close lexicon gaps behind the lexical engine's shared-word mislabels
The classify CLI's lexical engine had zero lexicon coverage for "feature"
and "praise" (only "bug" was covered) and none at all for generic
sentiment (positive/negative/neutral), so bare-label runs of the CLI's
own README example either tied on everything or confidently mislabeled a
praise/feature row as a bug whenever a bug-shaped word like "crash"
appeared. Add two small, additive synonym groups to the existing lexicon.

Measured on a new 65-row synthetic gold set (examples/classify-eval.jsonl,
run via `npm run classify-eval`, scripts/classify-eval.mjs): 32.3% -> 49.2%
accuracy counting ties as wrong, 67.7% -> 71.1% on rows the engine
actually committed to; the sentiment set alone went 5.0% -> 35.0%. The
product-wide gold regression suite (`npm run gold`) still passes 61/61 —
every change is a new synonym entry, not an edit to an existing one.

README now documents the measured numbers, the --threshold tradeoff
(0.55 raises decided-row accuracy to 83.8% at the cost of more abstains),
and the real remaining limit: a bag-of-words engine can't fully resolve
a praise sentence that mentions "crash" from an actual bug report.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-11-11 14:26:12 +03:00
fb424b56e3 feat(cli): openjev classify, label text with no server
New subcommand that imports the engine straight from src/ with Node type
stripping: no server, no key, no model download. Reads one text per line on
stdin, or a .txt, .csv (--column) or .jsonl (--field) file; prints a table or
JSON lines, or writes .csv / .jsonl with --out. Each row gets a label, a
probability and the engine that answered (embedding when the gte-small model
is installed, else lexical). --threshold blanks low-probability rows for
review, and near-ties are always left blank. Labels accept an optional
description (name:description).

Exit codes: 2 for usage errors, 1 for missing files, columns or bad JSON.
2026-11-11 07:43:28 +03:00
43d3e0c1f3 feat(mcp): MCP server mode with choice, score, noul and decide tools
POST /v1/mcp speaks the Model Context Protocol over stateless Streamable
HTTP (initialize, tools/list, tools/call, ping). Tool calls go through the
same guard, quota checks and executeSystemOne path as POST /v1/systemone.
`openjev mcp` is a stdio bridge that forwards to a running server at
OPENJEV_BASE_URL.

Adds the /integrations/mcp page with Claude Code and Cursor config, a README
section, and moves the roadmap item to shipped.
2026-11-11 06:46:53 +03:00
caelum0x
4847e35451 OpenJev: open-source typed decision service
Typed decision/classification service with an in-process gte-small ONNX
embedding engine and lexical fallback, JS/Python SDKs, adapters, and the
otsone model family. Apache-2.0 (sub-packages keep their MIT licenses).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-25 00:12:36 +03:00