Studio Repo Management PRD
Overview
HoloScript Studio will evolve into a repo-native intelligence platform that lets users import any codebase, visualize it, run safe autonomous improvement daemons, and ship reviewable upgrades back to GitHub.
This PRD translates the Studio Repo Management strategy into an implementation-ready product document.
Studio should also be treated as a HoloScript-native runtime surface. Logs, agents, activity, forks, architecture, and review state should all be representable through the Studio runtime, with codebase.holo serving as the immersive deep-view of the same workspace.
Problem Statement
Developers inherit legacy repositories that are difficult to understand, risky to modify, and expensive to maintain. GitHub tracks history well, but it does not provide semantic understanding, improvement planning, or architecture-level visibility.
Studio should solve this by combining:
- repository ingestion and workspace management,
- Project DNA classification,
- daemon-guided code improvements,
- visualization of architecture and risk,
- safe patch review and GitHub handoff.
- HoloScript-native operational surfaces for logs, agents, activity, and forks.
- an immersive
codebase.holorepresentation for spatial repo exploration.
Goals
- Let any user import or upload any repository into Studio.
- Produce a meaningful Project DNA profile within minutes.
- Run a daemon dry-run that generates useful, reviewable patch proposals.
- Visualize architecture, risk, and daemon targeting to build user trust.
- Apply or export patches without bypassing safe branch and review workflows.
- Render core Studio surfaces through a consistent HoloScript-native workspace model.
- Let users open an immersive
codebase.holoview of the same repo when they want a spatial workflow. - Deliver complete 2D operational coverage first, then expand to immersive mode without feature regression.
Non-Goals
- Replacing GitHub as the source of truth for commit history.
- Auto-applying high-risk patches directly to default branches.
- Restricting Studio to HoloScript-native repositories.
- Making spatial visualization mandatory for all workflows.
Target Users
Solo Maintainer
Needs quick insight into a legacy repo and low-risk improvement suggestions.
Small Engineering Team
Needs shared architecture visibility, safe daemon jobs, and PR-ready patches.
Agency or Consultant
Needs rapid understanding of unfamiliar client repos and improvement recommendations.
AI-Native Team
Needs autonomous, policy-aware maintenance loops across multiple repos.
User Stories
Import and Analyze
- As a user, I want to connect GitHub or upload a zip so I can create a Studio workspace from an existing repo.
- As a user, I want Studio to classify my project automatically so I do not need to hand-configure daemon behavior.
- As a user, I want to see an architecture map and risk heatmap so I can trust the daemon before it proposes changes.
- As a user, I want the imported repo to be materialized as a HoloScript-native workspace so every Studio surface is driven from the same model.
Run Daemon Jobs
- As a user, I want Studio to recommend a daemon profile and mode so I can start safely.
- As a user, I want daemon jobs to run in isolated workspaces so my original repo is protected.
- As a user, I want the daemon to explain why it selected each file so the job is reviewable.
- As a user, I want to inspect daemon logs, agent decisions, and activity streams in Studio without switching mental models or tools.
Review and Apply
- As a user, I want semantic diffs and confidence tiers so I can quickly decide what to accept.
- As a user, I want to apply patches to a branch or export them as a patch file.
- As a user, I want Studio to open a GitHub PR with a semantic summary.
- As a user, I want to see how the patch changes the architecture and workspace state, not just the raw diff.
Immersive Exploration
- As a user, I want to open
codebase.holoso I can immerse myself in my repo when I need a deeper spatial understanding. - As a user, I want packages, files, agents, and services to be navigable objects in the immersive workspace.
- As a user, I want the immersive view and the 2D Studio view to be two renderings of the same underlying workspace data.
Team and Governance
- As a team lead, I want policy controls that restrict dangerous patch categories.
- As an organization admin, I want job metrics and audit logs.
- As a reviewer, I want to see daemon job outcomes over time.
Functional Requirements
Workspace Management
- Support GitHub OAuth and archive upload.
- Create isolated per-repo workspaces.
- Track branches, job history, and patch history.
Project DNA
- Detect stack, framework, runtime, and risk signals.
- Recommend daemon profile and execution mode.
- Persist Project DNA on the workspace.
Daemon Jobs
- Support
quick,balanced, anddeepmodes. - Support profile-aware pass selection.
- Enforce path denylist, cycle limits, token budgets, and file caps.
- Produce patch proposals, logs, metrics, and summaries.
Visualization
- Render architecture graph.
- Render risk heatmap.
- Render daemon plan view.
- Render semantic diff view.
- Render timeline or historical health view.
- Render operational surfaces for logs, agents, activity, and forks.
- Render
codebase.holofor immersive workspace navigation. - Guarantee 2D parity for all operational and review capabilities.
GitHub Integration
- Create workspace branches.
- Export patch or apply to branch.
- Open PR with semantic summary and validation data.
Success Metrics
Adoption
- Percentage of imported workspaces that complete Project DNA successfully.
- Percentage of workspaces that run at least one daemon job.
- Percentage of daemon jobs that result in at least one accepted patch.
Quality
- Average quality delta per completed daemon job.
- Patch acceptance rate by profile and mode.
- Review-required vs rejected patch ratio.
Trust and Usability
- Median time from import to first meaningful visualization.
- Median time from import to first daemon result.
- User-reported clarity of daemon rationale and repo visualization.
- Percentage of active workspaces that open at least one operational surface beyond code diffs.
- Percentage of eligible workspaces that launch immersive
codebase.holoexploration.
Safety
- Zero direct writes to protected paths.
- Zero default-branch direct-apply incidents.
- Percentage of failed jobs with complete audit trails.
MVP Scope
- GitHub connect plus archive upload.
- Workspace creation.
- Project DNA detection.
- Repo map and risk heatmap.
- Daemon dry-run jobs.
- Patch review UI.
- Export patch or open PR.
- Initial HoloScript-native operational surfaces for logs and activity.
- 2D-first coverage of logs, agents, activity, and forks.
Phase 2 Scope
- Saved daemon profiles.
- Team workspaces and role controls.
- Cost and duration estimation.
- Semantic diff expansion.
- Policy packs by organization.
- Agent and fork lineage surfaces.
- First immersive
codebase.holorelease. - Immersive mode validation against 2D parity checklist.
Phase 3 Scope
- Multi-agent daemon swarms.
- Private runners.
- Temporal architecture playback.
- Spatial repo navigation.
- Org-specific planner packs.
- Full HoloScript-native Studio shell for primary repo workflows.
Risks
- Overpromising auto-fix quality before patch review is strong enough.
- Tight coupling between visualization and daemon execution complexity.
- Treating HoloScript-native repos as the primary target instead of legacy repos.
- Allowing execution features to outpace policy and safety controls.
Open Questions
- What is the exact isolation model for uploaded repos in Studio-hosted environments?
- Which visualization views ship in MVP versus Phase 2?
- Should GitHub PR creation be available in MVP or after patch review maturity improves?
- What billing primitive leads: workspaces, daemon minutes, or patch applications?