You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature: Add Harness² experience-library schema and consolidate/promote workflow #171
memkernel is a code-aware memory server with tiered storage. In a Harness² architecture, it is the natural place to store the “improvement harness” experience: which harness edits were proposed, tested, accepted, rejected, and why.
Harness²’s harnessing-level recursion depends on reusable meta-knowledge, not just raw error logs.
Proposal
Add a first-class experience-library schema and API for Harness² lessons.
Store/query lessons by component, repo, task type, and confidence.
Deduplicate and merge overlapping lessons.
Promote high-confidence lessons from working/short-term to long-term memory.
Expire or demote stale lessons.
Retrieve relevant lessons for a new task before proposing edits.
Record human-review outcomes.
Acceptance criteria
□ Schema documented and versioned.
□ API supports create/query/update/promote/expire.
□ Consolidation can merge duplicate or overlapping lessons.
□ Retrieval returns lessons relevant to a given task/component.
□ Promotion rules are configurable.
□ Tests cover dedupe, promotion, expiry, and retrieval.
□ Documentation includes a Harness² usage example.
Activity
gosha70 commentedon Nov 27, 2026
❗❗❗ This support the global Epic
spec #171: lesson identity under dedup, where lessons appear, D8 (a),…
spec #171: revise for the owner's review at 710dcd6 (#171)
spec #171: D10-D12 accepted; lesson_filter placement left to the plan…
spec #171: revise for the reviewer's review at 1414242 (#171)
spec #171: the owner confirmed the three added rules (#171)
Merge pull request #173 from gosha70/spec/171-experience-library
plan: the Harness² experience library (#171)
plan #171: the owner's answers to P1-P6; expires_at never makes the p…
plan #171: PR 1 tests that a record with no stored tier keeps its typ…
plan #171: lesson report on request with a capped overlap check; expi…
Merge pull request #174 from gosha70/plan/171-experience-library
tiers: the write-path test covers task and code; the no-setting decay…
Merge pull request #175 from gosha70/feat/171-tier-mechanism