Files
trail-mate/docs/models/device-target-capability/model.html
T

2 lines
2.1 KiB
HTML

<!doctype html><html lang="en"><head><meta charset="utf-8"><title>Device target, capability and authority model</title><style>:root{color-scheme:dark}body{margin:0;background:#0b1219;color:#e8f2f8;font:15px/1.65 system-ui}main{max-width:980px;margin:auto;padding:28px}header,section{background:#111c26;border:1px solid #294052;border-radius:12px;padding:20px;margin-bottom:16px}h1,h2{margin-top:0}a{color:#70d7ff}code{background:#081018;border-radius:7px;padding:2px 6px}.tag{border:1px solid #426277;border-radius:999px;padding:2px 8px;margin-right:5px}</style></head><body><main class="praxis-model-document" data-praxis-anchor="model:device-target-capability" data-praxis-kind="uml_model" data-praxis-status="confirmed"><header><h1>Device target, capability and authority model</h1><p>What capabilities the target has, whether it is currently available, and who controls the resource.</p><span class="tag">confirmed</span><span class="tag">4 elements</span></header><section><h2>Model judgment</h2><p>Code compiled into the target does not mean that the function is available. Manifest, runtime status and authority binding together form product capability facts.</p><h2>Invariant</h2><ol><li>Undeclared capabilities are unavailable by default.</li><li>There is only one authority owner for the same controlled resource.</li><li>Unavailability and downgrade carry diagnosable causes.</li><li>The UI does not use platform macro guessing capabilities.</li></ol></section><section><h2>Domain Elements</h2><p><strong>TargetManifestView</strong> — Static target contract.</p><p><strong>CapabilityKind / CapabilityStatus</strong> — Capability language and running status.</p><p><strong>AuthorityBinding</strong> — Resource to owner binding.</p></section><section><h2>Source code evidence</h2><p><code>modules/core_device/include/device/target_manifest_types.h</code><br><code>modules/core_device/include/device/capability_types.h</code><br><code>modules/core_device/include/device/authority_types.h</code></p><p><a href="capability-resolution.html">Drill down: target capability analysis</a></p></section></main></body></html>