Skip to content

P0010 fix: apply Lovable consumer-review amendments (missed in #216 merge)#217

Merged
klappy merged 2 commits into
mainfrom
fix/p0010-lovable-amendments
May 28, 2026
Merged

P0010 fix: apply Lovable consumer-review amendments (missed in #216 merge)#217
klappy merged 2 commits into
mainfrom
fix/p0010-lovable-amendments

Conversation

@klappy
Copy link
Copy Markdown
Owner

@klappy klappy commented May 28, 2026

What happened

PR #216 merged a stale PR head (GitHub sync lag left the PR pointer at 7a5eeb0a, before the Lovable amendment commits). As a result the three consumer-review fixes never reached main. This PR applies them.

The three fixes (from the klappy.dev builder review)

  1. kind resolution rule — was undefined in the merged version. Now: frontmatter kind: is authoritative, path-prefix mapping is the fallback. Flexible across repos (klappy.dev, oddkit-kb, aquifer-mcp); canonical enumeration fixed, path mapping per-repo configurable.
  2. score/snippet are action-native fields — new subsection clarifying they sit outside the disclosure axis and are always present on search hits, so existing search consumers keep working at default disclosure: []. snippet (query-matched excerpt) is explicitly distinct from blockquote (document summary).
  3. Reference-consumer table labeled today vs aspirational — verified against the site's actual call inventory (13 sites). Homepage carousel and operator journals viewer marked aspirational; corrected from "four use cases."

Verification criteria 9 → 11. Risk mitigation adds path-derived-kind audit reporting.

Diff vs merged version: +29 lines (432 → 461).


Note

Low Risk
Documentation and proposal text only; no runtime, API, or consumer behavior changes in this diff.

Overview
Backfills Lovable consumer-review fixes that did not land when PR #216 merged a stale head. Updates the P0010 retrieval disclosure proposal and the session ledger—no oddkit or site code.

The contract now defines kind as frontmatter-first with path-prefix fallback (fixed enumeration, per-repo path table). It adds action-native fields (score, snippet, total, listing order) outside the disclosure array so default search responses stay compatible. The klappy.dev reference table separates (today) vs (aspirational) call patterns and aligns pre/post-constraint narrative with verified inventory. Verification grows from 9 to 11 checks; risk mitigation asks the precursor frontmatter audit to surface path-derived kinds for deliberate kind: overrides.

Reviewed by Cursor Bugbot for commit e870805. Bugbot is set up for automated code reviews on this repo. Configure here.

klappy added 2 commits May 28, 2026 09:26
The #216 merge took a stale PR head (pre-amendment). This applies the three fixes from the klappy.dev builder review:
- kind resolution: frontmatter-primary, path-secondary (flexible across repos)
- score/snippet are action-native fields outside the disclosure axis
- reference-consumer table labeled today vs aspirational, verified against actual call inventory

Verification expanded to 11 checks; risk mitigation adds path-derived-kind audit reporting.
@github-actions
Copy link
Copy Markdown

Canon Quality — Frontmatter Schema ✅

All 41 file(s) in writings/ conform to klappy://canon/meta/frontmatter-schema.

Validator: scripts/validate-frontmatter.py · Canon: klappy://canon/constraints/frontmatter-validation-before-merge · Run: #169

@github-actions
Copy link
Copy Markdown

Canon Quality — oddkit_audit

No dead klappy:// references or legacy link patterns found in writings/. 42 files scanned.

Spec: klappy://docs/oddkit/specs/oddkit-audit · Workflow: .github/workflows/canon-quality.yml · Run: #169

@klappy klappy merged commit 5c1a40f into main May 28, 2026
3 checks passed
@klappy klappy deleted the fix/p0010-lovable-amendments branch May 28, 2026 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant