Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -138,3 +138,6 @@ uv.lock
# mixed-case variants from slipping through on case-insensitive machines.
/[Pp][Rr][Oo][Mm][Pp][Tt]_[Ss][Ee][Ss][Ss][Ii][Oo][Nn]_[Tt][Rr][Aa][Nn][Ss][Cc][Rr][Ii][Pp][Tt]_[Aa][Nn][Aa][Ll][Yy][Ss][Ii][Ss].md
/[Ss][Ee][Ss][Ss][Ii][Oo][Nn]_[Tt][Rr][Aa][Nn][Ss][Cc][Rr][Ii][Pp][Tt]_[Qq][Uu][Ee][Rr][Yy]_[Pp][Rr][Oo][Mm][Pp][Tt].md

# Command Code per-session scratchpad (agent working files, never package content).
/$COMMANDCODE_SCRATCHPAD/
208 changes: 104 additions & 104 deletions engraphis/classic_assets/dashboard.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion engraphis/classic_assets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,6 @@
graph view. dashboard.js fetches both on demand from graphRender(); see loadForceGraph()
and loadGraphEngine(). scripts/externalize_dashboard_assets.py enforces both halves:
they stay out of this file, and the lazy references still have to resolve. -->
<script src="/classic-assets/dashboard.js?v=20260815-merge-ready-1"></script>
<script src="/classic-assets/dashboard.js?v=20260831-galaxy-floor-fix-2"></script>
</body>
</html>
194 changes: 137 additions & 57 deletions engraphis/dashboard_assets/engraphis-graph.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions engraphis/dashboard_assets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="description" content="Engraphis Ledger — local-first, grounded memory operations.">
<title>Engraphis Ledger</title>
<link rel="icon" type="image/png" sizes="32x32" href="/v2-assets/favicon-32.png">
<link rel="stylesheet" href="/v2-assets/ledger.css?v=20260815-merge-ready-1">
<link rel="stylesheet" href="/v2-assets/ledger.css?v=20260831-galaxy-floor-fix-2">
</head>
<body data-theme="slate">
<a class="skip-link" href="#main-content">Skip to main content</a>
Expand Down Expand Up @@ -708,6 +708,6 @@ <h2 id="graph-connections-title">Connected nodes</h2>
</form>
</dialog>

<script src="/v2-assets/ledger.js?v=20260815-merge-ready-1"></script>
<script src="/v2-assets/ledger.js?v=20260831-galaxy-floor-fix-2"></script>
</body>
</html>
27 changes: 13 additions & 14 deletions engraphis/dashboard_assets/ledger.js
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@
graphAssetSource('/v2-assets/vendor/force-graph.min.js?v=20260727-final'),
'ForceGraph', controller.signal,
)).then(() => loadScript(
graphAssetSource('/v2-assets/engraphis-graph.js?v=20260815-merge-ready-1'),
graphAssetSource('/v2-assets/engraphis-graph.js?v=20260831-galaxy-floor-fix-2'),
'EngraphisGraph', controller.signal,
)).then(() => loadScript(
graphAssetSource('/v2-assets/engraphis-spacetime.js?v=20260812-stable-orbit-lanes-7'),
Expand Down Expand Up @@ -2437,11 +2437,13 @@
const max = Number(control.max);
return Math.min(Number.isFinite(max) ? max : safe, Math.max(Number.isFinite(min) ? min : safe, safe));
}
/* Controls keep their human-readable ranges and defaults, while the engine receives a
bounded 2x response away from the selected preset baseline. This makes a drag feel
immediate and substantial without changing a saved view's neutral calibration or allowing
a slider to bypass its HTML safety bounds. */
const GRAPH_SLIDER_RESPONSE_GAIN = 2;
/* Controls keep their human-readable ranges and defaults. The engine value is computed by
a clamped identity 1:1 mapping: the slider's raw position flows straight to the engine,
bounded by the HTML min/max. The earlier 2x response saturated against the HTML bounds
for slider values near the loose and tight ends, producing visible plateaus where the
user dragged the slider but the engine value didn't change. Identity 1:1 with
[min, max] clamping gives every integer tick in the slider's full HTML range a
strictly distinct engine value. */
function graphSliderResponseBaseline(item) {
if (!item) return 0;
if (item.id === 'graph-flow-speed') return 45;
Expand All @@ -2454,23 +2456,20 @@
const control = byId(id);
if (!control) return Number.isFinite(Number(value)) ? Number(value) : baseline;
const raw = graphValueInRange(id, value, baseline);
const center = Number.isFinite(Number(baseline)) ? Number(baseline) : raw;
const min = Number(control.min);
const max = Number(control.max);
const expanded = center + (raw - center) * GRAPH_SLIDER_RESPONSE_GAIN;
return Math.min(Number.isFinite(max) ? max : expanded,
Math.max(Number.isFinite(min) ? min : expanded, expanded));
return Math.min(Number.isFinite(max) ? max : raw,
Math.max(Number.isFinite(min) ? min : raw, raw));
}
function graphSliderInputValue(id, value, baseline) {
const control = byId(id);
if (!control) return Number.isFinite(Number(value)) ? Number(value) : baseline;
const min = Number(control.min);
const max = Number(control.max);
const safe = graphValueInRange(id, value, baseline);
const center = Number.isFinite(Number(baseline)) ? Number(baseline) : safe;
const compressed = center + (safe - center) / GRAPH_SLIDER_RESPONSE_GAIN;
return Math.min(Number.isFinite(max) ? max : compressed,
Math.max(Number.isFinite(min) ? min : compressed, compressed));
/* Identity inverse of the clamped identity response. */
return Math.min(Number.isFinite(max) ? max : safe,
Math.max(Number.isFinite(min) ? min : safe, safe));
}

function graphScopeValue(id, value, fallback) {
Expand Down
Loading
Loading