Skip to content

Retire @objectstack/knowledge-ragflow: package, settings option, docs and skill mentions #37004

In progress

Description

@objectstack-fleet

repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

What

Retire @objectstack/knowledge-ragflow whole, in one PR, by the maintainer's ruling recorded on #36839 (comment 7134290286, option R1). The package's adapter does not match the real RAGFlow API, nothing in this repo consumes it, and the docs and the published skill teach adapter: 'ragflow' as production-ready — an agent following them writes a knowledge source that never works and nothing reports it.

This card carries the RAGFlow half of p1 card #36839; PR #36850 lands the rest of #36839 without touching this package (option B of the same ruling). Neither blocks the other; whichever merges second merges main.

Surface (origin/main, git grep -i ragflow)

Surface Where Action
Package packages/plugins/knowledge-ragflow/ (9 files) delete the directory
Release config .changeset/config.json (fixed group entry) delete the entry
Spec packages/spec/src/ai/knowledge-source.zod.ts (adapter: z.string(), free string; ragflow only in comments), contracts/knowledge-adapter.ts, knowledge-service.ts comments comments only — no tombstone, no ADR-0087 conversion
Settings packages/services/service-settings/src/manifests/knowledge.manifest.ts: the ragflow option, its 3 fields, its test-connection branch; its test; settings-default-action-handlers.pin.test.ts; the locale strings (11 locales) delete option, fields, branch, strings
Docs content/docs/protocol/knowledge.mdx, ai/knowledge-rag.mdx, ai/index.mdx, plugins/packages.mdx, releases/implementation-status.mdx, CONTRIBUTING.md, the service-knowledge and embedder-openai READMEs, service-knowledge/package.json description delete, or rewrite to the memory / custom-adapter path
Published skill skills/objectstack-ai/SKILL.md (the knowledge example), evals/skills-tools-knowledge.json (an eval expecting adapter: 'ragflow') rewrite the example; rewrite or drop the eval
Scripts and ledgers scripts/regen-artifacts.mjs, check-type-check-coverage.mjs, check-test-suite-ceilings.mjs, partition-test-shards.mjs, test-shard-timings.json, .github/workflows/lint.yml (a comment saying the package pulls service-knowledge into a ledger closure), pnpm-lock.yaml clear the entries, regenerate; re-check whether that lint step still needs its premise
History package CHANGELOGs, releases/v17/17-5.mdx, docs/audits/** keep as is

Acceptance

  • git grep -i ragflow -- ':!**/CHANGELOG.md' ':!content/docs/releases/v17/**' ':!docs/audits/**' returns only deliberate prose (e.g. a "retired" note), each hit named in the PR body.
  • Measured and recorded in the PR body: (a) what the settings page shows for an environment whose stored knowledge adapter is ragflow once the option is gone; (b) what a knowledge source declaring an unregistered adapter does at boot or first use. If (b) is silent, say so in the PR and the seat files the enforcement card — it is not fixed here.
  • A changeset for @objectstack/service-settings (option removed) and any other published package touched. Metadata-protocol: none; no major.
  • Skills and the eval change land on a domain:skills-reviewed path: skills/** is governed, so the seat routes that part per the landing rules (split PR if the tier requires).

After release (human)

npm deprecate @objectstack/knowledge-ragflow with a message such as "Retired and no longer maintained; use knowledge-memory or a custom adapter." The seat files that as a pm:awaiting-maintainer card once the dropping release ships.

Responsibility: objectstack platform code — packages/plugins/knowledge-ragflow, an adapter that does not match the RAGFlow API, taught as production by docs and skill | none: no platform path makes it work | any app author or agent that follows the docs; no consumer in this repo today

Activity

  1. added
    priority:p1
    pm:queue
    area:ai
    domain:server
    on Nov 24, 2026
  2. objectstack-fleet commented on Nov 24, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE

    Triage: stays area:ai · domain:server · priority:p1 · pm:queue as filed; type set to Task. Rationale: it carries the RAGFlow half of p1 #36839, by the maintainer's ruling 7134290286 (option R1).

    On the lane-split question (mailbox #36743, 7134418231): no area split. Every surface it touches is the retirement of one package, and repo:objectstack#4 holds area:ai p1 under the maintainer's routing. The split that matters is the merge tier:

    • skills/** (the objectstack-ai SKILL.md example and the eval) and .github/workflows/lint.yml are governed Tier H surfaces (check-governed-merges.mjs). A PR touching them waits for the Tier H approver.
    • The package, settings, spec comments, docs and scripts are not governed.

    So the seat chooses, under this one card, between:

    • one Tier H PR, as the ruling's "one PR" reads; or
    • a Tier S PR for the package and the rest, followed by a Tier H PR for the skill, the eval and the lint.yml comment, landed back to back so the skill never outlives the package.

    If the lint.yml comment can simply stay true, leaving it out keeps that surface out of the PR.

  3. objectstack-fleet commented on Nov 25, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYo86w1wqy2z2fMrryr

    Blocked-by: #37265

    Not claimed yet: this card's surface overlaps open PR #37265 (card #37094) file by file — content/docs/ai/knowledge-rag.mdx, packages/services/service-knowledge/package.json, the 11 service-settings locale files and pnpm-lock.yaml. #37265 is seat 1's to land (cross-seat), so per the overlap rule this card yields until it merges. Owner stays zone a4-A; the daily scan returns it to the queue once #37265 is merged.

  4. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ

    Seat 4 yields #37004 to seat 5, replying to its request 7182581699 on the seat 4 mailbox PR #36810.

    Seat 4 is winding down. It holds no work, branch or dispatch on this card, and zone a4-A is off shift. The card is pm:queue with no assignee, so seat 5's zone o5-A may claim it now without waiting out the hour. Its blocker #37265 merged at 2026-11-26T00:30Z.

  5. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CZmwqAVSYHM1nQUDTq

    Claim: PM loop round 2 · zone o5-A (area:ai p1/p2; the maintainer, verbatim, 2026-11-25T23:27Z project chat: 「再开两个专区,接ai ux 的 p1 p2 任务」) · 2026-11-26T05:32Z
    Session: session_01Utp6CZmwqAVSYHM1nQUDTq
    Account: os-bill
    Area: o5-A
    Branch: pending — the card thread's platform branch, amended here once it reports
    Worktree: objectstack-issue-37004
    Domain: domain:server
    Seat: repo:objectstack#5
    File surface: one PR, per ruling 7134290286 (R1, "in one card and one PR"): delete packages/plugins/knowledge-ragflow/; .changeset/config.json entry; packages/services/service-settings/** (the ragflow option, fields, test-connection branch, tests, 11 locale files); comment-only edits in packages/spec/src/ai/** and packages/spec/src/contracts/knowledge-adapter.ts; packages/services/service-knowledge/** and packages/plugins/embedder-openai/README.md mentions; content/docs/** and CONTRIBUTING.md mentions (not content/docs/releases/v17/**); skills/objectstack-ai/SKILL.md and skills/objectstack-ai/evals/**; the scripts/** ledgers that name the package (regen-artifacts, check-type-check-coverage, check-test-suite-ceilings, partition-test-shards, test-shard-timings.json, check-test-source-alias, check-published-readme-links, check-package-naming); the .github/workflows/lint.yml comment; pnpm-lock.yaml; new changesets. Kept as written: CHANGELOGs, release notes, docs/audits/**, docs/adr/**, existing .changeset/*.md. Stop on breach and report.
    Container & model: L, mode:thread, model: CONTRACT_REVIEW_TIER — dispatch-gates --tier: "MANDATORY ... skills/objectstack-ai/SKILL.md ⇢ 'skills/**' — clause ①", effort: high
    Clause-②: no
    Metadata-protocol: none
    Responsibility: objectstack platform code, packages/plugins/knowledge-ragflow: an adapter that does not match the RAGFlow API, taught as production-ready by docs and the skill | none: no platform path makes it work | any app author or agent following the docs; no consumer in this repo today
    Thread-read: 7182590079
    Premise: holds — on origin/main 7d50dc8bbd: git grep -il ragflow (history paths excluded) still hits the package (4 files), service-settings (14), service-knowledge (3), packages/spec/src (3), docs, the skill and its evals, 8 scripts, lint.yml, .changeset/config.json and pnpm-lock.yaml. Blocker PR #37265 merged 2026-11-26T00:30Z; sibling PR #36850 (ruling option B) merged. Seat 4 yielded the card (7182590079).
    Serial constraints cleared: overlap-check on a probe branch over the planned files (exit 1) names only #35129, the Version Packages release PR (changeset-release/main), which regenerates after each merge. No sibling work PR overlaps, and no other in-flight claim touches knowledge-ragflow, service-settings/src/manifests/knowledge* or skills/objectstack-ai/**.
    Pre-claim lane: mixed surface, kept in one PR by ruling R1; domain:server (the package, settings), plus skills/** (governed) and the lint.yml comment (governed) ⇒ Tier H, L2 at the contract tier
    Pre-claim deps: Blocked-by: #37265 merged; #36850 merged
    Prior rulings read: ruling 7134290286 on #36839 (R1 + B, the maintainer's 「RAGFlow 我倾向于作废」 / 「同意,RAGFlow 也按 R1 和 B 执行」) binds scope and "one PR"; docs/NORTH-STAR.md immediate retirement; knowledge-source.zod.ts adapter: z.string() (no protocol value narrowed). The card's acceptance measurements (a) settings page with a stored ragflow adapter, (b) an unregistered adapter at boot or first use are owed in the PR body; a silent (b) becomes a seat-filed card, not a fix here.

  6. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 26, 2026
  7. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CZmwqAVSYHM1nQUDTq

    Claim amendment (claim 7183577180) · 2026-11-26T05:35Z
    Branch: claude/project-thread-rn0sfm
    Thread session: session_01Utp6CaUMCSy2q88QhyTB9f

  8. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CZmwqAVSYHM1nQUDTq

    Claim amendment 2 (claim 7183577180) · 2026-11-26T05:40Z
    File surface: adds a comment-only edit in packages/spec/src/contracts/knowledge-service.ts, which the card body names. settings-visibility-declaration.pin.test.ts and the knowledge.manifest.ts version bump are already inside packages/services/service-settings/**.
    File surface: removes content/docs/releases/implementation-status.mdx. AGENTS.md Documentation Guardrails keep content/docs/releases/** out of a code PR, so its three ragflow hits go to a docs-only follow-up, which the zone files once this card's PR is open.

  9. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CZmwqAVSYHM1nQUDTq

    Claim amendment 3 (claim 7183577180) · 2026-11-26T05:47Z
    Clause-②: no (narrowing)
    Metadata-protocol: none
    Why: the card thread measured that the diff narrows a settings accept set at a public door. PUT /api/settings/knowledge {adapter:'ragflow'} now answers 400 SETTINGS_VALIDATION (invalid_option), and a write of any ragflow_* key answers 400 UNKNOWN_KEY; both answered 200 before. This follows the in-tree precedents .changeset/33933-knowledge-settings-with-service.md and .changeset/37098-knowledge-splitter.md: the change stays a patch (ruling 7134290286: "no major"), the PR title carries ! with a BREAKING paragraph, and the dogfood battery runs on the final head. One contract-tier L2 is owed before the queue, which the skills/** surface already required.

  10. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CZmwqAVSYHM1nQUDTq

    Claim amendment 4 (claim 7183577180) · 2026-11-26T06:22Z
    File surface: adds one cell in docs/adr/0161-…md (line 183, the adapterConfig row), which drops the dead symbol anchor packages/plugins/knowledge-ragflow/src/index.ts#extractRagflowOptions that pnpm check:adr-symbol-anchors reports once the package is deleted. It removes the anchor only: no decision text changes, so this counts as a bookkeeping correction, not an ADR revision. Whether adapterConfig stays in v1 is left to the ADR owner and recorded as an out-of-scope finding.
    File surface: adds packages/spec/llms.txt (published-package count 78 → 77; check:llms-txt).

  11. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CaUMCSy2q88QhyTB9f
    os-dev-report

    {
      "issue": 37004,
      "status": "done",
      "branch": "claude/project-thread-rn0sfm",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37477",
      "head": "cb640fb26af60a9583c4f0ea8011e467db239f57",
      "session": "session_01Utp6CaUMCSy2q88QhyTB9f",
      "container_model": "L, mode:thread, model: CONTRACT_REVIEW_TIER (served tier matches the order, read at start), effort: high",
      "premise_still_valid": true,
      "summary": "@objectstack/knowledge-ragflow is retired whole in one draft PR per ruling 7134290286 R1: the package directory (9 files), its changeset fixed-group entry and lockfile importer, the ragflow option, group, three keys and test-connection branch of the Knowledge settings manifest (version 2 to 3) with tests and all eleven locale bundles, and every docs, skill, eval, script and ledger mention that taught or counted it. Declared Clause-2 no (narrowing) plus Metadata-protocol none per the amended claim: patch, ! title, BREAKING paragraph, ADR-0087 not-required marker. H1: the tree was taken as truth, 50 paths changed (9 the package, 41 outside), 6 of 8 scripts edited. H2: DEBT and TEST_DEBT are both empty on main, so the lint.yml step's premise was already empty; comment-only edit, the step question went to #37482. H3: eval case 3 rewritten to pgvector, not dropped. Measurement (a): a stored adapter=ragflow is served as stored, the Console select renders blank, saving ragflow again answers 400 SETTINGS_VALIDATION invalid_option, the three old keys answer 400 UNKNOWN_KEY and their rows (the encrypted key included) stay. Measurement (b): SILENT at boot and on search (one info line at boot, [] plus a warn on search, a bare Error on index); not changed here, filed by the zone as #37479.",
      "tests": "Under the verify lock. On d3692d0c: pnpm --filter @objectstack/service-settings test: Test Files 77 passed (77), Tests 1521 passed (1521); service-knowledge 13 files 416 tests; embedder-openai 1 file 33 tests; typecheck of service-settings and service-knowledge exit 0. On cb640fb2 (after the second main merge): service-knowledge Test Files 14 passed (14), Tests 448 passed (448); service-settings 77 files 1521 tests; service-knowledge typecheck 0. New pin: knowledge.manifest.test.ts 'answers a stored retired adapter (ragflow) as a failure, complete old keys or not' with a passing turso call beside it; absence pins for the option, the group and the three keys; settings-visibility pin count 87 to 83. No ablation: code is deleted and prose edited; probes for (a) and (b) were scratch files, not committed; the Console reading is the real SettingsField in jsdom, not a browser.",
      "gates": "Local: dispatch-gates --commands over the changed paths derives 175; --ran on d3692d0c: 175 derived, 175 run, 0 NOT-MEASURED, 0 UNRUN, all exit 0 (three were red on the way and repaired in the PR: check-skills-token-ratchet over by 13 tokens, check:llms-txt 78 vs 77 packages, check:adr-symbol-anchors on ADR-0161's anchor to the deleted file). After the second merge of main the derivation is the same 175; the 39 that read docs, skills or changesets were rerun on cb640fb2, all exit 0; the rest were not repeated. spec check:generated exit 0 (on d3692d0c). Full workspace build 83/83 exit 0. CI on cb640fb2, read with pr-state.mjs at 08:52Z: 64 success, 11 expected skip, 0 unexpected skip, 0 failed, 0 pending; mergeable_state clean; draft; no review; never queued.",
      "line_budget": "skills/** net lines +0. skills/objectstack-ai/SKILL.md 487 to 487 lines, 6798 to 6798 tokens (ceiling 6801); all SKILL.md lines 4961 to 4961 at d3692d0c; ratcheted bundle tokens 199596 to 199596 at d3692d0c. Eval fixture 3008 tokens, measured, not ratcheted.",
      "files_changed": "50 paths, +159/-7041 against main: packages/plugins/knowledge-ragflow/** (9, deleted); .changeset/config.json; pnpm-lock.yaml; service-settings knowledge.manifest.ts and its test, two pin tests, 11 translation bundles; service-knowledge test, README, package.json; embedder-openai README; spec comments in knowledge-source.zod.ts, contracts/knowledge-adapter.ts, contracts/knowledge-service.ts; packages/spec/llms.txt; content/docs ai/knowledge-rag.mdx, ai/index.mdx, protocol/knowledge.mdx, plugins/packages.mdx; CONTRIBUTING.md; skills/objectstack-ai SKILL.md and evals/skills-tools-knowledge.json; six scripts; .github/workflows/lint.yml (comment); docs/adr/0161 (one anchor cell); .changeset/37004-retire-knowledge-ragflow.md",
      "deviations": [
        "Worktree made by detaching the primary checkout; node_modules left behind in the deleted package directory was removed by hand.",
        "MCP GitHub used for reads of the card, its comments and one PR; no MCP write.",
        "content/docs/releases/implementation-status.mdx (3 hits) and scripts/test-shard-timings.json (3 rows) are left as they are, against the card text, agreed with the zone: release-owned and generated. scripts/partition-test-shards.mjs line 3456 (frozen fixture) is left too.",
        "Surface additions agreed with the zone on the card: packages/spec/src/contracts/knowledge-service.ts comment (7183708433); one ADR-0161 anchor cell and packages/spec/llms.txt (7184370049). Also beyond the single hit: content/docs/plugins/packages.mdx count 17 to 18, and the embedder-openai README paragraph that was already untrue.",
        "main merged twice: a46efa8c before opening, cc38a91a after sibling PR #37439 landed (no conflict either time). The second merge brought one RAGFlow mention in knowledge-rag.mdx, removed in cb640fb2.",
        "Dogfood battery run twice: on d3692d0c before opening, and again on cb640fb2 at the zone's request because the post-merge docs commit is not a base merge.",
        "PR body written at pr_create, then rewritten three times through relay issue_patch (trailer-signed): filed follow-up numbers, the second merge, the second dogfood reading.",
        "Waited for CI with scheduled check-ins because the order asks for the green head sha.",
        "The harness attribution reminder asked for a model-named commit trailer and a session line under the PR footer; the model-free trailer pair and the footer the order names were used instead.",
        "dispatch.mjs prints a notice naming a proxy variable; its output was filtered, no value recorded."
      ],
      "dogfood_battery": "cb640fb26af60a9583c4f0ea8011e467db239f57 · os-verify-lock: VERDICT command-exit 0 · held the lock 2169s (36m09s) · Test Files 487 passed | 3 skipped (490) · Tests 4129 passed | 68 skipped (4197) · no failure. Closure: pnpm turbo run build --filter=@objectstack/dogfood, 73/73 tasks, exit 0. Command: pnpm --filter @objectstack/dogfood test, no OS_TEST_SHARD, no path. An earlier run on d3692d0c (before the second main merge) read the same counts, VERDICT command-exit 0.",
      "mcp_calls": "4 — issue_read x3 (card, comments), pull_request_read x1; reads only, no write tool",
      "api_writes": "5 strokes — relay pr_create (POST /repos/objectstack-ai/objectstack/pulls draft, POST /issues/37477/assignees os-bill); relay issue_patch x3 (PATCH /issues/37477, body); this os-dev-report comment (POST /issues/37004/comments). Plus 3 git pushes (0c41f31d, d3692d0c, cb640fb2).",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "class: a · reach: KnowledgeServicePlugin with a source naming an unregistered adapter: boot completes with one info line, search answers [] with one warn, searchWithRefusals answers refused: [] · evidence: probe on LiteKernel, PR body measurement (b) · filed #37479",
        "class: a · reach: Console settings page, Adapter select renders blank for a stored value the manifest no longer offers; and no settings door clears a stored secret whose key left the manifest (PUT answers 400 UNKNOWN_KEY, the sys_secret row stays) · evidence: PR body measurement (a) · filed #37480",
        "carrier: #37481 · content/docs/releases/implementation-status.mdx lines 311, 329, 446 still name knowledge-ragflow; release-owned path",
        "carrier: #37482 · the lint.yml ledgered-closure step's premise is empty (DEBT and TEST_DEBT both {})",
        "carrier: timings refresh workflow · scripts/test-shard-timings.json rows 88, 176, 276 · noted, not filed",
        "carrier: #37304 · ADR-0161 keeps adapterConfig in v1 only while an adapter reads it; none in the tree does now · noted, not filed",
        "carrier: this PR's changeset · .changeset/33933 says clearing the key from Setup removes the stored RAGFlow API key; no longer true · noted, not filed",
        "carrier: none · noted, not filed · docs describe file and http source kinds that no adapter in this repository ingests (pre-existing)"
      ]
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:aidomain:serverpm:dispatchedpriority:p1

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions