Skip to content

Releases

DevOS v1.5.0 — the live-demo fix release

Choose a tag to compare

@fahmymohsen777-cmd fahmymohsen777-cmd released this 03 Dec 23:43

The live-demo fix release

On 2026-12-04 DevOS was run live, for the first time, on a real production codebase (Wazafly) in front of its owner — and the demo surfaced four real bugs. All four are fixed in this release, each with regression tests (9 new; suite total 220).

Fixed

  • Recall could not find memory that existed (HIGH). devos recall <project> "payment deploy prices" answered "No memory stored for this project yet" while the memory was right there — the one-word query payment found it. Root causes: the durable store lived under <cwd>/.devos/storage, so memory silently depended on the directory the command was invoked from (the default store is now anchored to ~/.devos/storage, still overridable via DEVOS_STORAGE_DIR); recall scoring is now explicitly monotonic — extra query terms can only raise a record's score, never dilute a strong match — and query terms tolerate surrounding punctuation. The CLI also distinguishes "no memory stored" (truly empty store) from No memory matched "<query>" — this project has N stored memories.
  • Packs opened with generic noise. Language concept nodes (confidence 1.00) were listed before the ranked facts, so ask/pack output opened with css, html, javascript… The Context Compiler now lists ranked files/symbols first and compacts structural context into two summary lines after them.
  • Counts contradicted each other. analyze said 1,175 symbols / 225 imports, pack said 1,042 / 219 — raw scan occurrences vs deduplicated graph counts, unlabelled. Every surface now labels its counts, and analyze shows raw and unique side by side (they reconcile exactly: 1,175 raw = 1,042 unique; 225 raw = 219 unique).
  • ask without a provider read as broken. The offline behavior is unchanged (no key → no network call → the pack is the result), but the command now closes with an explicit explanation and the three provider keys that turn it into direct answers (GEMINI_API_KEY, ANTHROPIC_API_KEY, OPENAI_API_KEY).

Verified live on Wazafly

Scan 107 files in ~0.9s; three-word recall from a different working directory returns the stored decision; ask's pack now opens with the real AI-analysis symbols (AIProvider in api-app.ts, persistAnalysis in RealCVBank.tsx); pack reports 1042 unique symbols (1175 raw occurrences), 219 unique import edges (225 raw).

Install: npx devos-os@1.5.0 — full details in CHANGELOG.md.

v1.4.0 — Claude Code hooks: survive auto-compact

Choose a tag to compare

@fahmymohsen777-cmd fahmymohsen777-cmd released this 02 Dec 18:49

Added — Claude Code hooks: survive auto-compact

Anthropic moved Claude Code's auto-compact trigger for 1M-context models from ~97% of the window down to 40%, and compaction replaces the whole conversation with a summary — early-session detail is lost. DevOS memory lives on disk; v1.4 wires it into that lifecycle:

  • devos hooks install merges two hook entries into ./.claude/settings.json — a PreCompact hook and a SessionStart hook (matchers compact and startup). Existing settings and other hooks are preserved; re-running is idempotent. devos hooks with no argument prints the snippet for manual installation.
  • devos hook precompact saves a session snapshot — timestamp, trigger, session id, transcript path, git branch + uncommitted-file count — into the project's DevOS store (last 10 retained).
  • devos hook sessionstart injects a compact recall briefing as additionalContext: the latest snapshot, the top project memories, and a one-line knowledge-graph summary, capped at ~110 lines / 6 KB. Prints nothing when there is nothing worth injecting.
  • Both hook entry points are fail-soft by contract: garbage or missing stdin is tolerated, errors are swallowed, exit code is always 0.

Honest limit: the snapshot is a briefing, not the full transcript.

Tests

New hooks.test.ts (9 tests). Totals: 186 pass / 0 fail / 25 todo across 211 tests (scanner 131/0/25, CLI 17, all other suites green).

Install: npx devos-os hooks install

v1.3.0 — Polyglot dependencies, resilient providers

Choose a tag to compare

@fahmymohsen777-cmd fahmymohsen777-cmd released this 01 Dec 23:33

Feature release: the multi-language story is complete, and provider calls are resilient.

Dependency discovery for Python and Go. The scanner now reads requirements.txt, pyproject.toml (project dependencies, optional groups, PEP 735 dependency-groups) and go.mod require directives alongside package.json — polyglot projects get a complete dependency graph, not just their JS slice.

Provider retries + honest routing. Transient failures (network, HTTP 429/5xx) retry twice with backoff; auth/validation errors fail fast. The router's decision is now final: no more silent fallback to an arbitrary adapter when the chosen provider is missing. Routing cost/latency estimates can be overridden via DEVOS_ROUTING_META (JSON). Anthropic's default maxTokens rises to 4096.

Precision fixes. assessRisk matches word boundaries and verb+target patterns — "write a summary" is low-risk, "write the config file" still needs approval. Python imports resolve in src/-layout projects; Go resolution prefers real package files over *_test.go. FileStorage serializes concurrent saves per key.

Docs. README now states plainly that plugins run in-process without a sandbox yet — install only trusted plugins.

Tests: scanner 131 pass / 0 fail, security 9, storage 6, CLI 8 — all suites green and in CI.

Install: npx devos-os@1.3.0 — npm: https://www.npmjs.com/package/devos-os

v1.2.1 — Python/Go imports resolve, trees released

Choose a tag to compare

@fahmymohsen777-cmd fahmymohsen777-cmd released this 01 Dec 23:08

Patch release closing the two gaps a review of v1.2.0 found — both verified against the code and reproduced before fixing.

