chore(meta): docs/build sweep + tooling test gate (T-1069, T-1066)

- make test-tooling: planet-gen determinism guard + import_economics
  --dry-run, wired into pre-push on TOOLING_CHANGED; ruff widened to
  E4/E7/E9/F/W (90 safe auto-fixes applied; E402/E702/F841 ignored with
  documented counts)
- one-generator reality fixed in DEVOPS.md, asset-pipeline rule, CLAUDE.md
  (import_economics sole generator since #951/D-223); dead check-protocol
  target deleted; DEVOPS hook/config sections rewritten from the actual
  hook sources; team-patterns gate description updated (client+tooling)
- project.yaml: 0.2.0 → 0.4.0 per the 0.{phase}.{n} scheme, description
  refreshed from the v0.1 Sova narration to cascade reality
- stale comment sweep: voxel.rs stub claims (all 8 families implemented),
  cascade.rs TODO recited to T-1044, main.rs D-192 handshake claim,
  relationships.rs/chunk_streaming.rs version targets → phase language
- gitignore: client/settings.db* e2e-run artifacts

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-06-12 16:22:55 +02:00
co-authored by Claude Fable 5
parent 0bd895fcac
commit 346d87df7a
47 changed files with 280 additions and 180 deletions
+17 -17
View File
@@ -1171,8 +1171,8 @@ def generate_sector_d2(
lines = []
lines.append(f"# Star Map — {sector_label}")
lines.append(f"# Sector map. Cross-sector connections shown as stub nodes (dashed border).")
lines.append(f"# Node color = settlement wave. Shape = topology type.")
lines.append("# Sector map. Cross-sector connections shown as stub nodes (dashed border).")
lines.append("# Node color = settlement wave. Shape = topology type.")
lines.append("")
lines.append("vars: {")
lines.append(f' bg: "{D2_BG}"')
@@ -1182,7 +1182,7 @@ def generate_sector_d2(
lines.append("")
# Root style
lines.append(f"direction: right")
lines.append("direction: right")
lines.append("")
lines.append(f'style.fill: "{D2_BG}"')
lines.append(f'style.stroke: "{D2_ACC}"')
@@ -1192,7 +1192,7 @@ def generate_sector_d2(
# Legend
lines.append("legend: Legend {")
lines.append(f' style.fill: "{D2_BG}"; style.stroke: "{D2_ACC}"; style.font-color: "{D2_TXT}"')
lines.append(f' style.font-size: 10')
lines.append(' style.font-size: 10')
for wave, stroke in WAVE_STROKE.items():
fill = WAVE_FILL[wave]
w_label = wave.replace("_", " ").title()
@@ -1227,9 +1227,9 @@ def generate_sector_d2(
lines.append(f' style.fill: "{fill}"')
lines.append(f' style.stroke: "{stroke}"')
lines.append(f' style.font-color: "{D2_TXT}"')
lines.append(f' style.font-size: 9')
lines.append(' style.font-size: 9')
if nid == "S-001":
lines.append(f' style.stroke-width: 3')
lines.append(' style.stroke-width: 3')
lines.append("}")
lines.append("")
@@ -1240,12 +1240,12 @@ def generate_sector_d2(
stub_sector_label = SECTOR_LABELS[stub_node["geographic_sector"]]
label = f"{stub_id}\\n[{stub_sector_label}]"
lines.append(f'{d2id}: "{label}" {{')
lines.append(f' shape: rectangle')
lines.append(' shape: rectangle')
lines.append(f' style.fill: "{STUB_FILL}"')
lines.append(f' style.stroke: "{STUB_STROKE}"')
lines.append(f' style.stroke-dash: 5')
lines.append(' style.stroke-dash: 5')
lines.append(f' style.font-color: "{STUB_STROKE}"')
lines.append(f' style.font-size: 9')
lines.append(' style.font-size: 9')
lines.append("}")
lines.append("")
@@ -1281,8 +1281,8 @@ def generate_sector_d2(
if is_cross:
lines.append(f"{edge_line}: {{")
lines.append(f' style.stroke: "{color}"')
lines.append(f' style.stroke-dash: 4')
lines.append(f' style.stroke-width: 1')
lines.append(' style.stroke-dash: 4')
lines.append(' style.stroke-width: 1')
lines.append("}")
else:
lines.append(f"{edge_line}: {{")
@@ -1331,7 +1331,7 @@ def generate_overview_d2(
lines.append(f' acc: "{D2_ACC}"')
lines.append("}")
lines.append("")
lines.append(f'direction: right')
lines.append('direction: right')
lines.append(f'style.fill: "{D2_BG}"')
lines.append(f'style.stroke: "{D2_ACC}"')
lines.append(f'style.font-color: "{D2_TXT}"')
@@ -1354,23 +1354,23 @@ def generate_overview_d2(
fill, stroke = sector_colors[sector]
d2id = sector.replace("_", "")
lines.append(f'{d2id}: "{label}\\n{count} systems · {hubs} hubs" {{')
lines.append(f' shape: rectangle')
lines.append(' shape: rectangle')
lines.append(f' style.fill: "{fill}"')
lines.append(f' style.stroke: "{stroke}"')
lines.append(f' style.font-color: "{D2_TXT}"')
lines.append(f' style.border-radius: 8')
lines.append(' style.border-radius: 8')
lines.append("}")
lines.append("")
# Special Gateway callout
lines.append('gateway_note: "GATEWAY (S-001)\\nDiplomatic Periphery · Core\\nSol aperture: dormant" {')
lines.append(f' shape: hexagon')
lines.append(' shape: hexagon')
lines.append(f' style.fill: "{GATEWAY_FILL}"')
lines.append(f' style.stroke: "{GATEWAY_STROKE}"')
lines.append(f' style.font-color: "{D2_TXT}"')
lines.append(f' style.stroke-width: 3')
lines.append(' style.stroke-width: 3')
lines.append("}")
lines.append(f'gateway_note -> core: "located in" {{')
lines.append('gateway_note -> core: "located in" {')
lines.append(f' style.stroke: "{GATEWAY_STROKE}"; style.stroke-dash: 3')
lines.append("}")
lines.append("")