The Competent Token: Composing a Free Competence Gate with Integrity and Provenance, and the Trust-Domain Boundary of a Deterministic Edge Decision

The Competent Token: Composing a Free Competence Gate with Integrity and Provenance, and the Trust-Domain Boundary of a Deterministic Edge Decision Randolph James Ferlic, M.D. and Kimberly Kate Ferlic · Fieldstone Analytics, LLC, Austin, TX, USA · Preprint · Zenodo DOI: 10.5281/zenodo.24546261 · CC-BY 4.0 · Community: spiral-domain-encoder-campaign Abstract A frozen, deterministic, class-discriminant single-token decision encoder reduces a window of sensor observations to one 8-bit token by a fixed feature front end, a collapsed-affine projection, and a nearest-of-≤256-centroid lookup. Companion studies showed this determinism makes a logged decision checkable (a self-checking token) and provable (a verifiable-provenance token closed by a keyed anchor). This work adds the third question a deployed decision must answer — "should this decision be trusted at all, or is its input outside the commissioned envelope?" — and asks whether the competence gate that answers it (the nearest-centroid distance, read off the same embedding whose index is the token) composes with the integrity and provenance readouts off one committed window, cheaply, cleanly, and with an honest boundary. It does, and the boundary is the point. Composition is free (the gate is a by-product of the token's own nearest-centroid search — zero extra feature extractions, embeddings, or distance computations; readout-preservation 0.0). Coverage is orthogonal (a threat-by-pillar matrix is the identity on seven modalities — tamper caught only by integrity, forgery only by provenance, out-of-competence only by competence — with zero cross-interference on a clean log). The boundary is sharp and measured: the three pillars' blind spots intersect at exactly one residual — an intact, authentic, in-competence input can still be a confident on-manifold error — and composition does not shrink it (competence AUROC on all-pass errors ≈0.5), which an adaptive adversary makes the operative regime (71% reachable). The composed check is cheap and bit-exact on silicon (gate 5.3–10.2% of the token front end and +3.2% over the prior provenance check; a device's ARM float32 flag equals a host's x86 float64 flag on 0 of 32 mismatches, two cores, identical cross-core digests), constant-time with respect to its verdict (timing-to-flag AUROC 0.56 / 0.48 ≈ 0.5 — no timing side channel), and the distance, if logged, leaks almost nothing beyond the already-logged token (+0.05 above chance vs the token's +0.47). The deepest limit: all three runtime pillars trust the frozen model, so a model poisoned at commissioning yields intact, authentic, in-competence decisions wrong by design (19.5%) that none of the three pillars detect — the surface is downstream of an attested commissioning process. The gate is not a weak detector: it ties five classical out-of-distribution detectors (mean gap −0.015 AUROC) and a trained autoencoder and a task-shaped deep network (spread 0.022), so its value is determinism, a one-byte footprint, on-device operation, and auditability, not accuracy. The properties hold on an eighth domain (chemical e-nose), the adapted decision, and the exactly-reproducible int8 path (flag agreement 0.993); the residual's remedy is a conformity fourth readout off the same front end (0.53 → 0.74), an irreducible core remaining. The work is a characterization of previously published, separately patent-pending matter and introduces no new claimed mechanism; the cryptographic primitives and the conformity readout are textbook, cited and used; the per-deployment provisioning selection is retained as a trade secret. Highlights · A free third readout. The competence gate is the nearest-centroid distance — a by-product of the token's own argmin — so it adds 0 extra feature extractions, embeddings, or distance computations, only a compare, and is numerically identical read alone or composed (readout-preservation 0.0). · Orthogonal coverage, zero interference. A threat-by-pillar matrix is the identity on seven modalities (tamper → integrity only, forgery → provenance only, out-of-competence → competence only), 0 cross-interference on a clean log. The three pillars are complementary (verdict co-firing 0.000). · The honest boundary. Intact + authentic + in-competence ≠ correct: the blind spots intersect at the confident on-manifold error (competence AUROC ≈0.5 on all-pass errors), adversarially reachable at 71%. · Composed cost + a bit-exact flag, on silicon. Gate 5.3–10.2% of the token front end, +3.2% over the provenance check; host float64 flag = device float32 flag on 0 of 32 mismatches, cores identical. · No side channels. Constant-time gate (timing-to-flag AUROC ≈0.5); negligible distance leak (+0.05 vs +0.47). · Root of trust = commissioning. A poisoned commission (19.5% wrong-by-design) is detected by none of the three pillars. · Not a weak detector. Ties five classical detectors (gap −0.015) and a trained autoencoder and a deep net (spread 0.022). Value = the package, not accuracy. · Breadth and remedy. The properties hold on eight domains (seven sensors plus chemical e-nose), on the adapted decision, and on the exactly-reproducible int8 path (flag agreement 0.993); the residual's remedy is a conformity fourth readout off the same front end (0.53 → 0.74), an irreducible core remaining. · No new intellectual property. The three readouts and the one fact The decision is a bit-exact pure function of a committed input window on a public frozen model (E = A·feats + b; token = nearest-of-K centroid). Three trust readouts are functions of the one embedding E: integrity (re-derive the token and compare), provenance (bind it with a keyed tag), and competence (the nearest-centroid distance d(E) = min over K of ||E − C_k||, against a commissioned threshold τ). The first two are companion studies; this work characterizes the composition of the third with them. Composition is free, and coverage is orthogonal The competence distance is the minimum value of the same K distances the token's argmin computes, so the gate adds only a threshold compare (readout-preservation 0.0). The threat-by-pillar matrix is the identity on all seven modalities, with zero cross-interference on a clean log; integrity and provenance are blind to a genuine out-of-competence reading, and competence is blind to tamper and forgery — complementary, not redundant (integrity-provenance verdict co-firing 0.000). modality threat×pillar clean-log FP on-manifold residual residual AUROC bearing vibration (A) identity 0 0.000 — (separable) force / torque identity 0 0.468 0.492 body-motion gesture identity 0 0.222 0.474 inertial activity identity 0 0.156 0.542 ECG identity 0 0.011 — (separable) sEMG identity 0 0.055 — (small) The honest boundary: intact + authentic + in-competence ≠ correct The three blind spots intersect at the confident on-manifold error: an input that passes all three checks can still be wrong, and the competence distance is blind to it (AUROC ≈0.5 on the overlapping-regime modalities), reproducing the on-manifold-blindness law under composition. An adaptive adversary interpolating toward a cross-class region while staying in-competence lands an all-pass-yet-wrong input 71% of the time (vs 13% naturally). Composition does not shrink the residual; a conformity fourth readout off the same front end shrinks it (0.53 → 0.74) without dissolving an irreducible confident-locally-homogeneous-wrong core. The composed cost, a bit-exact flag, and no side channels, on silicon core modality (window) gate cost token front end gate / front end gate / provenance flag identity Cortex-M33 bearing (1,024) 74 1,388 5.3% +3.2% host==device 0/32; digest 48caab51 Cortex-M33 force/torque (96) 27 268 10.1% +7.5% host==device 0/32; digest 4cb653f7 Cortex-M4F bearing (1,024) 11,329 184,431 6.1% +3.5% digest 48caab51 (= M33) Cortex-M4F force/torque (96) 4,079 39,975 10.2% +7.7% digest 4cb653f7 (= M33) The gate is a by-product of the token's argmin (the full three-pillar trust check ≈ the prior provenance check); the host float64 flag equals the device float32 flag on every window (0 of 32 per leg), digests identical cross-core; the gate is constant-time with respect to its verdict (timing-to-flag AUROC 0.56 / 0.48); the flag is FP-margin-protected (0 of 4,263 in the danger band, 0 of 8,526 flips, Wilson 95% upper 4.5×10⁻⁴); the int8 gate agrees at 0.993. The distance, if logged, leaks ≈nothing beyond the already-logged token. The root of trust is commissioning All three runtime pillars trust the frozen model. A model poisoned at commissioning produces intact, authentic, in-competence decisions that are wrong by design (19.5% all-pass-wrong), and none of the three pillars detect it — the trust surface is downstream of an attested commissioning process, not any runtime readout. Trusted/attested commissioning is a prerequisite, not provided by this work. Not a weak detector, and the breadth The composed token gate (open-set AUROC 0.868) ties the best of five classical detectors (Mahalanobis, k-nearest-neighbor, one-class SVM, local outlier factor, isolation forest; mean gap −0.015) and ties a trained autoencoder (0.775) and a task-shaped deep network (0.790) within a spread of 0.022 — its value is determinism, one byte, by-product cost, on-device operation, and auditability, not accuracy. The composition holds on a second domain (financial market-state tokens on equity, cryptocurrency, bond), an eighth modality family (chemical e-nose: novel-class 0.86, cross-batch drift 0.76), the adapted decision, and the exactly-reproducible int8 path. detector mean open-set AUROC relative to token gate

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-26
DOI
https://doi.org/10.5281/zenodo.24546260
Primary Topic
Access Control and Trust
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

The Competent Token: Composing a Free Competence Gate with Integrity and Provenance, and the Trust-Domain Boundary of a Deterministic Edge Decision

Randolph James Ferlic, Kimberly Kate Ferlic
Zenodo (CERN European Organization for Nuclear Research)
Access Control and Trust
preprint

The Competent Token: Composing a Free Competence Gate with Integrity and Provenance, and the Trust-Domain Boundary of a Deterministic Edge Decision

Randolph James Ferlic, Kimberly Kate Ferlic
preprint en

Abstract

The Competent Token: Composing a Free Competence Gate with Integrity and Provenance, and the Trust-Domain Boundary of a Deterministic Edge Decision Randolph James Ferlic, M.D. and Kimberly Kate Ferlic · Fieldstone Analytics, LLC, Austin, TX, USA · Preprint · Zenodo DOI: 10.5281/zenodo.24546261 · CC-BY 4.0 · Community: spiral-domain-encoder-campaign Abstract A frozen, deterministic, class-discriminant single-token decision encoder reduces a window of sensor observations to one 8-bit token by a fixed feature front end, a collapsed-affine projection, and a nearest-of-≤256-centroid lookup. Companion studies showed this determinism makes a logged decision checkable (a self-checking token) and provable (a verifiable-provenance token closed by a keyed anchor). This work adds the third question a deployed decision must answer — "should this decision be trusted at all, or is its input outside the commissioned envelope?" — and asks whether the competence gate that answers it (the nearest-centroid distance, read off the same embedding whose index is the token) composes with the integrity and provenance readouts off one committed window, cheaply, cleanly, and with an honest boundary. It does, and the boundary is the point. Composition is free (the gate is a by-product of the token's own nearest-centroid search — zero extra feature extractions, embeddings, or distance computations; readout-preservation 0.0). Coverage is orthogonal (a threat-by-pillar matrix is the identity on seven modalities — tamper caught only by integrity, forgery only by provenance, out-of-competence only by competence — with zero cross-interference on a clean log). The boundary is sharp and measured: the three pillars' blind spots intersect at exactly one residual — an intact, authentic, in-competence input can still be a confident on-manifold error — and composition does not shrink it (competence AUROC on all-pass errors ≈0.5), which an adaptive adversary makes the operative regime (71% reachable). The composed check is cheap and bit-exact on silicon (gate 5.3–10.2% of the token front end and +3.2% over the prior provenance check; a device's ARM float32 flag equals a host's x86 float64 flag on 0 of 32 mismatches, two cores, identical cross-core digests), constant-time with respect to its verdict (timing-to-flag AUROC 0.56 / 0.48 ≈ 0.5 — no timing side channel), and the distance, if logged, leaks almost nothing beyond the already-logged token (+0.05 above chance vs the token's +0.47). The deepest limit: all three runtime pillars trust the frozen model, so a model poisoned at commissioning yields intact, authentic, in-competence decisions wrong by design (19.5%) that none of the three pillars detect — the surface is downstream of an attested commissioning process. The gate is not a weak detector: it ties five classical out-of-distribution detectors (mean gap −0.015 AUROC) and a trained autoencoder and a task-shaped deep network (spread 0.022), so its value is determinism, a one-byte footprint, on-device operation, and auditability, not accuracy. The properties hold on an eighth domain (chemical e-nose), the adapted decision, and the exactly-reproducible int8 path (flag agreement 0.993); the residual's remedy is a conformity fourth readout off the same front end (0.53 → 0.74), an irreducible core remaining. The work is a characterization of previously published, separately patent-pending matter and introduces no new claimed mechanism; the cryptographic primitives and the conformity readout are textbook, cited and used; the per-deployment provisioning selection is retained as a trade secret. Highlights · A free third readout. The competence gate is the nearest-centroid distance — a by-product of the token's own argmin — so it adds 0 extra feature extractions, embeddings, or distance computations, only a compare, and is numerically identical read alone or composed (readout-preservation 0.0). · Orthogonal coverage, zero interference. A threat-by-pillar matrix is the identity on seven modalities (tamper → integrity only, forgery → provenance only, out-of-competence → competence only), 0 cross-interference on a clean log. The three pillars are complementary (verdict co-firing 0.000). · The honest boundary. Intact + authentic + in-competence ≠ correct: the blind spots intersect at the confident on-manifold error (competence AUROC ≈0.5 on all-pass errors), adversarially reachable at 71%. · Composed cost + a bit-exact flag, on silicon. Gate 5.3–10.2% of the token front end, +3.2% over the provenance check; host float64 flag = device float32 flag on 0 of 32 mismatches, cores identical. · No side channels. Constant-time gate (timing-to-flag AUROC ≈0.5); negligible distance leak (+0.05 vs +0.47). · Root of trust = commissioning. A poisoned commission (19.5% wrong-by-design) is detected by none of the three pillars. · Not a weak detector. Ties five classical detectors (gap −0.015) and a trained autoencoder and a deep net (spread 0.022). Value = the package, not accuracy. · Breadth and remedy. The properties hold on eight domains (seven sensors plus chemical e-nose), on the adapted decision, and on the exactly-reproducible int8 path (flag agreement 0.993); the residual's remedy is a conformity fourth readout off the same front end (0.53 → 0.74), an irreducible core remaining. · No new intellectual property. The three readouts and the one fact The decision is a bit-exact pure function of a committed input window on a public frozen model (E = A·feats + b; token = nearest-of-K centroid). Three trust readouts are functions of the one embedding E: integrity (re-derive the token and compare), provenance (bind it with a keyed tag), and competence (the nearest-centroid distance d(E) = min over K of ||E − C_k||, against a commissioned threshold τ). The first two are companion studies; this work characterizes the composition of the third with them. Composition is free, and coverage is orthogonal The competence distance is the minimum value of the same K distances the token's argmin computes, so the gate adds only a threshold compare (readout-preservation 0.0). The threat-by-pillar matrix is the identity on all seven modalities, with zero cross-interference on a clean log; integrity and provenance are blind to a genuine out-of-competence reading, and competence is blind to tamper and forgery — complementary, not redundant (integrity-provenance verdict co-firing 0.000). modality threat×pillar clean-log FP on-manifold residual residual AUROC bearing vibration (A) identity 0 0.000 — (separable) force / torque identity 0 0.468 0.492 body-motion gesture identity 0 0.222 0.474 inertial activity identity 0 0.156 0.542 ECG identity 0 0.011 — (separable) sEMG identity 0 0.055 — (small) The honest boundary: intact + authentic + in-competence ≠ correct The three blind spots intersect at the confident on-manifold error: an input that passes all three checks can still be wrong, and the competence distance is blind to it (AUROC ≈0.5 on the overlapping-regime modalities), reproducing the on-manifold-blindness law under composition. An adaptive adversary interpolating toward a cross-class region while staying in-competence lands an all-pass-yet-wrong input 71% of the time (vs 13% naturally). Composition does not shrink the residual; a conformity fourth readout off the same front end shrinks it (0.53 → 0.74) without dissolving an irreducible confident-locally-homogeneous-wrong core. The composed cost, a bit-exact flag, and no side channels, on silicon core modality (window) gate cost token front end gate / front end gate / provenance flag identity Cortex-M33 bearing (1,024) 74 1,388 5.3% +3.2% host==device 0/32; digest 48caab51 Cortex-M33 force/torque (96) 27 268 10.1% +7.5% host==device 0/32; digest 4cb653f7 Cortex-M4F bearing (1,024) 11,329 184,431 6.1% +3.5% digest 48caab51 (= M33) Cortex-M4F force/torque (96) 4,079 39,975 10.2% +7.7% digest 4cb653f7 (= M33) The gate is a by-product of the token's argmin (the full three-pillar trust check ≈ the prior provenance check); the host float64 flag equals the device float32 flag on every window (0 of 32 per leg), digests identical cross-core; the gate is constant-time with respect to its verdict (timing-to-flag AUROC 0.56 / 0.48); the flag is FP-margin-protected (0 of 4,263 in the danger band, 0 of 8,526 flips, Wilson 95% upper 4.5×10⁻⁴); the int8 gate agrees at 0.993. The distance, if logged, leaks ≈nothing beyond the already-logged token. The root of trust is commissioning All three runtime pillars trust the frozen model. A model poisoned at commissioning produces intact, authentic, in-competence decisions that are wrong by design (19.5% all-pass-wrong), and none of the three pillars detect it — the trust surface is downstream of an attested commissioning process, not any runtime readout. Trusted/attested commissioning is a prerequisite, not provided by this work. Not a weak detector, and the breadth The composed token gate (open-set AUROC 0.868) ties the best of five classical detectors (Mahalanobis, k-nearest-neighbor, one-class SVM, local outlier factor, isolation forest; mean gap −0.015) and ties a trained autoencoder (0.775) and a task-shaped deep network (0.790) within a spread of 0.022 — its value is determinism, one byte, by-product cost, on-device operation, and auditability, not accuracy. The composition holds on a second domain (financial market-state tokens on equity, cryptocurrency, bond), an eighth modality family (chemical e-nose: novel-class 0.86, cross-batch drift 0.76), the adapted decision, and the exactly-reproducible int8 path. detector mean open-set AUROC relative to token gate

Zenodo (CERN European Organization for Nuclear Research)
Access Control and Trust
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon