MCPcopy Create free account
hub / github.com/SethGammon/Citadel / createRuntimeContractSkeleton

Function createRuntimeContractSkeleton

core/contracts/runtime.js:50–71  ·  view source on GitHub ↗
(runtimeId)

Source from the content-addressed store, hash-verified

48 },
49 unknown: {
50 level: ADAPTER_LEVELS.NATIVE_FILES,
51 guarantees: ['project guidance files'],
52 missing: ['hooks', 'agents', 'worktrees', 'runtime history', 'approvals'],
53 tradeoffs: 'Safe fallback for documentation and generated files only.',
54 },
55});
56
57function createRuntimeContractSkeleton(runtimeId) {
58 return {
59 id: runtimeId || 'unknown',
60 displayName: '',
61 guidance: {
62 canonical: '.citadel/project.md',
63 projections: [],
64 },
65 events: CIT_EVENT_ORDER.map((eventId) => ({
66 event_id: eventId,
67 nativeEvent: null,
68 support: 'none',
69 notes: '',
70 })),
71 capabilities: Object.fromEntries(
72 Object.values(CAPABILITY_IDS).map((capabilityId) => [
73 capabilityId,
74 { support: 'none', notes: '' },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected