<< lib/operating-system/SLMacOSModel.sleela SLeeLa Standard Library Definition. Definition: Defines SLMacOSModel — a preset that extends SLOSModel and extrapolates it into a macOS-shaped operating system: an XNU/Darwin-style kernel, UEFI+boot.efi boot, an APFS root under the Apple directory layout (/System, /Library, /Applications, /Users), a launchd service set, a libSystem/CoreServices base package seed, and the Aqua/WindowServer desktop. It is the OOD realisation of "assume the shape of macOS". After build(), refine any layer through the inherited accessors. macOS shapes default to arm64 (Apple silicon) with x86_64 available as an added target. Family: operating-system. Extends SLOSModel. >> #sleela 2.5 material; class SLMacOSModel extends SLOSModel { < ---- Descriptive metadata (version 1.11 nested-friendly accessors) ---- > << Eleven catalogued attributes with getter/setter pairs, so a GUI, loader, or catalog can read and (where appropriate) override this record. Values are faithful to the subject's real origin where publicly known. >> String metaVersion = "1.0.0"; int metaId = 10904; String metaAuthor = "Kiro Agent"; String metaDate = "2026-10-16"; String metaCopyright = "SLeeLa project"; String metaTrademark = "none"; String metaCorporation = "none"; < metaOrigin: National | | International | Galactic > String metaOrigin = "International"; String metaBirthDate = "2026-10-10"; < metaScienceRating: maturity/robustness on a 1..10 scale > int metaScienceRating = 9; < metaNationalSchedule: a real, citable instrument or "none" > String metaNationalSchedule = "none"; String getMetaVersion() { return metaVersion; } void setMetaVersion(String v) { metaVersion = v; } int getMetaId() { return metaId; } void setMetaId(int v) { metaId = v; } String getAuthor() { return metaAuthor; } void setAuthor(String v) { metaAuthor = v; } String getDate() { return metaDate; } void setDate(String v) { metaDate = v; } String getCopyright() { return metaCopyright; } void setCopyright(String v) { metaCopyright = v; } String getTrademark() { return metaTrademark; } void setTrademark(String v) { metaTrademark = v; } String getCorporation() { return metaCorporation; } void setCorporation(String v) { metaCorporation = v; } String getOrigin() { return metaOrigin; } void setOrigin(String v) { metaOrigin = v; } String getBirthDate() { return metaBirthDate; } void setBirthDate(String v) { metaBirthDate = v; } int getScienceRating() { return metaScienceRating; } void setScienceRating(int v) { metaScienceRating = v; } String getNationalSchedule() { return metaNationalSchedule; } void setNationalSchedule(String v) { metaNationalSchedule = v; } < Build a macOS-shaped model with the given product name/version on arm64. > void build(String name, String ver) { configure(name, ver); shapeAs("macOS", "arm64"); < Layer the Apple frameworks and shell components. > packageSet().add("Foundation", "24.0"); packageSet().add("AppKit", "24.0"); packageSet().add("Finder", "24.0"); packageSet().add("Dock", "24.0"); } < Build a universal macOS model (adds the x86_64 target alongside arm64). > void buildUniversal(String name, String ver) { build(name, ver); architectures().addTarget("amd64"); } }