Skip to content

Deploy and Operate become one self-managed handbook for Community and Enterprise: each page written once, "Enterprise adds" sections for the private image and license, plus Licensing and Business Self-Managed vs Enterprise pages #345

Closed

Description

@os-zhuang

Filing gate: ③ a task the maintainer directed — Sam, project thread "Decide docs.objectos.ai content scope", 2026-10-27, verbatim: 「Enterprise 镜像部署;Community 生产自托管部署,是用 docker 吗?有什么区别吗?很多都应该合并吧」 · 「同意,立卡」.

维护者速读

两个镜像是同一个运行时、同一套配置(OS_DATABASE_URL / OS_AUTH_SECRET / OS_SECRET_KEY),差别只在镜像来源(公开 ghcr.io/objectstack-ai/objectstack vs 许可证附带凭证的 ghcr.io/objectstack-ai/objectos-ee)、OS_LICENSE_KEY 与许可模式、以及许可解锁的功能(界面内 AI、AI 治理、层级可见性、多组织、多节点副本)。今天 Community 的自托管在 objectstack.ai 写了一份(deployment/self-hosting 5,129 词),Enterprise 的在本站写了一份(Deploy 4 + Operate 7 页),内容大半重复。本卡把本站的 Deploy/Operate 改成两版本共用的一套,Community 内容并入;objectstack 仓的配套卡把那边改成开发者半边并链过来。

Measured on c622daa

  • deploy/index.mdx, deploy/docker.mdx open with "ObjectOS Enterprise … licensed, pre-built runtime image"; reference/environment-variables.mdx is written as the Enterprise image's contract (OS_EE_IMAGE). Nothing on this site tells a Community operator how to run ghcr.io/objectstack-ai/objectstack in production; quickstart.mdx boots it locally only.
  • objectstack content/docs/deployment/self-hosting.mdx covers Docker, Compose with Postgres, health checks, Kubernetes, bare Node.js, reverse proxy & TLS, scaling, first boot, go-live — the same topics as this site's deploy/* and operate/production, for the other image.
  • cloud apps/objectos-ee/deploy/ (Compose with postgres + migrate + app replicas + caddy, .env.example, composed.env.example, artifact-pinned-boot.md, composed-artifact-boot.md) is the Enterprise bundle these pages describe.

Done looks like

  1. Every Deploy and Operate page carries editions: [community, enterprise] and is written once for both: image run, required variables, Compose, Kubernetes, reverse proxy, health, backup, upgrade and rollback, observability, audit, troubleshooting. Where the two differ, the page ends with an Enterprise adds section: private registry and credentials, digest pinning, signature / SBOM / provenance, OS_EE_IMAGE, OS_LICENSE_KEY, OS_CLOUD_URL, OS_CLUSTER_REPLICAS, the migrate service, licensed features. deploy/air-gapped.mdx stays Enterprise-only.
  2. deploy/index.mdx opens with the one-table comparison (image, how the app arrives — your os build artifact vs marketplace / cloud binding / composed artifact, required variables, what the license unlocks) instead of the Enterprise-only intro.
  3. New deploy/licensing.mdx (editions: [enterprise]): obtaining a license, online vs air-gap validation, what the boot banner shows, renewal, what non-renewal degrades (never version-locks), Business Self-Managed (single node, maxNodes: 1, ≤25 AI seats, online-validated only) vs Enterprise (clustering, multi-organization, SCIM, air-gap). Ceiling for claims: cloud docs/design/ee-feature-catalog.md "what may be promised externally".
  4. New deploy/multi-organization.mdx (editions: [enterprise]): multi-org self-host is Enterprise; unlicensed walled posture refuses to boot; small-scale multi-org = Cloud.
  5. reference/environment-variables.mdx marks each variable Community / Enterprise / both.
  6. Community content is taken from objectstack deployment/self-hosting, backup-restore, troubleshooting, production-readiness and rewritten in this site's operator voice; the objectstack companion card then trims those pages to the developer half and links here.

Out of scope

Editions group and badges rendering (the edition-layer card); the Cloud organization pages. objectstack's own page edits (companion card there).

Related-to: #300 ("Deploy/Operate are not marked self-managed"), #334.

