Skip to content
Closed
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
009ac85
WIP: Namespace PR-5c-4: import strip dag/std+tools+misc (~135 files; …
briansrls Jul 14, 2026
eab3e19
WIP: Namespace PR-5c-4: import strip dag/std+tools+misc (~135 files; …
briansrls Jul 14, 2026
61f48ac
WIP: Namespace PR-5c-4: import strip dag/std+tools+misc (~135 files; …
briansrls Jul 14, 2026
12120bf
WIP: Namespace PR-5c-4: import strip dag/std+tools+misc (~135 files; …
briansrls Jul 14, 2026
5372a3f
WIP: Namespace PR-5c-4: import strip dag/std+tools+misc (~135 files; …
briansrls Jul 14, 2026
3e6470e
WIP: Namespace PR-5c-4: import strip dag/std+tools+misc (~135 files; …
briansrls Jul 14, 2026
3c77aa2
WIP: Namespace PR-5c-4: import strip dag/std+tools+misc (~135 files; …
briansrls Jul 14, 2026
b693c9a
WIP: Namespace PR-5c-4: import strip dag/std+tools+misc (~135 files; …
briansrls Jul 14, 2026
7d2f8d1
WIP: Namespace PR-5c-4: import strip dag/std+tools+misc (~135 files; …
briansrls Jul 14, 2026
90c005e
WIP: Namespace PR-5c-4: import strip dag/std+tools+misc (~135 files; …
briansrls Jul 14, 2026
ce02a67
WIP: Namespace PR-5c-4: import strip dag/std+tools+misc (~135 files; …
briansrls Jul 14, 2026
297bfd6
WIP: Namespace PR-5c-4: import strip dag/std+tools+misc (~135 files; …
briansrls Jul 14, 2026
80c2a62
WIP: Namespace PR-5c-4: import strip dag/std+tools+misc (~135 files; …
briansrls Jul 14, 2026
06e741d
Fix namespace resolver if-branch unification via type-shape coproduct…
briansrls Jul 14, 2026
5e450f0
Merge remote-tracking branch 'origin/main' into session/zesty-bat-509
briansrls Jul 14, 2026
b0f13a9
WIP: Namespace PR-5c-4: import strip dag/std+tools+misc (~135 files; …
briansrls Jul 14, 2026
52e6ea4
Fix merge breakage in reconcile_with_typed_cache after main rebase.
briansrls Jul 14, 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
5 changes: 0 additions & 5 deletions dag/ctrl/code_change_workflow.dag
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
module ctrl.code_change_workflow

import ctrl.process_algebra { ProcessNodeId }
import ctrl.pr_digests { MergeReadinessVerdict, Ready, NotReady }
import ctrl.review_verdict { MergeReadinessTally }
import extdeps.github.pulls { PullRequest, Open, Closed }
import std.types { CommitSha, NonEmptyStr, Timestamp }

type CodeChangeActiveStage
= ChangeOpen
Expand Down
3 changes: 0 additions & 3 deletions dag/ctrl/pr_digests.dag
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
module ctrl.pr_digests

import extdeps.github.pulls { PullRequest, PullReview, ReviewComment }
import extdeps.github.errors { GitHubErrorShape }
import std.types { NonEmptyStr }

type MergeReadinessVerdict
= Ready
Expand Down
3 changes: 0 additions & 3 deletions dag/ctrl/process_algebra.dag
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
module ctrl.process_algebra

import std.algebra { FreeMonoid }
import std.effects { OperationEffect }
import std.types { Map, NonEmptyStr, Timestamp }

type ProcessNodeId = NonEmptyStr where brand("ProcessNodeId")
type ProcessSessionId = NonEmptyStr where brand("ProcessSessionId")
Expand Down
2 changes: 0 additions & 2 deletions dag/ctrl/review_verdict.dag
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
module ctrl.review_verdict

import std.types { ArtifactId, CommitSha, ContentHash, NonEmptyStr, Timestamp }
import extdeps.github.pulls { ReviewState }

type LlmReviewProvider
= OpenaiPro
Expand Down
3 changes: 0 additions & 3 deletions dag/examples/cost_estimate/cost_estimate.dag
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
module examples.cost_estimate

import std.float { Float }
import std.logic { Bool }
import std.currency { CurrencyCode, Eur, Usd, currency_minor_unit_exponent }

type CostProjection {
expected_hours: Float
Expand Down
19 changes: 0 additions & 19 deletions dag/examples/gunbhub_serve_program/gunbhub_serve_program.dag
Original file line number Diff line number Diff line change
@@ -1,24 +1,5 @@
module examples.gunbhub_serve_program

import gunbc.gunbhub_serve {
GunbhubServeRequest,
GunbhubPageSource,
ReactPage,
Served,
RenderRejectedBeforeServe,
RouteNotFound,
MethodNotAllowed,
gunbhub_hostile_page,
serve_gunbhub_request,
serve_gunbhub_page_source,
}
import extdeps.languages.html {
try_serialize_html_source,
EmitOk,
EmitRejected,
}
import std.process { ProcessExit, ExitSuccess, ExitFailure, exit_code_general_error }
import std.types { GET }

fn wa_unknown_path_is_not_found() -> Bool {
match serve_gunbhub_request(
Expand Down
14 changes: 0 additions & 14 deletions dag/examples/html_markup_smoke/html_markup_smoke.dag
Original file line number Diff line number Diff line change
@@ -1,19 +1,5 @@
module examples.html_markup_smoke

import std.process { ProcessExit, ExitSuccess, ExitFailure, exit_code_general_error }
import std.markup {
MarkupAttr,
MarkupNode,
ElementNode,
TextNode,
escape_text,
}
import extdeps.languages.html {
try_serialize_html_source,
HtmlEmitResult,
EmitOk,
EmitRejected,
}

data tiny: MarkupNode = ElementNode {
tag: "p",
Expand Down
1 change: 0 additions & 1 deletion dag/examples/interp_test/interp_test.dag
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
module examples.interp_test
import v2.std.live_tree { LiveTreeDisposition, SubstrateInputsOnly }

data live_tree_disposition: LiveTreeDisposition = SubstrateInputsOnly

Expand Down
9 changes: 0 additions & 9 deletions dag/examples/js_site/js_site.dag
Original file line number Diff line number Diff line change
@@ -1,14 +1,5 @@
module examples.js_site

import std.markup {
MarkupNode,
MarkupAttr,
ElementNode,
TextNode,
}
import extdeps.communication.medium { Medium, Lossy }
import std.disposition { Disposition, Scaffold, SubstrateMandatoryTag }
import std.decl_ref { DeclarationRef, WholeDeclaration }

type JsSitePageId = Home | Browse | About

Expand Down
22 changes: 0 additions & 22 deletions dag/examples/js_site/js_site_emit.dag
Original file line number Diff line number Diff line change
@@ -1,27 +1,5 @@
module examples.js_site_emit

import examples.js_site {
JsSitePage,
JsSitePageId,
Home,
About,
Browse,
js_site_pages,
}
import extdeps.languages.html {
try_serialize_html_source,
HtmlEmitResult,
EmitOk,
EmitRejected,
}
import extdeps.languages.react_jsx {
try_serialize_jsx_component,
JsxEmitResult,
JsxOk,
JsxRejected,
}
import extdeps.filesystem.filesystem_io { Filesystem }
import std.process { ProcessExit, ExitSuccess, exit_failure }

fn js_site_generated_dir() -> String {
"dag/examples/js_site/generated"
Expand Down
7 changes: 0 additions & 7 deletions dag/product/budget_tree.dag
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
module product.budget_tree

import std.measure { ByteSize, byte_size, measure_add, measure_le, Memory, One }
import extdeps.accounting.budget {
Appropriation, LineItem, BudgetBalance, Surplus, Balanced, Deficit,
line_items_total, within_appropriation, budget_balance,
BudgetingMethod, ZeroBased,
AdmissionState, admit_all
}

type BudgetPriority = Guaranteed | Burstable | BestEffort

Expand Down
2 changes: 0 additions & 2 deletions dag/product/compute_fabric.dag
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
module product.compute_fabric

import std.types { NonEmptyStr, Bool, List }
import std.measure { HardwareThreadCount, hardware_thread_count, hardware_thread_count_value, measure_le }

type Fabric = NonEmptyStr where brand("Fabric")

Expand Down
32 changes: 0 additions & 32 deletions dag/product/hardware_selection.dag
Original file line number Diff line number Diff line change
@@ -1,37 +1,5 @@
module product.hardware_selection

import std.types { Int, NonEmptyStr, Bool, List }
import std.nat { Nat }
import std.measure {
Measure,
Power,
Milli,
measure_count,
ByteSize,
byte_size,
byte_size_count,
bit_width_count,
bits_per_byte,
Watt,
watt,
watt_count,
Bandwidth,
MoneyAmountMicro,
money_amount_micro,
money_amount_micro_count,
}
import extdeps.cpu.types { CpuModelCatalogRow, CpuSocket }
import extdeps.memory.types { DramModuleCatalogRow, dram_chips_per_rank, dram_module_is_realizable, dram_data_word_width, JedecDdrGenerationCatalogRow }
import std.pareto {
AxisComparison,
DominanceVerdict,
HigherIsBetter,
LowerIsBetter,
axis_comparison_int,
dominance_of_comparisons,
verdict_dominates,
on_pareto_front
}

type Milliwatt = Measure<Power, Milli, Nat>

Expand Down
3 changes: 0 additions & 3 deletions dag/product/network_topology.dag
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
module product.network_topology

import product.placement_supply { HostIdentity }
import std.measure { Bandwidth }
import std.types { NonEmptyStr, Bool, List }

type NetworkLocality =
Loopback
Expand Down
10 changes: 0 additions & 10 deletions dag/product/placement_supply.dag
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
module product.placement_supply

import std.measure {
ByteSize,
Hertz,
HardwareThreadCount,
byte_size_count,
hardware_thread_count_value,
hertz,
hertz_count,
}
import std.types { NonEmptyStr }

type HostIdentity = NonEmptyStr where brand("HostIdentity")

Expand Down
4 changes: 0 additions & 4 deletions dag/shared/dag_util.dag
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
module shared.dag_util

import std.types {
StageResult,
Summary
}

fn aggregate_results(stages: List<StageResult>) -> Summary {
let passed_list = filter(stages, s => s.success)
Expand Down
1 change: 0 additions & 1 deletion dag/std/abi.dag
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
module std.abi

import std.types { Bool, NonEmptyStr }

type ArchitecturalRegister

Expand Down
1 change: 0 additions & 1 deletion dag/std/algebra.dag
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
module std.algebra

import std.error_primitives { DivError, Result }

type Magma<T> {
op: fn(T, T) -> T
Expand Down
2 changes: 0 additions & 2 deletions dag/std/approximate_field.dag
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
module std.approximate_field

import std.algebra { Field }
import std.integer { PositiveInt }

type RoundingMode
= ToNearestEven
Expand Down
2 changes: 0 additions & 2 deletions dag/std/baseboard.dag
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
module std.baseboard

import std.types { NonEmptyStr }
import std.bmc { BmcFirmwareFamily, BmcEndpoint }

type BaseboardManufacturer = | AsrockRack

Expand Down
1 change: 0 additions & 1 deletion dag/std/behavioral.dag
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
module std.behavioral

import std.determinism { DeterminismAxis }

type SideEffects = ReadOnly | WritesState | WritesExternal

Expand Down
1 change: 0 additions & 1 deletion dag/std/bit.dag
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
module std.bit

import std.logic { Classical }

type Bit = Classical

Expand Down
1 change: 0 additions & 1 deletion dag/std/bmc.dag
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
module std.bmc

import std.types { NonEmptyStr }

type BmcProtocol = Redfish | Ipmi

Expand Down
4 changes: 0 additions & 4 deletions dag/std/bytes.dag
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
module std.bytes

import std.types { Bytes }
import std.integer { UInt8 }
import std.disposition { Disposition, Scaffold, SingleAuthority }
import std.decl_ref { DeclarationRef, WholeDeclaration }

fn pure_dag_seam_unreachable() -> Int {
1 / 0
Expand Down
1 change: 0 additions & 1 deletion dag/std/cache_identity.dag
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
module std.cache_identity

import std.types { NonEmptyStr, ContentHash }

type CacheInterfaceId = NonEmptyStr where brand("CacheInterfaceId")
type ArtifactKindId = NonEmptyStr where brand("ArtifactKindId")
Expand Down
17 changes: 1 addition & 16 deletions dag/std/cache_interface.dag
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
module std.cache_interface

import std.types { NonEmptyStr, ContentHash, Bool, Int, LogicalTime }
import std.measure { Nano, ByteSize }

import std.verification { NanosecondDuration, nanosecond_duration, nanosecond_duration_count }
import std.pareto {
AxisComparison,
DominanceVerdict,
HigherIsBetter,
LowerIsBetter,
axis_comparison_int,
dominance_of_comparisons,
}
import std.realization_schedule {
CostAccount,
}
import std.cache_identity { CacheInterfaceId, ArtifactKindId, ExecutionReceiptDigest, resolved_graph_artifact_kind, parse_table_artifact_kind }


type StorageSurface = NonEmptyStr where brand("StorageSurface")

Expand Down
2 changes: 0 additions & 2 deletions dag/std/change.dag
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
module std.change

import std.types { List, Bool }
import std.algebra { Monoid }
type KeyedRow<K, V> {
row_key: K
value: V
Expand Down
14 changes: 0 additions & 14 deletions dag/std/computation.dag
Original file line number Diff line number Diff line change
@@ -1,19 +1,5 @@
module std.computation

import std.iteration { }
import std.termination {
DescentEvidence, DescentUnknown, RankingDimension,
PositiveDescentAmount, OneStep, AdditionalStep,
ProportionalDivisor, DivideByTwo, StrictlyLarger,
positive_descent_count
}
import std.algebra {
AlgebraProfile, OrderedRingProfile, ApproximateFieldProfile,
BooleanAlgebraProfile, BooleanAlgebraCollectionProfile,
FreeMonoidScalarProfile, FreeMonoidCollectionProfile,
PartialFunctionProfile,
kernel_algebra_profile
}

type SizeBound
= CollectionSize { param: String }
Expand Down
1 change: 0 additions & 1 deletion dag/std/content_hash.dag
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
module std.content_hash

import std.types { ContentHash, NonEmptyStr }

fn content_hash_atom(value: NonEmptyStr) -> ContentHash {
atom_identity_hash(value)
Expand Down
1 change: 0 additions & 1 deletion dag/std/credentials.dag
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
module std.credentials

import std.types { NonEmptyStr }

type FactoryLogin {
username: NonEmptyStr
Expand Down
1 change: 0 additions & 1 deletion dag/std/currency.dag
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
module std.currency

import std.types { Int }

type CurrencyCode =
Eur
Expand Down
1 change: 0 additions & 1 deletion dag/std/decl_ref.dag
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
module std.decl_ref

import std.types { NonEmptyStr }

type DeclField
= WholeDeclaration
Expand Down
2 changes: 0 additions & 2 deletions dag/std/determinism.dag
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
module std.determinism

import std.perturbation { PerturbationVerdict, ResponseConsistent, ResponseViolation }
import std.decl_ref { DeclarationRef }

type DeterminismAxis
= Deterministic
Expand Down
2 changes: 0 additions & 2 deletions dag/std/disposition.dag
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
module std.disposition

import std.types { NonEmptyStr }
import std.decl_ref { DeclarationRef }

type ConstructionMechanism
= SingleAuthority
Expand Down
Loading
Loading