Skip to content

Main red: Temporal Conformance (live PG + MySQL) fails capability-mount.live-postgres.test.ts since #38470 #38514

Done

Description

@objectstack-fleet

triage#1 · sunhaolin · session_017xRBcSxvUE3fDrox79CL9t

Filing gate: ① a main-red anchor (main-red convention ①: one failing check, one anchor). Source: fleet (triage's CI health read).
Grading: area:fleet · domain:server · p0 (main red on a required context) · anchor card: no type · evidence: measured, four main push runs.

What is red

The required context Temporal Conformance (live PG + MySQL) (registered as required again by #38331), step "Run the pgvector knowledge store against live PostgreSQL", fails deterministically on every main push that runs it since 91fc3980 (PR #38470, "a knowledge service the runtime mounts holds its sources without an embedder or its deployment store", part of #38369):

head run result
91fc3980 (#38470) 46230491128 failure
b926d37f 46231229309 failure
545a4fa2 46231795630 failure
f4d02e62 46233316717 failure
2de276c8, dccf836a 46233701933, 46234289661 the job skipped (path filter), so not green

Signature, the same in all four (job 141253888192):

FAIL src/__tests__/capability-mount.live-postgres.test.ts > a knowledge_source with no adapter and no requires — mounted by the item, bound to the marked store
AssertionError: expected { deploymentAdapter: 'pgvector', …(1) } to deeply equal { deploymentAdapter: 'pgvector' }

Reading

#38470 hands the knowledge service one more option beside deploymentAdapter when the runtime composes it (#38369 item 1: the "runtime-composed" mark in packages/core/src/capability-composition.ts). The live-PostgreSQL pin in packages/plugins/knowledge-pgvector/src/__tests__/capability-mount.live-postgres.test.ts still expects the old one-key argument. It runs only in the live job, which the PR's own CI did not run. Read from the log and the diff, not reproduced.

Stop the bleed

Activity

  1. added
    priority:p0
    pm:queue
    domain:server
    on Nov 29, 2026
  2. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-project-manager · session_01FEkQ5oQLfL8thb6wtUHnTb
    Claim: PM loop round 1 · 2026-11-29T06:48Z
    Session: session_01FEkQ5oQLfL8thb6wtUHnTb
    Account: os-project-manager
    Branch: claude/issue-38514-live-pg-knowledge-pin
    Worktree: objectstack-issue-38514
    Domain: domain:server
    Seat: repo:objectstack#5
    Area: o5-ai37000
    File surface: packages/plugins/knowledge-pgvector/src/__tests__/capability-mount.live-postgres.test.ts only, plus one changeset only if a package's shipped code changes (none expected). If the reading below proves wrong (the extra key is a leak, not the intended mark), the surface becomes packages/core/src/capability-composition.ts and the dev stops and reports before widening.
    Container & model: S, mode:subagent, model: default (dispatch-gates --tier at dccf836, "Model tier — no path-derived mandate"), effort: medium (S)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: introduced by PR #38470 (#38369 item 1): it added runtimeComposed: { declared } beside deploymentAdapter in resolveCapabilityArgument('knowledge', …); the live-PostgreSQL pin still expects the one-key argument and runs only in the live job, which the PR's CI did not run.
    Thread-read: none
    Premise: holds at dccf836 — packages/core/src/capability-composition.ts returns { deploymentAdapter, runtimeComposed: { declared } } for knowledge, and its doc comment names the mark as intended (ADR-0161 K8, the dated note on item 12); the pin at capability-mount.live-postgres.test.ts:119 asserts toEqual({ deploymentAdapter: 'pgvector' }). Read from main, not reproduced yet.
    Serial constraints cleared: check-handover --inflight at dccf836a86: clear (33 open pm:dispatched cards read, no overlap); overlap-check before every push
    Pre-claim lane: packages/plugins/knowledge-* ⇒ domain:server (file ownership only); main-red anchor routed to this seat by triage (owner: the lane that landed #38470); p0, taken ahead of the area's queue on the seat's order.
    Pre-claim deps: none.
    Prior rulings read: triage anchor body on #38514 (fix forward by re-pointing the pin; never skip or delete the case; close when a main push that runs the job is green).

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-project-manager · session_01FEkQ5oQLfL8thb6wtUHnTb
    os-dev-report

    {
      "issue": 38514,
      "status": "done",
      "branch": "claude/issue-38514-live-pg-knowledge-pin",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/38523",
      "session": "session_01FEkQ5oQLfL8thb6wtUHnTb",
      "premise_still_valid": true,
      "summary": "Step 1 confirmed the extra key is the intended mark, not a leak: packages/core/src/capability-composition.ts returns runtimeComposed: { declared } beside deploymentAdapter for knowledge, its doc comment cites ADR-0161 K8 (the dated note on item 12), KnowledgeServicePlugin declares and reads it (reap-guard switch, enabledByConfiguration, the kernel:bootstrapped hold, boot-line level), and capability-composition.test.ts already pins the two-key shape. Re-pointed the one assertion in capability-mount.live-postgres.test.ts to { deploymentAdapter: 'pgvector', runtimeComposed: { declared: false } } with a comment giving the reason; declared is false because the stack has no requires (verified live, not assumed). No case skipped, deleted or weakened; the two later cases of the block, previously skipped behind the failing beforeAll, now run and pass (fake embedder + mounted pgvector store => the service serves). No other pin of the one-key resolver answer exists in the repo. Test-only diff, skip-changeset declared on pr_create (read back present). Card assignee not touched.",
      "tests": "At head 4055713e11, private PG 16 cluster with pgvector 0.6.0 (own data dir under /var/tmp/pg-issue-38514, port 55438, stopped and removed afterwards), OS_TEST_POSTGRES_URL + OS_EXPECT_LIVE_DIALECT_MATRIX=1: `pnpm --filter @objectstack/knowledge-pgvector exec vitest run --maxWorkers=2 live-postgres` -> Test Files 7 passed (7), Tests 91 passed (91), lock VERDICT command-exit 0. capability-mount file alone (verbose): head -> 4 passed (4); base file restored from dccf836a86 on the same DB -> FAIL '...mounted by the item, bound to the marked store' AssertionError: expected { deploymentAdapter: 'pgvector', …(1) } to deeply equal { deploymentAdapter: 'pgvector' }, Tests 2 passed | 2 skipped (4), exit 1 (the exact main-red signature); file restored to HEAD, tree clean. Non-live: `pnpm --filter @objectstack/knowledge-pgvector test` -> Test Files 4 passed | 7 skipped (11), Tests 19 passed | 91 skipped (110); `typecheck` -> exit 0, check:test-typecheck OK. No ablation (test-pin re-point; the base-vs-head run above is the red/green proof).",
      "gates": "Local: ① `pnpm --filter '@objectstack/knowledge-pgvector^...' build` VERDICT command-exit 0; ② package test + typecheck exit 0 (above); ③ `dispatch-gates.mjs --commands --repo objectstack-ai/objectstack` at 4055713e11 derived 52 families, each run with exit captured before any pipe: 51 exit 0, `pnpm check:dual-build-cjs-loads` exit 3 PREREQUISITE NOT MET (needs a whole-repo build) => NOT MEASURED locally, CI runs it. `--ran` with exit codes: 'Run reconciliation — 52 derived, 51 run, 1 NOT-MEASURED, 0 UNRUN' (declared narrowing). check:nul-bytes exit 0. PR check-runs at 4055713e11 when the report was written: Lint & Repo Gates success, Build Core success, Governed Surface Queue Guard success, Check Changeset success, Dogfood Regression Gate success, Live E2E UI success, Test UI success, Type Check workspace/source/debt success, PR-body guards success, Test Core 1-6/12 and Type Check consumer gates in_progress (NOT MEASURED, not awaited), Temporal Conformance (live PG + MySQL) skipped: its `if:` in ci.yml says 'Never on pull_request' (github.event_name != 'pull_request'), so the PR cannot run it; the merge queue will, because this path matches the temporal_live filter entry 'packages/plugins/knowledge-pgvector/**', as will the main push after landing.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "3 — (1) relay pr_create, run 46237685480: POST /repos/objectstack-ai/objectstack/pulls (draft), POST /issues/38523/assignees (os-project-manager), POST /issues/38523/labels (skip-changeset); read-back identical 5344 bytes, assignee and label present. (2) this os-dev-report comment via post-stamped.mjs: POST /repos/objectstack-ai/objectstack/issues/38514/comments. git push x2 (probe + commit 4055713e11) not REST. Reads via gh api only.",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": [
        "class: a · reach: named producer — PR #38470 changed packages/core/src/capability-composition.ts (which the live file imports from source via the vitest alias) and landed through the merge queue with this required context skipped; main push runs 46230491128, 46231229309, 46231795630, 46233316717 then failed · evidence: the temporal_live filter in .github/workflows/ci.yml lists packages/plugins/knowledge-pgvector/** and service-knowledge/src/testing.ts but not packages/core/src/capability-composition.ts nor packages/services/service-knowledge/src/** (KnowledgeServicePlugin), both read by capability-mount.live-postgres.test.ts, so a queue entry changing them skips the live job and it goes red only on main · dedupe words: temporal_live filter, live-postgres skipped merge queue, capability-composition knowledge, Temporal Conformance path filter",
        "carrier: none · other one-key pins of the resolver answer: none found (every other resolveCapabilityArgument('knowledge') test is in packages/core/src/capability-composition.test.ts at the new shape; remaining deploymentAdapter: '…' test hits are constructor options)"
      ]
    }
  5. objectstack-fleet commented on Nov 29, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · zhuangjianguo · session_01QsR2jRH2X4frz9bBiZHNk4

    Triage: record-level first touch of a main-red anchor (taken after the dispatch, as the anchor rule allows) · area:fleet · domain:server · no type and no grade beyond the p0 the main-red rule sets · size S. Rationale: the required check Temporal Conformance (live PG + MySQL) is still red on main (failure at 5684ee8; skipped at 0af813f, which is not green). The fix PR #38523 (draft, seat repo:objectstack#5) is in flight, so no escalation is owed. On green, triage closes this card and sends Notify: main-green to every open PR whose body carries Waits-on: main-red #38514.

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

Metadata

Metadata

Labels

area:fleetdomain:serverpriority:p0

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions