Commit Graph
265 Commits
Author SHA1 Message Date
Raven Scott 0e3e5be329 Further Updates to MD 2026-04-25 23:15:49 -04:00
Raven Scott b9d3a8b17f Further MD Fixes 2026-04-25 23:04:56 -04:00
Raven Scott b07bc38708 MD Formatting fixes 2026-04-25 23:02:07 -04:00
Raven Scott 51b3b97bc0 Document that seeder remains the canonical MBR publisher while eligible booted peers can mirror block 0 and captured bare_os seed RPC snapshots for cold joiners.
Update onboarding, architecture diagrams, package docs, and glossary/FAQ language to keep trust boundaries and availability behavior consistent.
2026-04-25 21:32:19 -04:00
Raven Scott 95c60bb8bf Clear pending ghost suggestions before writing the submit newline so inline hints do not appear in scrollback as typed input.
Add a regression test for submitting `ls` when history suggests `ls /bin`.
2026-04-25 03:30:56 -04:00
Raven Scott 9a41136aea Login Security 2026-04-25 02:59:32 -04:00
Raven Scott 4846c534fd feat(terminal): align clear and fish TTY with xterm.js scrollback behavior
Add terminal-escapes.js with a canonical clear sequence (home, CSI 3J/2J,
SGR reset) and use it for fish ^L and fish-tty-repro. Match /bin/clear in
coreutils with the same sequence and a sync comment. Harden fish-readline
for bracketed paste, SS3/legacy CSI arrows, focus CSI, and common ~ keys;
widen stripAnsi CSI matching. Add brittle and coreutils tests for the
sequence and paste/focus/^L behavior.
2026-04-25 02:00:44 -04:00
Raven Scott 845e28f290 HS Updates 2026-04-24 09:05:52 -04:00
Raven Scott bdf4b02b82 HS Updates 2026-04-24 08:54:16 -04:00
Raven Scott b060f368f4 HS Updates 2026-04-24 08:39:22 -04:00
Raven Scott 54626ef873 booter: synthesize seed capabilities so more peers mirror MBR block 0
After a successful swarm boot, fill seedCapabilityInfo with stock
kernelCapabilityWords when the pre-MBR capabilities RPC was skipped,
failed, or lacked words, so peer system seed eligibility passes and
localRAM can serve block 0. Add BARE_OS_PEER_SEED_SYNTHETIC_CAPABILITIES
(opt-out) and BARE_OS_PEER_SEED_ADVERTISE_IMAGE_TIP_ID; document tip
propagation in env appendix, users manual, and handbook. Extend peer
seed tests.
2026-04-24 01:14:35 -04:00
Raven Scott 595a7d5910 Peer Seed Default 2026-04-23 21:26:28 -04:00
Raven Scott d744cfe104 Allow Verified Version Peers to help boots 2026-04-23 21:24:04 -04:00
Raven Scott 300f011f01 Remove logger 2026-04-23 20:49:38 -04:00
Raven Scott 80485468f0 feat(booter): ephemeral port fallback on EADDRINUSE
Retry listen(0)/bind(0) when the preferred port is taken, gated by
BARE_OS_BIND_FALLBACK (default on; set 0/false for strict bind).

- Add lib/bare-os-bind-fallback.js and use it from bare-os-www-initd and
  bare-openssh (including privilege-path + holesail actual port).
- POSIX socket bridge in index.js: TCP listen and UDP bind fallbacks.
- bare-holesail + bare-holesail-managed: retry Holesail ready(); persist
  resolved listen port in managed state when it changes.
- Add test.bare-os-bind-fallback.js.
2026-04-23 20:39:50 -04:00
Raven Scott 7a97138fc6 bareOsRunCurlCli / wget / openssl / ssh-keygen / sshd / tar / systemctl /
holesail called run*(ctx, argv) with the boot-time closure ctx, so work
done from SSH used the REPL console while Object.assign child ctx had the
PTY stream. Add exeCtxForStockCli() (prefer this when this.vfs is set) and
delegate stock CLIs through it.
2026-04-22 22:42:42 -04:00
Raven Scott 72a5f3f2b8 fix(booter): tolerate UTF-8 BOM in /lib/bare/bare-module-lock.json 2026-04-22 22:24:23 -04:00
Raven Scott 2cd72de061 feat(booter): default initd parallelism, cmdsubst, bin cache, telemetry NDJSON 2026-04-22 22:18:18 -04:00
Raven Scott 4fa8c14079 When the host leaves these unset, the booter now sets
BARE_OS_SHELL_STREAMING=1, BARE_OS_SHELL_STREAMING_MULT=2,
BARE_OS_PIPELINE_MAX_BYTES (512 MiB), and BARE_OS_PIPELINE_MAX_LINES
(2M) so the high-throughput ~512 MiB burst profile does not require
pre-launch exports.

