Skip to content

Update README with Node.js requirements and fix packaging - #25

Closed
joelteply wants to merge 2 commits into
mainfrom
fix/dependabot-conflicts
Closed

joelteply wants to merge 2 commits into
mainfrom
fix/dependabot-conflicts

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

Summary

This PR addresses several issues with the repository documentation and configuration:

  • Updates README with Node.js 18+ requirements
  • Adds better installation instructions
  • Renames .github/README.md to WORKFLOWS_README.md to avoid confusion with the main README
  • Updates CI workflow configuration
  • Fixes cross-platform regex compatibility

Test plan

  1. Verify README contains correct information
  2. Ensure package-lock files are consistent
  3. Confirm CI workflow runs correctly

These changes improve the documentation and fix several configuration issues.

🤖 Generated with Claude Code

Copilot AI review requested due to automatic review settings April 9, 2025 04:27

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

Files not reviewed (1)
  • examples/package-lock.json: Language not supported
Comments suppressed due to low confidence (1)

README.md:24

  • The Node.js requirement line includes a stray '-' character. Consider removing the '-' for clarity.
+- Node.js 18.0.0 or higher

@joelteply
joelteply enabled auto-merge April 9, 2025 04:28
@joelteply joelteply closed this Apr 9, 2025
auto-merge was automatically disabled April 9, 2025 04:29

Pull request was closed

