Skip to content

Harden Browser Session Credential Steward MVP - #66

Merged
SnowBelt merged 68 commits into
steward-mvpfrom
codex/browser-session-credential-steward-mvp-repair
Aug 28, 2026
Merged

SnowBelt merged 68 commits into
steward-mvpfrom
codex/browser-session-credential-steward-mvp-repair

Conversation

@SnowBelt

@SnowBelt SnowBelt commented Aug 28, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

The Browser / Session / Credential Steward MVP needed one reliable authority path across Browser node routing, session targeting, approval provenance, session boundaries, and credential redaction. This follow-up carries the repaired feature branch onto the current OpenClaw main line so approved Browser routes remain bound to their authorized node lifecycle, in-flight paired-node work is revoked safely, host fallback cannot bypass a failed or revoked node route, malformed or cross-agent sessions reject safely, and credential-like material stays out of decisions, metadata, diagnostics, and browser output.

Summary

This fork-local PR updates the steward MVP with the verified repair set, including:

  • Browser-owned node authority, operation-bound approval, exact node/pairing checks, and Gateway run-authority revocation cancellation.
  • Session Steward boundary classification and Gateway enforcement for malformed and cross-agent requests.
  • Credential Steward redaction across Browser output, URL/header/response/snapshot paths, metadata, and diagnostics.
  • Stale-tab recovery, structured browser-node errors, and prevention of host fallback after approved or revoked node routing.
  • Source-compatible meeting runtime routing with explicit Browser-owned paths for bundled Google Meet, Teams Meetings, and Zoom Meetings.
  • Regression coverage and standalone Session Steward/Credential Steward eval identities.

Evidence

Real environment tested: Mac Studio disposable OpenClaw verification clone with temporary local Browser/Gateway/node harnesses. No credentials, production services, real external messages, purchases, or user data were used.

Local proof passed after rebasing onto the current OpenClaw main line:

  • 499 focused non-Gateway tests and 323 focused Gateway tests.
  • Production and extension test typechecks.
  • Core lint and touched-file oxlint.
  • Documentation inventory, MDX, links, and glossary checks.
  • Full build and plugin SDK boundary checks.
  • Contracts-only steward eval.
  • Verified-only TruffleHog branch-diff scan with no verified secrets.
  • Fresh sanitized branch autoreview with no accepted/actionable findings.
  • Previously passing self-contained live evals for all four steward contracts using the installed OpenClaw-tuned local Ollama model; a later default-model retry timed out under local model-service contention and is not claimed as passing evidence.

Latest fork CI after the hosted lint fix:

  • check-lint: passed after moving the routing/error regression cases into a dedicated test file below the hosted max-lines limit.
  • openclaw/ci-gate: passed.
  • Real behavior proof: passed.
  • UI E2E shard 3/14: passed on the rerun.
  • Other completed CI shards: passed.

Observed result: authorized Browser node routes complete; lifecycle revocation cancels in-flight paired-node work before Browser I/O; failed or revoked node routes do not host-fallback; malformed/cross-agent session requests reject; credential-like material is redacted.

Scope and safety

  • The target steward-mvp branch was rebased onto the current upstream main line before this PR to keep the fork-local comparison focused.
  • Fork main was not modified.
  • The upstream changed-gate was explicitly approved to remain skipped; no remote changed-gate result is claimed here.
  • No public protocol schema, config/env surface, migration, deployment, credential-storage behavior, or live credential operation was added.
  • The scheduled/manual agent-role-evals workflow was removed from the MVP repair scope; eval contracts, eval scripts, and their non-workflow tests remain.

Known fork-only non-required failures

The older auto-response and label check runs remain failed because this fork does not have the repository GitHub App private-key secret required by those automation workflows. They are not required checks, do not exercise steward code, and no secret was added or bypassed. The code/behavior aggregate checks above are green.

Related upstream handoff

Upstream PR openclaw#128289 remains open for maintainer/security-owner review. This fork-local PR is the MindFire-owned verification and merge path; it does not merge upstream.

Notes

The existing fork-local steward MVP PR was already merged before the current-main rebase. This PR carries the subsequent verified repair and compatibility work on top of that dedicated fork target.

OpenClaw and others added 30 commits August 28, 2026 00:10
@github-actions

Copy link
Copy Markdown

Dependency Guard

This PR changes dependency-related files. Maintainers should confirm these changes are intentional.

Changed files:

  • package.json

Maintainer follow-up:

  • Review whether the dependency changes are intentional.
  • Inspect resolved package deltas when lockfiles or workspace dependency policy changes are present.
  • Treat pnpm-lock.yaml and package-lock.json diffs as dependency security-review surfaces.
  • Run pnpm deps:changes:report -- --base-ref origin/main --markdown /tmp/dependency-changes.md --json /tmp/dependency-changes.json locally for detailed release-style evidence.

@github-actions

github-actions Bot commented Aug 28, 2026 •

Copy link
Copy Markdown

Dependency graph changes noted

This PR includes dependency graph changes. The dependency guard is informational because the PR author is a repository admin, a member of @openclaw/openclaw-secops, or an OpenClaw organization member with Maintain or Admin repository access.

  • Current SHA: f751f0b74910eea497e80fec4dc9469540760800
  • Trusted actor: @SnowBelt
  • Trusted role: pull request author; repository admin

Security review is still recommended before merge when the dependency graph change is intentional.

@SnowBelt
SnowBelt merged commit fc80fdc into steward-mvp Aug 28, 2026
229 of 233 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants