Skip to content

docs(pr-template): remove per-repo copy; inherit org .github default - #5

Merged
atrawog merged 2 commits into
mainfrom
feat/rm-pr-template-inherit-org
Jul 8, 2026
Merged

atrawog merged 2 commits into
mainfrom
feat/rm-pr-template-inherit-org

Conversation

@atrawog

@atrawog atrawog commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Summary of changes

Deletes this repo's .github/pull_request_template.md so it inherits the org-wide default from opencharly/.github (single source). R3-at-repo-level consolidation — the template previously lived duplicated across 10+ repos.

Change class

docs-only (template removal + CHANGELOG).

How R10-tested — exact gate, commands, and pasted output

  • Gate: non-runtime standards (R5 grep + org-default-exists check). No bed run.
  • Disposable target / fresh rebuild / changed-path / concurrency: N/A (docs-only).
org default exists: opencharly/.github/.github/PULL_REQUEST_TEMPLATE.md (6973 bytes, on main).
R5: no live reference to the deleted per-repo template path.

Attribution tier

documentation reviewed — whole diff is a .md removal + CHANGELOG.

CLAUDE.md rule compliance

  • R0 skills: /charly-internals:git-workflow (landing) + :skills (org repo = single template source).
  • R3: collapses a duplicated copy into the one org source.
  • R5: deleted path has zero live references; org default verified present (repo never template-less).
  • R1/R2/R4/R6–R10/RDD/ADE/SDD/hard-cutover(1 commit)/boundary-law/disposable-autonomy/Go-gates: N/A (docs-only).
  • CHANGELOG: staged.

Assisted-by: Claude (documentation reviewed)

Deletes this repo's .github/pull_request_template.md so it inherits the org-wide
default from opencharly/.github (single source). R3-at-repo-level consolidation.

Assisted-by: Claude (documentation reviewed)
@atrawog

atrawog commented Jul 8, 2026

Copy link
Copy Markdown
Contributor Author

pr-validator — APPROVED ✅

Change class: documentation-only (delete .github/pull_request_template.md + add CHANGELOG entry)

Independently re-derived against CLAUDE.md R0–R10 + the pillars + git-workflow, trusting no author claim:

  • [PASS] 0. Security/anti-tampering (T1–T4): diff is a 52-line .md deletion + a 9-line CHANGELOG add — no code, no secrets/exfiltration, no weakened gate, no supply-chain/@github change; no attempt to manipulate the validator.
  • [PASS] 1. Description complete: filled template — real summary, change class, gate (non-runtime), tier justified, per-rule HOW/N-A.
  • [PASS] 2. Change-class gate: docs-only → non-runtime standards (R5 grep + org-default-exists). No bed required; no dry-run/rebuild-alone fraud claimed.
  • [PASS] 3. Attribution tier: documentation reviewed — whole diff is documentation; not inflated.
  • [PASS] 4. R0 skills: git-workflow honored (docs-only landing).
  • [PASS] 5/6/8. R1/R2/R4: N/A (docs-only) — no failure/warning, no split, no ad-hoc workaround.
  • [PASS] 7. R3: collapses a per-repo duplicate into the single org source (opencharly/.github, verified present, 6973 bytes on main — repo not left template-less).
  • [PASS] 9. R5: deleted path has ZERO live references — git -C sdk grep pull_request_template (excl. CHANGELOG) empty.
  • [PASS] 10/11/12/13/15/16/17. R6/R8/R9/R10/RDD/ADE/SDD/boundary/concurrency/Go-gates: N/A — no runtime, code, schema, or core/sdk-Go surface.
  • [PASS] 14. Hard cutover: one atomic change commit; no deferred work.
  • [PASS] 18. CHANGELOG: staged.

Decision: APPROVED. Safe deletion — GitHub falls through to the org-wide default template, so the repo keeps a rich PR template while eliminating the duplicate. Finalizing the merge-time CalVer, merging --rebase, tagging.

Assisted-by: Claude (documentation reviewed)

…o PR template)

