Skip to content

Re-sync template carries from ProjectTemplate PR 167 - #65

Merged
ptr727 merged 1 commit into
developfrom
resync-template-pr167
Jun 21, 2026
Merged

ptr727 merged 1 commit into
developfrom
resync-template-pr167

Conversation

@ptr727

@ptr727 ptr727 commented Jun 21, 2026

Copy link
Copy Markdown
Owner

Re-syncs the template's verbatim-carry contract after upstream ptr727/ProjectTemplate PR #167 (tracked here as #64). Most of #64 was already in sync or N/A for this Docker-only repo; this is the small remaining delta.

Changes

  • .github/copilot-instructions.md - trim to the upstream-trimmed form: replace the duplicated full PR-title block with the 3-bullet summary that points at AGENTS.md, and drop two defensive-narrative spots in the Copilot runbook. Docker-only adaptations (no CODESTYLE pointer) preserved.
  • AGENTS.md - add a ### Comments house-rule (concise, current-state, no change-log narrative / rule citations / sibling-repo names) and a CI-storage-hygiene bullet (type=registry not type=gha; retention-days: 1 on intermediate uploads, noting this repo uploads none).
  • ESPHome-NonRoot.code-workspace - refresh extension recommendations (swap todo-tree extension), normalize indentation to tabs.

Already in sync / N/A (no change)

.gitattributes, .editorconfig ([*.cs] already dropped), the docker-readme task + secrets, the markdown trailing-backslash and versioning rules; no actions/upload-artifact exists so retention-days is informational; carried-workflow comments were scanned and already comply.

Upstream tracker stays bespoke

#64 also asked to migrate the version tracker to the canonical check-upstream-version-task.yml. That task serializes only a single bare-string version and cannot carry this repo's two keyed versions (esphome + esphome-device-builder) in the structured esphome-version.json the Docker build reads. check-esphome-version.yml stays; filed ptr727/ProjectTemplate#168 proposing structured multi-key state so it can converge later.

Verification

  • CRLF preserved on all edited files.
  • markdownlint-cli2 clean on both docs.

Closes #64.

Trim .github/copilot-instructions.md to the upstream-trimmed form: drop the
duplicated PR-title block for a summary that points at AGENTS.md, and remove
two defensive-narrative spots in the Copilot runbook. Add a Comments
house-rule and a CI-storage-hygiene rule to AGENTS.md. Refresh the workspace
extension recommendations.

The upstream-version tracker stays bespoke: the canonical
check-upstream-version-task.yml cannot serialize this repo's two keyed
versions (esphome + esphome-device-builder). Filed
ptr727/ProjectTemplate#168 to add structured multi-key state.
Copilot AI review requested due to automatic review settings June 21, 2026 20:05

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Re-syncs this repo’s carried template guidance after upstream ptr727/ProjectTemplate PR #167 by tightening Copilot instructions, extending repo-wide commenting guidance, and refreshing VS Code workspace recommendations.

Changes:

  • Trim .github/copilot-instructions.md commit/PR-title guidance to a short summary that points to AGENTS.md, and remove some defensive wording in the runbook.
  • Add an AGENTS.md “Comments” house rule section and document CI storage hygiene expectations.
  • Update ESPHome-NonRoot.code-workspace extension recommendations (swap Todo Tree extension) and normalize formatting.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
.github/copilot-instructions.md Reduces duplicated PR/commit-title guidance and keeps the Copilot review runbook concise while still pointing to AGENTS.md for canonical rules.
AGENTS.md Adds explicit comment-writing rules and CI storage hygiene guidance to keep documentation and future workflow edits aligned with the template contract.
ESPHome-NonRoot.code-workspace Updates VS Code extension recommendations to match the refreshed tooling guidance.

@ptr727
ptr727 merged commit f6a457f into develop Jun 21, 2026
7 checks passed
@ptr727
ptr727 deleted the resync-template-pr167 branch June 21, 2026 20:38
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.

2 participants