Introduce repository-backed capability workspaces

- define and validate the capability and resource-lock languages
- provision workspace source repositories through Central Gitea
- build package runtimes from pinned standalone sources
- replace legacy schema compilation with workspace persistence plans
- add stable optimistic registers and Automerge CRDT documents
- modernize TypeScript/Nix package builds and runtime activation readiness
This commit is contained in:
2026-09-03 15:46:52 -07:00
parent 3c2e4a7e85
commit f4987093f6
57 changed files with 14878 additions and 2788 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/env node
import { readFile } from "node:fs/promises";
import { parseQuixosLock } from "./parser.js";
const fileName = process.argv[2];
if (!fileName || process.argv.length !== 3) {
console.error("Usage: quixos-lock-check <quixos.lock>");
process.exit(2);
}
const result = parseQuixosLock(await readFile(fileName, "utf8"), fileName);
if (!result.ok) {
for (const diagnostic of result.diagnostics) {
console.error(
`${diagnostic.fileName}:${diagnostic.line}:${diagnostic.column + 1}: ${diagnostic.phase}/${diagnostic.code}: ${diagnostic.message}`,
);
}
process.exit(1);
}
console.log(JSON.stringify(result.lock, null, 2));