FeedAkış

Open, portable, evidence-driven resources for AI agents. Inspect the source, check the verification level, and adopt only what earns its place.

Yapay zekâ ajanları için açık, taşınabilir ve kanıt odaklı kaynaklar. Kaynağı incele, doğrulama seviyesini gör ve yalnızca işine yarayanı kullan.

Published catalogYayın kataloğu68 catalog releaseskatalog yayını142 MIT source filesMIT kaynak
GitHub ↗JSON ↗LLMs.txt ↗

Bounded task recovery

Ordered six-stage recovery workflow (`INSPECT_LIVE_STATE -> RECONCILE_SUMMARY -> RESTORE_CONSTRAINTS -> REVALIDATE_AUTHORITY -> EXECUTE_NEXT_SLICE -> CHECKPOINT`) for resuming interrupted tasks.

VersionSürüm
0.1.0-draft
MaturityOlgunluk
drafttaslak
LicenseLisans
MIT
AuthorsYazarlar
Mete Avcı, Me the Tech
VerificationDoğrulama
passing (L1/L2)başarılı (L1/L2)
Disclosure classYayın sınıfı
PUBLIC-PRACTICE

bounded-task-recovery.md

markdown59 linessatır2.5 KB

SHA-256 · 1691d3d163b8…GitHub ↗

Bounded task recovery

Family: Workflow Disclosure class: PUBLIC-PRACTICE Maturity: Draft

Use this workflow to safely resume an interrupted, context-compacted, or handed-off engineering task without losing constraints, repeating failed attempts, or clobbering partial work.

Flow

INSPECT_LIVE_STATE -> RECONCILE_SUMMARY -> RESTORE_CONSTRAINTS -> REVALIDATE_AUTHORITY -> EXECUTE_NEXT_SLICE -> CHECKPOINT

Each transition depends on observable state, not assumed continuity.

1. INSPECT_LIVE_STATE

Read authoritative artifacts before reading long chat history:

  • exact repository, branch/revision, git status, and current diffs;
  • recent test outputs, build artifacts, and durable operation receipts;
  • any open handoff packet or issue notes.

Stop immediately if target identity is ambiguous.

2. RECONCILE_SUMMARY

Compare the compressed summary or handoff against live reality:

  • separate what actually landed and passed verification from what was only proposed, queued, or partially applied;
  • classify leftover TODOs or dirty files as still valid, superseded, duplicate, blocked, or obsolete;
  • reconcile any unknown outcome of an earlier non-idempotent operation before considering a retry.

3. RESTORE_CONSTRAINTS

Explicitly reload constraints that compaction commonly drops:

  • user prohibitions, read-only limits, untouched paths, and no-deploy rules;
  • protected pre-existing invariants that must not regress;
  • prior failed attempts and observed error causes so dead ends are not repeated;
  • concrete wake conditions for any waiting or externally blocked item.

4. REVALIDATE_AUTHORITY

Confirm that current permissions, tool availability, and user intent still match the plan. Never inherit approvals, leases, or credentials from a previous session. If user intent changed during the pause, narrow or supersede the old plan cleanly.

5. EXECUTE_NEXT_SLICE

Perform one concrete, bounded, verifiable step aligned with the current goal and constraints, then verify the actual postcondition.

6. CHECKPOINT

If work remains incomplete or context nears limits again, emit a fresh handoff using context-handoff capturing updated evidence, constraints, failures, wake conditions, and one exact next action.

Stop conditions

Stop and ask the owner rather than improvising when live state contradicts the handoff on an irreversible action, target identity is unresolved, or required permissions are absent.

MIT · Exact native bytes from methetech/feed · Copy or download does not install a multi-file package.

MIT · methetech/feed deposundaki birebir dosya · Kopyalama veya indirme çok dosyalı bir paketi kurmaz.

Try it yourself (Feed Labs)Kendi ajanında dene (Feed Labs)

Export blinded scenarios without descriptive IDs or expected answers, then compare your assistant without vs. with this artifact loaded:

Açıklayıcı kimlikler ve beklenen cevaplar gizlenmiş kör senaryoları dışa aktarıp kendi asistanında bu kaynak olmadan ve bu kaynakla karşılaştırma yap:

python -B scripts/eval_review.py --blind bounded-task-recovery

Usage guideKullanım rehberi

Ordered six-stage recovery workflow (INSPECT_LIVE_STATE -> RECONCILE_SUMMARY -> RESTORE_CONSTRAINTS -> REVALIDATE_AUTHORITY -> EXECUTE_NEXT_SLICE -> CHECKPOINT) for resuming interrupted tasks.

Best for: Picking up paused PRs, compacted agent sessions, or multi-day incidents without repeating dead ends or breaking active prohibitions. When not to use: Skip on greenfield tasks with no prior partial work, handoffs, or concurrent edits. Status: Catalog release (releaseEligible: true; declarative L1/L2 contract verified; host runtime enforcement remains separate).

Trust summary

  • License: MIT
  • Executable scripts: None
  • Network / credential access required: No
  • External dependencies: None
  • Use side effects: Advisory / declarative contract only
  • Verification: passing (Level 1–2 structural and executable contract verification via tests/test_strategic_revision_verification.py; runtime enforcement or behavioral compliance remains separate)

How to use

  1. Open bounded-task-recovery.md. Integrate the native artifact directly into your assistant workflow or project review process.
  2. Follow the six transitions sequentially: read live diffs/status/receipts first, classify unfinished TODOs against reality, restore prohibitions/failures/wake conditions, revalidate permissions without inheriting prior leases, verify one bounded slice, and emit a clean handoff if incomplete.
  3. Review the companion conformance suite and record concrete outcomes for your environment.

Example

Resuming a broken CI branch inspects live git diff, sees a half-applied migration already on disk, preserves the no-force-push constraint, and completes targeted validation instead of re-applying the migration.

Known limitations

Reference workflow only; actual file safety depends on runtime git/tooling discipline and explicit owner sign-off on irreversible moves.

Frequently asked questionsSık sorulan sorular

Why inspect live git/test state before reading long chat logs?

Authoritative repo state reveals what actually landed on disk and prevents acting on outdated conversation plans.

What if an earlier non-idempotent command timed out with unknown result?

Reconcile target postconditions or operation receipts during stage 2 before retrying anything that could duplicate effects.

How is this workflow verified?

Declarative L1/L2 contract tests verify all six stages and conformance cases (passing in tests/test_strategic_revision_verification.py), MIT-licensed. Runtime compliance across models remains untested. See registry.

CompatibilityUyumluluk

No runtime-specific compatibility evidence is declared. Treat this artifact as a declarative specification whose enforcement depends on the consuming runtime.

Çalışma ortamına özgü uyumluluk kanıtı beyan edilmemiş. Bu kaynağı, uygulaması kullanan çalışma ortamına bağlı bir deklaratif sözleşme olarak değerlendirin.

Declared effectsBeyan edilen etkiler

ExecutableÇalıştırılabilir
NoHayır
Network accessAğ erişimi
NoHayır
Filesystem writesDosya yazma
NoHayır

Verification evidenceDoğrulama kanıtı

  • [L1/L2 structural & contract] tests/test_strategic_revision_verification.py binds the 0.1.0-draft declarative workflow to its required obligations, negative fail-closed cases, and conformance fixtures. Declarative contract verification proves structural/contract alignment only, not host runtime enforcement or live model compliance.

ProvenanceKaynak geçmişi

originalOrijinal Original clean-room public engineering practice re-authored from general software methodology and verification principles; no private implementation source is embedded.