Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions docs/reference/workflows.md
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ steps:
command: speckit.plan
integration: "{{ inputs.integration }}"
input:
args: "{{ inputs.spec }}"
args: ""

- id: review-plan
type: gate
Expand All @@ -484,13 +484,13 @@ steps:
command: speckit.tasks
integration: "{{ inputs.integration }}"
input:
args: "{{ inputs.spec }}"
args: ""

- id: implement
command: speckit.implement
integration: "{{ inputs.integration }}"
input:
args: "{{ inputs.spec }}"
args: ""
```

This produces the following execution flow:
Expand Down
10 changes: 7 additions & 3 deletions tests/test_config_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,9 +174,13 @@ def test_config_set_team_directives_saves_resolved_source_and_skills(
monkeypatch.chdir(project)
calls = []

# Use a real directory so Path.resolve() is cross-platform.
resolved_dir = tmp_path / "resolved" / "team-directives"
resolved_dir.mkdir(parents=True)

def sync(source, project_root, *, force, preserve_previous_cache=False):
calls.append(("sync", source, project_root, force))
return "local", Path("/resolved/team-directives")
return "local", resolved_dir

def install_skills(**kwargs):
calls.append(("skills", kwargs))
Expand All @@ -191,13 +195,13 @@ def install_skills(**kwargs):
)

assert result.exit_code == 0, result.output
assert load_init_options(project)["team_ai_directives"] == "/resolved/team-directives"
assert load_init_options(project)["team_ai_directives"] == str(resolved_dir.resolve())
assert calls == [
("sync", "/input/team-directives", project, False),
(
"skills",
{
"team_directives_path": Path("/resolved/team-directives"),
"team_directives_path": resolved_dir,
"project_path": project,
"selected_ai": "codex",
"force": False,
Expand Down
3 changes: 3 additions & 0 deletions tests/test_verify_post_initialization_configuration_script.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@
from __future__ import annotations

import subprocess
import sys
from pathlib import Path

import pytest

REPO_ROOT = Path(__file__).resolve().parents[1]
SCRIPT = REPO_ROOT / "scripts" / "verify-post-initialization-configuration.sh"


@pytest.mark.skipif(sys.platform == "win32", reason="bash script requires WSL on Windows")
def test_verifier_checks_post_initialization_configuration() -> None:
"""The helper validates the documented local configuration workflow."""
result = subprocess.run(
Expand Down
Loading