FORGE-F017: implement discussion-first protocol
This commit is contained in:
@@ -2,4 +2,6 @@
|
|||||||
|
|
||||||
Read `docs/PROJECT_OVERVIEW.md`, `CURRENT_STATE.md`, `DECISIONS.md`, `TASKS.md`, and `HANDOFF.md` before task work. Inspect Git status and relevant code. Under Captain's FORGE-008 direction, work directly on `codex` and commit scoped Forge changes there until Captain says otherwise; do not create task branches or worktrees as routine setup. Preserve existing worktrees, unrelated changes, and legacy skills. Task IDs use `FORGE-F###`; record implementation, validation, limitations, and handoff. Only mark a task complete after human acceptance. Never commit secrets. Do not modify external projects, production infrastructure, or installed skills as part of foundation work.
|
Read `docs/PROJECT_OVERVIEW.md`, `CURRENT_STATE.md`, `DECISIONS.md`, `TASKS.md`, and `HANDOFF.md` before task work. Inspect Git status and relevant code. Under Captain's FORGE-008 direction, work directly on `codex` and commit scoped Forge changes there until Captain says otherwise; do not create task branches or worktrees as routine setup. Preserve existing worktrees, unrelated changes, and legacy skills. Task IDs use `FORGE-F###`; record implementation, validation, limitations, and handoff. Only mark a task complete after human acceptance. Never commit secrets. Do not modify external projects, production infrastructure, or installed skills as part of foundation work.
|
||||||
|
|
||||||
|
Communication and authorisation: Follow `docs/specifications/discussion-first-protocol.md` for questions, agreement, proposals, and handoffs. Answer a question as a question; start yes/no answers with Yes or No and keep them brief. Do not treat agreement as authorisation for task creation, prompts, edits, or implementation. Ask before expanding scope. Explicit mission commands retain their existing authorised meanings.
|
||||||
|
|
||||||
Script commands: `scripts/create-chatgpt-snapshot.sh` creates a current-worktree ZIP under ignored `snapshots/`; inspect contents before sharing. `scripts/testtask.sh <task-id|branch-name>` resolves an existing task branch and worktree, then reports that manual testing remains blocked because Forge has no application runtime or manual-test hook.
|
Script commands: `scripts/create-chatgpt-snapshot.sh` creates a current-worktree ZIP under ignored `snapshots/`; inspect contents before sharing. `scripts/testtask.sh <task-id|branch-name>` resolves an existing task branch and worktree, then reports that manual testing remains blocked because Forge has no application runtime or manual-test hook.
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
# Current state
|
# Current state
|
||||||
|
|
||||||
|
FORGE-F017 discussion-first communication is proposed in a reconciliation patch based on the 2026-12-01 ChatGPT snapshot; the patch is not evidence of application, validation or Captain acceptance. The intended change is scoped to context/contributor communication, mission-command clarification and copyable ChatGPT project instructions.
|
||||||
|
|
||||||
FORGE-F016 is Complete on `codex` under FORGE-008; Captain accepted the focused Forge skill change on 2026-11-21. It addresses contributor application-delivery evidence in the canonical context and contributor skills. All 32 Forge tests and three skill package validations passed. No external application or installed skill was changed; live application/provider and JJ Windows exercises remain unverified.
|
FORGE-F016 is Complete on `codex` under FORGE-008; Captain accepted the focused Forge skill change on 2026-11-21. It addresses contributor application-delivery evidence in the canonical context and contributor skills. All 32 Forge tests and three skill package validations passed. No external application or installed skill was changed; live application/provider and JJ Windows exercises remain unverified.
|
||||||
|
|
||||||
FORGE-F015's direct-`codex` candidate adds a shared mission command reference and contributor handoff wording. It changes the skill interface, not repository records or task IDs. Captain acceptance remains pending.
|
FORGE-F015's direct-`codex` candidate adds a shared mission command reference and contributor handoff wording. It changes the skill interface, not repository records or task IDs. Captain acceptance remains pending.
|
||||||
|
|||||||
@@ -1,5 +1,7 @@
|
|||||||
# Handoff
|
# Handoff
|
||||||
|
|
||||||
|
FORGE-F017 proposed patch (snapshot basis: 2026-12-01): Apply and review the discussion-first communication change in the live Forge repository only after checking current differences. Run focused and full tests, skill validation and `git diff --check`; resolve conflicts without overwriting newer work. Do not change external projects or installed skills. Captain acceptance remains pending. Copying the project-instructions text into ChatGPT is a separate manual action, not achieved by a Git patch.
|
||||||
|
|
||||||
FORGE-F016 (2026-11-21): Captain accepted the focused Forge skill change through “task complete.” Direct `codex` implementation from `835a164` is recorded in commit `7365d3c`; the prior handoff update is `26774f4`. The central failure was standalone previews being accepted as application features. Context owns destination and integration evidence gates; contributor owns architecture discovery, real-route testing and plain-language guidance. The 18-scenario disposable fixture is in `docs/validation/application-delivery.md`; `tests/test_application_delivery.py` models evidence decisions and existing Git tests cover preservation. All 32 Forge tests, three skill validations, isolated-destination installer dry-run, task ID audit, and `git diff --check` passed. No external application, existing worktree, installed skill, or production service changed. Live JJ/Windows and application/provider exercises remain unverified; no application integration is claimed.
|
FORGE-F016 (2026-11-21): Captain accepted the focused Forge skill change through “task complete.” Direct `codex` implementation from `835a164` is recorded in commit `7365d3c`; the prior handoff update is `26774f4`. The central failure was standalone previews being accepted as application features. Context owns destination and integration evidence gates; contributor owns architecture discovery, real-route testing and plain-language guidance. The 18-scenario disposable fixture is in `docs/validation/application-delivery.md`; `tests/test_application_delivery.py` models evidence decisions and existing Git tests cover preservation. All 32 Forge tests, three skill validations, isolated-destination installer dry-run, task ID audit, and `git diff --check` passed. No external application, existing worktree, installed skill, or production service changed. Live JJ/Windows and application/provider exercises remain unverified; no application integration is claimed.
|
||||||
|
|
||||||
FORGE-F015 candidate (2026-11-19): Direct `codex` work from `9dc4420` under FORGE-008. `bortstack-context/references/mission-commands.md` owns the user-facing grammar and role-aware completion gates; contributor guidance points to it and retains review submission, Captain merge authority, and Docker retention. No installed skills, application repositories, provider state, worktrees, or production services changed. All 29 Forge tests, three skill validations, task-ID audit, isolated-destination installer dry-run and diff check passed. The default installer destination had expected existing-installation conflicts and was untouched. Captain review and acceptance remain pending.
|
FORGE-F015 candidate (2026-11-19): Direct `codex` work from `9dc4420` under FORGE-008. `bortstack-context/references/mission-commands.md` owns the user-facing grammar and role-aware completion gates; contributor guidance points to it and retains review submission, Captain merge authority, and Docker retention. No installed skills, application repositories, provider state, worktrees, or production services changed. All 29 Forge tests, three skill validations, task-ID audit, isolated-destination installer dry-run and diff check passed. The default installer destination had expected existing-installation conflicts and was untouched. Captain review and acceptance remain pending.
|
||||||
|
|||||||
@@ -144,6 +144,13 @@ Corrective requirements: Record the authoritative application, route, navigation
|
|||||||
|
|
||||||
Implementation and validation (2026-11-21): Updated the canonical context command/lifecycle references and contributor skill/handoff, plus disposable decision and Git-preservation validation fixtures in implementation commit `7365d3c` on `codex`. All 32 Forge unit tests passed; the three implemented skill packages validated; isolated-destination installer dry-run, task ID audit and `git diff --check` passed. The Python fixture exercises destination, preview, navigation, backend, auth, environment, review, integration, closure and sequential-mission decisions. Existing Git tests preserve branches/worktrees after failed checks. No live application route, provider submission or JJ Windows session was exercised; those remain unverified limitations and are not claimed as evidence for an application-feature mission. Captain accepted the focused Forge skill change on 2026-11-21.
|
Implementation and validation (2026-11-21): Updated the canonical context command/lifecycle references and contributor skill/handoff, plus disposable decision and Git-preservation validation fixtures in implementation commit `7365d3c` on `codex`. All 32 Forge unit tests passed; the three implemented skill packages validated; isolated-destination installer dry-run, task ID audit and `git diff --check` passed. The Python fixture exercises destination, preview, navigation, backend, auth, environment, review, integration, closure and sequential-mission decisions. Existing Git tests preserve branches/worktrees after failed checks. No live application route, provider submission or JJ Windows session was exercised; those remain unverified limitations and are not claimed as evidence for an application-feature mission. Captain accepted the focused Forge skill change on 2026-11-21.
|
||||||
|
|
||||||
|
## FORGE-F017 — Discussion-First Communication Protocol
|
||||||
|
Status: Proposed reconciliation patch; not yet implemented or accepted in the live repository. Priority: Small skill maintenance. Owner: Codex. Dependencies: implemented `bortstack-context` and `bortstack-contributor`.
|
||||||
|
|
||||||
|
Scope: Adopt direct question answering, brief yes/no answers, clear distinction between discussion/agreement and implementation authorisation, and explicit permission before unrequested next steps. Preserve mission commands, Captain/Commander permissions and engaged-mission autonomy. Add standalone ChatGPT project instructions that must be applied separately.
|
||||||
|
|
||||||
|
Acceptance: Both skills reference one concise shared protocol; repository instructions and the mission command reference respect the boundary; no unsolicited prompts/patches/migrations are triggered by questions or agreement; validation passes. Codex must report actual implementation, test results and Captain review status when the patch is applied; this task record alone is not evidence of acceptance.
|
||||||
|
|
||||||
## Scheduling
|
## Scheduling
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,17 @@
|
|||||||
|
# Discussion-first protocol
|
||||||
|
|
||||||
|
The Captain controls when Bortstack work advances. A question receives an answer, agreement records a decision, and only an explicit action request permits a new deliverable or implementation. Apply the canonical skill rule at `skills/bortstack-context/references/discussion-first.md`; do not create a second authorisation state machine.
|
||||||
|
|
||||||
|
## ChatGPT project instructions (copy into project settings separately)
|
||||||
|
|
||||||
|
> Answer the user's actual question without automatically advancing to the next stage. Treat a statement ending in a question mark as a question. For yes/no questions, start with Yes or No and give a brief explanation only when useful. Keep responses proportional to the request.
|
||||||
|
>
|
||||||
|
> Discussion, curiosity and agreement are not authorisation to create Codex prompts, patches, tasks, migration plans, or to implement changes. Produce those deliverables only when explicitly requested. Do not bundle an unsolicited prompt with a requested patch or vice versa.
|
||||||
|
>
|
||||||
|
> If a further step seems helpful but was not requested, ask permission before doing it. Answer the original question first. Do not repeatedly seek permission for ordinary steps within an already authorised task.
|
||||||
|
>
|
||||||
|
> For repository-specific claims or proposed edits, inspect the latest available source/snapshot. Be clear about outdated or unavailable evidence. Do not invent current repository state.
|
||||||
|
>
|
||||||
|
> Preserve the mission protocol: set course/lock on selects and briefs, engage authorises implementation, complete begins role-authorised finalisation. Never confuse agreement with engage.
|
||||||
|
|
||||||
|
**Installation note:** This file is documentation, not an active ChatGPT setting. Codex skill updates and Git commits cannot update ChatGPT project instructions automatically. The Captain must separately place the text above in the relevant ChatGPT project settings.
|
||||||
@@ -13,6 +13,10 @@ Read repository `AGENTS.md`, `docs/PROJECT_OVERVIEW.md`, `docs/CURRENT_STATE.md`
|
|||||||
|
|
||||||
Bootstrap missing records minimally and reconcile existing records without destructive replacement. Overview holds stable purpose and boundaries; current state holds verified facts and limitations; decisions hold accepted durable policy; tasks hold scope, acceptance, dependencies, and status; handoff holds the concise next action and exact candidate state. Never put secrets in these records.
|
Bootstrap missing records minimally and reconcile existing records without destructive replacement. Overview holds stable purpose and boundaries; current state holds verified facts and limitations; decisions hold accepted durable policy; tasks hold scope, acceptance, dependencies, and status; handoff holds the concise next action and exact candidate state. Never put secrets in these records.
|
||||||
|
|
||||||
|
## Discussion-first communication
|
||||||
|
|
||||||
|
Follow `references/discussion-first.md` when interpreting questions, proposals, acceptance, and action requests. A question (including a statement ending `?`) asks for an answer, not execution. Answer yes/no questions with Yes or No first, followed by at most a short relevant explanation. Agreement with a proposal records a preference or decision; it does not authorise a Codex prompt, patch, new mission, repository changes or `engage`. Do not advance to the next mission step unless the Captain actually requests it. If a further step seems useful, ask permission rather than producing it. Keep an explicitly engaged mission moving within its approved scope without repeated permission checks.
|
||||||
|
|
||||||
## Task IDs and reconciliation
|
## Task IDs and reconciliation
|
||||||
|
|
||||||
Follow `references/task-lifecycle.md` for identifier allocation, collision handling, and authorised renumbering. Use a project-specific prefix and sequential number for new tasks (for example `PI-042`). A repository may specify a historical convention such as `FORGE-F###`; retain it. Historical identifiers including `TASK-001` stay valid. Before allocating, importing, or merging task records, inventory IDs in the relevant records with `scripts/context_audit.py` or an equivalent read-only check. Report duplicate locations and pause affected integration until Captain resolves the collision. Never silently renumber historical records or use a global allocator.
|
Follow `references/task-lifecycle.md` for identifier allocation, collision handling, and authorised renumbering. Use a project-specific prefix and sequential number for new tasks (for example `PI-042`). A repository may specify a historical convention such as `FORGE-F###`; retain it. Historical identifiers including `TASK-001` stay valid. Before allocating, importing, or merging task records, inventory IDs in the relevant records with `scripts/context_audit.py` or an equivalent read-only check. Report duplicate locations and pause affected integration until Captain resolves the collision. Never silently renumber historical records or use a global allocator.
|
||||||
|
|||||||
@@ -0,0 +1,22 @@
|
|||||||
|
# Discussion-first interaction protocol
|
||||||
|
|
||||||
|
Use this protocol for the Captain and, through `bortstack-contributor`, the Commander. It governs **conversational scope**, not Git authority or a new task lifecycle. Repository instructions and explicit, valid mission commands still govern authorised operations.
|
||||||
|
|
||||||
|
1. **Answer the actual question.** A statement ending with `?` is a question, not an instruction to perform the proposed action. Start yes/no answers with **Yes** or **No**; add only a short explanation if useful. Other questions receive an answer proportional to their scope. Do not tack on unsolicited next steps.
|
||||||
|
2. **Discussion is not implementation.** Exploring an idea, requesting an assessment, or agreeing with a proposal does not authorise editing files, creating missions, writing patches or Codex prompts, migrating projects, or changing infrastructure.
|
||||||
|
3. **Explicit actions have bounded authority.** A request to create a prompt permits the prompt, not code changes. A request for a patch permits a patch, not applying it to the user's live checkout. An explicit implementation request or `MISSION-ID engage` authorises implementation under current repository and role restrictions, not unrelated work.
|
||||||
|
4. **Ask before jumping forward.** If the next step seems useful but was not requested, ask whether the user wants it instead of preparing it. If the question can be answered now, answer it first. Do not repeatedly ask for confirmation within an already authorised mission or obstruct routine testing and finalisation required by that mission.
|
||||||
|
5. **Inspect current evidence when needed.** For repository-specific claims and changes, inspect the latest available snapshot or live checkout. State when the evidence is old or unavailable; do not invent current file contents or status. Do not ask again for inputs already supplied.
|
||||||
|
6. **Keep deliverables singular and requested.** Do not include an unsolicited patch alongside a requested Codex handoff, or an unsolicited handoff alongside a requested patch. Do not create additional plans or tasks simply because they might be useful.
|
||||||
|
|
||||||
|
## Examples
|
||||||
|
|
||||||
|
- “Should PitchInvader adopt Bortstack?” → answer the question; do not write a migration handoff.
|
||||||
|
- “Maybe we should update these skills?” → give an assessment; do not implement.
|
||||||
|
- “I like that” / “Agreed” → acknowledge the decision; do not create a mission.
|
||||||
|
- “Give me a reconciliation patch” → prepare the requested patch only, using the current source.
|
||||||
|
- `PI-042 set course` → brief and select; do not implement.
|
||||||
|
- `PI-042 engage` → implement the authorised mission.
|
||||||
|
- `PI-042 complete` → execute existing role-aware finalisation and cleanup gates; do not infer deployment authority.
|
||||||
|
|
||||||
|
Keep this protocol short and complementary to `mission-commands.md` and `task-lifecycle.md`; their safety gates remain in force.
|
||||||
@@ -9,6 +9,10 @@ and mission accomplished when the task is Verified / Closed. Preserve technical
|
|||||||
terms in Git commands, filenames, repository records, API contracts, and
|
terms in Git commands, filenames, repository records, API contracts, and
|
||||||
diagnostics. Never rename historical IDs, branches, `TASKS.md`, or task records.
|
diagnostics. Never rename historical IDs, branches, `TASKS.md`, or task records.
|
||||||
|
|
||||||
|
## Questions and action boundaries
|
||||||
|
|
||||||
|
Apply `discussion-first.md` before interpreting mission requests. A question such as “Should we migrate?”, “Can I use a worktree?”, or “Maybe we should update the skill?” must be answered without creating tasks, patches or handoffs. “I agree” is not `engage`. `MISSION-ID set course` / `lock on` authorises selection and briefing only; `MISSION-ID engage` authorises the accepted implementation; `MISSION-ID complete` authorises the role-specific finalisation already defined below. Explicit natural-language implementation requests are also valid, but do not infer them from questions or enthusiasm. Preserve concise guidance during an active, authorised mission.
|
||||||
|
|
||||||
## Selection and help
|
## Selection and help
|
||||||
|
|
||||||
The form is `MISSION-ID action [options]`. Accept `set course`, `lock on`,
|
The form is `MISSION-ID action [options]`. Accept `set course`, `lock on`,
|
||||||
|
|||||||
@@ -7,6 +7,10 @@ description: Guide an authorised contributor through mission briefing, scoped im
|
|||||||
|
|
||||||
Use with `bortstack-context`; its `references/task-lifecycle.md` and repository `AGENTS.md` own records, task states, branches, worktrees, design approvals, integration evidence, 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.
|
Use with `bortstack-context`; its `references/task-lifecycle.md` and repository `AGENTS.md` own records, task states, branches, worktrees, design approvals, integration evidence, 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.
|
||||||
|
|
||||||
|
## Discussion-first Commander guidance
|
||||||
|
|
||||||
|
Follow `bortstack-context/references/discussion-first.md`. Answer Commander questions directly; a question or agreement does not itself authorise a new mission or unrelated implementation. For a yes/no question, begin with Yes or No and explain briefly if necessary. Do not generate unsolicited implementation instructions, plans, or changes. When Commander asks a question during an already engaged mission, answer it and continue only the already authorised mission work; do not make a new architectural decision or broaden scope. Keep the existing proactive testing and review-submission guidance for genuinely completed missions, including recognised natural-language completion statements. If an extra action would go beyond the request, ask first in plain language.
|
||||||
|
|
||||||
## Orient and select work
|
## 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.
|
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.
|
||||||
|
|||||||
@@ -0,0 +1,29 @@
|
|||||||
|
"""Focused contract checks for discussion-first behaviour; not LLM behaviour tests."""
|
||||||
|
import unittest
|
||||||
|
from pathlib import Path
|
||||||
|
|
||||||
|
ROOT = Path(__file__).resolve().parents[1]
|
||||||
|
|
||||||
|
|
||||||
|
class DiscussionFirstContractTests(unittest.TestCase):
|
||||||
|
def test_context_and_contributor_reference_the_shared_protocol(self):
|
||||||
|
reference = ROOT / "skills/bortstack-context/references/discussion-first.md"
|
||||||
|
self.assertTrue(reference.is_file())
|
||||||
|
context = (ROOT / "skills/bortstack-context/SKILL.md").read_text()
|
||||||
|
contributor = (ROOT / "skills/bortstack-contributor/SKILL.md").read_text()
|
||||||
|
self.assertIn("references/discussion-first.md", context)
|
||||||
|
self.assertIn("discussion-first.md", contributor)
|
||||||
|
|
||||||
|
def test_questions_agreement_and_explicit_actions_are_distinct(self):
|
||||||
|
rules = (ROOT / "skills/bortstack-context/references/discussion-first.md").read_text()
|
||||||
|
for required in ("ending with `?`", "**Yes** or **No**", "agreement", "ask", "`MISSION-ID engage`", "patch", "latest"):
|
||||||
|
self.assertIn(required.lower(), rules.lower())
|
||||||
|
|
||||||
|
def test_chatgpt_instructions_are_separate_from_codex_skill(self):
|
||||||
|
instructions = (ROOT / "docs/specifications/discussion-first-protocol.md").read_text()
|
||||||
|
self.assertIn("ChatGPT project instructions", instructions)
|
||||||
|
self.assertIn("cannot update ChatGPT project instructions automatically", instructions)
|
||||||
|
|
||||||
|
|
||||||
|
if __name__ == "__main__":
|
||||||
|
unittest.main()
|
||||||
Reference in New Issue
Block a user