You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Re-copy the org-managed L1 secrets-baseline block in .gitignoreverbatim from the canonical source (petry-projects/.github/.gitignore) to resolve the gitignore_baseline hash-mismatch drift finding.
Root Cause
The block between the # >>> BEGIN … >>> / # <<< END … <<< markers was edited in-place (which the standard forbids). Section 13 drifted:
Header text differs (…worktrees (org coding policy) vs canonical …worktrees and CI-generated tool artifacts (org coding policy)).
Repo has a stale .claude/scheduled_tasks.lock entry the canonical block no longer carries.
Repo is missing canonical entries: .dev-lead/, the actionlint comment, actionlint, actionlint.tar.gz.
Implementation Checklist
Overwrite the L1 block (BEGIN…END, markers inclusive) in .gitignore with the canonical bytes; leave everything below the END marker (L2) untouched.
Verify the block is byte-identical to petry-projects/.github/.gitignore's L1 span.
Tests to Write
None. Per the Phase 2 exception this is a pure-configuration, behavior-preserving change. The gitignore_baseline check is owned by the org compliance audit in petry-projects/.github (a network fetch); adding a local test that fetches the canonical block over the network would be non-hermetic/flaky, so no local test is added. Verification is a byte-for-byte diff against the canonical block.
Verification / Lint Command
bash .dev-lead/scripts/dev-lead-lint.sh and a byte diff of the L1 block against the canonical source.
.gitignore: re-copied the org-managed L1 secrets-baseline block verbatim (section 13 realignment); L2 extensions below the END marker unchanged.
Notes
Phase 2 (TDD) exception: pure-configuration, behavior-preserving change. The gitignore_baseline check is owned by the org compliance audit (pp_check_gitignore_baseline in petry-projects/.github) and validates over a network fetch of the canonical block; a local test replicating it would be non-hermetic/flaky, so no local test was added. Verification is the byte-for-byte SHA-256 match above.
.dev-lead/ (this agent's scratch worktree) is now correctly ignored per the canonical baseline.
Activity
don-petry commentedon Jul 31, 2026
Dev-Lead Implementation Plan
Issue: #1394 — Compliance: gitignore_baseline
Scope
Re-copy the org-managed L1 secrets-baseline block in
.gitignoreverbatim from the canonical source (petry-projects/.github/.gitignore) to resolve thegitignore_baselinehash-mismatch drift finding.Root Cause
The block between the
# >>> BEGIN … >>>/# <<< END … <<<markers was edited in-place (which the standard forbids). Section 13 drifted:…worktrees (org coding policy)vs canonical…worktrees and CI-generated tool artifacts (org coding policy))..claude/scheduled_tasks.lockentry the canonical block no longer carries..dev-lead/, theactionlintcomment,actionlint,actionlint.tar.gz.Implementation Checklist
.gitignorewith the canonical bytes; leave everything below the END marker (L2) untouched.petry-projects/.github/.gitignore's L1 span.Tests to Write
gitignore_baselinecheck is owned by the org compliance audit inpetry-projects/.github(a network fetch); adding a local test that fetches the canonical block over the network would be non-hermetic/flaky, so no local test is added. Verification is a byte-for-byte diff against the canonical block.Verification / Lint Command
bash .dev-lead/scripts/dev-lead-lint.shand a byte diff of the L1 block against the canonical source.don-petry commentedon Jul 31, 2026
Dev-Lead: Implementation Complete
Plan Execution
.gitignorewith the canonical bytes frompetry-projects/.github/.gitignore.Root Cause
The block had been edited in-place (which the standard forbids). All drift was in section 13:
…worktrees (org coding policy)→ canonical…worktrees and CI-generated tool artifacts (org coding policy))..claude/scheduled_tasks.lockremoved (not tracked or present in this repo, so no behavioral impact)..dev-lead/, the actionlint comment,actionlint,actionlint.tar.gz.Verification
Byte-for-byte match against the canonical block:
Required lint (
bash .dev-lead/scripts/dev-lead-lint.sh): all checks passed (shellcheck on 98 files + 4 agent profiles + CODEOWNERS).Test suites (bats 1.13.0) — the push-protection and gitignore-touching generator suites:
Files Changed
.gitignore: re-copied the org-managed L1 secrets-baseline block verbatim (section 13 realignment); L2 extensions below the END marker unchanged.Notes
gitignore_baselinecheck is owned by the org compliance audit (pp_check_gitignore_baselineinpetry-projects/.github) and validates over a network fetch of the canonical block; a local test replicating it would be non-hermetic/flaky, so no local test was added. Verification is the byte-for-byte SHA-256 match above..dev-lead/(this agent's scratch worktree) is now correctly ignored per the canonical baseline.feat: implement issue #1394 — Compliance: gitignore_baseline (#1395)