Assisted-by: Claude (documentation reviewed)
@atrawog
atrawog merged commit ad51c9b into main Jul 8, 2026
@atrawog
atrawog deleted the feat/rm-pr-template-inherit-org branch July 8, 2026 05:58
github-actions Bot pushed a commit that referenced this pull request Oct 23, 2026
…ackages (#452)

* feat(skills): the sdk authors its own skills beside their mechanism packages

The sdk owned no skills and was no charly project at all: `charly box validate`
here printed "checked nothing to check". AGENTS.md Part II #5 puts a skill in the
repo whose code it describes, and a skill's routing metadata is authored as a
`skill:` node beside a `candy:` node in the owning repo's `charly.yml` — so this
module needs a manifest before it can hold the seven skills whose source of truth
is a package in THIS module.

`charly.yml` is a minimal project manifest: `repo:` plus ONE CONCEPT candy,
`sdk-skill-shelf`, whose `plan:` is a `true` no-op and a `true` check. It ships no
install content, composes no box and appears in no image — so its `skill:` nodes
add NOTHING to any `ai.opencharly.skill` OCI label. No package, no service, no
port, no `plan:` step that executes anything real.

`.agents/skills` holds the seven trees byte-identically from
`layer-charly-internals`: `capabilities`, `cloud-init-renderer`,
`generate-source`, `libvirt-renderer`, `local-infra`, `ovmf`, `skills`. Each
documents a mechanism package of this module (`deploykit`, `vmshared`, `kit`,
`candywalk`); that destination was measured on the tree
(opencharly/opencharly#609, re-derived in #611), never read off a skill's prose.

The nodes are routing-ONLY: `name`/`family`/`owner` plus the `triggers:` the
carrier declared. `family` stays `internals`, so every `/charly-internals:<skill>`
address and the corpus path `<family>/skills/<name>/SKILL.md` are unchanged; no
`description:` or `content:` is inlined, because the prose is the FILE and an
inline body that disagrees with its file is a hard error in the marketplace
generator.

The Go build is untouched: no schema, no package, no Go file.

Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed)

* fix(skills): correct six source citations that pointed at files the code left

The move commit 442156a added these seven skill trees byte-identically from
layer-charly-internals, which is what makes it evidence that the pages did not
change. Verbatim also means verbatim errors, and six source citations were
present-tense claims about paths that no longer hold the thing they name. They
are corrected here, in a second commit, so the move proof and the correction are
each honest rather than traded against each other.

Each correction was resolved against the live tree, not guessed:

- `charly/intermediates_shim.go` "delegates to it" -> it is DELETED (K-wave 2).
  The sibling page SKILL.md:82 already said so; the two pages contradicted each
  other and only one can be right.
- `charly/config.go:ResolveBox` -> `sdk/buildkit/config_resolve.go:ResolveBox`.
- `charly/format_config.go:BaseUserDef` -> `sdk/vmshared/spec_aliases.go`'s
  `BaseUserDef`, an alias of `spec.BaseUser`; the file is deleted.
- `charly/registry.go`'s `InspectImageUser` fallback -> it is gone; the adopted
  user is read off the resolved box.
- `charly/layers.go:604` / `charly/layers.go:Task` -> the `Task` struct is
  `spec/spec/cue_types_gen.go`'s, CUE-generated; `charly/layers.go` no longer
  carries it (nor line 604).
- `charly/layers.go:TagPkgConfig.Raw` -> `sdk/deploykit/layer_model.go`'s
  `TagPkgConfig`, an alias of `spec.TagPkgConfig`.
- `loadProjectPlugins` at `charly/host_build_buildengine.go:51` ->
  `charly/plugin_loader.go` (module-relative, the same convention the pages
  already use for `charly/tasks.go`).

The remaining `charly/*.go` citations in these pages are either live files
(`charly/tasks.go`, `charly/unified_targets.go`, `charly/provider.go`, … — the
charly module lives at `charly/charly/`, so `charly/tasks.go` resolves there) or
historical entries that say, in place, that the file was deleted or relocated.

`charly box validate` on this tree: 1 candy, 0 warnings, 0 errors, rc=0.

Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed)

* fix(skills): the external-base user probe is live out-of-process, not gone

