Skip to content

Farzan Arena 8.4.0

Choose a tag to compare

@aliGhadyani aliGhadyani released this 01 Dec 17:12
· 10 commits to main since this release

Core Intel: Farzan Graph renamed, with the company's documents and data beside its code, scopes of them with their own
people, chats, projects, agents and coding sessions locked to a scope, and a semantic_search that answers questions
about a whole scope. An upgrade from 8.0 to 8.3 (and from 7.x) carries every index, pack, key and setting.

🚀 Epics and highlights

  • Core Intel, one place for the company's code, documents and data. Farzan Graph is Core Intel, and one list of
    sources holds its repositories (with the refs each is indexed at), the knowledge sources, Ask your data's connections
    and the packs, kept in step every five minutes.
  • Scopes. Product 3.3 is these repositories at these branches or tags, these document spaces, these data connections
    and these packs, with its own readers and admins (people, the app's groups, directory, SCIM and company sign-in
    groups). A scope may derive from another (3.5 from 3.3: the parent's sources, its own replacing or taking them out).
    A scope only narrows: each source's own access still applies, so nothing is opened to anyone. Admin → Core Intel →
    Scopes (scopes.md).
  • A chat locked to a scope. Set by its person from the chat's scope menu or /scope product-v3.5, from a project
    (its new chats start there), from Code Arena (the synced session's scope) or from an MCP client (the Core-Intel-Scope
    header, or scope_use when the person asks): its code tools, company knowledge, Ask your data and citations answer only
    from inside it, the model is told so, and the header shows it. A scope someone may not use answers exactly as one that
    does not exist, everywhere.
  • semantic_search answers questions about a whole scope. It returns the files that answer, best first, each with
    the lines and the symbol that answered: the question's words in every file (BM25 over paths and contents) and its
    meaning among the symbols, fused by rank. Measured on 148 questions from three repositories' docs and commits
    (retrieval.md): nDCG@10 0.536 against 0.377 before (test split; +0.153 on dev, 95%
    interval +0.105 to +0.201), a right file among the first five for 89% of questions against 69%. Passage vectors, a
    reranker, the symbol graph's neighbours, folder lifts and a map of folders were measured beside it and left out.

✨ New features & Enhancements

  • Core Intel's MCP tools scope_list, scope_current and scope_use (42 tools); every tool's scope decision is listed
    and tested (a tool without one fails the build's tests); inside a scope a repository outside it is answered as one Core
    Intel does not know, with no maintainers named, and a branch or tag outside it is refused.

  • Audit: core-intel.scope.created, .changed, .deleted, .access, .chat, .project and core-intel.scope.denied;
    Core Intel's log names the scope of each tool call and each scope_use.

  • New permission core-intel.scopes (in the Core Intel admin role): make, change and delete every scope.

  • core-intel index-local: a git repository on the machine indexed with no GitLab (a measurement's corpus, or code
    nobody hosts).

  • The Common Criteria in Core Intel: the commoncriteria knowledge pack. It holds the full texts of CC:2022
    Parts 1 to 5 and the CEM:2022, and of CC and CEM 3.1 Revision 5, with their errata. It also holds the CCRA's
    supporting documents and operating procedures, and the SOG-IS and ENISA (EUCC) documents the CC portal links.
    Beside them are every Protection Profile, PP-Module, PP-Configuration, package and Supporting Document on the CC
    portal's lists of certified, archived and collaborative PPs and on NIAP's: 568 PP records from 14 schemes. NIAP's
    1,002 Technical Decisions are in it too. Everything comes from www.commoncriteriaportal.org and www.niap-ccevs.org:
    1,357 files, 23,382 pages.

    • Requirements as data. Each component has a page (FCS_COP.1, ALC_FLR.2, and the 491 extended
      components). It gives the component's definition in each edition, taken from the CC's own XML: elements,
      operations, dependencies, audit, and the CEM's work units. It then lists every PP that requires the component,
      and how: mandatory, conditionally mandatory, optional, selection-based, objective, implementation-dependent, or
      in its EAL package with the portal's augmentations. The page also names the Supporting Documents that evaluate
      the component and the Technical Decisions about it, so docs_lookup("FIA_UAU.2") answers "which PPs require
      FIA_UAU.2?". The work directory's requirements.json holds the same as data.
    • Terms. Each page ends with its document's source and terms. The CC and CEM come under the CCRA's Legal
      Notice, which allows anyone to re-use and publish their text. NIAP's documents are US-government works. The
      schemes' and the CCRA's documents are their free publications.
    • Left out. The 47 documents whose notice restricts reproduction, or whose copyright a company holds, are
      there as metadata, link and requirements only.
    • Building it. tools/cc-texts.py fetches the sources and writes the pages. tools/packs-weekly.py renews
      the pack each week, fetching only the new PPs and Technical Decisions. The grc pack's catalog of the CC's
      families stays as it was, and each of its 121 families has a page in the new pack
      (knowledge-packs.md).
  • Every ISO standard in Core Intel: the iso knowledge pack. ISO's catalogue of all 81,910 deliverables, from
    ISO Open Data (iso_deliverables_metadata, iso_technical_committees and iso_ics, © ISO, under ODC-By 1.0). It
    holds 26,600 current, 29,860 withdrawn, 5,397 under development and 20,053 cancelled projects. Each page gives the
    reference, titles, status and stage, edition, publication date, committee, ICS codes, what it replaces and what
    replaced it, its amendments, its other editions and drafts, and the abstract as the open data gives it. The 860
    committees and 1,381 ICS codes have a page each, listing their deliverables. docs_lookup finds a standard by its
    reference (ISO/IEC 27001:2022) or by its undated number on the current edition (ISO 9001, ISO 27001). It finds
    a committee (ISO/TC 176) or an ICS code (35.030) the same way. Each status, the committees and the ICS are
    facets. No standard's text is in it: ISO sells them, its Online Browsing Platform may not be scraped, and the
    Publicly Available Standards site is closed (its free copies are for one reader). Each page links to the standard
    on iso.org, and ISO/IEC 27001 and 27002 link to Farzan Arena's own control mapping. tools/iso-catalog.py writes
    the pages, and tools/packs-weekly.py renews the pack each week from the open data
    (knowledge-packs.md).

  • The commercial license, written out, with royalties. COMMERCIAL-LICENSE.md sets the terms Binchitects licenses
    Farzan Arena on for uses the AGPL does not allow: a royalty on every sale of a product or service built with it, in
    tiers of the licensee's cumulative gross sales (15% up to $500,000, 10% up to $2,000,000, 5% above), with reports,
    payment, audit, no warranty, a limit of liability and an indemnity. LICENSING.md says when it is needed, and that
    a published engine built from Farzan Arena is under the AGPL as a whole, with its source, or needs it.

  • A licensing guard, in CI and in the release gate. tools/licence-check.py fails when a source file has no
    SPDX and copyright lines (--fix adds them; every file has them now), when a shipped package's licence is not one
    docs/compliance/licence-policy.yaml allows or accepts with why (strong copyleft and unstated licences fail), when
    THIRD-PARTY-NOTICES.md is not current, when LICENSE.md is not the AGPL unchanged, when the licence labels and
    metadata disagree, or when a commit is by someone other than the copyright holders and not signed off.
    tools/release-scan.py runs it first, and the SBOM gives each component its licence.

  • Third-party notices. THIRD-PARTY-NOTICES.md lists the 606 components the release ships (npm, NuGet, Python
    packages, programs and base images) with their licences; the bundle and the installer carry it and the commercial
    license beside LICENSE.md. LICENSING.md makes the written offer of the GPL and LGPL source in the published images.

  • Every image says whose it is and its licences (org.opencontainers.image.licenses, vendor, source), and every
    assembly its copyright and licence.

💥 Breaking changes & Deprecations

  • Farzan Graph is Core Intel, and core-intel inside: the name people read (branding.env CORE_INTEL_NAME,
    Brand.CoreIntel), the service, container, feature, image (ghcr.io/binchitects/farzan/core-intel), data folder
    and volume, its environment CORE_INTEL_*, the app's settings sections CoreIntel and CoreIntelIndex,
    /api/core-intel/*, the MCP server core-intel, the chat tool id, the permissions core-intel.* and
    settings.core-intel, the role core-intel-admin, the metrics core_intel_*, the Helm values coreIntel,
    /api/info's coreIntelUrl, and Code Arena's coreIntelUrl and coreIntelTools. Nothing answers to the old names.
    An upgrade from 8.0 to 8.3 (and from 7.x, from argus) carries everything: .env's CODE_INTEL_* keys renamed on
    their lines, the address people's DNS, certificates and tools know kept (CORE_INTEL_HOST=code-intel), the feature
    carried, DATA_DIR/code-intel renamed with every index and pack in it (back on a rollback), the Kubernetes claim
    and values kept under coreIntel, the app's stored names renamed (migration CoreIntelNames, back on Down), the
    index's own table (029). Loki's lines from before the upgrade keep the container name code-intel, so the dashboards
    show Core Intel's own lines from the upgrade on. A deploy/config/code-intel.yaml changed by hand is kept beside the
    new core-intel.yaml, to merge. People's MCP clients name the server core-intel (Connect your tools).

🐛 Bugs fixed

  • Names that say what is shown (WCAG 2.5.3, found by axe-core 4.14): the notifications button says the count it
    shows ("9+"), the search button its words and its shortcut (Ctrl K), the chat's Files, Canvas and Tools buttons their
    numbers as shown, a panel's back button the title it shows, and Agent Studio's step and trigger cards their own text
    after their kind.
  • The admin assistant's floating button no longer covers the Save button of Settings' and the access matrix's bars.
  • CI no longer runs the Code Arena page's browser check, gone with Code Arena in 8.2.

⬆️ Deps updates

  • Node 26 (the LTS) everywhere Arena runs Node: the web's and Core Intel's builds and the plugin runtime
    (node:26.13.1-trixie-slim, Debian's: the runtime's caps now set by bash's ulimit), CI and the docs. Node 22 was
    two LTS releases behind.
  • The web apps' packages at their newest: React 19.3.1, React Router 8.5.3 (Core Intel's web moved from 7 to 8),
    TanStack Table 9 (the table wrapper on its features and row-model slots), TanStack Query 5.108, TypeScript 7 (the
    native compiler; Core Intel's web tests transform TypeScript with Vite's Oxc), Vite 8.4, Vitest 5.1, Playwright 1.65,
    radix-ui 1.8, react-hook-form 7.92 with its resolvers 7, jsdom 31, jest-dom 8, lucide-react 1.85, Mermaid 12.4,
    Monaco 0.58, DOMPurify 3.5, marked 18.4, Tailwind 4.3.5. KaTeX stays on 0.18 (0.18.10), as far as
    marked-katex-extension allows. React Router 8.5.1 and up close GHSA-2rq8-3rm6-2w8f and GHSA-qhgm-jj2j-75wj.

Images

Pull them from GitHub Packages (docker pull REF), or use the offline bundle.

service image digest
app ghcr.io/binchitects/farzan/app:8.4.0 sha256:b03873540c1389b7e8ca22ca6109b1b4a91a9fd3722e69cb32ebbe85aa1f0ae2
audio ghcr.io/binchitects/farzan/audio:8.4.0 sha256:86e45d49d27f163cc16d2a3216fd3cf78d4c1fcf35c5168806a55af2bb61e0a2
blender ghcr.io/binchitects/farzan/blender:8.4.0 sha256:7958906d0b11942609705fe5941832e9ee2077f8f260d4f9742f2c9acb5d94c7
browser ghcr.io/binchitects/farzan/browser:8.4.0 sha256:531b76274d4a1b5e1fdd59b4c9c8b1fc931b26c6cb8da3c6124166c7c574b3d2
core-intel ghcr.io/binchitects/farzan/core-intel:8.4.0 sha256:708f16bbd179e492f90bfe306ac8c7da0072022fada6e2a81c1fb7a6d49dcc9b
laya ghcr.io/binchitects/farzan/laya:8.4.0 sha256:ced6530fd0f01690fa7f17829a7f43162c8acaa4e6c1269a77273a5a462a374f
lean ghcr.io/binchitects/farzan/lean:8.4.0 sha256:0cd25332d6a4fd98cec19770bed07cc255f0698bfb81f7c7abe554395fe2a602
lmdeploy ghcr.io/binchitects/farzan/lmdeploy:8.4.0 sha256:fc035ad8de4426b0608d381a4a66326b7c72c60fecb8870279ed48ae0638101f
postgres ghcr.io/binchitects/farzan/postgres:8.4.0 sha256:e027282435acc8fe1f08d87c9ba334d90e4d90cd8d856b80e49df4a14975d08f
sandbox ghcr.io/binchitects/farzan/sandbox:8.4.0 sha256:6bb0b2a588a2ba5998d318209864c15c7e8e65763e7bd70427a6382f78ac2038
scanners ghcr.io/binchitects/farzan/scanners:8.4.0 sha256:11f61e05310354adb4fd352d6554803c633eae683cabe671b20581ddb152fb5b
studio ghcr.io/binchitects/farzan/studio:8.4.0 sha256:06ef4447b03838fe9a0e41f02be0069d8b40b6c0b813661766c4dc9cc21395b9
vllm ghcr.io/binchitects/farzan/vllm:8.4.0 sha256:b813abd8eefce3667babb98880faa7c22f6896227b49da6e7895d4620e737ab8