Skip to content

chore: move flared to a private repository - #134

Merged
getappz merged 1 commit into
masterfrom
chore/extract-flared-private
Jul 11, 2026
Merged

chore: move flared to a private repository#134
getappz merged 1 commit into
masterfrom
chore/extract-flared-private

Conversation

@getappz

@getappz getappz commented Jul 11, 2026

Copy link
Copy Markdown
Owner

flared continues development in a separate private repo while we
evaluate it; the MCP integration is unaffected (it reaches flared over
HTTP only). agentflare-artifacts stays here — flared consumes it from
crates.io.

Summary by CodeRabbit

  • Removal
    • Removed the flared supervisor application from the workspace.
    • Removed its command-line interface, background monitoring, process scanning, lease management, registry checks, artifact pages, event logging, and service setup features.
    • Existing flared commands and related HTTP endpoints are no longer available.

flared continues development in a separate private repo while we
evaluate it; the MCP integration is unaffected (it reaches flared over
HTTP only). agentflare-artifacts stays here — flared consumes it from
crates.io.
@coderabbitai

coderabbitai Bot commented Jul 11, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 5ee36665-c9ba-48e8-9195-ed4cb5e4fd28

📥 Commits

Reviewing files that changed from the base of the PR and between 6d1b85f and 07f9943.

⛔ Files ignored due to path filters (1)
  • Cargo.lock is excluded by !**/*.lock
📒 Files selected for processing (17)
  • Cargo.toml
  • crates/flared/Cargo.toml
  • crates/flared/src/actions.rs
  • crates/flared/src/artifacts.rs
  • crates/flared/src/config.rs
  • crates/flared/src/daemon.rs
  • crates/flared/src/events.rs
  • crates/flared/src/http.rs
  • crates/flared/src/janitor/lean_ctx.rs
  • crates/flared/src/janitor/mod.rs
  • crates/flared/src/leases.rs
  • crates/flared/src/lib.rs
  • crates/flared/src/main.rs
  • crates/flared/src/model.rs
  • crates/flared/src/policy.rs
  • crates/flared/src/scanner.rs
  • crates/flared/src/service.rs
💤 Files with no reviewable changes (16)
  • crates/flared/Cargo.toml
  • crates/flared/src/service.rs
  • crates/flared/src/artifacts.rs
  • crates/flared/src/main.rs
  • crates/flared/src/events.rs
  • crates/flared/src/http.rs
  • crates/flared/src/scanner.rs
  • crates/flared/src/leases.rs
  • crates/flared/src/janitor/mod.rs
  • crates/flared/src/janitor/lean_ctx.rs
  • crates/flared/src/lib.rs
  • crates/flared/src/actions.rs
  • crates/flared/src/config.rs
  • crates/flared/src/daemon.rs
  • crates/flared/src/policy.rs
  • crates/flared/src/model.rs

📝 Walkthrough

Walkthrough

The flared crate is removed from the Cargo workspace, including its package metadata, CLI, supervisor modules, HTTP surface, persistence, scanning, policy, and service functionality.

Changes

Flared crate removal

Layer / File(s) Summary
Workspace exclusion and crate deletion
Cargo.toml, crates/flared/...
The workspace no longer lists crates/flared, and the crate’s implementation and package metadata are removed.

Estimated code review effort: 5 (Critical) | ~90+ minutes

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description explains the move, but it omits the required Summary, Test plan, and Notes for reviewers sections. Add the template sections with a Summary, test plan checklist, and reviewer notes covering risks and backward compatibility.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely summarizes the main change: moving flared to a private repository.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/extract-flared-private

Comment @coderabbitai help to get the list of available commands.

@getappz
getappz merged commit c09b89d into master Jul 11, 2026
13 of 15 checks passed
@getappz
getappz deleted the chore/extract-flared-private branch July 11, 2026 07:25
getappz pushed a commit that referenced this pull request Aug 29, 2026
…atch teardown

Sandboxed headless opencode runs mount ~/.local/share/opencode via bwrap's
--tmp-overlay, which discards every write -- including opencode's own
tool-call/session log -- the moment the sandboxed process exits, leaving a
failed dispatch with only a short stdout/stderr tail to diagnose from
(items #132/#134).

AgentStateMount gains an optional diagnostic_log field; when set and a
diagnostic_out path is supplied, the sandboxed invocation is rewritten into
a small sh wrapper that periodically snapshots a bounded tail of that log
to a real, host-persistent path for as long as the command runs -- not
just once at the end, since kill_tree's SIGKILL to the whole process group
(the idle-timeout path that motivated this) would otherwise kill the
wrapper before a single post-exit tail ever ran. run_headless reads and
always deletes that file after the child exits, folding its content into
the existing failure diagnostics on timeout/non-zero-exit.

Scoped to opencode (the confirmed failure case); the mechanism generalizes
to other agents without further plumbing changes.

Agentflare-Agent: claude-code
Agentflare-Branch: task/139-sandboxed-headless-opencode-claude-dispa
Agentflare-Item: 139
Agentflare-Session: a675d29a-e8e4-4576-8cb7-88dadc42f966
getappz pushed a commit that referenced this pull request Aug 31, 2026
…atch teardown

Sandboxed headless opencode runs mount ~/.local/share/opencode via bwrap's
--tmp-overlay, which discards every write -- including opencode's own
tool-call/session log -- the moment the sandboxed process exits, leaving a
failed dispatch with only a short stdout/stderr tail to diagnose from
(items #132/#134).

AgentStateMount gains an optional diagnostic_log field; when set and a
diagnostic_out path is supplied, the sandboxed invocation is rewritten into
a small sh wrapper that periodically snapshots a bounded tail of that log
to a real, host-persistent path for as long as the command runs -- not
just once at the end, since kill_tree's SIGKILL to the whole process group
(the idle-timeout path that motivated this) would otherwise kill the
wrapper before a single post-exit tail ever ran. run_headless reads and
always deletes that file after the child exits, folding its content into
the existing failure diagnostics on timeout/non-zero-exit.

Scoped to opencode (the confirmed failure case); the mechanism generalizes
to other agents without further plumbing changes.

Agentflare-Agent: claude-code
Agentflare-Branch: task/139-sandboxed-headless-opencode-claude-dispa
Agentflare-Item: 139
Agentflare-Session: a675d29a-e8e4-4576-8cb7-88dadc42f966
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.

1 participant