Skip to content

CoreScope 0.13.0

Choose a tag to compare

@github-actions github-actions released this 22 Oct 18:32
· 3 commits to main since this release
fbcf329

Changed

  • The capacity gate admits or refuses at once instead of holding commands. The hook decides
    within 5 seconds: the command runs, or the agent reads why, the numbers and what to do; if
    CoreScope cannot decide in time the command runs and the failure is recorded. Blockers are
    transient (CPU, memory pressure: wait with wait_for_capacity) or structural (a full
    container VM, a container at its limit or stopped: do what it says; waiting won't help).
  • Each heavy command says what it uses: a plain prefix runs on the Mac (CPU and memory);
    {command, uses: [cpu, memory, containers], containers: [...], weight} also checks the container
    VM and the containers it loads (running, below 90% of their own limit). Default PHP suites and
    Docker commands use containers. Existing .corescope.yml files keep working.

Added

  • Admission queue shared by every session: admitted commands count as running while their
    processes live; at most max_parallel (by weight, default 2) at once, one heavy command per
    container, staggered admissions, earlier commands first; places expire when a session stops
    asking or ends. MCP reserve_capacity, release_capacity, capacity_events; system_capacity
    and wait_for_capacity take the command. The Agents page shows the queue with Run now and the
    latest decisions.
  • corescope capacity-advice / MCP capacity_advice: reads the container VM and the
    project's containers (limits, use, missing limits, limits larger than the VM) and proposes the
    wait_for_capacity rule with what each heavy command loads.

Fixed

  • Explicit waits that never end: wait_for_capacity stops at once on a structural blocker, and
    when max_wait_minutes passes it says not to run the command (instead of "go ahead").

Commits since v0.12.1

  • feat(capacity): admission queue for heavy commands instead of a gate that holds them (817c0ba)
  • chore(release): 0.13.0 (6865b49)

Full diff: v0.12.1...v0.13.0

Install

  1. Download CoreScope-0.13.0-macos-universal.dmg below (universal: Apple Silicon and Intel, macOS 14+).
  2. Open the DMG and drag CoreScope to Applications.
  3. The app is open source and signed ad hoc, not notarized by Apple, so macOS blocks it the first time. Open it once, then go to System Settings → Privacy & Security and click Open Anyway. Alternatively, in Terminal:
    xattr -dr com.apple.quarantine /Applications/CoreScope.app

The Intel slice is built and checked on every release but has not yet been run on an Intel Mac; reports are welcome.

Checksums (SHA-256)

3e77636d1822ac4113deb10b5518195dfc957c2dd4c90af68b2469882397dfe5  CoreScope-0.13.0-macos-universal.dmg
aeb791a3706874441e1629ff95f82b2854c9bfc336be543b78343499fcf812d2  CoreScope-0.13.0-macos-universal.zip

Verify with shasum -a 256 -c SHA256SUMS.txt in the download folder.