Skip to content

Commit 47b667a

Browse files
authored
fix: remove molt references + sync script; add molt to PII blocklist (#4)
1 parent d55480d commit 47b667a

3 files changed

Lines changed: 2 additions & 252 deletions

File tree

.github/workflows/pii-check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ jobs:
2424
# Patterns considered PII for this public repo.
2525
# Exclude the workflow itself and the sync script — both legitimately
2626
# mention the patterns (the workflow defines them; the sync script scrubs them).
27-
PATTERN='/Users/|clients/self|rdemeritt'
27+
PATTERN='/Users/|clients/self|rdemeritt|molt-and-deploy'
2828
INCLUDES=(--include='*.md' --include='*.sh' --include='*.json' --include='*.yaml' --include='*.yml')
29-
EXCLUDES=(--exclude-dir='.git' --exclude-dir='node_modules' --exclude='pii-check.yml' --exclude='sync-to-public.sh')
29+
EXCLUDES=(--exclude-dir='.git' --exclude-dir='node_modules' --exclude='pii-check.yml')
3030
3131
echo "Scanning for pattern: $PATTERN"
3232
if hits=$(grep -rnE "$PATTERN" . "${INCLUDES[@]}" "${EXCLUDES[@]}"); then

README.md

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,6 @@ freelance-developer-harness/
161161
├── docs/ # SOPs, workflows, onboarding
162162
├── scripts/
163163
│ ├── setup.sh # Interactive first-time configuration
164-
│ └── sync-to-public.sh # Sync generic improvements from a private fork to this repo
165164
├── CLAUDE.md # Harness operating model — loaded automatically by Claude Code
166165
├── AGENTS.md # Team roster, authorities, gates, governance matrix
167166
└── README.md
@@ -267,38 +266,6 @@ This is the only source of sprint truth. Specs, ADRs, and PM summaries continue
267266

268267
---
269268

270-
## Syncing with `molt-and-deploy-harness`
271-
272-
This public repo is downstream of an internal private harness called `molt-and-deploy-harness`. Generic improvements (new agents, commands, patterns) are pushed downstream with `scripts/sync-to-public.sh`, which scrubs PII and refuses to copy client-specific material.
273-
274-
```bash
275-
# Dry run first — shows what would change, makes no edits
276-
scripts/sync-to-public.sh \
277-
--source /path/to/molt-and-deploy-harness \
278-
--target /path/to/freelance-developer-harness \
279-
--dry-run
280-
281-
# Real sync — creates branch sync/from-molt-<date> in TARGET and stages a PR
282-
scripts/sync-to-public.sh \
283-
--source /path/to/molt-and-deploy-harness \
284-
--target /path/to/freelance-developer-harness
285-
```
286-
287-
Hard rules enforced by the script:
288-
289-
- `SOURCE` is never modified
290-
- `TARGET` writes happen on a fresh branch (`sync/from-molt-<date>`)
291-
- Blocklist beats allowlist — client-specific paths (`clients/<real-client>/`, session files, secrets) are never copied even if matched by an allowlist rule
292-
- A `sed` scrubber replaces hardcoded paths with `$SOURCE_ROOT_BASE/` placeholders
293-
- The `Active Clients` table in `CLAUDE.md` is reset to the single template row
294-
- A PII guard runs in CI on every PR — if PII slips through, the PR fails
295-
296-
Exit codes: `0` success · `1` usage error · `2` PII detected post-scrub · `3` source/target invalid.
297-
298-
You can run this script independently; you do not need access to the private repo to use the public harness.
299-
300-
---
301-
302269
## Contributing
303270

304271
Issues, ideas, and pull requests are welcome.

scripts/sync-to-public.sh

Lines changed: 0 additions & 217 deletions
This file was deleted.

0 commit comments

Comments
 (0)