Deliverable
Qualify one bounded end-to-end .om service operation: authenticated, quota-limited append of an authority update to a durable log, using the existing Tailnet Lock design and Omega enforcement owners. Exercise two clients, revocation, object substitution, crash/restart, persistent charges and public observations. This is a real compiled consumer, not a claim that all omnet endpoints or all cryptography are verified.
Current source and active work
- main 505709e3785bdb92edbedf691f3b830f99bd7de1 contains om/{argon2,blake2b,blake2s,cbor,codec,ed25519,sha512}, omega.pin, tools/omc.sh and docs/design/tailnet-lock.md.
- The code explicitly disclaims constant-time audit. Ed25519 is public-input verification; do not infer a secret leak merely from a public-input early exit or reuse it for signing.
- Draft PR #2 advertises TKA model/chain work. At inspected head 62246abcf4bcc530d2d7dc6276de94fcf521b388 its API diff contains only AGENTS.md, not completed TKA implementation. Reconcile the current worktree/branch with its owner; do not duplicate their module ownership or claim it is implemented from the PR title.
- Follow the pinned-compiler and unit/pool rules in AGENTS.md. Compiler-pin changes require their own reasoned commit and the full tools/test.sh run.
Dependencies and owner split
Programme: aien-dev/omega-mv#673. Contracts: aien-dev/omega-mv#625. Consume aien-dev/omega-mv#756 bounded quantities; aien-dev/omega-mv#757 durable reservations; aien-dev/omega-mv#758 source/native secrecy; aien-dev/omega-mv#759 resource-observation protection; aien-dev/omega-mv#760 exact finite safety model. Reuse aien-dev/omega-mv#670 object/authority mediation, aien-dev/omega-mv#649/#659 effect recovery, aien-dev/omega-mv#623 native validation and aien-dev/omega-mv#624 independent qualification. These refer to aien-dev/omega-mv, not local issue numbers.
Implementation and gates
- Freeze request format, principal authentication, authorization policy, protocol state, record identity, bounded payload, object/version binding, quota ownership, disclosure policy and commit/recovery semantics. Signed/authenticated is not automatically authorized.
- Reuse existing TKA model/chain implementation after owner reconciliation. Where implementation is pending, make it an explicit dependency rather than replacing it with always-accept booleans or a new authority.
- Validate decoded length/count quantities before effects; retain crypto's explicit modular semantics. Authenticate and interpret the same canonical bytes.
- Bind authorization to the exact object and current policy/state generation; define the actual linearization/commit point. Use descriptor/object operations and justified namespace control; strings alone are not stable identity. Keep immutable record versions and a crash-consistent publication rule where the design supports it.
- Atomically reserve aggregate memory/queue/durable-storage capacity before consumption. Account for logs, temporary records and recovery/cleanup; unresolved effects retain a charge until reconciled.
- Recover from interrupted write, rename, directory synchronization and lost acknowledgement without duplicate logical append, false success or freed-but-still-used capacity. Do not claim power-loss guarantees from process-kill tests alone.
- First public-signature append gate and a separate existing/planned secret-consuming path (for example disablement-secret validation under the current design) have different disclosure contracts. Audit all secret-consuming dependencies before calling that slice constant-time. Integrate aien-dev/omega-mv#758/#759 evidence rather than inventing a local crypto checker.
- Connect aien-dev/omega-mv#760 first as offline/shadow evaluation of the frozen transition model. Ordinary verified enforcement can ship through its existing gates while broader research remains unqualified; a learned safe-set estimate cannot authorize an operation.
Acceptance matrix
- Valid request succeeds; wrong principal/action/object, replay, stale epoch/version, malformed/trailing/oversized record and wrapped length refuse for stable specified reasons.
- Deterministic cross-process tests cover revocation between preparation and commit, path replacement, descriptor reuse, competing admission, cancellation, partial write, disk full and restart.
- Independent checker compares actual persisted records, authoritative grants, resource accounting and effect receipts after every injected interruption. A signed receipt/hash is not evidence of semantic correctness by itself.
- Paired secret inputs produce equivalent permitted public admission/release observations under the declared model; any authorized output disclosures are explicit.
- Reproduce existing crypto/codec vectors and use independent oracle outputs. Mutants count only when they compile and execute to the declared failing assertion; unexpected crash/build failure is invalid evidence, not a killed mutant.
- Record clean-checkout commands, exact source/compiler/executable/model/checker/fixture identities, raw outputs, native versus emulated runs, independent review and latency/throughput/resource overhead. Include a synthetic-data tutorial showing the prevention mechanism and its assumptions.
Scope and evidence
New first-party security/service/test logic is .om; outside tools are independent development oracles, not shipped protocol logic. Reuse the existing service/store/authority and review path. Preserve historical evidence and public-repository privacy rules. Missing facilities become owned upstream dependencies. Keep implementation status and assurance class separate; unsupported/not-run cells remain visible. No live network reconfiguration, deployment or merge is authorized by this issue.