Python/Go imports now resolve internally. v1.2.0 extracted Python and Go imports but left them external — and Python relative imports were worse than external: slash-based path logic mangled from .utils import helper into a bogus internal path (pkg/.utils) that matches no file. Now Python specifiers are kept verbatim at extraction and a dedicated resolution pass internalizes them through the package layout (leading dots as package levels, module.py / package/__init__.py candidates, absolute imports from the project root). Go imports prefixed by the go.mod module path resolve to the target package's first .go file. Knowledge Graph import edges — and the one-hop code excerpts built on them — now work for Python and Go like they already did for TS/JS.

Tree-sitter parses are released after extraction. Tree objects hold WASM-heap memory that a JS WeakMap cannot free; the scanner now releases each file's parse once its facts are extracted, so long-lived watch / mcp sessions no longer accumulate trees across rescans.

Tests: scanner 125 pass / 0 fail (3 new), all other suites green and in CI.

Install: npx devos-os@1.2.1 — npm: https://www.npmjs.com/package/devos-os

v1.2.0 — Python & Go parsing, smarter ranking

Choose a tag to compare

@fahmymohsen777-cmd fahmymohsen777-cmd released this 01 Dec 22:56

DevOS 1.2 widens the scanner's real parsing to Python and Go, makes context ranking actually smart, and closes the test-coverage gap the v1.1 review called out.

Tree-sitter parsing for Python and Go (WASM). Symbols, imports and exports now come from real grammar parses — a def inside a docstring is no longer a symbol, and Python's quote-free imports (import x, from x import y), which the old patterns could not see at all, are edges now. Go exports follow Go's own capitalization rule. Grammars ship as ordinary dependencies with lazy, fail-soft loading; no native binaries, so the single-file npm bundle keeps working. Other languages keep the pattern fallback.

Ranking v2. Context selection tokenizes identifiers (authenticateUser -> {authenticate, user}), weights terms by inverse document frequency, scores files by path + best symbol instead of raw match counts (term-stuffing loses), and boosts files import-coupled to a strong match. Deterministic and offline. An evaluation fixture where the old counter ranked the wrong file first is now a regression test.

Tests. New suites for core (4), storage (5), provider-router (5), CLI end-to-end (4) and the tree-sitter scanner paths (6) — every suite runs in CI. Scanner: 122 pass / 0 fail; 40 more across the other eight suites.

Install: npx devos-os@1.2.0 — npm: https://www.npmjs.com/package/devos-os

v1.1.1 — redaction that redacts

Choose a tag to compare

@fahmymohsen777-cmd fahmymohsen777-cmd released this 01 Dec 22:35

Patch release fixing a critical interaction between v1.1's code excerpts and secret verification.

The bug (found by external review, reproduced before fixing): the Context Compiler stamped secretsRedacted: true without redacting, and the core's verification pass rejected the whole compile when it found a secret in an excerpt. Any project whose excerpted files contain a token-shaped string — a test fixture is enough — made ask and devos_ask fail outright.

The fix: the compiler now redacts every fragment through the security port before assembly, and the core's safety net substitutes the cleaned content instead of failing the command. A regression test keeps it fixed.

Also: .js/.jsx/.tsx files were parsed twice (the AST stage warmed the parse under a placeholder .ts name) — the stage now passes each file's real path, so there is one parse per file. And *.tgz is gitignored: the stray devos-os-1.0.0.tgz was removed from the tree, and this release's tarball is attached below as a release asset instead.

Tests: scanner 116 pass / 0 fail, context 4, security 8, memory 5, knowledge 4 — all in CI.

Install: npx devos-os@1.1.1 — npm: https://www.npmjs.com/package/devos-os

v1.1.0 — the hardening release

Choose a tag to compare

@fahmymohsen777-cmd fahmymohsen777-cmd released this 01 Dec 22:02

The hardening release. An external review was verified point-by-point against the code — every claim held — and this release fixes all of it.

Stable project identity (the big one). v1.0 keyed Memory by the content fingerprint, so editing one line orphaned every remembered note. Identity now lives in .devos/project.json; v1.0 memory migrates automatically on first contact.

Real parsing. TypeScript/JavaScript symbols, imports and exports now come from the TypeScript compiler AST — comments and strings can no longer invent facts — and import specifiers are resolved with the compiler's resolver (extensions, index files, .js→.ts, tsconfig paths).

Context Compiler v2. Packs carry real code excerpts from the top-ranked files plus their one-hop import neighbors, and oversized fragments are trimmed to the budget instead of dropped whole.

Security. Redaction now covers PEM private keys, JWTs, connection strings, fine-grained GitHub PATs, Slack/Google/npm/GitLab tokens, Bearer values, and high-entropy quoted tokens.

Also: the MCP devos_ask tool routes through the ProviderRouter like the CLI; the Apache-2.0 LICENSE file the README pointed at finally exists; new test suites for memory, knowledge, context and security (20 tests) run in CI next to the scanner suite (116 pass).

Install: npx devos-os@1.1.0 — npm: https://www.npmjs.com/package/devos-os

DevOS 1.0.0

Choose a tag to compare

@fahmymohsen777-cmd fahmymohsen777-cmd released this 01 Dec 14:07

First public release.

  • Deterministic zero-token scanner (files, languages, frameworks, symbols, imports, dependencies, git)
  • Knowledge Graph v2 with provenance + confidence on every fact
  • Persistent Project Memory across runs
  • Context Compiler with real o200k token counts and verified secret redaction
  • ask, pack, remember/recall, watch, plugins commands
  • MCP server (devos mcp) for Claude Code, Cursor, OpenCode
  • Providers: OpenAI-compatible, Anthropic, Gemini — routed by cheapest/fastest policy
  • npm: published as devos-os@1.0.0 — npx devos-os scan . verified live from the registry