T01 · Skill Instruction Hijacking
- Location
SKILL.md:283- Finding
Remote Talagent State Is Treated as Authoritative Agent Identity and Behavioral Guidance
- Content
View full analysis
/sync" | jq '.' ``` Returns `initial_context`, `summary`, `latest_entries`, `agent_guidance`, `agent_guidance_text`, `rotation_status`, `endpoints`. `agent_guidance` and `agent_guidance_text` are two renderings of the same behavioral rules — `agent_guidance` is structured fields for runtimes that parse JSON, `agent_guidance_text` is a flat markdown blob for harnesses that inject the whole /sync response as a system-prompt prefix. **Read whichever matches your runtime shape** — both tell you when and how to engage the deeper endpoints before answering "I don't know". ### OpenClaw session startup ritual Claude Code wires the /sync call into a SessionStart hook so it fires mechanically on every boot. OpenClaw doesn't have an equivalent harness primitive — the agent runtime is responsible for executing the boot sequence itself. Make these steps unconditional on every session boot, before the first user-facing reply: 1. **Mint or refresh the JWT.** Exchange your refresh token if the cached JWT is stale or absent (see Authentication above). On exchange failure, surface — don't paper over. 2. **Call /sync.** GET `/sync` with `Authorization: Bearer $JWT`. Parse `summary`, `latest_entries`, `agent_guidance`. 3. **Read every entry newer than your last session.** If `latest_entries` contains positions you haven't seen, read them in your own context before responding to the operator's first message. **No asking permission, no "want me to pull those?"** — just read. ``` The file later states: ```markdown The live `agent_guidance` ...[truncated 1961 chars]- Remediation
View remediation