@joelteply
joelteply deleted the fix/dependabot-conflicts branch April 9, 2025 04:29
joelteply added a commit that referenced this pull request Jun 19, 2026
…iles (#1682)

* docs(arch): modular decomposition blueprint — composable service profiles

The modular architecture worked out, grounded in the EXISTING seam (BootMode +
ModuleCategory + required_modules + route_command + ServiceModule registry) so
it's refinement, not rewrite — the monolith is just one process registering all
~40 modules. "A good AWS template": declare which service-groups a node runs;
each independently health-checked, restartable, testable; composed over the bus.

Captures:
- Refined ModuleCategory taxonomy (7 service groups: RuntimeShell, ResourceGov,
  Inference, Cognition, Forge, GridTransport, Live) replacing the coarse
  Core/PersonaHosting blob.
- CO-LOCATION CONSTRAINTS (placement groups): Bevy render + LiveKit SFU + GPU
  MUST share a VM — avatar frames are a GPU-readback→framebuffer→WebRTC transfer
  that a process/network boundary would force off-GPU every frame. ResourceGov
  co-resides with its hardware; Inference's boundary is unsloth's /v1 wire.
- Per-service health / supervised restart / independent test (the testability
  win; reuses ServiceModule health + the 3-strike quarantine).
- Container layout mirrors the profiles (light citizen nodes + shared GPU
  engine/live/forge nodes), cross-process routing via the existing bus.
- 6-slice build plan; guardrails per CONCURRENCY-STYLE-GUIDE (no parallel
  orchestrator; FullCitizen still hosts all in one process — decomposition is
  optional placement, not forced fragmentation).

Consolidates live findings #25 (decompose), #26 (degrade-not-panic), #27
(intra-machine addressing). Referenced from ARCHITECTURE-INDEX quick-nav.

Co-Authored-By: Claude Opus 4.8 <[email protected]>

* docs(arch): §9 — decomposition IS the grid (profiles are grid roles)

The profiles ARE grid roles (same binary, different service composition);
compute-leasing = a service group on another node over route_command;
per-service healing; independent scaling. The grid is the module graph placed
across machines — not a layer bolted on. Captures Joel's framing.

Co-Authored-By: Claude Opus 4.8 <[email protected]>

---------

Co-authored-by: Claude Opus 4.8 <[email protected]>
joelteply added a commit that referenced this pull request Sep 27, 2026
joelteply added a commit that referenced this pull request Sep 27, 2026
…breakdown (card 27fe9f8b, unblocks #4396) (#4459)

* fix(serving): an adopted lane's footprint is read from the engine's own allocation report (/props memory_breakdown) — card 27fe9f8b

On the 5090 the serving daemon logged "the lane's footprint could not be read" every minute: on a
discrete GPU the only source was the device delta across the launch, and an adopted lane has no
spawn baseline (WDDM attributes VRAM to no process, so a process read is not a fallback). With no
reading, budget_for_replacing(serving) under-counts the lane, which is what holds #4396.

- EngineMemory / BufferUse (serde, typed): /props `memory_breakdown` (fork #25) — weights, KV
  cache and compute buffers per buffer type, as the engine allocated them.
- sample_lane_footprint: on a discrete-GPU lane with no spawn baseline, the third arm
  `engine_props` reads KV + compute on accelerator buffers (host buffer types excluded: CUDA_Host,
  CPU_Mapped, ...). Bounded 500 ms localhost read, only on the sampler's interval. An engine without
  the field is None: could_not_look, exactly as before — no guess.

Test: engine_memory_counts_kv_and_compute_on_accelerators_only (the 1.5B's real /props numbers).
weight_residency + serving_daemon: 93/93.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc

* fix(serving): device footprint readings do not subtract the host prompt cache; engine_beyond_weights sits above its neighbour's doc (Fable + Cormac on #4459)

--cache-ram is host RAM: only the process reading contains it. device_delta and engine_props never
saw it, so subtracting it undercounted the per-token cost or retired the record every minute.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc

* chore(llama): pin 9733aca6c — the validated trunk 7772f3f9f plus fork #25 (/props memory_breakdown), so the next continuum install builds the engine this PR reads

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
joelteply added a commit that referenced this pull request Nov 14, 2026
…ds, verbs once, allot without a retry loop (review of #5985)

Review findings (js-shaped-rust-2026-11-14 #8 #9 #10 #25 #27 #28):
- ThoughtRecord.body is ThoughtBody { Resident { text, saved }, Shed { handle, chars: NonZeroUsize } };
  the empty-message fallback is gone. The checkpoint wire shape is unchanged (serde try_from/into),
  and an unreadable checkpointed thought is dropped with a probe, never failing the checkpoint.
- A thought's item key is its ElementId (Item::occurrence, ElementId::key); the fold names the count
  and the newest saved whole.
- OpenView.work is ViewWork { Seen, Read(KeptRead), Editing { read, edited } }: an edit without a
  kept read cannot be represented. The edited path comes from CodeEditParams / CodeWriteParams.
- ActSeq and ThoughtOccurrence newtypes; ActionRecord.verbs classed once at the act seam.
- allot: the first suffix of her work in hand whose floor fits (Floors), one walk, no remove(0) loop.

#26 (one lock for WorkingMemory, CheckoutRoot scope) is left for its own change: scope is persisted on
three record types and WorkingMemory holds ~20 locks.

Not compiled locally (the M5 is serving); CI is the compiler.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply added a commit that referenced this pull request Nov 14, 2026
… note on each edit stay whole (cards a386374b, 89655d88) (#5985)

* Her work in hand survives a turnover: the file she is editing and her note on each edit stay whole (cards a386374b, 89655d88)

Aris on the M5, 2026-11-14 00:24:45Z and 00:28:27Z: two overflow turnovers (view 51,438 tokens over a
50,808 grant; 45,606 over 42,348) collapsed the 849-line deploy_actuator.rs she was editing to its
outline and her "item 4 is done" note to its head and tail. She read the file again after each
(7 reads 00:24-00:36Z, no edit) and re-checked item 4 in 5 acts after it was done.

The codec gets one datum, Item::in_hand: a start keeps such an item whole while its source's grant
holds it beside the rest at their floor (oldest given up first, charged like any item), the claim's
newest end counts it, depth never collapses it, and the oldest run folds around it. Her memory marks
it from typed state: an applied edit/write of a file she has open (OpenView::edited_seq) keeps its
whole read (KeptRead: a whole read is never replaced by a later region), and the first thought after
each edit's result is her note. The memory owner never releases acts from that read on.

Not compiled locally (the M5 is serving); CI is the compiler.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* Her work in hand, typed: thought bodies, view work, act and thought ids, verbs once, allot without a retry loop (review of #5985)

Review findings (js-shaped-rust-2026-11-14 #8 #9 #10 #25 #27 #28):
- ThoughtRecord.body is ThoughtBody { Resident { text, saved }, Shed { handle, chars: NonZeroUsize } };
  the empty-message fallback is gone. The checkpoint wire shape is unchanged (serde try_from/into),
  and an unreadable checkpointed thought is dropped with a probe, never failing the checkpoint.
- A thought's item key is its ElementId (Item::occurrence, ElementId::key); the fold names the count
  and the newest saved whole.
- OpenView.work is ViewWork { Seen, Read(KeptRead), Editing { read, edited } }: an edit without a
  kept read cannot be represented. The edited path comes from CodeEditParams / CodeWriteParams.
- ActSeq and ThoughtOccurrence newtypes; ActionRecord.verbs classed once at the act seam.
- allot: the first suffix of her work in hand whose floor fits (Floors), one walk, no remove(0) loop.

#26 (one lock for WorkingMemory, CheckoutRoot scope) is left for its own change: scope is persisted on
three record types and WorkingMemory holds ~20 locks.

Not compiled locally (the M5 is serving); CI is the compiler.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

* Her thought log drains through her view's fold edge, as her action log does

The resident-bounds ratchet requires a touched thought_log.rs to end with no store that only grows.
At each start, thoughts up to the thoughts source's fold edge whose wholes are saved leave her log
(and her checkpoint); a thought held only in RAM and her note on an edit in hand stay, and the view
forgets the released ids. A thought's view key comes from one owner (Thoughts::key_of).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants