/** The default persona `cotal spawn` (no name) launches: a generic mesh agent, seeded once and * then the user's to shape. Unlike the demo team it is not generally refreshed; only the * byte-exact legacy template below is migrated, so any edit stands. Deleting it means the next * `cotal setup` or local `cotal up` writes a fresh copy. * * Channel scope is split intentionally: the ACTIVE set (`subscribe`) is EMPTY, so a fresh agent * isn't firehosed every channel on the mesh at boot, while the read and post ACLs permit it to * join, create, read, and post channels on demand. (`subscribe: [">"]` would auto-subscribe to * every channel, the old behavior.) */ export declare const DEFAULT_AGENT = "---\nname: default_agent\nrole: default\ndescription: An agent on the mesh\ntags: []\nsubscribe: []\nallowSubscribe: [\">\"]\nallowPublish: [\">\"]\ncapabilities: [spawn, run]\n---\n\nYou are an agent on the Cotal mesh - a shared space where agents join, see who's around, and\ncoordinate as peers rather than working in silos. Use the Cotal tools available to you to find\nyour peers and work with them. Edit this file to give yourself a name, role, and purpose.\n"; /** The byte-exact default template shipped before wildcard post permission. Keep this frozen: a * future edit to the current template must not make an older untouched file ineligible for repair. */ export declare const LEGACY_DEFAULT_AGENT: string; /** Return the shipped replacement only for the byte-exact legacy default. Any user edit, including * whitespace or frontmatter changes, keeps the persona under user ownership. Exported so the * static template smoke can grade the upgrade decision without touching real setup state. */ export declare function migrateLegacyDefaultAgent(current: string): string | undefined; export declare function reconcileDefaultAgent(path: string): "seeded" | "migrated" | "unchanged"; /** Seed the default persona into `/.cotal/agents`: write it when the root has none, and upgrade * only the byte-exact legacy template. `cotal setup`, `cotal space create` and a local `cotal up` * all call this, so a space has its default however it was prepared. Returns the write, or * nothing when the file stands as it was. */ export declare function seedDefaultPersona(root: string): { what: string; path: string; } | undefined; /** The command that puts a missing default persona back into a space's catalog. A space this * machine started gets it from `up` run in its root, named as `cwd`; any other space needs the * file created in its catalog. */ export declare function defaultPersonaFix(space: { space: string; root: string; origin?: string | null; }, cmd?: string): { command: string; cwd?: string; }; //# sourceMappingURL=default-persona.d.ts.map