CtrlK
BlogDocsLog inGet started
Tessl Logo

he-heartbeat

Create bounded Harness Engineering follow-up checkpoints, resume packets, stop conditions, and automation-safe handoff notes. Use when work must continue later without losing state or silently becoming autonomous execution.

53

Quality

60%

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Advisory

Suggest reviewing before use

Optimize this skill with Tessl

npx tessl skill review --optimize ./Plugins/harness-engineering/skills/he-heartbeat/SKILL.md
SKILL.md
Quality
Evals
Security

Harness Engineering Heartbeat

Philosophy

Continue only with a clear stop rule. Heartbeats should preserve context, wake the thread with fresh state, and keep scheduling separate from HE lifecycle ownership.

When to Use

Use when monitoring, wakeups, until-green loops, or follow-up automation is requested.

Inputs

Target thread/workspace, cadence, stop condition, issue/PR/check links, optional active thread goal.

Outputs

Return schema_version when structured. Heartbeat prompt, status, stop rule, next_invocation, subagent_policy, slack_policy, blackboard_delta, and next user-visible update.

Procedure

  1. Prefer a thread heartbeat for this conversation.
  2. Encode cadence, destination, stop criteria, live checks, and the next visible update.
  3. Search for an existing matching heartbeat before creating a duplicate.
  4. When /goal is active or requested, keep the goal as the persistent objective and the heartbeat as the scheduler.
  5. For GitHub PR sweeps, identify the PR set, re-check GitHub truth, inspect CircleCI/job logs, and inspect CodeRabbit/Codex review threads.
  6. Route each wake-up to the smallest safe he-code-review or he-work follow-up.
  7. Use git-project-triage only when it is available in the Codex agent manifest; otherwise continue inline and report the delegation gap.

Validation

Fail fast: stop at the first failed gate and do not proceed. Confirm schedule, destination, and safe prompt scope.

Failure mode

If required evidence, Linear linkage, or next-stage routing is missing, stop and return the blocker with the smallest recovery step.

Execution Boundaries

Heartbeats schedule wakeups and checks. Do not use a heartbeat prompt as authority to merge, deploy, close trackers, or perform destructive actions. For direct-handle use, apply the OpenAI-style design contract: classify the strongest side effect and separate read-only analysis, artifact writes, repo edits, external updates, destructive actions, and completion-gating recommendations before proceeding.

Gotchas

  • Duplicate automations create noisy state and must be avoided.
  • A stop rule is mandatory before scheduling.

Constraints

Redact secrets; do not create cron workarounds for short thread follow-up. Apply the context-disposition policy: move important still-valid context to references, and intentionally discard stale, duplicated, unsafe, superseded, or low-signal text. Keep scope tight: start with 2-3 focused surfaces and expand only when the next heartbeat needs more context.

Anti-Patterns

  • Creating duplicate wakeups for the same PR, issue, or thread.
  • Running without an explicit stop condition or next visible update.
  • Using a heartbeat prompt or /goal objective as a replacement for Linear, PR, validation, or lifecycle exit evidence.
  • Scheduling unattended destructive actions, merges, deploys, or tracker closure without explicit approval.

Examples

  • "Inspect PR 154 every 30 minutes in this thread until CI is green or a blocker appears."
  • "Keep watching JSC-246 after the merge queue starts and wake this thread with the next required action."
  • "Rotate across the open coding-harness PRs with GitHub, CircleCI, CodeRabbit, and Codex comments; use git-project-triage when available, wake every 30 minutes, and stop only once the PRs are green, merged, or explicitly blocked."

References

  • OpenAI-style plugin design: Infrastructure/references/openai-style-plugin-design-contract.md
  • Shared subagent call policy: Plugins/harness-engineering/references/subagent-call-contract.md
  • Deferred context index: Plugins/harness-engineering/references/deferred-context-index.md
  • Goal continuity: Plugins/harness-engineering/references/goal-continuity.md
  • Pragmatic operating invariants: Plugins/harness-engineering/references/pragmatic-operating-invariants.md
  • XP operating contract: Plugins/harness-engineering/references/xp-operating-contract.md
Repository
jscraik/Agent-Skills
Last updated
Created

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.