Implement Forge repository foundation
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
# Integration and skill interfaces
|
||||
|
||||
`bortstack-context`: project overview/current state, decisions, tasks, handoffs, task-scoped branches/worktrees, design references/approvals, and profile interpretation for new and existing repositories. `bortstack-new`: template selection, generation orchestration, initial configuration and profile, optional Git repository configuration; delegates lifecycle conventions to context. `bortstack-contributor`: onboarding, permitted task creation and implementation, PR preparation, contributor tests and handoff; preserves JJ's task creation, Captain/Commander terminology, isolated branches, and disposable Docker test environments. Manual-testing containers remain available until the contributor is instructed to remove them. `bortstack-design`: visual design orchestration, optional Penpot/MCP operations, concepts, approved handoff, code guidance, and visual QA; delegates task status and approvals to context. Design-dependent implementation needs an approved design or an explicit recorded override.
|
||||
|
||||
Git providers and Penpot are optional adapters. A provider integration must declare authentication, supported operations, failure behavior, and local-only fallback; no provider is assumed. Penpot absence must not block context or non-design tasks. No MCP server or provider integration is configured in this task.
|
||||
@@ -0,0 +1,3 @@
|
||||
# Project profile contract
|
||||
|
||||
`profiles/business.yaml` and `profiles/personal.yaml` are flat records with `profile`, `development_context`, `ownership`, `branding`, `contributor_access`, `testing_expectations`, and `deployment_expectations`. The last five values are project-specific placeholders until explicit project configuration is recorded. Business does not imply Bortstack ownership. Profile selection is explicit for new or existing projects; existing repositories are never classified automatically. Profile, owner, brand, and contributor permissions are separate decisions. No inheritance or merge algorithm is defined.
|
||||
@@ -0,0 +1,5 @@
|
||||
# Skill package contract
|
||||
|
||||
An implemented package lives at `skills/<name>/SKILL.md`. Optional `references/`, `scripts/`, and `assets/` directories hold supporting content. The UTF-8 manifest starts with YAML front matter containing unique `name` and nonempty `description`; name must match the directory. A nonempty instruction body is required. The validator checks the minimum metadata and rejects symlinks or likely credential files; it is not a full YAML parser or secret scanner. Reserved directories contain README files only and are not discovered as packages.
|
||||
|
||||
Each skill has one clear responsibility and a distinct activation description. Shared lifecycle rules belong to context, with other skills referring to it rather than copying it. Document required skills and optional integrations in each future manifest. If a required skill is unavailable, report it; do not improvise. Use platform-neutral paths and commands or provide Linux and Windows variants. Repository providers are configurable; GitHub is not assumed. Framework behavior belongs only in a named template. Skills should operate outside Forge where their responsibility allows.
|
||||
@@ -0,0 +1,9 @@
|
||||
# Skill distribution and migration
|
||||
|
||||
Canonical source is `skills/` in this repository. Only directories with valid `SKILL.md` are installable. The current version identifier is the Forge Git commit or task branch revision; there is no independent package version yet. Record the source commit when installing or updating. Installer defaults to `$CODEX_HOME/skills` or `~/.codex/skills`, on Linux and Windows. It copies packages by default, requires no administrator rights for a writable user directory, and never overwrites an existing path. `--link` requests a development symlink and may fail where Windows symlink privileges are unavailable.
|
||||
|
||||
Linux: `python3 scripts/install-skills.py --list`, `--dry-run`, `--install NAME`, or `--all`; `sh scripts/install-skills.sh` forwards the same arguments. Windows PowerShell: `py -3 scripts/install-skills.py --list` or `./scripts/install-skills.ps1 --list`. Use `--dest "path with spaces"` for an isolated skills directory. `--dry-run` plans all implemented skills. Missing and invalid skills fail cleanly. An existing installation conflicts; no force switch exists.
|
||||
|
||||
Update procedure: identify and record the target Forge commit, validate and test that revision, inspect the installed package, move its destination to a user-controlled backup, install the selected new package, restart Codex if needed, test activation and compatibility, then delete the backup only after acceptance. On failure, remove the new package and restore the backup. The installer itself never removes old packages.
|
||||
|
||||
Migration plan: inventory actual installed `roborto-*` directories and internal references on each machine; map `roborto-project-context` to `bortstack-context`, `roborto-new-project` to `bortstack-new`, and `roborto-contributor` to `bortstack-contributor`. `bortstack-design` is new. Preserve context, task, handoff, snapshot, contributor permission, Captain/Commander, and Docker manual-testing behavior. Update internal cross-skill references only after matching implementations exist. Test legacy/new interaction in isolation before exposing both as active, then test Linux installation and JJ's Windows installation separately. Keep old installations until consumer references and user workflows pass; roll back by restoring backups and references. Retire old names only by separate accepted task. FORGE-F001 performs none of this migration.
|
||||
@@ -0,0 +1,5 @@
|
||||
# Template contract
|
||||
|
||||
A future template descriptor must identify template ID and version, supported project type, configuration variables, generation procedure, dependencies, development commands, validation/test commands, and optional capabilities. It must state platform requirements and how it produces initial context. No descriptor format or generation API is implemented yet.
|
||||
|
||||
The first migration source is the existing `flask-react-auth-base` repository. Its documented `scripts/create-project.sh` accepts a project name, destination, and optional `--git-init`, and refuses existing destinations. It remains external and unchanged. Migration of its code or generator is a separate task.
|
||||
Reference in New Issue
Block a user