Activity

  1. added
    documentation
    pm:queue
    on Oct 27, 2026
  2. objectstack-fleet commented on Oct 27, 2026

    @objectstack-fleet
    Contributor

    Scope correction before dispatch · 2026-10-27T14:33Z · session_01QsR2jTaZ2GeyfjANMwstiw · seat repo:docs.objectos.ai#1 · ⛔ not a claim

    Ruling-ref: the maintainer, 2026-10-27, verbatim: 「cloud 相关的任务,转 cloud 车道处理」.

  3. added
    pm:dispatched
    and removed
    pm:queue
    on Oct 27, 2026
  4. objectstack-fleet commented on Oct 27, 2026

    @objectstack-fleet
    Contributor

    Claim: PM loop round 2 · 2026-10-27T14:36Z
    Session: session_01QsR2jTaZ2GeyfjANMwstiw (seat thread; the dev is card thread session_01QsR2jR7UJmFEbmVDtfMzeu, identity by branch)
    Account: zhuangjianguo
    Branch: claude/project-thread-kd9mt2 (platform-assigned; a card thread can push only this branch)
    Worktree: the card thread's own docs.objectos.ai checkout
    Domain: domain:docs (single-lane repository)
    Seat: repo:docs.objectos.ai#1
    File surface: content/docs/deploy/**, content/docs/operate/**, content/docs/reference/environment-variables.mdx (English sources; locale siblings only deleted where a page is retired, renamed or reverses a claim), the deploy/operate meta.json files, and redirects in apps/docs/next.config.mjs if a page moves — stop on breach; explain in the report
    Container & model: L, mode:thread, model: default tier (TIER_DEFAULT — sister repository, hand-derived: no packages/spec, no protocol-semantic surface), effort: project default (order asks for xhigh care)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: n/a — not a defect card
    Thread-read: 6444774472
    Premise: corrected 6444774472 (items 3 and 4 moved to #350 under the maintainer's ruling; Enterprise facts are limited to what this site already states on d1d6a3e)
    Serial constraints cleared: #349 merged (d1d6a3e), and this card branches from it. #346 (round 2, claude/project-thread-jyyr1e) writes use/** and build/** only, so there is no shared file. PR #348 (AGENTS.md, pin files, workflow) is disjoint. #350 waits on this card.

  5. objectstack-fleet commented on Oct 27, 2026

    @objectstack-fleet
    Contributor

    os-dev-report

    {
     "issue": 345,
     "status": "done",
     "branch": "claude/project-thread-kd9mt2",
     "pr": "https://github.com/objectstack-ai/docs.objectos.ai/pull/352",
     "session": "session_01QsR2jR7UJmFEbmVDtfMzeu",
     "premise_still_valid": true,
     "summary": "Deploy and Operate are written once for Community and Enterprise: each page's body follows the open image ghcr.io/objectstack-ai/objectstack (from objectstack self-hosting, backup-restore, production-readiness, troubleshooting, rewritten for operators) and ends with an Enterprise adds section holding only what this site already said on d1d6a3e. Deployment opens with a two-image comparison table; Air-gapped is editions: [enterprise]; Environment Variables carries an Edition column (Both / Enterprise) on every table and adds OS_AUTH_URL, OS_CORS_ORIGIN, OS_STORAGE_LOCAL_ROOT. Observability drops the Prometheus /metrics and trace-export claims (the open runtime has neither), so its 7 locale siblings are deleted per AGENTS.md rule 3. Items 3 and 4 are not written (moved to #350).",
     "tests": "Docs-only; no ts/js samples added. Browser: Playwright against the local opennextjs-cloudflare preview of the packaged Worker on 38ad134: 12 pages 200 (4 Deploy, 6 Operate, Environment Variables, zh-Hans observability fallback), 130 anchors on them all resolve, badges Community+Enterprise except Air-gapped (Enterprise only), 390px width no page overflow. Screenshots /mnt/project-files/docs-345/.",
     "gates": "Local, all on 38ad134, exit captured before any pipe: gen-zh-hant --check 0 (42 files match); check-doc-samples 0 (84 pages, 99 pass, 0 opted out); turbo type-check --force 0 (frontmatter valid on 190 pages, negative control refused); turbo build --force 0 (NEXT_PRIVATE_STANDALONE=true as ci.yml); check-locale-surface 0; check-positioning 0; check-search-locales 0; turbo test 0 (11 self-tests); check-translation-ownership --files 0 (7 translation artifacts deleted, none added or modified); check-translations 0; opennextjs-cloudflare build --skipNextBuild + preview + smoke-docs.mjs 0 (4 pages, negative control red, 8 locales). PR #352 check-runs on 38ad134: build success, Node floor success, Ownership & freshness success, Deploy docs skipped (PR). mergeable_state clean. objectstack PR-body gates (changeset, ADR-0087, closing-keyword parity) not applicable to this repo: not run.",
     "dogfood_battery": "n/a — no ! in the PR title and no (narrowing) arm; docs repository",
     "line_budget": "+836 / -1158 over 18 files (11 English pages edited, 7 locale siblings deleted, 853 of the deleted lines); under the 3000-line line",
     "files_changed": [
      "content/docs/deploy/index.mdx",
      "content/docs/deploy/docker.mdx",
      "content/docs/deploy/kubernetes.mdx",
      "content/docs/deploy/air-gapped.mdx",
      "content/docs/operate/index.mdx",
      "content/docs/operate/production.mdx",
      "content/docs/operate/observability.mdx",
      "content/docs/operate/backup.mdx",
      "content/docs/operate/troubleshooting.mdx",
      "content/docs/operate/upgrade.mdx",
      "content/docs/reference/environment-variables.mdx",
      "content/docs/operate/observability.{de,es,fr,ja,ko,zh-Hans,zh-Hant}.mdx (deleted)"
     ],
     "deviations": [
      "7 observability locale siblings deleted (rule 3: the English page withdraws the /metrics and trace claims); within the claim's file surface.",
      "operate/audit-logs.mdx left unchanged: already edition-neutral, no Enterprise difference stated on d1d6a3e.",
      "Bare Node.js under systemd not carried over; Deployment points at start/community.",
      "Three variables added to the env reference (OS_AUTH_URL, OS_CORS_ORIGIN, OS_STORAGE_LOCAL_ROOT) because the handbook now links them.",
      "Stale clause 'sign-in endpoints do not feed http_requests_total' removed: objectstack emits that counter at the transport seam (packages/observability/src/http-transport-metrics.ts).",
      "Local smoke: setsid returned at once, so the scripted trap lost the preview PID; the preview was found serving, smoke ran by hand, and its process group (pgid 4053) was killed explicitly.",
      "Reviewer request on the PR not made: the platform asks for update_pull_request, but this order forbids GitHub MCP writes; assignee zhuangjianguo was set by the relay."
     ],
     "mcp_calls": "6 — issue_read x3 (docs#345 get + get_comments, objectstack#9831 get), pull_request_read x3 (docs#352 get_check_runs x2, get); no MCP write",
     "api_writes": "2 — fleet-write relay pr_create run 40526089999 (POST pulls + POST issues/352/assignees; read-back 8474 bytes identical) and this os-dev-report comment via post-stamped; git push is not a REST write",
     "open_questions": [
      {
       "question": "Does the Enterprise image serve a Prometheus /metrics endpoint or export traces? The old Observability page said so for both editions; the open runtime has neither, so this PR dropped both claims rather than move them to Enterprise adds.",
       "options": [
        "A: #350 confirms against the EE image and re-adds them under Enterprise adds if true",
        "B: leave them out"
       ],
       "recommendation": "A, because only the cloud lane can read the EE image"
      },
      {
       "question": "How should the site describe a walled tenancy posture on the Community image? objectstack's open runtime boots group/isolated with no license (the license gate is in the commercial runtime; the membership-policy refusal is in the open framework), while Compare Editions says Community has no multi-organization.",
       "options": [
        "A: keep the site's position (walled = Enterprise) and say nothing about the Community image's behaviour (this PR)",
        "B: state that the open image runs walled postures unlicensed and adjust Compare Editions"
       ],
       "recommendation": "A until the maintainer rules, because it is a positioning decision; route to #350"
      },
      {
       "question": "Does the Enterprise image also listen on 8080 and preset an artifact path? The comparison table states these only for Community.",
       "options": [
        "A: #350 fills the Enterprise cells"
       ],
       "recommendation": "A"
      }
     ],
     "out_of_scope_findings": [
      "class: drift (not filed) · reach: none measured · version-specific upgrade steps stop at ObjectStack 17.7 and start/community transcripts are CLI 17.7.0, while objectstack main ships CLI and image 18.2.0 · dedupe words: upgrade steps 18, CLI 18.2.0, quickstart transcript version",
      "carrier: #334 or the next docs sweep · noted in PR Acceptance notes, not filed"
     ]
    }

    Generated by Claude Code

  6. objectstack-fleet commented on Oct 27, 2026

    @objectstack-fleet
    Contributor

    Landing · 2026-10-27T22:48Z · session_01QsR2jTaZ2GeyfjANMwstiw · seat repo:docs.objectos.ai#1

    Reading Value
    PR #352 MERGED through the merge queue as 1282903: squash, queued by the seat under the maintainer's standing go-ahead (2026-10-27T22:29Z), on head 38ad134, the ACCEPTed head of seat record 6445483619
    main CI run 40596791111 on 1282903 build success · Deploy docs / Publish the tested Worker success, with "Assert a new version is serving" success · Deploy docs / Smoke-check the live site success · rollback and failure-card jobs skipped

    State change: this card closed itself through Fixes #345, and pm:dispatched comes off here. #350 (cloud lane) was blocked on this card and is now unblocked for the repo:cloud seats. #347 (translation pass) is dispatched from 1282903.

  7. removed
    pm:dispatched
    on Oct 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

documentationdomain:docs

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions