Repository navigation
fix(provider): judge coordinator traffic and re-registration only on current evidence - #1633
Conversation
…current evidence #1607 (unreleased) treated the latest trust_status as current forever. The production coordinator computes the registration status before it records the connection's first verified challenge, so it carries authorization path "none" (app_attest_qualification_required), and it sends no status when legacy verification authorizes the connection right after: challenge success sends one only on transient-deroute recovery, and App Attest statuses follow lease changes. Every legacy (MDM-cohort) Mac would have read "Traffic: NOT receiving coordinator work" (macOS 26 Macs: "upgrade to macOS 27"), and an idle one would have re-registered after 15-30 min, then 30 min, 1 h, 2 h and every 4 h, with a backoff that never reset. ServingReadiness is now the one decision tree for both the Traffic verdict and re-registration (UnauthorizedConnectionRecovery's duplicate connectionLacksAuthorization is removed; the policy keeps the timing): - A refusal (no App Attest lease, current or expired, and no legacy path) blocks only while current: past statusGraceSeconds (90 s) after connecting and at most refusalMaxAge (60 s) old. The coordinator renews a status it maintains every 5 s (App Attest leases; platform #491 adds refused connections), so 60 s tolerates a dozen lost renewals, and since 60 < 90 the registration status alone never blocks. An older refusal is the new `unconfirmed` verdict: its age and reason, no fix, no macOS 27. - Explicit evidence still blocks at any age: untrusted/offline (the coordinator sends a recovery status), an expired App Attest lease (it names its own expiry), and no status 90 s after connecting (the coordinator always sends one at registration; it is not a stale verdict). - A request the coordinator routed after its latest status (coordinator_connection.last_request_at, noted by the connection reader) reads as eligible and resets the backoff; it does not outweigh untrusted or an expired lease. - Leaving the refused state logs "Coordinator authorizes this connection for work" only on positive evidence; a refusal that ages out logs "Coordinator refusal of this connection is no longer current; routing is unconfirmed". handleTrustStatus takes an injectable receivedAt for tests. status and doctor render `unconfirmed` (doctor: info, no fix). Tests: a registration refusal with no later status never re-registers over a simulated day and reads pending, then unconfirmed without macOS 27 advice; a refusal repeated every 5 s still re-registers at the threshold when idle; an expired lease from a 2-minute-old status is still judged; a routed request outweighs an earlier refusal and a later refusal counts again; an aged-out refusal logs the unconfirmed line, not the routing one. The #1607 tests are kept and now deliver statuses as a refreshing coordinator does; judgesOnlyCoordinatorVerdictsItCanRead keeps its cases, checked through the shared verdict. With master's rule restored in the new code (refusals never age, no refusal grace) the legacy-scenario tests fail. Docs: cli-reference Traffic line, troubleshooting rows; the unreleased coordinator-traffic-verdict fragment is amended in place.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Threat model review — advisoryReviewed head Reviewers: anthropic/claude-sonnet-5.5: first pass completed; anthropic/claude-opus-5.5: selected depth completed (5 batches); openai/gpt-6.1-sol: selected depth completed (1 batches) No actionable findings in the reviewed text. This is not a security approval. Models: budgeted Sonnet / selective Opus / selective Sol 6.1. Findings require human validation; this review never requests changes or blocks merging. Scan completed; human review required. Coverage: 80/80 source units; cross-file integration complete. 0 selected depth batch(es) pending. All threat definitions indexed; relevant full definitions selected. Unchanged callers are not scanned. Cost this run: $0.0000 reported, $0.0000 reserved with unknown cost; 0 paid request(s), 12 reused batch(es), 0 provider cache-hit tokens. Saved findings and earlier report · Historical findings are not confirmed resolved. Bedrock: 9 request(s), 400438 uncached + 0 cache-read + 15857 cache-write input / 8306 output tokens; 0 request(s) with unknown usage. OpenRouter backup used 0 time(s). Dollar amounts above cover OpenRouter only; AWS billing is reconciled separately. |
…g unconfirmed "not an exclusion" Refactor pass on the current-evidence traffic verdict. No behavior change. - ProviderLoop+Serve: say why noteCoordinatorRequest runs in the connection-control reader. ServingReadiness compares lastRequestAt with trust.receivedAt; noted from the work reader instead, a request parked behind a model load could be stamped after a refusal that arrived later. - ServingReadiness: the type doc said "Diagnostics only", but the blocked verdict now also triggers re-registration (ProviderLoop.superviseServingAuthorization). - troubleshooting: `unconfirmed` also covers an App Attest refusal the current coordinator does not repeat (for example a locked keychain), so "this is not an exclusion" and "needs no action" overclaimed. The row now says it does not show an exclusion and that its reason may no longer apply.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3ea72eb362
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…on dev Master removed the console-ui leftovers in #1631. This branch had a cherry-pick of the open PR #1629 for the same cleanup; that cherry-pick is reverted in the parent commit, so the next master merge into dev does not conflict on the same files. One conflict: the "Last updated" stamp of docs/reference/ssd-kv-cache.md, resolved to master's 2026-10-27. The cluster beta's gitlink pins (libs/mlx ea318ee0, libs/mlx-swift 31ffa0d5, libs/mlx-swift-lm b6650465) stay; master did not change them. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* chore(release): prepare provider 0.10.4 Set ProviderCore.version to 0.10.4 and mark v0.10.3 as published on 2026-10-26 (tag target 3ddd11c). Open the v0.10.4 candidate entry with its upgrade and rollout notes: deploy darkbloom-platform#516 close to the rollout (Qwen JSON prompts render without thinking; mixed versions fail cache receipts with prompt_anchor_mismatch but still serve), the client-visible Qwen JSON changes (no default reasoning, a grammar-constrained answer cut short is a 422 after streaming, no MTP beside a constrained row), forced tool_choice on four more models without a version floor, delta checkpoints across upgrade and rollback, the unauthorized re-registration cadence, the status served-line format, the add-on hold (darkbloom-platform#514 already in production), unchanged MLX pins, and the entries that build no provider artifact. Update the release runbook: the 0.10.4 scope, the pin and metallib checks before tagging, the rollout order and post-tag platform snapshot, the 0.10.2 enablement steps that still apply, platform evidence inspected on 2026-10-27, and the published history. The pending changelog fragments are rendered in the next commit. * chore(release): render the pending changelog fragments into provider 0.10.4 Insert the output of python3 scripts/changelog.py render --version 0.10.4 --date 2026-10-27 \ base-reward-zero-reason.md ci-darkbloom-runner-routing.md \ coordinator-reconnect-stall.md coordinator-traffic-verdict.md \ delta-complete-checkpoints.md desktop-release-sign-dmg.md \ desktop-update-feed.md forced-tool-choice-admission.md \ json-response-format-enforcement.md landing-agent-documents.md \ provider-addon-hold-hardening.md provider-addon-hold.md \ status-served-session-counts.md switch-model-cache-directory.md verbatim, without its heading line, below the v0.10.4 upgrade and rollout notes, and remove exactly those 14 fragments. The render ran against an export of origin/master aa2887f, whose changelog.d matches this branch, because the renderer refuses a version that CHANGELOG.md already names. This commit is mechanical so the final roll-up can revert it, merge master and render again once the in-flight 0.10.4 changes have landed. * Revert "chore(release): render the pending changelog fragments into provider 0.10.4" This reverts commit f673fff. * chore(release): update 0.10.4 rollout notes for #1630, #1631, #1633 and platform #491/#541 The re-registration note now states which evidence counts (#1633); the delta-checkpoint off switch is forwarded to the launchd job (#1630); the coordinator to deploy before the tag must include #516, #491 and #541; #1631 joins the non-provider entries. * chore(release): correct the 0.10.4 rollout notes from the review pass - A prompt_anchor_mismatch receipt quarantines the provider's cache capability for the whole model (coordinator CacheQuarantineCommit.Apply; ProofFenceBase 60 s, doubling to ProofFenceMax 10 min), not only the mismatched requests' affinity. Say so in the changelog note and runbook step 1, and cite the platform code in the evidence table. - #1599 shipped in v0.10.2 (99e1059 is an ancestor of f9d1af3), not first in the v0.10.3 hotfix. - Drop the runbook's "platform change that pushes trust_status when legacy authorization starts is in progress": that change is darkbloom-platform#541, merged as 6beb8514, which step 1 already requires. - Step 1: deploy shortly before the tag, matching the changelog's "close to this rollout" for #516, and limit #491's 5 s refresh to App Attest serving (startUnauthorizedStatusRefresh returns unless ServingEnabled). - Step 3: name LatestProviderVersion instead of the dangling "That fallback constant", and scope "only ProviderCore.swift should change" to the snapshotted inputs. - Evidence: production 2acffb5c also lacks #491 and #541; add rows for the #491/#541 status behavior and the quarantine. * changelog: delta complete checkpoints apply to Qwen native recurrent layouts, not only Qwen 3.8 Eligibility follows the checkpoint layout (native-paged/contiguous-full-recurrent-v1), which Qwen 3.5/3.6 MTP builds also produce; the fragment is rendered verbatim into 0.10.4. * chore(release): render the pending changelog fragments into provider 0.10.4 Verbatim scripts/changelog.py render output for the 15 fragments pending on master (rendered from a master export, since CHANGELOG.md already names 0.10.4), inserted below the rollout notes; exactly those fragments deleted. #1427 is not in 0.10.4 and its fragments stay with it.
The merge adds #1566, #1591, #1602, #1605, #1606, #1607, #1612, #1621, #1622, #1623, #1625, #1629, #1630, #1631, #1632 (provider 0.10.4), #1633, #1644, #1652 and #1653 to this branch. Conflicts and resolutions: - CoordinatorClient+Connection.swift: #1606 moves the transport setup out of connectAndRun into the static function connectionParameters(for:), and puts the connectAndRun header below it. This branch adds the session parameter to the same header. The merge keeps the layout of master. The moved header has the signature of this branch: connectAndRun(_ session: CoordinatorSessionRecorder). Git merged the other changes without a conflict: the bounded handshake of master (CoordinatorConnectionHandshake.start) and the session recorder of this branch (markOpened after register, the session parameter of sessionLoop and receiveLoop, and the close-code read). - docs/provider/cli-reference.md: the runtime constants table. The merge keeps the three reconnect rows and the ping/pong row of this branch. It adds the handshake deadline row of master after the ping/pong row, where master has it. - docs/provider/troubleshooting.md: only the "Last updated" stamp had a conflict (2026-10-26 on this branch, 2026-10-27 on master). The merge keeps one stamp, 2026-10-27. Git merged the rows: the backoff citation of this branch and the new rows of master. Each decision has one owner after the merge: - CoordinatorReconnectPolicy chooses the wait before the next connection attempt, after each end of a session or of an attempt. - CoordinatorConnectionHandshake (#1606) cancels a handshake that does not complete in 30 s. runLoop catches the timeout error. That attempt did not send register, so the policy gives the next backoff range, as on master. - UnauthorizedConnectionRecovery (#1607, #1633) decides when to start a re-registration of a connection that the coordinator refuses. Its retry backoff counts re-registrations, not connection attempts, and an authorized verdict sets that count to zero. The re-registration closes the session. Then the policy chooses the wait, as for each other end. Checks: against master, the merge has only the changes of this branch, in its 15 files. The troubleshooting stamp is the one exception: it has the date of master. Against this branch, the merge has only the changes of master, in 651 files. The one exception is the connectAndRun header, which has the session parameter. The gitlinks do not change: libs/mlx 31f550af, libs/mlx-swift 4926d3d9, libs/mlx-swift-lm aee6ebb6. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Summary
Release blocker for 0.10.4, follow-up to #1607 (merged, unreleased). #1607's
Traffic:verdict (status/doctor) and its re-registration of unauthorized connections treated the latesttrust_statusas current forever. Against the current production coordinator that is wrong for every legacy (MDM-cohort) Mac:authorization.path: "none"(app_attest_qualification_required), and no status follows when legacy verification authorizes the connection seconds later.Traffic: NOT receiving coordinator work(macOS 26 Macs: "upgrade to macOS 27"), and an idle one would re-register after 15–30 min, then 30 min, 1 h, 2 h and every 4 h forever (the backoff only resets on an authorized status, which never comes).This PR makes both act only on current evidence, from one shared decision tree, so
NOT receivingand "counts toward re-registration" can no longer disagree.Coordinator facts (platform
master5ba280d)path: none)coordinator/api/provider/trust/attestation.go:sendTrustStatus(..., "SE attestation verified, awaiting MDM verification")precedesprovider.SetLastChallengeVerified(time.Now())coordinator/registry/app_attest_authorization.go(providerLegacyServingAuthorizedLocked:!p.LastChallengeVerified.IsZero() && now.Sub(...) <= challengeFreshnessMaxAge)coordinator/internal/provider/challenge/challenge.go("Send initial challenge immediately");challenge_verify.go(if recovered { s.sendTrustStatus(...) })coordinator/internal/appattest/authorization/controller.go(StatusInterval = 5 * time.Second,refreshStatus)trust_statusevery 5 s to connections with neither authorization; a separate platform change would send one when a connection becomes legacy-authorizedDesign
ServingReadiness.verdict(connection:trust:…)is now the single decision tree.ProviderLoop.superviseServingAuthorizationacts on its result (.blocked→ the unauthorized clock;.authorized→ reset; anything else → stop the clock), andUnauthorizedConnectionRecoverykeeps only the timing policy (its duplicateconnectionLacksAuthorizationis removed).status/doctor)legacypath, hardware trust without an authorization objectcoordinator_connection.last_request_at)received a coordinator request 3m ago)untrusted/offlinestatus, any ageexpiresAtin the past), any agenone, no lease, not legacy) in the first 90 s after connectingnot authorized so far: <reason>)unconfirmed(no current coordinator verdict; the last one, 19m ago, did not authorize this connection: <reason>), no fixWindow:
refusalMaxAge = 60s, with the existingstatusGraceSeconds = 90s."No status at all long after registering" is kept. It is not the staleness flaw: it is not an old verdict but the absence of the status every coordinator sends at registration, re-evaluated every tick, and it gets stronger with time. A legacy Mac always receives the registration status, so this case never applies to it.
Positive evidence. The connection reader stamps
coordinator_connection.last_request_aton everyinference_request(per connection; cleared on reconnect). A request newer than the latest status outweighs a refusal or a missing status, but not an explicituntrustedstatus or an expired lease.Logging. "Coordinator authorizes this connection for work" is logged only on positive evidence. A refusal that ages out logs the new "Coordinator refusal of this connection is no longer current; routing is unconfirmed" instead of claiming routing resumed.
Before
flowchart TB subgraph BB["Behavior: legacy Mac on the current coordinator"] direction LR b1["Registers"]:::input --> b2["trust_status path none<br/>(computed before the first challenge)"]:::coord b2 --> b3["First challenge passes:<br/>legacy authorized, no status sent"]:::coord b3 --> b4["Traffic: NOT receiving coordinator work<br/>macOS 26: upgrade to macOS 27"]:::gap b4 --> b5["Idle 15-30 min: re-register,<br/>then 30 m, 1 h, 2 h, every 4 h"]:::gap b5 -.-> b1 end subgraph BC["Code"] direction LR c1["superviseServingAuthorization"]:::code --> c2["UnauthorizedConnectionRecovery<br/>.connectionLacksAuthorization<br/>status age ignored"]:::gap c3["status / doctor"]:::code --> c4["ServingReadiness.verdict<br/>separate tree, status age ignored"]:::gap end BB ~~~ BC style BB fill:#f8fafc,stroke:#64748b,color:#0f172a style BC fill:#f8fafc,stroke:#64748b,color:#0f172a classDef input fill:#dbeafe,stroke:#1d4ed8,color:#1e3a8a classDef coord fill:#fef3c7,stroke:#b45309,color:#78350f classDef code fill:#e0e7ff,stroke:#4338ca,color:#1e1b4b classDef gap fill:#fee2e2,stroke:#b91c1c,color:#7f1d1dAfter
flowchart TB subgraph AB["Behavior"] direction LR a1["Registers"]:::input --> a2["trust_status path none"]:::coord a2 --> a3["First 90 s:<br/>Traffic: not yet eligible"]:::new a3 --> a4{"Refusal re-sent<br/>in the last 60 s?"}:::code a4 -- "no: current coordinator,<br/>legacy Mac" --> a5["Traffic: unconfirmed<br/>last verdict age and reason, no fix<br/>never re-registers"]:::new a4 -- "yes: refreshing coordinator<br/>(platform #491)" --> a6["Traffic: NOT receiving + fix<br/>idle 15-30 min: re-register"]:::kept a5 -- "coordinator routes a request" --> a7["Traffic: eligible<br/>received a coordinator request 3m ago"]:::new end subgraph AC["Code"] direction LR r1["Connection reader<br/>inference_request"]:::code --> r2["noteCoordinatorRequest<br/>last_request_at"]:::new s1["superviseServingAuthorization"]:::code --> v1["ServingReadiness.verdict(connection:trust:)<br/>grace 90 s, refusalMaxAge 60 s,<br/>routed request"]:::new d1["status / doctor"]:::code --> v1 r2 --> v1 v1 -- "blocked only" --> p1["UnauthorizedConnectionRecovery<br/>.shouldReconnect (timing only)"]:::kept end AB ~~~ AC style AB fill:#f8fafc,stroke:#64748b,color:#0f172a style AC fill:#f8fafc,stroke:#64748b,color:#0f172a classDef input fill:#dbeafe,stroke:#1d4ed8,color:#1e3a8a classDef coord fill:#fef3c7,stroke:#b45309,color:#78350f classDef code fill:#e0e7ff,stroke:#4338ca,color:#1e1b4b classDef kept fill:#f1f5f9,stroke:#475569,color:#0f172a classDef new fill:#dcfce7,stroke:#15803d,color:#14532dLegend: blue is the provider event, amber is coordinator behavior, indigo is code, red is the defect on
master, green is new behavior, grey is #1607 behavior this PR keeps.Validation
Local, on
aa2887f1d+ this commit (Apple Silicon, Xcode Swift 6.4,swift build --build-tests, staged source-matched metallib6ccc6296…), daemon state isolated as inscripts/run-provider-tests.sh.swift test --skip-build --no-parallel --filter 'ServingReadinessTests|UnauthorizedConnectionRecoveryTests|UnauthorizedConnectionSupervisionTests|ProviderAuthorizationConnectionTests|ProviderAuthorizationReadinessTests|publicProviderLog|everyReasonHasItsOwnPublicLine|ServeLoopAppAttestTests|ServeLoopConnectionTests|AddonHoldServeLoopTests|DaemonStateServedCountTests|AutopilotSnapshotCodingTests|StatusCommandRunTests|StatusCommandTests|DoctorOperatorDiagnosisTests|DiagnosticsTests|AppAttestLocalDiagnosisTests'refusalMaxAge = .infinity, no refusal grace), rebuiltaRegistrationRefusalAloneNeverReregisters);statusprintsNOT receivinginstead ofunconfirmed; doctor reportsfailwith a fixmake changelog-check,make changelog-previewmake docs-impact-check BASE=origin/mastermake docs-checkorigin/master: all cite removedconsole-ui/paths (known leftovers); none in files this PR touchesRequired scenarios:
pendingat 20 s,unconfirmed(no macOS 27 text) at 10 minUnauthorizedConnectionSupervisionTests.aRegistrationRefusalAloneNeverReregisters;ServingReadinessTests.aRefusalTheCoordinatorStoppedRepeatingIsUnconfirmed,aRefusalRightAfterConnectingIsPending; CLI:StatusCommandRunTests.trafficVerdict(new section),DoctorOperatorDiagnosisTests.coordinatorTraffic(new case)unauthorizedConnectionIsReportedAndReregisteredAfterTheThreshold(now delivers a refusal every 5 s for 15 min)anExpiredLeaseIsJudgedWithoutAFreshStatus;ServingReadinessTests.expiredLeaseIsNotReceiving(2 h-old status)aRoutedRequestOutweighsAnEarlierRefusal;ServingReadinessTests.aRequestAfterTheLatestStatusIsEligibleaRefusalTheCoordinatorStopsRepeatingIsLoggedAsUnconfirmedreceivedAt, as a refreshing coordinator does.judgesOnlyCoordinatorVerdictsItCanReadtested the removed duplicate classifier; it keeps all eight original cases (same expectations) through the shared verdict and adds six.connectionStateRoundTripsThroughTheStateFilealso pinslast_request_atLimitations and risks
app_attest_identity_required, macOS 26 outside the cohort) now readsunconfirmedand is not re-registered. The provider cannot tell it from a legacy-authorized Mac without fresh evidence. Blocked display and re-registration resume automatically once the coordinator re-sends refusals (platform perf(network): streaming hot-path optimizations + dead-code cleanup #491); explicituntrusted/offline, expired leases and never-confirmed connections are still acted on today.coordinator/registry/owner_authorization.go,ProviderOwnerServingAuthorized, no authorization required) and is indistinguishable at the provider. A self-routed Mac that the public fleet refuses reads eligible until the next refusal (≤ 5 s with perf(network): streaming hot-path optimizations + dead-code cleanup #491; on the current coordinator it would otherwise readunconfirmed).unconfirmedindefinitely on the current coordinator (informational in doctor, no fix). A platform change sending a status on legacy authorization would make iteligible (legacy (MDM) verification active)with no provider change.Overlap with #1427
git merge-treemerges #1427 (1a637b77) cleanly into this branch, as intomaster. This PR does not touchStatusCommand.swiftorProviderAuthorizationReadiness; inDoctorRunner.swiftit only adds a case totrafficDiagnostic, away from #1427's hunks. The semantics agree: an unexpired App Attest lease authorizes regardless of status age here, as #1427 makes theAuthorization:line do.Changelog
changelog.d/coordinator-traffic-verdict.mdis #1607's unreleased 0.10.4 fragment; this PR corrects that change's behavior before release, so the fragment is amended in place (CONTRIBUTING.md: keep follow-up edits in the change's fragment).CHANGELOG.mdis untouched.Refactor pass
AGENTS.md requires a dedicated refactor subagent before opening a PR. No subagent-spawning tool was available in this session, so that gate is not satisfied by a subagent; per the task owner's fallback I did a careful self-review of the full diff. Outcome: the consolidation into one decision tree (removing the duplicate classifier rather than adding a third predicate) was kept as the core simplification; review fixes were a type annotation for a test log sink, limiting the
refusetest helper to refusals, and widening two CLI tests' timing margin (refusal age 1,150 s so "19m" holds even if the subprocess starts 50 s late). A maintainer may want an independent refactor review before merge.CI note
Docs Lint and Console UI currently fail on
masteritself because ofconsole-ui/leftovers (being fixed separately); expect those two to fail here for that reason only. All provider jobs should be green.Scope: Provider (Swift), Documentation. No wire-protocol change; the local daemon state file gains the optional
coordinator_connection.last_request_at(additive, unreleased struct).Need help on this PR? Tag
@codesmith-botwith what you need.Independent refactor pass (completed)
A dedicated refactor reviewer (separate agent) reviewed the full diff and found no duplicate classifier logic or dead code left;
ServingReadinessis the single classifier andUnauthorizedConnectionRecoveryonly handles timing. It made three comment/doc edits, no behavior change (3ea72eb36): the request-ordering invariant behindnoteCoordinatorRequest()placement, theServingReadinesstype comment now naming the re-registration trigger, andtroubleshooting.mdno longer callingunconfirmed"not an exclusion". 98/98 targeted tests pass after the edits (PR suites, the three serve-loop suites, add-on-hold serve loop, status/doctor/trust/daemon-state, log vocabulary).Additional limitation
Until platform #491 is deployed (merged 2026-10-27; ships with the next coordinator deploy), App Attest refusals the coordinator does not repeat show as blocked for only 60 s after each refusal and as
unconfirmedotherwise, so #1607's re-registration acts only on untrusted/offline, an expired lease, or no status at all. Once #491's 5 s refusal refresh is live, blocked verdicts and re-registration apply as designed.