Skip to content

ci: add Kimi Code real-host acceptance - #1974

Merged
hidb4ai merged 3 commits into
oceanbase:masterfrom
jackie-cqz:fix/kimi-code-acceptance-ci
Oct 13, 2026
Merged

hidb4ai merged 3 commits into
oceanbase:masterfrom
jackie-cqz:fix/kimi-code-acceptance-ci

Conversation

@jackie-cqz

@jackie-cqz jackie-cqz commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Which issue or RFC does this PR close?

Follow-up to #1964 and the Kimi integration tracked in #1963.

Rationale for this change

Run the opt-in real Kimi host acceptance continuously so changes cannot silently break the minimal integration. Concurrent SQLite writes can also make explicit memory preparation return access_unavailable: its authorization snapshot is upgraded to write decision audit after another transaction commits. Flush preparation audit after the read transaction closes.

What changes are included in this PR?

  • Add Ubuntu and Windows pull-request/master/manual acceptance jobs with Python 3.12, Node 24.15.0 and Kimi Code 2.1.1.
  • Run Hook tests and the real CLI + PowerContext Server + SQLite acceptance, using controlled local inference at both model boundaries. Verify the CLI version and reject skipped acceptance results.
  • Upload CLI provenance, JUnit results and acceptance summaries; reference the workflow in both integration guides.
  • Defer Atomic Memory preparation decision audit until its policy snapshot closes. Add a deterministic public HTTP regression that commits another write between authorization and audit, then verifies successful memory creation, exact revision readback and retained audit.

Are there any user-facing changes?

Explicit memory saves remain usable when another SQLite writer commits during preparation. Authorization checks and audit persistence remain enabled. No public API or stored format changes. Failed or skipped real-host acceptance fails CI.

How was this change tested?

  • Regression reproduced HTTP 503 before the fix and passed afterward.
  • Real Kimi 2.1.1 acceptance passed on local Windows (Python 3.11.15) and isolated Linux (Python 3.12.15), both using Node 24.15.0 and controlled inference. Linux tests/e2e/test_access_control_regressions.py plus host acceptance: 39 passed.
  • Windows access HTTP, base API and access regression tests: 61 passed; the remaining default-home test passed separately with POWERCONTEXT_HOME redirected to an isolated workspace directory.
  • Full Linux ty check, scoped Windows ty check, Ruff and prek run -a passed (the Windows hook's full type check was replaced by the Linux full check).
  • Hook tests: 10 passed. Workflow YAML/Bash/Python checks, skip guard and evidence collection passed; 133 pinned action references checked.

AI usage statement

OpenAI Codex (GPT-6) assisted implementation, documentation and validation.

Copilot AI balanced review requested due to automatic review settings October 13, 2026 09:44

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Copilot AI balanced review requested due to automatic review settings October 13, 2026 09:48

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

Copilot AI balanced review requested due to automatic review settings October 13, 2026 11:11
@jackie-cqz
jackie-cqz requested a review from frostming as a code owner October 13, 2026 11:11

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@hidb4ai hidb4ai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hidb4ai
hidb4ai merged commit 4ad9501 into oceanbase:master Oct 13, 2026
37 of 38 checks passed
@hidb4ai hidb4ai added the 1.4.0 v1.4.0 release tracking label Oct 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.4.0 v1.4.0 release tracking

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants