TIME_PROTECTED governs every protected path except the workflow directories #81

Merged
teahubxyz merged 3 commits from ceo/protected-paths into main 2026-10-17 20:20:12 +00:00
3 Commits
Author SHA1 Message Date
teahubxyzandClaude Fable 5.1 3b757fa744 CHANGELOG: TIME_PROTECTED governs all but the workflow directories
ci / test (pull_request) Successful in 35s
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017K4vyY3yUD3GsvoZaAtKkD
2026-10-17 20:18:43 +00:00
teahubxyzandClaude Fable 5.1 b7f4ad095e tests: TIME_PROTECTED narrows protection to the workflow dirs; the default and the workflow dirs stay protected
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017K4vyY3yUD3GsvoZaAtKkD
2026-10-17 20:18:16 +00:00
teahubxyzandClaude Fable 5.1 5d9f89dcdf TIME_PROTECTED governs every protected path except the workflow directories
touches_protected() hard-coded all of .github/ and .gitea/ on top of TIME_PROTECTED, so the engine under .github/time/ could never land without a human whatever the variable said. Only .github/workflows/ and .gitea/workflows/ stay hard-coded; DEFAULT_PROTECTED is unchanged, so a repo that has not set the variable behaves exactly as before.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017K4vyY3yUD3GsvoZaAtKkD
2026-10-17 20:17:45 +00:00