Skip to content

Use one CLEVER target repo folder#39

Merged
OziinG merged 1 commit intomainfrom
cc-78-single-target-root
Apr 30, 2026
Merged

Use one CLEVER target repo folder#39
OziinG merged 1 commit intomainfrom
cc-78-single-target-root

Conversation

@OziinG
Copy link
Copy Markdown
Contributor

@OziinG OziinG commented Apr 30, 2026

Summary

  • Fix the CLEVER local layout to use exactly one product/service target repo folder directly under <CLEVER_ROOT>.
  • Remove the remaining projects/<target-repo> container pattern from README, AGENTS.md, settings docs, bootstrap skill, and bootstrap script outputs.
  • Rename bootstrap packet/session fields from projects-root language to target-repo-parent-root language and add regression coverage for direct target repo sessions.

Issues

Validation

  • python3 -m pytest -q → 85 passed, 2 skipped
  • python3 -m py_compile .agent/skills/bootstrap-clever-work/scripts/bootstrap_clever_work.py → exit 0
  • git diff --check → exit 0
  • rg -n "projects/<target-repo>|<CLEVER_ROOT>/projects|projects/|project-slug|project_repositories_root|projects_root|PROJECTS_DIR_NAME|cwd_under_projects" README.md AGENTS.md docs .agent/skills/bootstrap-clever-work/SKILL.md .agent/skills/bootstrap-clever-work/scripts/bootstrap_clever_work.py tests/test_bootstrap_clever_work.py → only negative regression assertions remain in tests

Notes

  • Live fresh-root clone directly into <CLEVER_ROOT>/<target-repo> was not run.

Constraint: CLEVER_ROOT should contain exactly one target repo folder as a sibling of clever-agent-workspace, not a projects container with another repo below it.
Rejected: Keep <CLEVER_ROOT>/projects/<target-repo> | It still presents an extra nesting layer and conflicts with project equals target repo.
Confidence: high
Scope-risk: moderate
Directive: Use <CLEVER_ROOT>/<target-repo> as the canonical product/service checkout path unless workspace requirements explicitly change.
Tested: python3 -m pytest -q; python3 -m py_compile .agent/skills/bootstrap-clever-work/scripts/bootstrap_clever_work.py; git diff --check; rg -n "projects/<target-repo>|<CLEVER_ROOT>/projects|projects/|project-slug|project_repositories_root|projects_root|PROJECTS_DIR_NAME|cwd_under_projects" README.md AGENTS.md docs .agent/skills/bootstrap-clever-work/SKILL.md .agent/skills/bootstrap-clever-work/scripts/bootstrap_clever_work.py tests/test_bootstrap_clever_work.py
Not-tested: live fresh-root clone directly into <CLEVER_ROOT>/<target-repo>.
@OziinG OziinG linked an issue Apr 30, 2026 that may be closed by this pull request
@OziinG OziinG merged commit 7c9ac8d into main Apr 30, 2026
4 checks passed
@OziinG OziinG deleted the cc-78-single-target-root branch April 30, 2026 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use a single target repo folder under CLEVER root

1 participant