fix(managed): guard experimental authorization and startup requests
Reject explicit candidate-ID and inherited-policy CLI bypasses of the guarded native-circular operator path. Validate empty private runtime-owned request inodes without following links before state mutation, atomically claim and sync them before apply, retain failed claims, and never delete replacement requests. Keep internal journal reconciliation and legacy qualification unchanged. Co-authored-by: GPT-6 <gpt-6@openai.com>
This commit is contained in:
1 parent
371382c2c4
commit
f88c8e9c45
6 files changed
+294
-13
No files matched your search
+9
-4
@@ -409,10 +409,15 @@ rendered bytes and qualification gates are unchanged. Unknown policies fail clos
|
||||
|
||||
For PID-1-controlled application, while this dedicated target is stopped and
|
||||
after taking a complete private state backup, create a private empty file named
|
||||
`.autotune-experimental-suffix-request` in its owned state directory. Startup
|
||||
reconciles/starts the known deployment, performs the command before launching
|
||||
the monitor, and consumes the request only on success. Failure exits closed;
|
||||
retain artifacts and use the matched whole-state/image rollback procedure above.
|
||||
`.autotune-experimental-suffix-request` in its owned state directory. It must be
|
||||
an empty regular 0600 file owned by the runtime UID, with no symlink/hardlink.
|
||||
Startup validates it before init/reconcile, then atomically claims the validated
|
||||
inode before guarded apply (before launching the monitor). Only a successful
|
||||
apply removes that claim; a replacement request is never deleted. Failure exits
|
||||
closed and retains the private `.autotune-experimental-request-claim-*` artifact;
|
||||
do not blindly retry it. Use the matched whole-state/image rollback above.
|
||||
Candidate-ID CLI apply cannot select/inherit the experimental policy; explicit
|
||||
native-circular authorization is required. Internal journal recovery is unchanged.
|
||||
|
||||
Resource probes still run. This policy remains `DEGRADED`/GGC-unresolved even
|
||||
when a bounded media check succeeds: neither playback READY nor family
|
||||
|
||||
Reference in new issue
Block a user