Repository navigation
Commit 9e302fb
authored
fix: secret requests preserve native answers and live requester authority (#132122)
* docs: allow isolated browsers for development proof
* fix(android): refresh approval when the operator connects last
* fix(secrets): preserve protected requests across clients and run lifecycles
* fix(secrets): preserve native prompts and durable channel delivery
* perf(cli): keep meeting metadata off runtime imports
Preserve command metadata and execution behavior while removing the broad meeting runtime from cold CLI discovery. Keep engine-private codec helpers internal and remove the unused, unshipped node-caller wrapper; no SDK budget or stable API changes.
* refactor(agents): remove unused reply registry type re-exports
* test(secrets): use typed gateway and deferred fixtures
* fix(secrets): return authoritative current policy after protected entry
* fix(auth): preserve resolved references in model discovery
Prepare canonical per-invocation credentials while preserving synchronous catalog callbacks and marker-only generated config. Isolate unavailable selected profiles before HTTP instead of making anonymous requests.
* fix(agents): explain protected command credential injection
Share compact inherited-sentinel guidance across prompts and tool descriptions: no secret templates, overrides or printing. Preserve host and run-snapshot limits, and clarify primary-session availability in docs. Verified six intended prompt regressions before the wording change.
* fix(ollama): separate discovery credentials from catalog configuration
* test(agents): mock the active-run projection owner in abort coverage
* fix(auth): preserve opaque config references through discovery
Carry source SecretRef provenance to model discovery and keep resolved credentials separate from configuration markers, including marker-shaped values. Preserve selected-owner unavailability and existing credential precedence.
* fix(agents): explain literal exec environment overrides
Clarify that environment override values are literal and omission inherits the prepared environment. This prevents the protected-credential workflow from implying shell expansion; execution semantics stay unchanged.
* fix(agents): keep healthy turns available with unrelated cold secrets
Reuse the matching config-prepared Gateway owner state instead of repeating broad strict secret resolution. Preserve selected-provider, foreign-config, standalone, and channel/account enforcement, including authored-reference provenance before config projection.
Reproduced both entry failures and the source-projection gap before repair; focused regressions, types, lint, import cycles, and independent review pass. Refs #131306.
* fix(secrets): publish recovered credentials to model owners
Refresh canonical model publication at secret activation and fence
superseded publication and rollback. Carry authored SecretRef provenance
into catalog workers so resolved key and header bytes remain opaque and
writable catalog metadata remains safe.
Clarify current entry policy after human edits. Retire real-worker test
fixtures at their lifecycle boundary and replace timing-based overlap
checks with the existing barrier.
Focused regressions, type/lint guards, and isolated P1 review pass. The
full local worker suite recorded 14 passes and four 120-second timeouts;
unchanged clean-Linux and final live proof remain required before merge.
* fix(secrets): show effective hosts before credential replacement
Normalize the host list at question creation so web and native cards show
what they will save. Preserve explicit empty proposals and human clears;
concurrent store writes cannot introduce undisplayed destinations.
Keep generic store-update semantics unchanged and cover replacement,
new-entry, and concurrent-write cases through the real question handlers.
* fix(memory): keep provider readiness out of startup migrations
Remove the read-only provider diagnostic that blocked Gateway startup
before auth-profile SecretRefs could activate. Keep genuine state
migrations, Doctor health guidance, and the runtime guard against
replacing an existing semantic index with FTS-only data.
Retire the unused migration wrapper and preserve the managed-local
readiness collector at its health owner. Cover stored and missing refs
through migration and activation while retaining semantic index rows.
* fix(auth): preserve resolved secret provenance in model availability
Classify provider credentials from the matching authored SecretRef instead of
reinterpreting resolved bytes as environment markers, placeholders, or profile
names. Share that boundary with runtime auth planning and inline cooldown
ownership while retaining profile locks, order, and snapshot matching.
The live masked-entry flow recovered authenticated discovery but left the model
unavailable. Add failing-before/passing-after Gateway and shared chat-catalog
regressions, plus source-ownership and cooldown controls. Focused siblings pass
402 tests; the final changed-file gate and independent review are clean.
Refs #131306, #132122.
* fix(agents): compact exec parameter descriptions
Keep literal environment overrides, inheritance, and every runtime constraint
while reducing combined field descriptions from 603 to 523 characters. Preserve
the existing 550-character budget and assertions; no schema or runtime change.
The exact failing CI assertion reproduces locally. Both schema suites, lint,
formatting, prompt snapshots, and independent review pass after the wording fix.
Refs #132122 (secret-request repair).
* test(secrets): align plugin fixture and tighten SDK counts
Load the real Ollama plugin through the SDK-owned, manifest-validating source
loader instead of the legacy core test-utils resolver and an import assertion.
Keep every credential-ownership and writable-plan assertion unchanged.
Regenerate the two lower SDK defaults from collectPluginSdkSurfaceReport:
4357 -> 4355 public exports and 2593 -> 2592 callable exports. Preserve all
budget checks, wildcard limits, and source-count equality assertions.
The exact import-boundary assertion, 28 plugin/planner cases, 10 SDK-report
cases, affected types/lint/format and fresh independent review pass.
Refs #132122 (secret-request repair).
* fix(codex): preserve startup exits through bounded cleanup
Keep natural startup exits and their bounded diagnostics distinct from
registration refusals and cleanup-induced exits. Reuse transport-owned
containment and exit budgets so a refused npm launcher cannot leave its
native child or inherited pipes alive.
Preserve synchronous registration before initialize, cancellation authority,
retry counts, fingerprint checks, and the existing shutdown deadlines.
Add real-process regressions for both exit orderings, shared and isolated
startup, live refusals, launcher descendants, and bounded pipe draining.
Found while validating the secret-request repair in #132122. The original
12-file CI envelope passes all 278 tests with Node 24 and two workers.1 parent 043fa17 commit 9e302fb
177 files changed
Lines changed: 9163 additions & 2468 deletions
File tree
- apps
- .i18n
- android/app/src
- main/java/ai/openclaw/app
- chat
- ui/chat
- test/java/ai/openclaw/app
- chat
- ui/chat
- ios/Sources/Chat
- macos/Sources/OpenClaw
- config
- docs
- concepts
- gateway
- providers
- tools
- extensions
- codex/src/app-server
- copilot/src
- memory-core
- src
- migration
- ollama
- src
- scripts
- src
- agents
- embedded-agent-runner
- main-session-recovery
- runtime-plan
- subagents/announce
- test-helpers
- tools
- auto-reply/reply
- cli
- gateway-cli
- commands
- config
- gateway
- server-methods
- infra
- logging
- meeting-bot
- plugin-sdk
- secrets
- egress-proxy
- store
- skills/workshop
- system-agent
- talk
- tui
- test
- fixtures/agents/prompt-snapshots/codex-runtime-happy-path
- helpers/auto-reply
- ui/src/pages/chat/components
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
| 192 | + | |
192 | 193 | | |
193 | 194 | | |
194 | 195 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1434 | 1434 | | |
1435 | 1435 | | |
1436 | 1436 | | |
| 1437 | + | |
| 1438 | + | |
1437 | 1439 | | |
1438 | 1440 | | |
1439 | 1441 | | |
| |||
1810 | 1812 | | |
1811 | 1813 | | |
1812 | 1814 | | |
| 1815 | + | |
1813 | 1816 | | |
1814 | 1817 | | |
1815 | | - | |
1816 | | - | |
1817 | | - | |
| 1818 | + | |
1818 | 1819 | | |
1819 | 1820 | | |
1820 | 1821 | | |
| |||
1830 | 1831 | | |
1831 | 1832 | | |
1832 | 1833 | | |
1833 | | - | |
1834 | | - | |
1835 | | - | |
| 1834 | + | |
1836 | 1835 | | |
1837 | 1836 | | |
1838 | 1837 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3529 | 3529 | | |
3530 | 3530 | | |
3531 | 3531 | | |
| 3532 | + | |
3532 | 3533 | | |
3533 | 3534 | | |
3534 | 3535 | | |
3535 | 3536 | | |
| 3537 | + | |
3536 | 3538 | | |
3537 | 3539 | | |
3538 | 3540 | | |
| |||
3551 | 3553 | | |
3552 | 3554 | | |
3553 | 3555 | | |
| 3556 | + | |
3554 | 3557 | | |
3555 | 3558 | | |
3556 | 3559 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
49 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
50 | 56 | | |
51 | 57 | | |
52 | 58 | | |
| |||
72 | 78 | | |
73 | 79 | | |
74 | 80 | | |
75 | | - | |
| 81 | + | |
76 | 82 | | |
77 | 83 | | |
78 | 84 | | |
| |||
84 | 90 | | |
85 | 91 | | |
86 | 92 | | |
87 | | - | |
| 93 | + | |
| 94 | + | |
88 | 95 | | |
89 | 96 | | |
90 | 97 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| |||
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
75 | 85 | | |
76 | 86 | | |
77 | 87 | | |
| |||
91 | 101 | | |
92 | 102 | | |
93 | 103 | | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
94 | 159 | | |
95 | 160 | | |
96 | 161 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
34 | 36 | | |
35 | 37 | | |
36 | 38 | | |
| 39 | + | |
37 | 40 | | |
38 | 41 | | |
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
42 | 45 | | |
43 | 46 | | |
| 47 | + | |
44 | 48 | | |
45 | 49 | | |
46 | 50 | | |
| |||
168 | 172 | | |
169 | 173 | | |
170 | 174 | | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
171 | 262 | | |
172 | 263 | | |
173 | 264 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
53 | 54 | | |
54 | 55 | | |
55 | 56 | | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
56 | 117 | | |
57 | 118 | | |
58 | 119 | | |
| |||
0 commit comments