Skip to content

feat(pi): add keep-skills-in-sync-with-reality rule to the system prompt - #47

Merged
github-actions[bot] merged 1 commit into
mainfrom
feat/pi-system-prompt-skills-sync
Aug 29, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
feat/pi-system-prompt-skills-sync

Conversation

@atrawog

@atrawog atrawog commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds the "Skills are living documents — keep them in sync with reality" rule to the pi system prompt (.pi/APPEND_SYSTEM.md). The rule operationalizes R1 for the skill corpus: a doc-vs-reality divergence is an incident (RCA + fix in the same change, sweeping sibling docs), a live bed contradicting a skill means the SKILL is stale (RDD — the running system is ground truth), the /charly-* skills are generated corpus (fix the source candy entity, regenerate with charly marketplace generate, land both PRs — never hand-edit generated SKILL.md files), and the umbrella's harness docs mirror charly's (scripts/check-harness-parity.sh).

How tested

  • git show --stat HEAD → 1 file changed, 21 insertions (only .pi/APPEND_SYSTEM.md).
  • The file is not in the parity SHARED list (scripts/check-harness-parity.sh covers only the gate scripts + .reasonix/settings.json) — umbrella-specific fork, no charly mirror needed (charly/.pi/ has no APPEND_SYSTEM.md).
  • bash scripts/check-harness-parity.sh → OK (no parity drift introduced).

Rulebook compliance

  • R1: the rule itself mandates RCA + sweep for doc-vs-reality divergences.
  • Rule 8 (harness parity): the addition is umbrella-specific (not in the SHARED list), verified against the parity script.

Change classification

  • Change class: documentation (harness system prompt)
  • Verification gate: documentation reviewed
  • Attribution tier: documentation reviewed

Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (documentation reviewed)

The pi system prompt (APPEND_SYSTEM.md) now carries the R1 principle that
skills are living documents: a doc-vs-reality divergence is an incident (RCA +
fix in the same change), a live bed contradicting a skill means the SKILL is
stale, the /charly-* skills are generated corpus (fix the source entity,
regenerate, land both PRs), and the umbrella's harness docs mirror charly's
(parity script).
@github-actions

Copy link
Copy Markdown
Contributor

Review — PASS

Head SHA: 0ecf4a55d303 (branch: feat/pi-keep-skills-in-sync)

Security screen: PASS — docs-only addition to .pi/APPEND_SYSTEM.md; no code, no secrets, no network/egress, no guardrail weakening, no embedded directives aimed at the validator. Evaluated as a diff, not adopted as instructions.

Checklist: All applicable rules PASS or NA.

  • Change class: documentation (harness system prompt, .md only). Gate documentation reviewed is legal — whole diff is docs.
  • A1/A3: Body supplies Summary, How tested, rulebook compliance, classification, and ends with the exact *Assisted-by: pi openrouter/deepseek/deepseek-v4-flash-0731 (documentation reviewed)* footer. Tier matches the docs-only class.
  • A2/B12: No bed required for docs-only; git show --stat claim (1 file, 21 insertions) matches the diff.
  • B4–B18: N/A or satisfied — the added rule operationalizes R1/RDD consistently with the rulebook; single atomic commit; placement CORRECT (harness system-prompt doc, no code placement concern). Referenced commands (charly marketplace generate, scripts/check-harness-parity.sh) are internal tooling references in a system prompt, not reader-facing install instructions.

Verdict: PASS


ollama/deepseek-v4-flash — pi-review-action.

View action run

@github-actions
github-actions Bot enabled auto-merge (squash) August 29, 2026 20:51
@github-actions
github-actions Bot merged commit 274ab89 into main Aug 29, 2026
1 check passed
charly-auto-merge Bot added a commit that referenced this pull request Aug 29, 2026
atrawog added a commit that referenced this pull request Aug 31, 2026
…in batch (#83)

Produced by task sync, not hand-pinned. Four gitlinks:

    charly           0e4d026d -> 8b194ed8   (its default branch)
    distro-omarchy   b82ed69e -> 2081960d   (policy B: exactly what charly pins)
    distro-cachyos   db2199a9 -> 677dbbe0   (policy B)
    distro-fedora    47cac269 -> 53bd54c0   (policy B)

Policy B verified independently of the script: each distro pin equals THE COMMIT CHARLY PINS,
which for cachyos and fedora is NOT their latest main - tag-on-merge added a CHANGELOG commit
past the tree charly composes, and pinning that would break the invariant.

## What it brings in

    charly          #508  the parse-time prescan never read an imported project's plugin pins,
                          plus box/omarchy, box/cachyos, box/fedora and plugin-check
    distro-omarchy  #11   check-omarchy-desktop-vm - the first bed proving the DESKTOP comes up
    distro-cachyos  #55   pin the cstream verb plugin so the bed parses when composed
                    #56   complete the pin advance charly#506 started
    distro-fedora   #47   the second copy of the same pin list

Two are worth naming. charly's main was RED: a bed that validated at exit 0 from its own repo
root failed at exit 1 the moment charly composed it, because the prescan walked the root
manifest and discover: paths but never import:. And charly#506 advanced 11 candy pins in one
copy of a list that exists as three independent copies, so three candies resolved at two
versions until every copy moved.

## Why only four gitlinks and not the 89 task sync moved

task sync advances EVERY submodule to its default-branch HEAD, and this run moved 89. The other
85 are unrelated to this work and #66 is already in flight covering that ground;
landing both would collide.

The four committed here are the values task sync produced - not hand-picked - and they are
exactly what Policy B requires: charly moved, so its distro pins must follow. The remaining 85
are left to #66 rather than raced.

## How tested

    task verify
    check-policy-b: OK - 6 distro pins equal charly's gitlinks
    verify-pins: OK - 349 submodules, policy B holds
    exit 0

Claude-Session: https://claude.ai/code/session_01YKF2VLqeHHbrBDz8XftaD3

Co-authored-by: atrawog <[email protected]>
@aitrawog
aitrawog deleted the feat/pi-system-prompt-skills-sync branch September 25, 2026 18:27
github-actions Bot pushed a commit that referenced this pull request Nov 14, 2026
* chore(pins)!: advance the unit-8 pins and re-anchor the census

The umbrella pin wave for opencharly/spec#304 unit 8 (#1024).

Eight pins move: charly (the fleet), the three distros (their own waves), plugin-check
(#149), plugin-substrate (#42/#43/#44/#45/#46/#47), sdk (#514) and spec (#320/#321).

The census follows the body: three dulling rows re-anchor to the plugin module, with the
three KEEPER citations (#VmBackend, #VmBackendName, #VmKrun) correctly staying in spec -
a blanket rewrite moved them and the control caught it. The D-PAT census lowers the twin
row and records the plugin union: the six D-PAT-2 dup findings the deletion created are
gone because plugin-substrate#47 removed the duplicate defs.

TODO.md row 2.1 reads Units 1-8 of 11 with the unit nine legs, its counts (KindValueDefs
3 -> 2, five bodies remain) and its three lessons; the ledger carries the P01 row (3 units
left) and the §9 record.

Measured on the served tree: the assembled graph builds clean, the corpus sweep moved zero
verdict classes, currency 8 of 409 -> 3 of 409, the design controls and the 48-step pin
gate green.

Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (fully tested and validated)

* docs: the four gitlinks and where the other four went (review round)

* docs(ledger): the P01 state column names unit 8 (review round)

* docs: the rollback sentence says four (review round)

---------

Co-authored-by: aitrawog <[email protected]>
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