Round 3 corrected six citations but left this page contradicting itself: the
"Fallback path" section still described `InspectImageUser` in the present tense
while the Source line three paragraphs down declared that same fallback deleted.
A reader could act on either — that is the defect class this PR keeps meeting, and
the page and the body have to agree.

Resolved against the live tree rather than guessed, and the answer is neither
"live in charly" nor "gone":

- `InspectImageUser` as a host-side function in `charly/registry.go` is gone (the
  identifier survives only in a seam comment).
- The BEHAVIOUR is live and moved out of core: `plugin-build`'s `inspectUserLeg`
  (`candy/plugin-build/resolve_legs.go`) calls
  `InvokeProvider("verb","oci", sdk.OpRun, …)` with `env {"oci_op":
  "inspect-user"}`, served by `candy/plugin-oci/inspect_user.go` over the
  `spec.ImageUserInput` -> `spec.UserInfo` contract in
  `spec/spec/cue_types_gen.go`.

So the section is retitled to the op that actually serves it, keeps the
declarative `base_user:` preference intact, and states both halves: the probe is
live out-of-process, the host-side implementation is DELETED. The Source line now
points at "Fallback path" instead of contradicting it.

Audit that closes the class rather than this instance: a sentence-level pass over
all ten moved pages — join wrapped lines, split sentences, and require every
sentence citing an absent `charly/*.go` path to carry a removal qualifier —
reports **0** violations (35 absent paths, measured). Line-level grepping is what
let the last two rounds through; a qualifier for one path sits on the same line as
an unqualified claim about another, and it sits across a wrap.

`charly box validate`: 1 candy, 0 warnings, 0 errors, rc=0.

Assisted-by: DeepSeek Harness deepseek-v4.1-flash (documentation reviewed)

---------

Co-authored-by: Andreas Trawoeger <[email protected]>
github-actions Bot pushed a commit that referenced this pull request Nov 21, 2026
…he owner rule explicit (#611)

The guideline named `<owning candy dir>/.agents/skills/<name>/SKILL.md` — a path the collector
never reads: `sdk/deploykit/skills_collect.go` resolves the body at `candyRepoRoot`, the repo
ROOT of the repo that DEFINES the owner candy. Two independent choices hid inside "where a skill
lives" (which repo, and which directory in it); the second was documented wrongly and the first was
not documented at all, so the only rule in force was the loader's, and it appeared nowhere.

That gap is not theoretical: opencharly/layer-strata#25 moved the `strata` node and body to
opencharly/pod-strata (right by AGENTS Part II #5 — the skill describes the pod) while the owner
candy stayed in layer-strata, so from #25 onward every pin of that candy fails validation and
pod-strata cannot advance its pin (opencharly/layer-strata#28).

Step 1 now states both halves, once:

- the body lives at `<owner repo>/.agents/skills/<name>/SKILL.md` — the repo root of the repo that
  DEFINES the `owner:` candy, never inside the candy's directory, with the collector named as the
  reason;
- `owner:` must name a candy DEFINED IN THE SAME REPO as the body; a node whose owner is composed
  from another repo is a load error, quoted with the message;
- a table gives the one answer per repo class — layer repo, box/pod/VM composing a FOREIGN candy,
  and box/pod/VM that wants its OWN skill (it declares a candy in its own `candy/`);
- and the pod repo's two legal shapes are stated, with layer-strata/pod-strata as the reference case.

Everything else in the skill is untouched: the existing `kind:skill` owned-content text, the
image-cannot-own rule and the carrier-candy guidance are preserved verbatim from `main`.

Follow-ups, in order: regenerate the marketplace projection of this skill (the file under
`marketplace/internals/skills/skills/` is generated), align `AGENTS.md` Part II #5 to the same
sentence, then correct the pod-strata/layer-strata layout under whichever end-state the maintainer
picks.

Agent: `owui-full-stack` · Claude Code session `00d99c7c-dad9-4d14-be0e-7be094b099e9`
Assisted-by: Claude Code ollama-cloud/deepseek-v4.1-flash (analysed on a live system)
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