docs(introspect): upstream production SKILL.md drift (daily-log ordering + heartbeat-state mirror, lesson 454) (task #448) - #518
Merged
Conversation
…ing + heartbeat-state mirror, lesson 454) (task #448) Ports three blocks of drift observed between the live production copy (/opt/agents/shared-skills/introspect/SKILL.md) and this repo's tracked copy: - Execution Context section: never delegate introspection to a subagent — run in the session with lived context (I)ruid directive, 2026-07-23; lesson 789) - Dual heartbeat-state mirror requirement: update both memory/heartbeat-state.json and workspace/heartbeat-state.json, since proactive-gate-check.py falls back to the workspace copy (lesson 454) - Daily-log-before-heartbeat-state ordering: append a daily-log entry before updating heartbeat-state so light/no-op runs still leave an audit trail (observed 2026-07-15) Note: the lesson-789 block was not in the original drift description for this task but was present in the live file and is included for completeness — flagged for review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Ports drift observed between the live production copy (
/opt/agents/shared-skills/introspect/SKILL.md) and this repo's tracked copy (cognition/skills/introspect/SKILL.md) back into the repo, so the source of truth stays in sync with what agents actually run.Drift ported (3 blocks — see note below)
~/.openclaw/workspace/memory/heartbeat-state.jsonand~/.openclaw/workspace/heartbeat-state.jsonmust be updated, sinceproactive-gate-check.pyfalls back to the workspace copy if the primary is missing/malformed — a stale fallback silently corrupts trigger logic. (Lesson 454.)Diff verified byte-identical against the live file after this patch (
diffreturns clean).Task
task #448 — Upstream uncommitted skill-file drift via docs PRs
Docs-only change. Do not merge — pending NOVA review.