Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
dcb19ff
roadmap belt: the three silent read collapses become typed refusals (…
Oct 4, 2026
ff4236f
roadmap: the honest-but-unfolded read sites fold through the shared fold
Oct 4, 2026
21a469f
roadmap: import filesystem_file_observation_of_path from its owning m…
Oct 4, 2026
67d8558
roadmap event carrier: thread operation through the extracted no-rece…
Oct 4, 2026
30eb478
merge origin/main: event carrier proceeds through main's result-bindi…
Oct 4, 2026
c92500f
roadmap: convert the attempt-request binding and served-observation b…
Oct 4, 2026
acf387f
witness tests: keep annotations at module grain; fix escaped JSON quotes
Oct 4, 2026
e547945
validation oracle witness: construct the fold outcome for the re-sign…
Oct 4, 2026
a09c8f7
Merge origin/main (floor changed-witness fix) into batch-2 rework
Oct 4, 2026
7c465be
roadmap: carry typed pointer standing into attempt evidence; honest I…
Oct 4, 2026
59ada3e
roadmap: move WorkflowModeledStateStanding into workflow_command
Oct 4, 2026
e41a7f6
Merge origin/main (ed68b5573b deforking cut 8a) into batch-2 rework
Oct 4, 2026
8818ca1
roadmap: is_legacy_attempt matches the standing constructors explicitly
Oct 5, 2026
aab817c
roadmap: repair the observed-chain extraction; absent-arm assertion n…
Oct 5, 2026
4d998bf
roadmap: an unreadable pointer carries non-absence subordinate facts
Oct 5, 2026
ae53cd5
Merge origin/main (676ac15187 extdeps scope batch 6) into batch-2 rework
Oct 5, 2026
d1a3669
merge origin/main: typed read outcome keeps main's delta-resident re-…
Oct 5, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions dag/gunbc/roadmap/roadmap_acceptance_history_carrier.dag
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
module gunbc.roadmap_acceptance_history_carrier

import std.types { List }
import extdeps.filesystem.filesystem_io { Filesystem }
import extdeps.filesystem.filesystem_io {
Filesystem,
FilesystemReadOutcome,
FilesystemReadRefused,
FilesystemReadSucceeded,
filesystem_read_outcome,
}
import gunbc.roadmap_model { RoadmapAcceptanceEvent }
import std.decl_ref { DeclarationRef, WholeDeclaration }
import std.disposition { Disposition, RealizationDispatch, Scaffold }
Expand Down Expand Up @@ -33,12 +39,13 @@ fn load_roadmap_acceptance_event_history_from_carrier_text(text: String) -> Road

fn load_roadmap_acceptance_event_history(path: String) -> RoadmapAcceptanceEventHistoryLoad {
let read = Filesystem.Read(path: path)
if !read.success {
RoadmapAcceptanceEventHistoryLoadRefused {
detail: concat("carrier read refused: ", read.error),
}
} else {
load_roadmap_acceptance_event_history_from_carrier_text(text: read.content)
match filesystem_read_outcome(content: read.content, success: read.success, error: read.error) {
FilesystemReadRefused { error } =>
RoadmapAcceptanceEventHistoryLoadRefused {
detail: concat("carrier read refused: ", error),
}
FilesystemReadSucceeded { content } =>
load_roadmap_acceptance_event_history_from_carrier_text(text: content)
}
}

Expand Down
31 changes: 19 additions & 12 deletions dag/gunbc/roadmap/roadmap_attempt_request_record.dag
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@ import std.types { String, Bool, List, NonEmptyStr }
import extdeps.filesystem.filesystem_io {
Filesystem, FilesystemCreateNew, FilesystemCreated, FilesystemCreateTargetOccupied, FilesystemCreateRefused,
FilesystemCreateKindUnrecognized, filesystem_create_new,
FilesystemFileObservation, FilesystemFileRead, FilesystemFileAbsent, FilesystemFileIndeterminate,
FilesystemFileObservationsDisagree, FilesystemFileSubjectRefused,
}
import gunbc.filesystem_file_observe { filesystem_file_observation_of_path }
import extdeps.languages.json.emit { JsonValue, JsonNull, JsonBool, JsonNumber, JsonString, JsonArray, JsonObject, json_object, json_kv, json_string, serialize_json }
import extdeps.languages.json.parse {
parse_json_document, JsonDocumentParsed, JsonDocumentUnreadable, json_document_gap_text,
Expand Down Expand Up @@ -155,20 +158,24 @@ type AttemptRequestBindingRead
| RequestBindingAbsent
| RequestBindingUnreadable { reason: String }

fn attempt_request_binding_read_of(success: Bool, error_kind: String, error: String, content: String) -> AttemptRequestBindingRead {
if success {
match attempt_request_binding_decode(text: content) {
RequestBindingDecoded { binding } => RequestBindingRead { binding: binding }
RequestBindingUndecodable { reason } => RequestBindingUnreadable { reason: reason }
}
} else if error_kind == "not_found" {
RequestBindingAbsent
} else {
RequestBindingUnreadable { reason: error }
fn attempt_request_binding_read_from_observation(observation: FilesystemFileObservation) -> AttemptRequestBindingRead {
match observation {
FilesystemFileAbsent(_) => RequestBindingAbsent
FilesystemFileRead { path: _, content } =>
match attempt_request_binding_decode(text: content) {
RequestBindingDecoded { binding } => RequestBindingRead { binding: binding }
RequestBindingUndecodable { reason } => RequestBindingUnreadable { reason: reason }
}
FilesystemFileIndeterminate { cause } => RequestBindingUnreadable { reason: cause }
FilesystemFileObservationsDisagree { path: _, cause } => RequestBindingUnreadable { reason: cause }
FilesystemFileSubjectRefused { directory: _, name: _, cause } => RequestBindingUnreadable { reason: cause }
}
}

fn attempt_request_binding_read_for_instance(instance: HostDashboardInstance, node_id: RoadmapNodeId, attempt_key: String) -> AttemptRequestBindingRead {
let read = Filesystem.Read(path: attempt_request_binding_path_for_instance(instance: instance, node_id: node_id, attempt_key: attempt_key))
attempt_request_binding_read_of(success: read.success, error_kind: read.error_kind, error: read.error, content: read.content)
attempt_request_binding_read_from_observation(
observation: filesystem_file_observation_of_path(
path: attempt_request_binding_path_for_instance(instance: instance, node_id: node_id, attempt_key: attempt_key),
),
)
}
Loading