New Python CLI + dual SKILL.md (Code + Desktop) for organizing Google Drive folders under OurDigital conventions: - Refresh root README index (preserves manual Topics/Notes between AUTO-STRUCTURE markers) - Ensure per-subfolder README.md meta files - Propose filename + folder renames (D.intelligence → OurDigital with SEO-context caveat documented in patterns/gotchas.md) - Propose moves for cluttered files (screenshots, temp downloads) - Sensitive-folder skip list (04_Case Studies, 99_Project Archive, *Archive*, 진단*) - shared/patterns/ gotcha library: canonical-files, canonical-folders, categorization-rules, 12 known gotchas — grows over time as the system encounters new edge cases Slash command: /organize. CLI: ~/.local/bin/our-gdrive-organize. 82-tui-design-template renumbered to 92 (no content change) to free slot 82. AGENTS.md and CLAUDE.md updated for both moves. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
81 lines
3.2 KiB
Markdown
81 lines
3.2 KiB
Markdown
# Changelog
|
|
|
|
## 1.2 — 2026-05-10
|
|
|
|
First content-based reorganization session. Pattern library grew from 7 to
|
|
12 gotchas. RENAME_RULES extended.
|
|
|
|
### Added
|
|
|
|
- `RENAME_RULES` now catches `D intelligence` (no-dot variant) in addition
|
|
to the dot-form and `D.intelligence Lab-` prefix.
|
|
- Five new gotcha entries in `shared/patterns/gotchas.md`:
|
|
- "D.intelligence vs OurDigital" — parent company / SEO child brand;
|
|
rebrand only applies in SEO context
|
|
- "Brand-variant typos that escape the regex" — how to add new variants
|
|
without false positives
|
|
- "Real client names in 예시 자료 모음/" — half-done neutralization;
|
|
rename + TODO for cell content
|
|
- "Near-duplicate templates across 문서 양식 and 05_Working Template" —
|
|
different Doc IDs ≠ different content; needs human comparison
|
|
- "Stray screenshot that turns out to be a process diagram" — view
|
|
binary screenshots before applying default move rule
|
|
|
|
### Changed
|
|
|
|
- `shared/conventions.md` "Brand prefix" section rewritten to clarify the
|
|
parent-company / child-brand distinction and the SEO-context caveat.
|
|
|
|
## 1.1 — 2026-05-10
|
|
|
|
Added folder-rename support and the patterns gotcha library.
|
|
|
|
### Added
|
|
|
|
- `propose_folder_renames()` in `organizer.py` — applies `RENAME_RULES` to
|
|
folder names at depth 2+. Top-level subfolders and sensitive folders are
|
|
guarded.
|
|
- File renames execute before folder renames during `--apply` so paths stay
|
|
valid.
|
|
- New report section "Folder rename proposals" in both text and JSON output.
|
|
- `shared/patterns/` gotcha library:
|
|
- `canonical-files.md` — examples of well-named files in their proper homes
|
|
- `canonical-folders.md` — well-organized folder shapes
|
|
- `categorization-rules.md` — IF→THEN placement rules
|
|
- `gotchas.md` — known edge cases with resolutions
|
|
- Content-based reorganization workflow in `code/SKILL.md`. Claude reads
|
|
files (not just names), consults the patterns library, and proposes moves
|
|
one folder at a time for user confirmation. Applied via `Bash mv`.
|
|
|
|
### Changed
|
|
|
|
- `text_report()` and `--json` output now include `folder_renames`.
|
|
- `code/SKILL.md` expanded with content-based workflow + patterns references.
|
|
- `shared/conventions.md` cross-references the patterns library.
|
|
|
|
## 1.0 — 2026-05-10
|
|
|
|
Initial release. Generalizes the `seo-drive-index` skill pattern to work on
|
|
any 2nd-level Drive subfolder.
|
|
|
|
### Added
|
|
|
|
- Pure-Python CLI (`code/organizer.py`, stdlib only)
|
|
- Root README.md index refresh (Snapshot counts + Structure section between
|
|
AUTO-STRUCTURE markers; preserves manual Topics / Notes)
|
|
- Per-subfolder README.md meta-file ensuring (`--scope subreadmes`)
|
|
- Rename proposals enforcing `D.intelligence` → `OurDigital` rebrand
|
|
- Move proposals for screenshots and temp downloads cluttering folder roots
|
|
- Sensitive-folder skip list (`04_Case Studies`, `99_Project Archive`,
|
|
`*Archive*`, `진단*`)
|
|
- Dual SKILL.md (Claude Code + Claude Desktop)
|
|
- Slash-command alias `/organize`
|
|
- `shared/conventions.md` canonical naming spec
|
|
|
|
### Removed (during this work)
|
|
|
|
- `~/.claude/skills/seo-drive-index/` (superseded by this skill)
|
|
- `~/Library/LaunchAgents/org.ourdigital.seo-in-action-index.plist` (no
|
|
scheduled job; skill is invoked on demand instead)
|
|
- `~/.local/bin/seo-in-action-index.sh` (old bash version)
|