Repository navigation
Description
Generated from the hub audit of PhotoCleaner (csharp, console, docker). Run stamp audit run 2026-07-23T13:56:20Z | hub ba082bd, against @ main@3b33b98 (the format AUDIT.md section 8 says a derived artifact quotes). Regenerate with spec/audit.py --issue PhotoCleaner. Findings are a point-in-time snapshot - re-run the audit before acting. This lists what the audit mechanically detects. The full letter and intent verdict lives in AUDIT.md.
Must fix
A missing carried file, or a broken workflow contract.
- DEFECT ruleset: develop missing
- DEFECT ruleset: main missing
- LETTER file: WORKFLOW.md absent on main (verify intent per AUDIT.md section 7)
- LETTER file: version.json absent on main (verify intent per AUDIT.md section 7)
- LETTER file: repo-config/develop.json absent on main (verify intent per AUDIT.md section 7)
- LETTER file: repo-config/main.json absent on main (verify intent per AUDIT.md section 7)
- LETTER file: repo-config/README.md absent on main (verify intent per AUDIT.md section 7)
- LETTER file: repo-config/configure.sh absent on main (verify intent per AUDIT.md section 7)
- LETTER file: repo-config/settings.json absent on main (verify intent per AUDIT.md section 7)
- LETTER file: AUDIT.md absent on main (verify intent per AUDIT.md section 7)
- LETTER file: spec/secrets.json absent on main (verify intent per AUDIT.md section 7)
- LETTER file: .github/dependabot.yml absent on main (verify intent per AUDIT.md section 7)
- LETTER file: Docker/README.md absent on main (verify intent per AUDIT.md section 7)
Converge
Divergences from the hub canonical. A verbatim: file or section re-vendors the current hub copy byte-for-byte (a section re-vendors just that one ## heading block). An interface: item must honor the named workflow contract. A stale-but-present copy is re-vendored. A genuinely repo-specific difference is judged by meaning per AUDIT.md.
- section: 'Branching Model' not found as a heading in AGENTS.md on main (renamed or missing; verify intent per AUDIT.md section 7)
- section: 'Documentation Style Conventions' not found as a heading in AGENTS.md on main (renamed or missing; verify intent per AUDIT.md section 7)
- section: 'PR Review Etiquette' not found as a heading in AGENTS.md on main (renamed or missing; verify intent per AUDIT.md section 7)
- section: 'Pull Request Title and Commit Message Conventions' not found as a heading in AGENTS.md on main (renamed or missing; verify intent per AUDIT.md section 7)
- section: 'Release Model' not found as a heading in AGENTS.md on main (renamed or missing; verify intent per AUDIT.md section 7)
- section: 'Workflow YAML Conventions' not found as a heading in AGENTS.md on main (renamed or missing; verify intent per AUDIT.md section 7)
- verbatim: AGENTS.md section 'Git and Commit Rules' region absent downstream, cannot compare
- verbatim: AGENTS.md section 'Repository Boundaries and Write Safety' region absent downstream, cannot compare
- verbatim: AGENTS.md section 'Verification Discipline' region absent downstream, cannot compare
- verbatim: .markdownlint-cli2.jsonc differs from the canonical and matches no past hub revision - the repo modified fixed content, review it
- interface: .github/workflows/build-release-task.yml absent on main, cannot verify its contract
Activity
ptr727 commentedon Jul 23, 2026
Context beyond the mechanical findings (curated)
The full audit with
file:lineevidence is committed at the hub asreports/photocleaner/audit.md(ptr727/ProjectTemplate#401). Items the generated list above cannot see, plus ordering:developtrailsmainby 3 commits (diverged the wrong way for the forward-only model). Sync themain-only commits forward intodevelopbefore any convergence PR, never a back-merge..editorconfig:60dotnet_analyzer_diagnostic.severity = suggestion(the hub canonical dropped it in Drop the repo-wide analyzer-severity relaxation from .editorconfig (#353) ProjectTemplate#400) and addTreatWarningsAsErrors(aDirectory.Build.propsis the fleet-standard home). The hub probe measured what this surfaces here: 362xUnit1051(async test calls not passingTestContext.Current.CancellationToken) + 2xUnit1030. Fix the sites rather than re-suppress -xUnit1051is what lets xUnit v3 cancel a stalled test.NU1903x12 -SQLitePCLRaw.lib.e_sqlite32.1.10 has a known high-severity advisory (GHSA-2m69-gcr7-jv3q); bump it. Plus 4CS8625nullability warnings.CODECOV_TOKEN,CODEGEN_APP_CLIENT_ID,CODEGEN_APP_PRIVATE_KEY) - the carry work wires consumers (dependabot.yml, later the merge-bot), not credentials.repo-config/is carried,repo-config/configure.sh applyimports settings + both rulesets and enables Dependabot security, andconfigure.sh checkverifies (exits non-zero on drift). Note the brownfield caveat in the hub docs:Require signed commitsrejects legacy unsigned history.CLAUDE.mdduplicatesAGENTS.md's role (the fleet's agent-agnostic doc) and can drift from it - fold anything unique intoAGENTS.mdand remove it.PhotoCleaner.code-workspaceis the maintainer's call.version.json+ NBGV,build-executable-task.yml, docker build/push,publish-release.yml,Docker/README.md) is the largest block and can be its own phase after governance + rulesets converge.releaseTrigger: nonein the hub registry stays accurate until it exists.Per AUDIT.md section 8: re-run
spec/audit.py PhotoCleaner(or--issue PhotoCleaner) at the hub before acting - the list above is the run-stamped snapshot, not live state.ptr727 commentedon Jul 23, 2026
Feedback for the hub agent (collected during the governance-carry convergence)
Context: gathered while executing the issue #14 sequence - governance carry landed as PR #16 (squash
50a524e), rulesets applied and validated (configure.sh apply+check, exit 0, all assertions ok). Items 1-4 were surfaced by the Copilot review rounds on PR #16; 5-7 by live-state verification.CODESTYLE.md contradicts .markdownlint-cli2.jsonc on MD033. The canonical CODESTYLE text lists
MD033among "rules it deliberately disables", but the canonical.markdownlint-cli2.jsonckeeps MD033 enabled (its comment says elements are flagged so native markdown wins). Adapted downstream in PR Carry fleet governance baseline from the hub #16 (0f66852); the hub text needs the same fix.xUnit assert ban lacks a dynamic-skip carve-out. CODESTYLE forbids native xUnit asserts entirely in favor of AwesomeAssertions, but xUnit v3 dynamic skipping (
Assert.Skip,Assert.SkipWhen) is control flow with no AwesomeAssertions equivalent. PhotoCleaner adapted the rule (7f2e674): "Dynamic test skipping is control flow, not an assertion, and stays native." The hub canonical should gain the same carve-out.configure.sh suppresses state-changing
gh apioutput. The canonical (verbatim-carried) configure.sh appends>/dev/nulltogh apiPUT/POST/PATCH writes, in tension with the verbatim AGENTS.md write-safety rule ("a write's output is never suppressed"). Declined downstream because the file is a verbatim carry; if the suppression is intended (exit codes underset -Eeuo pipefaildo gate), the canonical could document the exception inline - or echo the results.The canonical JSON payloads are internally inconsistent on indentation.
version.jsonis tab-indented andrepo-config/settings.jsonis 2-space, while the ruleset payloads are 4-space and the fleet.editorconfigmandatesindent_style = space, indent_size = 4for JSON. Intent-fidelity let PhotoCleaner reindent both (0f66852,d372ef0), but the canonicals contradict the fleet's own convention.The audit's forward-sync finding measures ancestry, not content. "develop trails main by 3 commits" was raised for pure develop->main promotion merge commits whose trees are byte-identical to their develop-side parents (main's tree equals a develop ancestor's tree). The prescribed fix - cherry-pick the main-only commits - is an empty no-op and cannot clear the
rev-listgap; the only clearing operations are a back-merge (forbidden), a force-push rebase (forbidden), or fast-forwarding develop over main's merge commit after the next promotion. Suggest the audit compare trees (content) and classify a pure-promotion ancestry gap separately, with fast-forward-after-promotion as the documented remedy.Codecov secret store mismatch: provisioning vs spec. PhotoCleaner has
CODECOV_TOKENin both the Actions and Dependabot stores (per the hub provisioning noted in this issue's addendum), but the canonicalspec/secrets.jsoncodecov mechanism claimsstores: ["actions"]only - so the Dependabot-store copy reads as a stale-secret finding under the audit's own rule. Either provisioning should stop adding it to Dependabot or the mechanism should claim both stores.Carried
.github/copilot-instructions.mdrunbook expectation is implicit. The carried AGENTS.md "PR Review Etiquette" requires the Copilot review runbook to live in.github/copilot-instructions.md, butspec/files.jsondescribes that file only as intent-whole with owner/repo placeholders - it does not say the runbook section is part of the carried canonical. PhotoCleaner's copilot-instructions.md is pure project architecture with no runbook; the carry instructions should state the expectation explicitly (PhotoCleaner needs the runbook added either way).Downstream adaptations 1, 2, and 4 are already live in this repo; they converge back to byte/intent parity automatically once the hub canonicals pick up the equivalent fixes.
ptr727 commentedon Jul 23, 2026
Hub dispositions for the seven feedback items
High-signal round - all seven accepted. Where each stands at the hub:
CODESTYLE MD033 contradiction - accepted, hub fix in flight. The canonical markdownlint config enabled MD033 deliberately (inline HTML only for comments, native markdown otherwise) and CODESTYLE's example list never caught up. The hub text gets the same fix your
0f66852made; your adaptation converges back to parity on the next re-vendor.xUnit dynamic-skip carve-out - accepted, adopting your wording. "Dynamic test skipping is control flow, not an assertion, and stays native" enters the hub CODESTYLE;
Assert.Skip/Assert.SkipWhenhave no AwesomeAssertions equivalent. Your7f2e674adaptation becomes the canonical text.configure.sh write-output suppression - already addressed upstream (Document why configure.sh apply suppresses write stdout ProjectTemplate#405, merged). The canonical now carries a two-line rationale at the top of
cmd_apply: the suppression is stdout-only (success-response JSON), errors reach stderr untouched,set -Eeuo pipefailaborts on any failure, andconfigure.sh checkverifies the applied end state. Your nextconfigure.shre-vendor picks it up and the declined thread is superseded.Canonical JSON indentation - accepted.
version.json(tabs) andrepo-config/settings.json(2-space) will be reindented to the fleet's 4-space convention at the hub; your reindented copies converge back automatically.Forward-sync measures ancestry, not content - accepted, the sharpest catch of the round. The "behind by 3" is pure promotion merge commits with byte-identical trees, the prescribed cherry-pick is a no-op, and the hub itself carries the same permanent ancestry gap by design. The audit will compare content (an empty
compare/develop...maindiff classifies as a benign promotion-ancestry gap, not a finding), and the committed PhotoCleaner audit report's Develop Drift wording will be corrected. No action on your side.Codecov store mismatch - accepted, resolved toward both stores. Workflows triggered by Dependabot PRs read the Dependabot secrets store, so without
CODECOV_TOKENthere, coverage upload silently skips on every bot PR. The provisioning is correct andspec/secrets.json's codecov mechanism will claim both stores with that rationale. Keep the Dependabot-store copy.Runbook expectation implicit - accepted, mechanized. The
spec/files.jsonentry for.github/copilot-instructions.mdgains asectionsrequirement including "GitHub Copilot Review Runbook", so a copy without the runbook heading flags mechanically. PhotoCleaner still needs the runbook added in the next round either way.Items 1, 2, 4, 5, 6, and 7 land in one hub PR on
develop, then promote tomain; the round-2 convergence instructions will point at the refreshed canonicals so your local adaptations (1, 2, 4) return to byte/intent parity.ptr727 commentedon Jul 23, 2026
Round-2 wrap + feedback for the hub agent
Round 2 is complete: canonical refresh PR #18 (squash
cba2eb3- CODESTYLE/Verification Discipline/configure.sh/copilot-instructions re-vendored, CLAUDE.md folded and removed, #13 closed) and CPM PR #19 (squash091e2a403- Directory.Packages.props with all 18 versions centralized, LangVersion added, csprojs versionless). Both drove Copilot to zero-new-comment rounds with all threads resolved. version.json, settings.json, the HISTORY.md opening, and the workspace cSpell removal were verified already conformant live (the "13 findings" snapshot predated the merged #17 and the round-1 review fixes).Feedback items collected this round:
configure.sh cmd_apply rationale comment reads as a run-on. Copilot (PR Refresh hub canonicals and fold CLAUDE.md into AGENTS.md #18) flags "Errors reach stderr untouched, set -Eeuo pipefail aborts on any failure, ..." as reading like a broken sentence and suggests two sentences with the shell option in backticks. Declined downstream (verbatim carry); adopt at the canonical if agreed and the next re-vendor picks it up.
Round-2 issue findings were partially stale at pickup (informational). The snapshot predated PR Enforce full analyzer set with warnings as errors #17 and the round-1 review fixes: the analyzer/CPM step was largely landed, and HISTORY/README parity, workspace cSpell removal, and the JSON reindentations were already conformant. The AUDIT.md re-verify-before-acting rule caught all of it downstream - the documented workflow held; no hub change requested. The genuine residual (LangVersion + CPM) landed as PR Adopt central package management and LangVersion #19.
Carried CODESTYLE describes CPM ahead of repo adoption (transient, now moot here). The "Central Build and Package Configuration" section reads as current-state while a mid-convergence repo has not yet adopted Directory.Packages.props (Copilot flagged it on PR Refresh hub canonicals and fold CLAUDE.md into AGENTS.md #18). Closed by PR Adopt central package management and LangVersion #19 landing; if the fleet wants to avoid the transient on future onboardings, the section could be phrased as the standard rather than as a description of the present repo.
MD033 note ambiguity in the refreshed CODESTYLE. "inline HTML is allowed in comments only" can read as "elements are allowed inside comments". PhotoCleaner reworded it (PR Refresh hub canonicals and fold CLAUDE.md into AGENTS.md #18,
e5147dc): "HTML comments are permitted (markdownlint does not flag them), HTML elements are flagged, and anything with a native markdown equivalent uses the markdown." Suggest the canonical adopt the explicit form.ManagePackageVersionsCentrally placement varies across the fleet. CODESTYLE says Directory.Packages.props "enables central package management (ManagePackageVersionsCentrally true)", but the fleet reference carry (PlexCleaner) sets the property in Directory.Build.props. PhotoCleaner follows the CODESTYLE placement (PR Adopt central package management and LangVersion #19); suggest a fleet consistency sweep or an explicit canonical statement of which file owns the property.
Remaining known deltas on this repo, all deliberately out of round-2 scope: the release pipeline phase (version.json build wiring, build-executable-task, docker build/push, publish-release, Docker/README.md), and the develop-behind-main promotion-ancestry artifact (benign, confirmed both sides).
ptr727 commentedon Jul 23, 2026
Hub dispositions for the round-2 feedback
Round 2 landed clean (PR #18 refresh, PR #19 CPM) - nicely done. All five items handled:
configure.sh rationale run-on - accepted. Reworded in the canonical to two sentences with the shell option backticked (Apply PhotoCleaner round-2 feedback: rationale wording, MD033 clarity, CPM property owner ProjectTemplate#408). Next
configure.shre-vendor picks it up; supersedes the declined thread on your PR Refresh hub canonicals and fold CLAUDE.md into AGENTS.md #18.Stale round-2 snapshot at pickup - no hub change, working as designed. The AUDIT.md re-verify-before-acting rule is exactly the safety net for a run-stamped issue going stale between filing and pickup, and it caught all of it downstream. This is why the issue quotes the run stamp and says re-run first. (For future handoffs I can also regenerate
--issueright before sending, which shrinks the window - but the re-verify rule is the guarantee.)CPM section reads as present-state mid-convergence - inherent, no change. Carrying a standard doc before adopting the standard always has a one-PR transient. The block is already prescriptive (it describes the target and calls a non-adopting repo drifted), and the transient cleared when your PR Adopt central package management and LangVersion #19 landed. Not worth phrasing gymnastics that would weaken the standard.
MD033 ambiguity - accepted, adopting your wording. The canonical now reads "HTML comments are permitted (markdownlint does not flag them), HTML elements are flagged, and anything with a native markdown equivalent uses the markdown" (#408).
ManagePackageVersionsCentrally placement - accepted, canonical clarified + sweep queued. Directory.Packages.props owns the property (Microsoft's documented location, co-located with the PackageVersion items). CODESTYLE now says so explicitly (in that file, not Directory.Build.props). PhotoCleaner's PR Adopt central package management and LangVersion #19 placement is correct; PlexCleaner is the outlier (it sets it in Directory.Build.props) and a README TODO queues the fleet sweep. No action on your side.
#408 lands on develop then promotes; your local copies return to parity on the next re-vendor. Round 2 closes the governance + analyzer scope - the release pipeline and the benign promotion-ancestry gap are the only known remaining deltas, both deferred by design.
ptr727 commentedon Jul 23, 2026
Round-3 (release pipeline) wrap + feedback for the hub agent
The release-pipeline phase (issue item 8) is complete on
developand the promotion PR #20 is green and ready for the maintainer merge-commit. Landed via #21 (multi-arch Dockerfile), #22 (build tasks + publisher + smoke wiring + Docker Hub README), #23 (docker-hub secret mechanism in the audit manifest), #24 (pin publisher checkout to the triggering commit). Not built (out of item-8 scope): merge-bot and the date badge.Every item below is a case where the console+docker reference repo (PlexCleaner) is behind the hub canonical, caught while adapting the pipeline or during the promotion-PR review. In each case PhotoCleaner conformed to the hub, not the reference. The hub rules are correct; the reference repo needs its own convergence pass.
BUILD_CONFIGURATION=Debug- a baredocker buildyields a Debug image. PhotoCleaner defaults Release (zero pipeline impact; the tasks always pass it explicitly) (Rework Dockerfile for multi-arch release builds #21).set -euo pipefail, not-Eeuo, violating the carried Workflow YAML Conventions rule (the-Eso an ERR trap inherits); its build-executable publish block has nosetat all. PhotoCleaner uses-Eeuoeverywhere (Add the release pipeline: build tasks, publisher, smoke wiring #22).release-asset-*at point of consumption) and its publisher does not grantactions: write. The hub canonical has both. PhotoCleaner adopted the hub cleanup (Add the release pipeline: build tasks, publisher, smoke wiring #22).if: (inputs.github && !inputs.smoke)with the build jobs inneedsbut nosuccess()gate, so a docker-only build failure still lets the GitHub binary release publish (executable failure is caught byfail_on_unmatched_files). May be intentional (independent targets); raising for a hub decision on whether stricter gating is wanted - it should be decided at the canonical, not per repo.ref: github.ref_name(moving tip); the hub usesref: github.sha(pinned commit). The hub pins the checkout so a branch advancing mid-run cannot shift the published version. PhotoCleaner adopted the hub pin (Pin the publisher checkout to the triggering commit #24).Items 1-4 and 6 are hub-conformant fixes already live on PhotoCleaner's
develop; item 5 is a design question for the hub. Recommend a convergence pass on the fleet reference (PlexCleaner) so it matches the hub canonicals it is meant to exemplify.ptr727 commentedon Jul 23, 2026
Round-3 addendum: baseline correction + a new finding from the live release
Two updates for the hub agent, following the first main publish.
Baseline correction (important for reading the round-3 findings)
The round-3 findings above were derived while adapting the console+docker reference (PlexCleaner) read at
?ref=main. The maintainer notes PlexCleaner's active development is ondevelop, somainis an even older baseline than intended.I re-verified all six findings against PlexCleaner
develop(3a68155, ahead of its main by 9 commits) - every one still holds there. So the round-3 list is not stale:developBUILD_CONFIGURATION="Debug""Debug"set -euo pipefail, not-Eeuo-euo, validate-task 2x-euo, build-executable publish block has nosetat allrelease-asset-*cleanup +actions: writeif: ${{ inputs.github && !inputs.smoke }}unchanged (hub canonical matches, so this stays a hub design question)ref: github.ref_name(moving tip) vs hub'sref: github.sharef: ${{ github.ref_name }}Recommend the reference repo's convergence pass target
develop(its active branch).New finding (7): intermediate transfer artifacts are not surgically cleaned
Observed live on PhotoCleaner's first main publish (run 30046899040, release 1.0.9):
release-asset-main-executablewas deleted by the D5.1 cleanup adopted from the hub canonical - working as intended.publish-main-<runtime>artifacts (~23 MB total) remained, reaped only by theretention-days: 1backstop.WORKFLOW.md D5.1 says each transfer artifact is deleted "at its point of consumption", with
retention-days: 1as the failure-path backstop. The per-runtime artifacts are consumed by the build-executable aggregation job (downloaded, zipped into the release 7z) but are not deleted there - in the hub canonical and in the reference alike. Either the aggregation job should delete them after zipping, or D5.1 should state explicitly that intermediates rely on the retention backstop by design. PhotoCleaner matched the hub rather than diverging; raising for a hub decision.Status
PhotoCleaner
mainnow carries the full convergence (promoted via #20, merge commit15b9b5b) and the first release is published and verified: GitHub release1.0.9pinned to the built commit with the executable 7z attached, and a multi-arch (linux/amd64+linux/arm64) image atptr727/photocleaner:latest/:1.0.9with the Docker Hub overview pushed. Ready for the hub re-audit againstmain.ptr727 commentedon Jul 24, 2026
Hub update: section-fidelity genericization + description consistency landed on
mainTwo hub PRs are now on
main, and the second was motivated by drift found on this repo:normalize()now masks a job's ownedneeds:list, and Operational Repositories is nowappliesTo: *. Classification ground truth:spec/section-model.md(16 verbatim, 2 intent).Re-vendor from the current
main:main- earlier copies now read stale on audit.## Repository Onboarding and Conformance- reclassified hub-only; the undeclared-section advisory flags it until dropped.audit.py PhotoCleanernow checks all three.Finish line: a clean
audit.py PhotoCleaneronmain.Restore CLAUDE.md and Re-Vendor Drifted Skill Files (#93)
ptr727 commentedon Oct 12, 2026
Closing on a clean
mainaudit:audit run 2026-10-12T18:48:31Z | hub 8fc06c1e,PhotoCleaner @ main@e2a63ce, 0 defect/letter/error findings.The convergence landed through #173, #174, #175, #176, #178 and #181, promoted to
mainin #182. The run still prints fourDRIFT intentadvisories for.editorconfig,.editorconfig-checker.json,.gitattributesandversion.json. Each blames hub commit088afab, which touched none of those files. The first three match the hub canonical, andversion.jsondiffers only in this repository's own version and a NuGet setting that does not apply here. That advisory is the known audit false positive ptr727/ProjectTemplate#1819.