Skip to content

Commit 90f7183

Browse files
committed
delete 5 unemitted FLIGHT_KIND constants
Removed: qaInvariantFailed, flightLogsCleared, diskWritePlanned, reconcileWritebackApplied, reconcileWritebackSkipped. These were defined in the taxonomy but never emitted anywhere in src/. No runtime behavior change. Taxonomy test updated to remove the one assertion that referenced diskWritePlanned.
1 parent 8d492e8 commit 90f7183

2 files changed

Lines changed: 0 additions & 6 deletions

File tree

src/debug/flightEvents.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,8 @@ export const FLIGHT_KIND = {
5656
* "was there a disk.delete.observed before this tombstone?"
5757
*/
5858
qaPhase: "qa.phase",
59-
qaInvariantFailed: "qa.invariant.failed",
6059
flightEventsDropped: "flight.events.dropped",
6160
flightLogsRotated: "flight.logs.rotated",
62-
flightLogsCleared: "flight.logs.cleared",
6361
pathIdentityDegraded: "path.identity.degraded",
6462
redactionFailure: "redaction.failure",
6563
exportManifest: "export.manifest",
@@ -82,7 +80,6 @@ export const FLIGHT_KIND = {
8280
diskEventNotSuppressed: "disk.event.not_suppressed", // meta: suppression failed (priority: critical)
8381

8482
// Disk — YAOS writes
85-
diskWritePlanned: "disk.write.planned",
8683
diskWriteOk: "disk.write.ok",
8784
diskWriteFailed: "disk.write.failed", // priority: critical
8885

@@ -102,8 +99,6 @@ export const FLIGHT_KIND = {
10299
reconcileStart: "reconcile.start",
103100
reconcileFileDecision: "reconcile.file.decision", // priority: critical when conflictRisk=ambiguous
104101
reconcileSafetyBrakeTriggered: "reconcile.safety_brake.triggered", // priority: critical
105-
reconcileWritebackApplied: "reconcile.writeback.applied",
106-
reconcileWritebackSkipped: "reconcile.writeback.skipped",
107102
reconcileComplete: "reconcile.complete",
108103

109104
// Recovery — all now emitted from reconciliationController

tests/flight-recorder.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,6 @@ console.log("\n--- Test 14: FLIGHT_KIND taxonomy constants ---");
524524
assert(FLIGHT_KIND.diskDeleteObserved === "disk.delete.observed", "disk delete observed");
525525
assert(FLIGHT_KIND.diskEventSuppressed === "disk.event.suppressed", "disk event suppressed (meta, kept)");
526526
assert(FLIGHT_KIND.diskEventNotSuppressed === "disk.event.not_suppressed", "disk not suppressed (critical)");
527-
assert(FLIGHT_KIND.diskWritePlanned === "disk.write.planned", "disk write planned");
528527
assert(FLIGHT_KIND.diskWriteOk === "disk.write.ok", "disk write ok");
529528
assert(FLIGHT_KIND.diskWriteFailed === "disk.write.failed", "disk write failed");
530529
assert(FLIGHT_KIND.crdtFileCreated === "crdt.file.created", "crdt file created");

0 commit comments

Comments
 (0)