Commit Graph
202 Commits
Author SHA1 Message Date
Raven Scott d3001aba9c Updates 2026-04-26 16:12:58 -04:00
Raven Scott 2dc388ffd0 Updates 2026-04-26 15:49:55 -04:00
Raven Scott 4cdd1569af sh: add POSIX-like -c support and complete shell subset gaps
Implement sh -c COMMAND [NAME [ARG...]] in /bin/sh, add shell function
declarations/invocation support, expand export semantics (NAME, NAME=value, -p),
and make until/loop-control behavior available by default. Add focused shell
tests and update sh man-page option docs.
2026-04-26 15:28:29 -04:00
Raven Scott 194fbd2c67 fix(swarmtop): expose and render full peer identity/details from proc surfaces 2026-04-26 08:02:37 -04:00
Raven Scott 8c3d5f8795 feat(p2p): introduce shared p2p transport/service stack and launch swarmtop, meshdrop, taskmesh, peernote, and hypershell-board 2026-04-26 07:48:55 -04:00
Raven Scott b1736b7a7a booter: apply 20-point Holepunch resilience and observability upgrades
add grouped retry orchestration, duplicate arbitration hardening, and transport-aware peer scoring
expand IPC with readiness gates, soft backpressure, request deadlines, batching, and method circuit-breakers
strengthen worker/control-plane lifecycle via idempotent termination, orphan detection, and liveness checkpoint helpers
improve lifecycle correctness with state-machine + transactional hook infrastructure and adaptive quiesce utilities
enrich operator surfaces/tests for degraded readiness, crash-safe telemetry patterns, and contract-level regressions
2026-04-26 07:22:31 -04:00
Raven Scott dcf07fbaa0 booter: harden lifecycle and IPC; add richer swarm/process observability
add deterministic connection arbitration, reconnect gating, and localhost multi-address fallback
introduce IPC request/response correlation, soft backpressure thresholds, readiness waits, and batch sends
add lifecycle state machine + transactional suspend/resume hooks + replication quiesce helper
enrich process/job lifecycle phases and add close/crash journaling hooks
extend metrics live surface with degraded readiness and aggregate pressure views
2026-04-26 07:15:34 -04:00
Raven Scott d95c135dd9 booter updates 2026-04-26 07:05:24 -04:00
Raven Scott 47da0b8531 normalize initd state modeling and stabilize synthetic initd PID mapping
add IPC backpressure/drop telemetry and jittered swarm retry tiers
harden socket bridge timeout/lifecycle handling and replace recv polling with readiness signaling
improve shell background child isolation and worker offload fallback/output diagnostics
add var-log fast append path to reduce read-concat-write amplification
2026-04-26 06:57:07 -04:00
Raven Scott dfcd36dc58 /proc/bare_os/initd_readiness.json schema 2 2026-04-26 06:44:02 -04:00
Raven Scott 09f164b8de Change how login works 2026-04-26 06:19:47 -04:00
Raven Scott 30e6cfc2ff Updates 2026-04-26 05:48:11 -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 72a5f3f2b8 fix(booter): tolerate UTF-8 BOM in /lib/bare/bare-module-lock.json 2026-04-22 22:24:23 -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 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 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