I need you to complete the approved Open Model tuning handoff in
/workspace/northstar. Treat config/release-approval.json as the sole source
of launch values; the old draft command is not trustworthy.
Create an executable bin/submit-approved-tuning entry point that accepts
--approval PATH and --manifest PATH. It must preflight both the training and
validation object with the provided gcloud storage ls boundary before any
Gen AI submission. If either object is missing or inaccessible, exit nonzero,
make no tuning call, and do not leave a manifest. Use the installed tuning
virtual environment and the existing Open Model launcher. Render its complete
literal command, verify that command against the approval digest, and submit
only that approved configuration. Do not bypass the launcher or fabricate
service state.
Then use the entry point to launch the approved job exactly once and write
/workspace/northstar/output/submission-manifest.json. The JSON manifest must
record approval_id, the fully qualified job_name, job_id,
configuration_sha256, the unique output_uri, and the Agent Platform
console_url. Write it only after the local service accepts the request, with
all values consistent with the approval and returned job. The release approval
is already final, so no additional confirmation is needed.
Keep the approval envelope, object catalog, launcher, local service doubles,
and existing protocol history unchanged except for the audit events naturally
produced by this one launch.