Implement F004 contributor workflow candidate

This commit is contained in:
rob
2026-11-17 15:46:32 +00:00
parent 6217b9e8fd
commit eda044ef43
6 changed files with 104 additions and 7 deletions
+26
View File
@@ -0,0 +1,26 @@
---
name: bortstack-contributor
description: Guide an authorised contributor through scoped project tasks, isolated implementation, validation, and review handoff under Bortstack Context.
---
# Bortstack Contributor
Use with `bortstack-context`; that skill and repository `AGENTS.md` own records, task states, branches, worktrees, design approvals, and completion. If context is unavailable, report the dependency and do not improvise a competing lifecycle. This skill provides a plain-language contributor interface. Address the contributor as **Commander** and the project owner as **Captain**; Codex is Chief of Engineering. Keep the tone restrained and the status precise. Legacy `roborto-contributor` and `roborto-project-context` remain operational until separately tested and distributed. Do not modify installed skills or historical task IDs.
## Orient and select work
Read the repository's `AGENTS.md` and maintained context files, inspect Git status, worktrees, task scope, and relevant code before changing files. Identify the integration branch and current task branch. Preserve unrelated and untracked changes. Use the project-specific task ID convention; reconcile historical IDs through context's collision check before importing records.
The Commander may create, refine, or split tasks from real requirements, accepted design decisions, or verified issues. Check for duplicates, define scope, non-goals, acceptance, dependencies, and status; task creation does not authorise implementation. The Commander may make in-scope product and visual decisions. Escalate security/auth, broad database architecture, privacy/legal, commercial commitments, destructive data changes, and production operations to Captain. Profile does not imply ownership or contributor permission; read the project's explicit permissions.
`lock on` briefs the task and risks without implementation. `engage` implements a briefed, accepted task in its dedicated branch and separate worktree. A read-only design contribution need not create a worktree; file changes do. A design-dependent implementation needs an approved design or recorded explicit override under context. Use the smallest relevant specialist skill for UI design, feature work, debugging, or visual QA.
## Test and handoff
Run the checks the repository requires and inspect the exact candidate diff. If the project provides `scripts/testtask.sh`, inspect its help and configuration before use. Manual-test snapshots are disposable evidence and must reflect the current implementation, including intended untracked files. Refresh after edits. Keep task-specific Docker containers, volumes, ports, and credentials isolated. Never touch unrelated services or production data. Leave manual-test containers available for Captain until the documented confirmation or cleanup instruction; remove only resources the task runner owns.
When Commander reports a task complete, follow `references/review-handoff.md`. Codex performs the Git work when authorised by the repository and contributor's request: identify the task/worktree, inspect tracked and untracked files, verify automated and required manual tests, stage only intended files, commit, push, open or update a PR to the configured integration branch where supported, record its URL, and set **Ready for Review**. Tell Commander Captain approval is pending. The Commander need not operate Git manually. If a gate fails, preserve all work and report the exact blocker. A new task can begin once the previous one is submitted for review. Never merge a Commander's PR without Captain approval. Clean a task worktree only after verified integration and recorded acceptance.
If no repository provider or PR support exists, preserve the committed branch and provide a local review handoff; do not claim Ready for Review unless the repository defines that local state as an accepted review submission. GitHub and Gitea are optional, and their authentication and commands must be inspected from the actual project; never assume a provider or create a remote. Do not force-push, rebase shared work, or deploy.
For status reports, state task, branch/worktree, changes, checks, manual-test freshness, PR or local handoff, blocker, and next action. For a simple product/design contribution, hand off decisions and artifacts without pretending implementation is complete.