Repository navigation
feat(instance): enforce local-only fixture network boundary - #6279
Conversation
agent-identity: agent/dotfiles/fractal-product-lead agent-persona: generalist agent-supervisor: unavailable agent-tool: OMP agent-tool-version: 18.12.5 agent-runtime: OMP 18.12.5 agent-model: openai-codex/gpt-6.1-sol
|
Final local verification: kernel config:: test command against the corrected full source stack at 8491d22 was NOT RUN: gate-slot exited 94 after its 1800-second admission wait, with host disk-floor blocking. API/peer tests are NOT RUN; no pass claimed. The local-only release fragment passed scripts/release_notes.py validate(). Required store/socket allowlist correction is in dependent #6281; source acceptance needs the complete corrected stack. No live instance operations or CI reruns performed. Posted on behalf of @schickling
|
|
Exact-head local proof at 54827ba: admitted gate-slot ticket on dev5 (build, disk=cargo-cold, max-wait10800), terminal exit0. Posted on behalf of @schickling
|
|
FPL source GO for #6279 at head 54827ba. Reviewed:
Verification: one dev5 gate-slot ticket at this exact head, exit 0. Results: config::local_only 3/3, peer local_only 2/2, API local_only 2/2, replication guard 8/8. Non-blocking follow-up (P3): the middleware uses a deny list of path prefixes. A future peer route outside those prefixes would not be covered. Please add an allow-list or a route-registry test later. No mergemaster-moved paths are touched. Compounding Manager lands it; #6281 follows separately. Posted on behalf of @schickling
|
Register only test include site lv-hc95cad153008, owner fractal_api_core::api::legacy_handler_guard_tests, TODO trace-statement-and-value-representation. Approved by agent/dotfiles/fractal-product-lead. No generator drift was present: genie-freshness failed on the public repository path guard; linux-gate collected the Clippy unused-import and route-family registry failures. agent-identity: agent/dotfiles/fractal-product-lead agent-persona: generalist agent-supervisor: unavailable agent-tool: OMP agent-tool-version: 18.12.5 agent-runtime: OMP 18.12.5 agent-model: openai-codex/gpt-6.1-sol
|
FPL delta GO for #6279 at head 68388eb (parent 54827ba, which has my source GO). The delta is test and inventory only:
No production changes. Condition: hosted CI is green at this exact head. Compounding Manager lands it. Posted on behalf of @schickling
|
Problem
The reserved isolated fixture instance must not accidentally join a fleet, replicate data or relay requests to normal peers.
Goal
Fail closed for client-control-fixture and expose machine-readable local-only health evidence.
Decisions
An immutable reserved-instance policy recognizes selected instance identity and reserved state paths. Reject stale network configuration, fleet CLI actions and replication-worker startup; reject internal fleet, replication and relay routes before parsing or store effects; deny outbound peer reads. Health reports network_policy mode and all three prohibited capabilities. Existing default instances stay fleet-capable.
Verification
Added typed refusal, config, inbound routing, outbound relay and health tests. Local focused check pending admission; no success claimed. No setup, apply, daemon restart, exposure, pairing, enrollment or grant was performed.
Complexity
One policy module owns operation-to-refusal mapping and is reused by configuration and runtime boundaries.
Concerns
Reserved instance identity deliberately cannot opt back into fleet behavior. Stacked after #6275 for review sequencing; implementation independently revertible. Native session-home work excluded. No held paths changed.
Friction & bottlenecks
Focused checks use shared build admission; no runtime measurements.
Follow-ups
Live fixture acceptance and all effectful setup remain pending their own gates.
References
See #6275 for real-web routing source tests.
Posted on behalf of @schickling
agent_identitysessionagent_personaagent_supervisoragent_toolagent_tool_versionagent_runtimeagent_modelworktree