Skip to content

Session Handoff [secrets]: #3936 Released as 2.0.1378, EspDinIoT Resync Next #3942

Open

Description

@ptr727

Next steps, in priority order

  1. Resync ptr727/EspDinIoT, in a session of its own in that repository. Carry a dependabot.yml (gitsubmodule and github-actions), the two-phase github-release source-release workflows (like KiCadLibrary's), and, once its scripts and their tests land, the python type. Each goes into its hub registry entry as it lands, since the registry records reality, per STANDUP.md section 2. The entry's second driftNote lists them. Declaring python with tests claims CODECOV_TOKEN through the codecov mechanism. Done means spec/audit.py EspDinIoT reports no secrets: DRIFT and no missing release workflow.
  2. Update the Vantage-Config Registry Entry for Its Python Scripts Tree #3902: update Vantage-Config's registry entry. Add pythonDirectories: ["scripts"], requiredSecrets: ["CODECOV_TOKEN"], and whatever type a lint-only Python tree takes. Since Claim Registry Required Secrets in Both Stores #4025 a requiredSecrets name is owed in both stores, so check that the Dependabot copy exists before declaring it. Done means spec/audit.py Vantage-Config reads the caller and secrets checks as conformant.
  3. Make the Shell Secret Readers Run on macOS #3933: make lib/sh/secrets.sh run on macOS. Still deferred by the maintainer until a macOS host is at hand. The issue holds the fix shape.
  4. ptr727/HomeAutomation-Config#1118: rename the CloudInit runner App secret files. That repository's own session does this, along with its host migration.

External blockers

Internal dependencies

  • Step 1's CODECOV_TOKEN claim waits on EspDinIoT's scripts and tests. Until then the token stays in both stores, kept by the maintainer's choice, and reads as unclaimed DRIFT.
  • Step 2 depends on nothing in flight.

State

The parked decision queue

3 open issues carry decision in ptr727/ProjectTemplate, longest-waited first: #4017 (how a hand-judged audit finding reaches a convergence issue), #4018 (whether a session ending a track writes a final round before close), and #4019 (what merge-and-release does when the promotion is already merged and a release was asked). This round's close put all three to the maintainer, and any answers are commented below this body.

What the last round did

What not to repeat

  • Do not declare a planned target, type, or secret in a registry entry ahead of the repository holding it. The first local pass caught that, citing STANDUP.md section 2. Declaring the target state raised a missing-workflow DRIFT and made configure.sh and scaffold demand a host file for an unused token. Record the plan in a driftNote instead.
  • Run the unit suite with its requirements: uv run --no-project --python 3.13 --with-requirements tests/requirements.txt python -m unittest discover -s tests. A bare python3 -m unittest fails on import (markdown_it) and reads like broken tests.
  • A rule change needs its sibling statements found before the first review pass. Three passes each found more prose stating the old Actions-only placement (the hugo type note and a validate.py comment came last). A grep for actions store across *.md, *.json, and *.py, run before the first pass, would have found them all.
  • Do not discard gh run watch stderr. A watch run with >/dev/null 2>&1 exited 1 in seconds while the run was healthy and queued, and its reason was lost.

New learnings

  • Nothing new needed recording in the repository. The registry-reality rule and the sibling sweep are already in STANDUP.md and pr-review-conduct outcome 1, and this round's misses were in applying them.

Activity

  1. added
    handoff
    on Nov 8, 2026
  2. ptr727 commented on Nov 9, 2026

    @ptr727
    OwnerAuthor

    Round 1, closed 2026-11-08: Session Handoff [secrets]: #3932 Released as 2.0.1368, macOS Secret Readers Next

    Next steps, in priority order

    1. Make the Shell Secret Readers Run on macOS #3933: make lib/sh/secrets.sh run on macOS. Replace GNU stat -c and readarray -d with a portable probe, or state and enforce a bash floor. Extend tests/test_secrets_sh.py to cover it. Done means configure.sh apply reads a private secret file as readable on a stock macOS host. The library is carried byte-for-byte, so the fix lands in the hub.
    2. ptr727/HomeAutomation-Config#1118: rename the CloudInit runner App secret files. github-runner-app-client-id and github-runner-app-private-key are hyphenated. They also must not move into the hub's reserved github_ prefix. The suggested names, runner_app_client_id and runner_app_private_key, are in the issue's latest comment. This work belongs to that repository's own session, with its host migration step.
    3. Report a Secret Unclaimed in the Store That Does Not Owe It #3939: compare the unclaimed-secret check per store. secret_names.compare_stores unions the stores, so a stale Dependabot copy of an actions-only name goes unreported. Expect new DRIFT findings once fixed, and check AUDIT.md's wording.
    4. Declare the Secrets EspDinIoT and DevKitCIoT Carry Without a Registry Claim #3936: declare EspDinIoT's KICADLIBRARY_READ_TOKEN and settle its CODECOV_TOKEN. The maintainer added these on request, so the likely fix is to declare them, giving the KiCadLibrary token a scope in spec/secrets.json. DevKitCIoT's row is already settled. Vantage-Config's CODECOV_TOKEN is Update the Vantage-Config Registry Entry for Its Python Scripts Tree #3902.
    5. Promote Financial-Modeling and PlexCleaner develop to main, each in its own session. Their agent policy files are current on develop but not yet on main, which is the only failure configure.sh check reports for them.

    External blockers

    Internal dependencies

    State

    The parked decision queue

    0 open issues carry decision in ptr727/ProjectTemplate.

    What the last round did

    What not to repeat

    • Do not try to drain local strict review to zero findings on a large diff. Provision a Repository's Secrets From the Host's Secrets Directory #3934 took sixteen recorded passes, and each one found a new small wording or test gap in the previous round's fix. Use the two-round budget per push, list what is left in the pull request body, and push.
    • Do not chain a file write and an outward write in one command. The harness denied a compound command that wrote a comment draft and then posted it. The write never ran, so the draft file did not exist when the maintainer ran the post command by hand.
    • Expect the auto-mode classifier to refuse a fleet-wide secret-store write loop. The maintainer ran the rollout script himself. A single repository's apply was allowed.
    • Do not stub gh as a shebang script for a Python child on Windows. CreateProcess runs only gh.exe. Stub the readers in process instead, as the Provision a Repository's Secrets From the Host's Secrets Directory #3934 tests now do.

    New learnings

    • The Codecov upload-cap decision is recorded in this machine's memory. Nothing in the repository needed to change.
  3. changed the title [-]Session Handoff [secrets]: #3932 Released as 2.0.1368, macOS Secret Readers Next[/-] [+]Session Handoff [secrets]: #3939 Released as 2.0.1369, EspDinIoT Secret Declarations Next[/+] on Nov 9, 2026
  4. ptr727 commented on Nov 10, 2026

    @ptr727
    OwnerAuthor

    Round 2, closed 2026-11-09: Session Handoff [secrets]: #3939 Released as 2.0.1369, EspDinIoT Secret Declarations Next

    Next steps, in priority order

    1. Declare the Secrets EspDinIoT and DevKitCIoT Carry Without a Registry Claim #3936: declare EspDinIoT's KICADLIBRARY_READ_TOKEN and settle its CODECOV_TOKEN. The maintainer added these on request, so the likely fix is to declare them, giving the KiCadLibrary token a scope in spec/secrets.json. Report a Secret Unclaimed in the Store That Does Not Owe It #3939 has landed, so a requiredSecrets name now claims the Actions store alone. Declaring a name there clears its Actions DRIFT and leaves its Dependabot copy reported. So also decide whether each name belongs in Dependabot. Done means spec/audit.py EspDinIoT reports no secrets DRIFT. Vantage-Config's CODECOV_TOKEN is Update the Vantage-Config Registry Entry for Its Python Scripts Tree #3902.
    2. Make the Shell Secret Readers Run on macOS #3933: make lib/sh/secrets.sh run on macOS. Replace GNU stat -c and readarray -d with a portable probe, or state and enforce a bash floor. Extend tests/test_secrets_sh.py to cover it. Done means configure.sh apply reads a private secret file as readable on a stock macOS host. The library is carried byte-for-byte, so the fix lands in the hub. The maintainer chose to defer this one until a macOS host is at hand.
    3. ptr727/HomeAutomation-Config#1118: rename the CloudInit runner App secret files. github-runner-app-client-id and github-runner-app-private-key are hyphenated. They also must not move into the hub's reserved github_ prefix. The suggested names are in the issue's latest comment. This work belongs to that repository's own session, along with its host migration step.
    4. Promote Financial-Modeling and PlexCleaner develop to main, each in its own session. Their agent policy files were current on develop but not on main at round 1. Re-check with configure.sh check before acting.

    External blockers

    Internal dependencies

    State

    The parked decision queue

    0 open issues carry decision in ptr727/ProjectTemplate.

    What the last round did

    What not to repeat

    • Do not filter spec/audit.py output with grep -v OK. TOKEN contains OK, so the filter drops exactly the secret lines being looked for, and a sweep reads clean when it is not. The audit prints only non-OK findings, so match ^ *(DRIFT|DEFECT) +secrets: instead.
    • gh ... --jq takes no --arg. It fails with unknown command "t", and a bounded poll around it reads that as "no run found". Pipe --json into a real jq to pass variables.
    • Name every claim source when describing the per-store required set: the baseline, the mechanisms per their stores, and requiredSecrets for Actions alone. Three local passes and Copilot each caught a different omitted source or a non-restrictive "where nothing owes it" clause.

    New learnings

    • The gh --jq limitation is recorded in this machine's memory under the gh CLI pitfalls. Nothing in the repository needed to change.
  5. changed the title [-]Session Handoff [secrets]: #3939 Released as 2.0.1369, EspDinIoT Secret Declarations Next[/-] [+]Session Handoff [secrets]: #3936 Released as 2.0.1378, EspDinIoT Resync Next[/+] on Nov 10, 2026
  6. ptr727 commented on Nov 10, 2026

    @ptr727
    OwnerAuthor

    Round 3 close: parked decisions answered. The maintainer took the recommended option on each, recorded on the issue, and each issue's decision label is removed. They stay open as the work.

    The parked decision queue now holds 0 open issues carrying decision in ptr727/ProjectTemplate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    handoff

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions