Make harness choices deployment-configurable

Managed deployments need to control harness availability without changing Core policy. Add a generic environment contract and apply it across harness and model selectors, preserving saved supported profiles and validating import, team, and invite selections. Document deployment ownership in agent guidance.

Validation: focused local tests and typechecks passed; all applicable CI checks passed on the reviewed head. Greptile scored 5/5 with no unresolved comments.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Devin FoleyandPaperclip authored and GitHub committed 2026-11-20 15:45:36 -08:00
1 parent 104f323bee
commit ae2afd525b
35 files changed
+822 -88

No files matched your search

+2
View File
@@ -18,6 +18,8 @@ export type DevServerHealthStatus = {
};
export type CloudInstanceHealthStatus = {
/** Operator-supplied harness IDs. Absent means unrestricted; [] allows none. */
availableHarnesses?: string[];
managed: true;
managedBy: "paperclip-cloud";
stackSlug: string | null;