Align getconf Tier-1 statics with those bases; note legacy rc.profile
exports; refresh handbook, environment appendix, cookbook, and
bare-os-booter CHANGELOG.
2026-04-22 22:09:58 -04:00
Raven Scott 9487e24ef3 Update Docs 2026-04-22 21:59:13 -04:00
Raven Scott 32446dfdef feat(booter): tune 1GiB-class hosts — pipeline ceilings, IPC/MQ, rlimits
Raise simulated pipeline absolute caps (defaults 512 MiB / 2 M lines) via
BARE_OS_PIPELINE_ABS_MAX_BYTES and BARE_OS_PIPELINE_ABS_MAX_LINES so large
BARE_OS_PIPELINE_MAX_* values take effect after streaming multiplier.

Copy missing host env into the guest (BARE_OS_IPC_MAX_CHANNELS, POSIX MQ
defaults, abs caps, BARE_OS_VFS_MAX_OPEN). Add aliases:
BARE_OS_STREAMING_MULTIPLIER → BARE_OS_SHELL_STREAMING_MULT,
BARE_OS_TIMER_BUDGET_MS → BARE_OS_EXEC_LINE_BUDGET_MS,
BARE_OS_TELEMETRY_OTEL=1 → default OTL JSONL path.

Extend POSIX mq_open defaults and maxmsg ceiling; mirror BARE_OS_VFS_MAX_OPEN
to RLIMIT_NOFILE in /proc/bare_os/rlimits.json.

Document the profile in the Pear cookbook and refresh pipeline limits in the
handbook; extend runtime caps env key list.
2026-04-22 21:54:42 -04:00
Raven Scott 463e482198 Update Docs 2026-04-22 21:11:28 -04:00
Raven Scott ff9a1f8888 OpenSSH Holesail 2026-04-22 21:01:08 -04:00
Raven Scott 790c95105e Remove Log Config 2026-04-22 20:54:49 -04:00
Raven Scott 23172a2616 Stabilize Keys on login 2026-04-22 20:48:16 -04:00
Raven Scott 638b1141e4 Updates 2026-04-22 20:40:39 -04:00
Raven Scott dd1003e3ae tests 2026-04-22 20:32:40 -04:00
Raven Scott d562c78ebb updates 2026-04-22 20:26:24 -04:00
Raven Scott c1fb344784 seed 2026-04-22 20:18:19 -04:00
Raven Scott 835de02ae5 tests 2026-04-22 20:06:18 -04:00
Raven Scott 45a8a3fde6 Tests 2026-04-22 19:48:28 -04:00
Raven Scott c8e6b3b6d4 Update 2026-04-22 19:42:52 -04:00
Raven Scott 24f1067330 Tests 2026-04-22 19:39:30 -04:00
Raven Scott c5256b9a0e Fixes 2026-04-22 19:31:00 -04:00
Raven Scott 59af2a3dbf Attempt 3 2026-04-22 19:17:59 -04:00
Raven Scott 1371a15314 Attempt 2 2026-04-22 19:11:53 -04:00
Raven Scott c4e60fd83e HS Fixes 2026-04-22 18:57:40 -04:00
Raven Scott bc22a0d63e Attempts to normalized Agent output when using OpenSSH Server 2026-04-22 17:11:42 -04:00
Raven Scott 50f90320f7 Continue resolve for www server 2026-04-22 16:00:34 -04:00
Raven Scott 594c9d2279 web server service detect sub directory index.html 2026-04-22 15:54:32 -04:00
Raven Scott faba92f8b1 More Mux Fixes 2026-04-22 06:38:52 -04:00
Raven Scott e4f28533cf changes - may reverse 2026-04-22 06:25:02 -04:00
Raven Scott 5ea2f6ebdf Fix Mux Pair 2026-04-22 05:48:24 -04:00
Raven Scott 200873ab41 simplify 2026-04-22 05:40:16 -04:00
Raven Scott 33e343a127 Test 2026-04-22 05:28:46 -04:00
Raven Scott 0dd2539f66 test fix 2026-04-22 05:22:21 -04:00
Raven Scott 2f53540b1e key persist 2026-04-22 05:15:53 -04:00
Raven Scott 3ee37febc8 Fixes 2026-04-22 05:09:01 -04:00
Raven Scott 2151550f3a Updates 2026-04-22 04:58:18 -04:00
Raven Scott 19b42d647f Updates 2026-04-22 04:47:24 -04:00