refactor: phase-b folder reorg — consolidate SDK under Gradata/#121
Merged
refactor: phase-b folder reorg — consolidate SDK under Gradata/#121
Conversation
Executes the Phase B reorg plan from .reorg/root-audit.md. Moves the
public SDK surface out of the workspace root into a single `Gradata/`
subfolder, so the root is no longer cluttered with legacy mixed-purpose
files.
## Moves
- `src/`, `tests/`, `docs/`, `examples/` → `Gradata/{src,tests,docs,examples}/`
- `pyproject.toml`, `uv.lock` → `Gradata/`
- SDK public docs: `README.md`, `CHANGELOG.md`, `LICENSE`,
`CODE_OF_CONDUCT.md`, `CONTRIBUTING.md`, `SECURITY.md`, `CREDITS.md`
→ `Gradata/`
- Deploy config: `Dockerfile`, `docker-compose.yml`, `.dockerignore`,
`mkdocs.yml` → `Gradata/`
- npm/dist: `packages/`, `gradata-install/`, `gradata-plugin/`,
`package.json`, `package-lock.json`, `node_modules/`, `design-system/`
→ `Gradata/`
- `scripts/`, `hooks/` → `Gradata/{scripts,hooks}/` (SDK tooling)
- `skills/core,dev,tools,session-start,wrap-up/` → `Gradata/skills/`
- `skills/sales,marketing/` → `Sprites/skills/`
- `brain/scripts/` → `Sprites/brain/scripts/` (active brain runtime scripts)
## Stays at root (constraints)
- `CLAUDE.md` — claude hooks resolve relative to WORKING_DIR
- `.env`, `.mcp.json` — secrets, gitignored
- `.agentignore`, `.claudeignore`, `.gitignore`, `.gitattributes` — at-root
- `.claude/`, `.codex/`, `.vscode/`, `.obsidian/`, `.claude-plugin/` — tool state
## Gitignore
- Added `Sprites/`, `Hausgem/`, `.reorg/` as private/workspace-only dirs
- Existing `src/...` / `docs/...` / `scripts/*` patterns still match
paths inside `Gradata/` via glob; no explicit rewrites needed for
ignored files
## Post-merge action required (local dev)
After pulling this on a dev machine, re-register the editable install:
cd Gradata && pip install -e .
This re-points `python -m gradata.*` at the new `Gradata/src/gradata`
path. All SDK hooks will fail silently until this is done.
Co-Authored-By: Gradata <noreply@gradata.ai>
|
Too many files changed for review. ( |
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 Walkthrough
WalkthroughUpdated repository ignore rules and adjusted CI workflow to operate from the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
After Phase B, pyproject.toml and build output live under Gradata/. Point the verify step at Gradata/pyproject.toml, run `uv build` from Gradata/, and upload artifacts from Gradata/dist/. Co-Authored-By: Gradata <noreply@gradata.ai>
2 tasks
Gradata
added a commit
that referenced
this pull request
Apr 20, 2026
After Phase B (#121) the SDK lives under `Gradata/`, not the repo root. New contributors running the documented install steps would land in the wrong directory and hit a "No pyproject.toml" error. - CONTRIBUTING.md: `cd gradata/Gradata` and note the subfolder layout - docs/contributing.md: same update, keeps the two docs in sync Co-Authored-By: Gradata <noreply@gradata.ai>
1 task
Gradata
added a commit
that referenced
this pull request
Apr 20, 2026
After Phase B (#121) the SDK lives under `Gradata/`, not the repo root. New contributors running the documented install steps would land in the wrong directory and hit a "No pyproject.toml" error. - CONTRIBUTING.md: `cd gradata/Gradata` and note the subfolder layout - docs/contributing.md: same update, keeps the two docs in sync Co-authored-by: Gradata <noreply@gradata.ai>
4 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Gradata/(src, tests, docs, examples, pyproject, uv.lock, README, CHANGELOG, LICENSE, Docker, npm packages, scripts, hooks).skills/— dev/core/tools →Gradata/skills/; sales/marketing →Sprites/skills/.Sprites/(domain, brain/scripts).CLAUDE.md, hidden tool dirs, workspace markers..gitignoreupdated:Sprites/,Hausgem/,.reorg/excluded from public repo.520 renames + 13 new + 1 modified. Executes the plan in
.reorg/PHASE-B-RUNBOOK.md.Test plan
cd Gradata && pip install -e .to re-register editable installpytest Gradata/tests/ -x --timeout 30 -q— expect 1339 pass / 7 skip~/.claude/settings.jsonBRAIN_DIRstill resolves (unchanged — brain still atC:/Users/olive/SpritesWork/brainuntil Phase B.2)working-directory: Gradata)Generated with Gradata