Skip to content

feat(skills): add harness integration to tentacle-creator skill#738

Merged
magicpro97 merged 2 commits into
mainfrom
feat/i735-tentacle-creator-harness
May 30, 2026
Merged

feat(skills): add harness integration to tentacle-creator skill#738
magicpro97 merged 2 commits into
mainfrom
feat/i735-tentacle-creator-harness

Conversation

@magicpro97
Copy link
Copy Markdown
Owner

Summary

Completes the harness integration originally requested for both /tentacle-orchestration and /tentacle-creator skills.

PR #737 covered tentacle-orchestration; this PR covers tentacle-creator — the skill that generates tentacle-orchestration skills for new projects.

Change

.github/skills/tentacle-creator/SKILL.md — added ## Harness Integration section (20 lines):

  • When generating a tentacle-orchestration skill, always include sk harness check in Phase 3 verification gate row
  • Step 7 (Report) must instruct sk harness init when harness.yaml is absent
  • Wire sk harness check [--json] into the generated CONTEXT.md template
  • Quality gate: verify generated skill has harness row with grep -q 'harness' .github/skills/tentacle-orchestration/SKILL.md

Why

The user's original request was: update /tentacle-orchestration and /tentacle-creator skills to always use harness, quality over speed. PR #737 missed tentacle-creator (it was an untracked directory added as a new file in this commit).

Verification

No Python files changed — no test suite required. Markdown only.

Add ## Harness Integration section to tentacle-creator/SKILL.md so that
when this skill generates a tentacle-orchestration skill, it always:
- Includes sk harness check in Phase 3 verification gate
- Instructs sk harness init when harness.yaml is absent
- Wires harness into the generated CONTEXT.md template

This completes the harness integration originally requested alongside
tentacle-orchestration: both creator and orchestration skills now
explicitly name quality-over-speed and harness commands.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 30, 2026 16:58
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds explicit harness guidance to the tentacle-creator meta-skill so that newly generated tentacle-orchestration skills consistently preserve/require harness verification steps and bootstrap instructions.

Changes:

  • Adds a new Harness Integration section to .github/skills/tentacle-creator/SKILL.md.
  • Documents expectations for generated skills: include a Harness gate in Phase 3, instruct sk harness init when harness.yaml is missing, and include sk harness check [--json] in generated CONTEXT templates.
  • Adds a simple grep-based quality gate to verify the generated orchestration skill includes a Harness gate row.


```bash
if ! grep -qF '.octogent/' .gitignore 2>/dev/null; then
echo -e "\n# Tentacle orchestration (local work contexts)\n.octogent/" >> .gitignore
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 62c0fc1 — replaced echo -e with printf for portability on macOS/BSD.

Comment on lines +188 to +189
Present a summary: project profile, files created, agent mappings detected, verification commands, and example usage commands.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 62c0fc1 — Step 7 Report now explicitly mentions the harness bootstrap check.


**Quality over speed.** When this skill generates a `tentacle-orchestration` skill for a project:

1. **Always include `sk harness check` in Phase 3 verification** — add a Harness gate row to the generated skill's Phase 3 table so agents never skip harness gates.
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 62c0fc1 — changed to 'ensure it stays present' to match the canonical reference already having the row.

Comment on lines +226 to +229
# Check harness health before tentacle dispatch
sk harness check --json
# If harness.yaml missing, initialize first:
sk harness init --yes
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 62c0fc1 — swapped order to bootstrap-first: sk harness init --yes then sk harness check --json.


> **Quality gate:** A generated skill that omits the harness gate row from Phase 3 is incomplete. Verify with:
> ```bash
> grep -q 'harness' .github/skills/tentacle-orchestration/SKILL.md || echo "FAIL: harness gate missing"
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in 62c0fc1 — grep now targets the specific Phase 3 table row string instead of broad 'harness'.

- Use printf instead of echo -e (Step 5, portability on macOS/BSD)
- Step 7 Report: mention harness bootstrap check explicitly
- Harness §1: 'ensure stays present' not 'add' (already in canonical ref)
- Harness code block: init-if-missing → check order (bootstrap first)
- Quality gate grep: match specific Phase 3 table row string, not broad 'harness'

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@magicpro97 magicpro97 merged commit ecfd979 into main May 30, 2026
34 checks passed
@magicpro97 magicpro97 deleted the feat/i735-tentacle-creator-harness branch May 30, 2026 17:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants