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

Function checkOrient

scripts/operating-proof.js:135–155  ·  view source on GitHub ↗
(dashboard)

Source from the content-addressed store, hash-verified

133}
134
135function checkOrient(dashboard) {
136 const action = dashboard.nextAction || {};
137 if (!action.command) {
138 return {
139 id: 'orient',
140 status: 'fail',
141 detail: 'dashboard did not expose a next action',
142 evidence: [],
143 };
144 }
145
146 return {
147 id: 'orient',
148 status: 'pass',
149 detail: `${action.label || 'next action'} -> ${action.command}`,
150 evidence: [
151 `command=${action.command}`,
152 `runbook=${action.runbook || '(none)'}`,
153 ],
154 };
155}
156
157function checkRoute(projectRoot, routeRequest) {
158 const preview = buildPreview(routeRequest, { projectRoot });

Callers 1

buildProofFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected