(runtimeId)
| 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 | |
| 57 | function 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: '' }, |
nothing calls this directly
no outgoing calls
no test coverage detected