| 1 | package control |
| 2 | |
| 3 | import "reasonix/internal/agent" |
| 4 | |
| 5 | // ContextMaintenanceSnapshot exposes current composition and the last durable |
| 6 | // maintenance receipt without conflating them with cumulative usage cost. |
| 7 | func (c *Controller) ContextMaintenanceSnapshot() agent.ContextMaintenanceSnapshot { |
| 8 | if c.executor == nil { |
| 9 | return agent.ContextMaintenanceSnapshot{} |
| 10 | } |
| 11 | return c.executor.ContextMaintenanceSnapshot() |
| 12 | } |
| 13 |