Context Tools
Context tools keep a local Nella session grounded in what has already changed, what assumptions are in play, and whether dependency drift or prompt-injection tr
Context tools keep a local Nella session grounded in what has already changed, what assumptions are in play, and whether dependency drift or prompt-injection trust issues need attention.
Tools
| Tool | Purpose |
|---|---|
nella_get_context | Return session context, dependency snapshot details, trust metadata, and the current heartbeat challenge. |
nella_add_assumption | Record an assumption and tie it to related files or glob patterns. |
nella_check_assumptions | Summarize valid and invalidated assumptions by type. |
nella_check_dependencies | Compare the current dependency state to the last snapshot. |
Shared Behavior
nella_add_assumption.relatedFilessupports exact paths and glob patterns. The core assumption tracker matches these withminimatch.nella_check_assumptionsreturnsisError: truewhen any recorded assumption has been invalidated.nella_check_dependenciesreturnsisError: truewhen it detects dependency changes.nella_get_contextis the entry point for the session trust chain: it returns the trust token, HMAC integrity guidance, and the heartbeat challenge used bynella_heartbeat.
Typical Flow
- Call
nella_get_contextto understand the current session. - Record assumptions with
nella_add_assumptionbefore making changes. - Re-check assumptions with
nella_check_assumptionsafter edits. - Run
nella_check_dependencieswhen package state may have changed.