aboutsummaryrefslogtreecommitdiffstats
path: root/prototypes/connections/results/2026-09-24-source-tui
diff options
context:
space:
mode:
authoreunhhu <[email protected]>2026-09-24 17:14:54 +0100
committereunhhu <[email protected]>2026-09-24 17:14:54 +0100
commitb1ce1927022d374198441afafeb27199fc8a052a (patch)
tree6021f175f4c67ed03b44240eaa2f90d846f12f6f /prototypes/connections/results/2026-09-24-source-tui
parentd34f9426d5317a1948f12f229439946728bc342a (diff)
downloadpure-b1ce1927022d374198441afafeb27199fc8a052a.tar.gz
pure-b1ce1927022d374198441afafeb27199fc8a052a.zip
Establish native micro runtime checkpoint
Diffstat (limited to 'prototypes/connections/results/2026-09-24-source-tui')
-rw-r--r--prototypes/connections/results/2026-09-24-source-tui/core.json53
-rw-r--r--prototypes/connections/results/2026-09-24-source-tui/fixed-cli-tui-check.json14
-rw-r--r--prototypes/connections/results/2026-09-24-source-tui/fixed-cli-tui.tar.gzbin0 -> 31929 bytes
-rw-r--r--prototypes/connections/results/2026-09-24-source-tui/fixed-tui-profile.json21
-rw-r--r--prototypes/connections/results/2026-09-24-source-tui/pure-source-preview.tar.gzbin0 -> 318619 bytes
-rw-r--r--prototypes/connections/results/2026-09-24-source-tui/source-check.json13
-rw-r--r--prototypes/connections/results/2026-09-24-source-tui/source-cli-tui-check.json14
-rw-r--r--prototypes/connections/results/2026-09-24-source-tui/source-cli-tui.tar.gzbin0 -> 50942 bytes
-rw-r--r--prototypes/connections/results/2026-09-24-source-tui/tui-profile.json21
-rw-r--r--prototypes/connections/results/2026-09-24-source-tui/tui.json25
10 files changed, 161 insertions, 0 deletions
diff --git a/prototypes/connections/results/2026-09-24-source-tui/core.json b/prototypes/connections/results/2026-09-24-source-tui/core.json
new file mode 100644
index 0000000..63eb227
--- /dev/null
+++ b/prototypes/connections/results/2026-09-24-source-tui/core.json
@@ -0,0 +1,53 @@
+{
+ "passed": true,
+ "failures": [],
+ "budget": {
+ "profile": "current-storage-execution-core",
+ "max_text_bytes": 6144,
+ "max_data_bytes": 0,
+ "max_bss_bytes": 0,
+ "layout_max_bytes": {
+ "domain_bytes": 128,
+ "work_slot_bytes": 224,
+ "ticket_bytes": 24,
+ "prepared_program_bytes": 680
+ },
+ "archive_members": [
+ "runtime.o",
+ "evaluate.o"
+ ],
+ "external_symbols_allowed": [
+ "memcpy",
+ "memmove",
+ "memset",
+ "strlen"
+ ],
+ "scope": "Compact release object sections and C bookkeeping, without opt-in PURE_RUNTIME_METRICS, validated with GNU tools on Linux AArch64. Not total RAM, process RSS, stack, linked libraries, parser, storage, network or UI. 6 KiB is a regression ceiling for this profile, not a universal runtime size promise."
+ },
+ "layout": {
+ "domain_bytes": 128,
+ "work_slot_bytes": 224,
+ "ticket_bytes": 24,
+ "prepared_program_bytes": 680,
+ "pointer_bytes": 8
+ },
+ "sections": {
+ "text": 5908,
+ "data": 0,
+ "bss": 0
+ },
+ "members": [
+ "runtime.o",
+ "evaluate.o"
+ ],
+ "external_symbols": [
+ "memcpy",
+ "strlen"
+ ],
+ "size_output": " text\t data\t bss\t dec\t hex\tfilename\n 4988\t 0\t 0\t 4988\t 137c\truntime.o (ex /home/eunhhu/work/pure/prototypes/connections/build/libpure-execution.a)\n 920\t 0\t 0\t 920\t 398\tevaluate.o (ex /home/eunhhu/work/pure/prototypes/connections/build/libpure-execution.a)\n",
+ "archive_sha256": "bb5750a47f6f8ac4307dd633d836460d6045347880a6c53df9669e675e49929e",
+ "layout_binary_sha256": "04c008fb7e0b1ecc8435bce6fbc4478de6180a54da6538d8742acb9b51992fe3",
+ "budget_sha256": "e418419db6231305342ea8780149948e0e41e28b3afb937268e80b4695d3d5cd",
+ "platform": "Linux-6.18.39+rpt-rpi-2712-aarch64-with-glibc2.41",
+ "size_tool": "GNU size (GNU Binutils for Debian) 2.44"
+}
diff --git a/prototypes/connections/results/2026-09-24-source-tui/fixed-cli-tui-check.json b/prototypes/connections/results/2026-09-24-source-tui/fixed-cli-tui-check.json
new file mode 100644
index 0000000..49d2f70
--- /dev/null
+++ b/prototypes/connections/results/2026-09-24-source-tui/fixed-cli-tui-check.json
@@ -0,0 +1,14 @@
+{
+ "archive_sha256": "c0d600fd9b80a5bdeacb4c015d0050ddf3fde6f8a3ff1dd86905e3fcb681fd30",
+ "archive_bytes": 31929,
+ "selected_hosts": [
+ "pure-edit-fixed",
+ "pure-edit-tui-fixed"
+ ],
+ "checks": [
+ "relocated archive has only declared files and every file hash matches",
+ "relocated parser-free runner creates and restores a document",
+ "relocated parser-free runner performs revision-checked edits",
+ "relocated terminal editor saves UTF-8 and one MiB documents"
+ ]
+}
diff --git a/prototypes/connections/results/2026-09-24-source-tui/fixed-cli-tui.tar.gz b/prototypes/connections/results/2026-09-24-source-tui/fixed-cli-tui.tar.gz
new file mode 100644
index 0000000..e576af8
--- /dev/null
+++ b/prototypes/connections/results/2026-09-24-source-tui/fixed-cli-tui.tar.gz
Binary files differ
diff --git a/prototypes/connections/results/2026-09-24-source-tui/fixed-tui-profile.json b/prototypes/connections/results/2026-09-24-source-tui/fixed-tui-profile.json
new file mode 100644
index 0000000..1c5a451
--- /dev/null
+++ b/prototypes/connections/results/2026-09-24-source-tui/fixed-tui-profile.json
@@ -0,0 +1,21 @@
+{
+ "passed": true,
+ "failures": [],
+ "profile": "linux-aarch64-gcc14-fixed-document-terminal-editor",
+ "scope": "Release-linked optional POSIX terminal editor for one build-time prepared document app, including the bounded document browser. The raised text ceiling reviews its measured 2,541-byte addition; default CLI and core ceilings are unchanged. Excludes libc, terminal emulator, kernel TTY buffers, heap and stack. Whole-process RSS, including 1,024-key browsing, is checked by check_tui.py on the recorded Linux AArch64 host.",
+ "budget_sha256": "4d3097c9ec3c0139cbdd82161a74d610c15d31c6ee5625101410627664f925e7",
+ "platform": "Linux-6.18.39+rpt-rpi-2712-aarch64-with-glibc2.41",
+ "binaries": {
+ "pure-edit-tui-fixed": {
+ "sections": {
+ "text": 31999,
+ "data": 1036,
+ "bss": 24
+ },
+ "needed": [
+ "libc.so.6"
+ ],
+ "sha256": "45491c3e28193024d6eb77cbd6569ee8b7470d11ec4126ff4515dba116790308"
+ }
+ }
+}
diff --git a/prototypes/connections/results/2026-09-24-source-tui/pure-source-preview.tar.gz b/prototypes/connections/results/2026-09-24-source-tui/pure-source-preview.tar.gz
new file mode 100644
index 0000000..265a111
--- /dev/null
+++ b/prototypes/connections/results/2026-09-24-source-tui/pure-source-preview.tar.gz
Binary files differ
diff --git a/prototypes/connections/results/2026-09-24-source-tui/source-check.json b/prototypes/connections/results/2026-09-24-source-tui/source-check.json
new file mode 100644
index 0000000..e7569bb
--- /dev/null
+++ b/prototypes/connections/results/2026-09-24-source-tui/source-check.json
@@ -0,0 +1,13 @@
+{
+ "archive_sha256": "6134ff966d09c76134b921008d16b828a349b7031bdf029379de6eea9e745eaa",
+ "archive_bytes": 318619,
+ "source_files": 162,
+ "checks": [
+ "every extracted source file matches the manifest",
+ "clean C17 build and host-neutral behavior tests pass",
+ "source-loaded CLI and parser-free CLI share the real stored document",
+ "editing .pure changes the native source-loaded reply",
+ "clean Linux release behavior, code, dependency and RSS gates pass",
+ "clean source-loaded terminal editor PTY scenarios pass"
+ ]
+}
diff --git a/prototypes/connections/results/2026-09-24-source-tui/source-cli-tui-check.json b/prototypes/connections/results/2026-09-24-source-tui/source-cli-tui-check.json
new file mode 100644
index 0000000..1c3dd89
--- /dev/null
+++ b/prototypes/connections/results/2026-09-24-source-tui/source-cli-tui-check.json
@@ -0,0 +1,14 @@
+{
+ "archive_sha256": "6b2671f7e2faf91e96ec9c29d03f5087a1e66f26fbfcc93865700a22e90df9de",
+ "archive_bytes": 50942,
+ "selected_hosts": [
+ "pure-edit",
+ "pure-edit-tui"
+ ],
+ "checks": [
+ "relocated archive has only declared files and every file hash matches",
+ "extracted native CLI creates and restores the real document",
+ "editing the packaged .pure source changes the executed reply",
+ "relocated source-loaded TUI and CLI share UTF-8, large and many-document paths"
+ ]
+}
diff --git a/prototypes/connections/results/2026-09-24-source-tui/source-cli-tui.tar.gz b/prototypes/connections/results/2026-09-24-source-tui/source-cli-tui.tar.gz
new file mode 100644
index 0000000..0e2e38f
--- /dev/null
+++ b/prototypes/connections/results/2026-09-24-source-tui/source-cli-tui.tar.gz
Binary files differ
diff --git a/prototypes/connections/results/2026-09-24-source-tui/tui-profile.json b/prototypes/connections/results/2026-09-24-source-tui/tui-profile.json
new file mode 100644
index 0000000..348807d
--- /dev/null
+++ b/prototypes/connections/results/2026-09-24-source-tui/tui-profile.json
@@ -0,0 +1,21 @@
+{
+ "passed": true,
+ "failures": [],
+ "profile": "linux-aarch64-gcc14-source-document-terminal-editor",
+ "scope": "Optional source-loaded POSIX terminal editor for the same document app. Includes the runtime .pure parser and bounded document browser. Default core, fixed CLI and fixed TUI do not link the parser. These are Linux AArch64/GCC 14 section regression ceilings, not whole-process RAM; check_tui.py measures the selected whole process separately.",
+ "budget_sha256": "52df1c0a75119edbe0cfd75d6961c1713237146d44a26cd3b2ce096e4d80d624",
+ "platform": "Linux-6.18.39+rpt-rpi-2712-aarch64-with-glibc2.41",
+ "binaries": {
+ "pure-edit-tui": {
+ "sections": {
+ "text": 48604,
+ "data": 1084,
+ "bss": 24
+ },
+ "needed": [
+ "libc.so.6"
+ ],
+ "sha256": "e4fb890935f77a7b359163758ce4c44f3710d1a99130a7d883a4f7329a20a70d"
+ }
+ }
+}
diff --git a/prototypes/connections/results/2026-09-24-source-tui/tui.json b/prototypes/connections/results/2026-09-24-source-tui/tui.json
new file mode 100644
index 0000000..184936b
--- /dev/null
+++ b/prototypes/connections/results/2026-09-24-source-tui/tui.json
@@ -0,0 +1,25 @@
+{
+ "profile": "native-source-document-terminal-editor",
+ "checks": [
+ "source parse and incompatible definitions fail before store creation",
+ "source CLI and TUI read the same document",
+ "changed source field layout drives TUI input encoding",
+ "cursor insertion and save through terminal",
+ "open another key",
+ "bounded document browser selects keys and protects unsaved draft",
+ "UTF-8 codepoint movement, visible redraw and edit",
+ "resize redraw",
+ "external revision conflict preserves draft",
+ "stored multiline and tabbed document survives edit and reopen",
+ "cached viewport preserves vertical movement across many rows",
+ "one MiB document viewport, edit and fresh CLI restore",
+ "one MiB UTF-8 viewport and edit before cached anchor",
+ "1,024 real documents listed, searched, resized and opened within RSS gate",
+ "terminal mode restored after key and signal exit"
+ ],
+ "small_peak_rss_kib": 1856,
+ "one_mib_peak_rss_kib": 3216,
+ "one_thousand_key_list_peak_rss_kib": 1952,
+ "one_mib_peak_rss_limit_kib": 4096,
+ "binary_sha256": "e4fb890935f77a7b359163758ce4c44f3710d1a99130a7d883a4f7329a20a70d"
+}