Repository navigation
Converge the intent-carried docs and config on the current hub - #93
Conversation
CODESTYLE.md: the hub moved each language section behind a Skill pointer, so the expanded .NET and Python bodies are replaced by the current summaries. This repository's own content is kept and moved under the section it belongs to rather than dropped: the widened CI spelling scope (**/README.md, DEVICES.md, HISTORY.md), the easystart/python lint-only profile with its uvx [email protected] pin divergence, and the whole C++ section, which the hub does not carry. Both repo-local facts were re-verified against the tree before being restated. WORKFLOW.md: re-carried whole from hub main@0e84805. This repository's one local addition, the set -euo pipefail divergence note, is kept on the hub's current Shells bullet, and its counts were re-checked against the tree (thirteen of fourteen workflow shell surfaces, plus easystart/tools/pull-apk.sh). version.json and repo-config/settings.json: reindented to the fleet's 4-space canonical JSON. No value changes. spec/secrets.json: drop the all-null targetMechanisms map. The repo-config carry doc has a source-only repo whose targets all map to a null mechanism carry baseline alone, since the audit enumerates baseline plus mechanisms and never reads targetMechanisms. Audit run 2026-08-15T14:30:53Z, hub 0e84805.
There was a problem hiding this comment.
Pull request overview
This pull request resyncs this repository’s intent-carried documentation and configuration files to align with the current fleet hub guidance, while preserving repo-specific divergences (e.g., widened spelling scope, ruff pin, and C++ section).
Changes:
- Update
WORKFLOW.mdto the current hub contract text, including updated operational-model guidance and expanded deploy/retention guarantees. - Update
CODESTYLE.mdto the hub’s skill-pointer structure while retaining repo-local rules (notably spelling scope, ruff pin rationale, and C++). - Normalize JSON formatting and simplify
spec/secrets.jsonby removing an unused all-null routing map.
Reviewed changes
Copilot reviewed 3 out of 5 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| WORKFLOW.md | Resynced workflow contract/conventions text to the hub’s current guidance and expanded operational/deploy-related sections. |
| CODESTYLE.md | Converted expanded per-language rule text into hub Skill pointers while preserving repo-local codestyle/spelling/lint-only Python details. |
| version.json | Reindented to canonical JSON formatting (no semantic change). |
| spec/secrets.json | Removed unused all-null routing metadata and clarified the intent in the note. |
| repo-config/settings.json | Reindented to canonical JSON formatting (no semantic change). |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Two review findings on the carried text, both real. The intro named the language sections as .NET, Python and Shell while the file also carries a C++ section, so it misdescribed its own contents. It now names C++ as this repository's own addition. The Markdown and Spelling paragraph stated the fleet's README plus HISTORY spelling scope flatly, one paragraph above the widened list this repository actually enforces. The fleet scope is now named as the default it is, and the widening says outright that the default is not what runs here. Both files are intent-carried whole, so adapting the prose to describe this repository is the fidelity the file is held to.
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 5 changed files in this pull request and generated no new comments.
Suppressed comments (1)
WORKFLOW.md:152
- This line references
spec/secrets.jsontypeMechanisms, but this repository’s adaptedspec/secrets.jsoncontains onlybaseline(notypeMechanisms). That makes the reference non-actionable for readers of this repo’s copy of WORKFLOW.md; consider pointing to the hub canonical spec (or otherwise clarifying wheretypeMechanismsis defined).
- **D1.6 Coverage is reported to Codecov (C# and Python).** Input: a C# or Python repo's validation/test job. Output: tests run with coverage collection (`dotnet test --collect:"XPlat Code Coverage"` or `pytest --cov-report=xml`) and a `codecov/codecov-action` step uploads it, **best-effort** (`continue-on-error` and/or `fail_ci_if_error: false`, so a Codecov outage or an absent token never reds the gate). `CODECOV_TOKEN` lives in the repo's **actions** secret store and reaches the reusable validator via `secrets: inherit`. Required for **every** C# and Python repo that has tests (see `spec/secrets.json` `typeMechanisms`). The repo also ships a **`codecov.yml`** that sets the project and patch statuses to **`informational: true`** so a coverage delta never gates a PR (a distinct knob from `fail_ci_if_error`, which only guards the upload step), and excludes intentionally-untested, non-shipped code (an example/demo or benchmark project) from the coverage denominator via `ignore`. A repo may override this to enforce a coverage threshold where its quality bar requires it. Coverage output is a build artifact, so `.gitignore` excludes it (e.g. `coverage/` and `*.cobertura.xml`, with `.gitignore` the full source of truth) so a blanket `git add -A` won't stage the untracked output. *Prevents: coverage silently going unreported; a stale, unused token; a coverage regression blocking an unrelated PR; a coverage artifact committed by a blanket add.*
|
Answering the round-2 suppressed finding, which opens no thread to resolve.
Declined. The observation is accurate and the conclusion does not follow, for three reasons.
Adding a "see the hub canonical" qualifier would put a local edit into byte-carried prose, and If the pointer is worth rewording, it is worth rewording fleet-wide at the hub, where every repository's copy would get it. That is not this pull request. |
|
Re-checked against the updated hub, Not stale, no rebase needed. Between those two hub revisions the only carried file that changed is
One thing did change in this repository's favor: |
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 3 out of 5 changed files in this pull request and generated no new comments.
Suppressed comments (2)
CODESTYLE.md:59
- The docs say the ruff CI gate runs as
uvx ruff check ./uvx ruff format --check ., but the actual workflow and VS Code tasks are pinned touvx [email protected]. As written, this is slightly inaccurate and suggests running an unpinned ruff version locally.
- **ruff is the only CI gate**, run as `uvx ruff check .` and `uvx ruff format --check .` from the subtree. A `[tool.pyright]` block in **standard** mode keeps Pylance quiet in the editor. There is no mypy gate: the subtree is one script importing an untyped BLE library, so a second type checker adds nothing over Pylance.
- **The ruff version is pinned**, `uvx [email protected]`, in the CI step and in the VS Code tasks alike so the two cannot drift. This is a deliberate divergence from the fleet default of running `uvx <tool>@latest` unpinned. The fleet reasons that a manual pin Dependabot does not track goes stale silently, and this repository reasons that an unpinned linter turns an upstream release into a surprise CI failure on an unrelated change. The divergence is raised with the fleet rather than settled locally, so expect this bullet to move once that is decided.
WORKFLOW.md:175
- In D4.5 this bullet is scoped to a real publish, but the last clause says "still lets docker build on smoke", which contradicts both the stated input (real publish) and the earlier contract that smoke never publishes. This reads like a typo and is likely meant to refer to a publish run where other builds are skipped (unchanged/disabled) but not failed.
- **D4.5 A build failure blocks every publish target.** Input: a real publish where one enabled build fails. Output: nothing publishes. `github-release` needs every build, so a failed build skips it (no tag, no release), and the terminal registry pusher (Docker) needs every other build and guards its `if` with `!failure() && !cancelled()`, so a failed build skips docker too (no image push) while a disabled or unchanged target (skipped, not failed) still lets docker build on smoke. *Prevents: a partial publish, e.g. a Docker image pushed while the executable build failed and no release was cut.* A repo pushing two registry targets at once would need a build/publish split behind an all-builds gate, which none does today.
The gate bullet showed `uvx ruff check .` unpinned while the bullet under it says the version is pinned to 0.15.22 in the CI step and the VS Code tasks alike. A reader copying the first line ran an unpinned ruff, which is the failure the pin exists to prevent, and the two lines contradicted each other on the same screen. Raised as a suppressed finding. Same class as the spelling-scope contradiction fixed earlier in this pull request, a carried default stated flatly next to the local rule that overrides it.
|
Answering the two suppressed findings on the current head, neither of which opens a thread to resolve. 1.
|
Resync against
ptr727/ProjectTemplatemain@0e84805. Drift class 2 of 3: the intent-carried docs and config.Audit run
2026-08-15T14:30:53Z | hub 0e84805. These areintent-fidelity files, so each was judged against the hub's change since this repository's copy rather than byte-matched.CODESTYLE.mdThe hub moved each language section behind a Skill pointer, so the expanded
.NETandPythonbodies are replaced by the current summaries. This repository's own content is kept rather than dropped, and moved under the section it belongs to:**/README.md,DEVICES.md,HISTORY.md), which is the owner's option to widen rather than a divergenceeasystart/pythonlint-only profile, with theuvx [email protected]pin recorded as a deliberate divergence from the fleet's unpinned defaultC++section, which the hub does not carry at allBoth repo-local facts were re-verified against the tree before being restated: the cspell file list against
test-pull-request.yml, and the ruff pin against both the workflow step and.vscode/tasks.json.WORKFLOW.mdRe-carried whole from the hub. The previous copy was a stale baseline plus local edits, and predated several hub sweeps. This repository's one local addition, the
set -euo pipefaildivergence note, is kept on the hub's current Shells bullet, and its counts were re-checked against the tree: thirteen of fourteen workflow shell surfaces, pluseasystart/tools/pull-apk.sh.The carried text now states that an operational repository's
pull_requesttrigger namesdevelopalongsidemain. The workflow change that makes this true is #91, kept separate so the CI behavior change is reviewable on its own.Config
version.jsonandrepo-config/settings.jsonreindented to the fleet's 4-space canonical JSON. No value changes.spec/secrets.jsondrops the all-nulltargetMechanismsmap. The hub's repo-config carry doc has a source-only repository whose publish targets all map to a null mechanism carrybaselinealone, since the audit enumeratesbaselineplusmechanismsand never readstargetMechanisms, so an all-null routing map with nomechanismsbeside it reads as a schema bug.Checked and left alone
.editorconfig,.gitattributes, andcspell.jsonwere flagged by the timestamp heuristic, but every hub change since this repository's copy touches hub-only paths (scripts/,host-setup/,catalog/,.husky/) or hub-only vocabulary.AUDIT.mdandspec/secrets.jsonare governed by the carry doc rather than the hub's own copies of those files, and this repository's adaptedAUDIT.mdalready carries the current ruleset-field comparison.Verification
markdownlint-cli2over**/*.md,cspellat this repository's widened file list,editorconfig-checker, and the hubprose_lint.pyover the changed lines. All clean.