Skip to content

Add JetBrains Junie harness support - #1666

Merged
potiuk merged 1 commit into
apache:mainfrom
potiuk:junie-support
Oct 16, 2026
Merged

potiuk merged 1 commit into
apache:mainfrom
potiuk:junie-support

Conversation

@potiuk

@potiuk potiuk commented Oct 16, 2026

Copy link
Copy Markdown
Member

Summary

  • Add JetBrains Junie as a supported harness: new docs/adapters/junie.md, indexed in the adapters README, registry, CONTRIBUTING.md, vendor-neutrality and marketplace docs.
  • Add a --junie adapter to agent-guard. Junie's PreToolUse payload is Claude-shaped, so the no-argument dispatcher would route it to the Claude adapter, whose hookSpecificOutput deny Junie ignores and whose exit 0 lets the command through (fail open). --junie blocks with exit 2 plus a decision JSON and stderr reason, the signals Junie honours.
  • Junie reads .agents/skills/ and AGENTS.md natively, so the universal registry row covers it and no relay row is added.

Type of change

  • Python package (tools/*/ with pyproject.toml)
  • Cross-cutting (RFC, AGENTS.md, sandbox, privacy-LLM)
  • Documentation (docs/, README.md, CONTRIBUTING.md)

Test plan

  • prek run --all-files passes, except local-tracker::test_publish_git_commits_only_tracker_root_and_pushes, which fails locally under the sandbox (git log exit 128) and is unrelated.
  • uv run --directory tools/agent-guard --group dev pytest passes (new tests/test_junie.py); ruff check and ruff format clean.

RFC-AI-0004 compliance

  • Sandbox — documented gaps: Junie's sandbox does not cover MCP servers or hooks.
  • Vendor neutrality — Junie added to the harness vocabulary of vendor-neutrality-score.

Linked issues

Refs #321.

Notes for reviewers

  • The payload and block semantics come from Junie's documentation, not a captured live event; hooks are in Junie's Early Access Program. The doc says so and asks for a captured fixture later.
  • Not included: a spec-loop --cli runner profile (Junie headless flags unverified) and a setup-installed hook template (Junie hooks live in user config).

Generated-by: GitHub Copilot (Claude Sonnet 5.5)

@potiuk potiuk added family:setup setup-* skills capability:platform Framework / agent substrate skills (install, verify, doctor, override, status, setup bootstrap) labels Oct 16, 2026
…pter guide)

Generated-by: GitHub Copilot (Claude Sonnet 5.5)
@potiuk
potiuk merged commit 6c24f30 into apache:main Oct 16, 2026
12 checks passed
@github-actions github-actions Bot added family:tools tools/* family:docs Docs, MISSION.md, READMEs substrate:analytics Tool substrate: read-only metrics / dashboards / renderers substrate:action-guard Tool substrate: deterministic pre-tool-use command guards substrate:framework-dev Tool substrate: build / validate / eval the framework itself labels Oct 16, 2026
potiuk added a commit that referenced this pull request Oct 17, 2026
Hand-sync of tools/spec-loop/specs/ with the functionality that landed
between d58ecb7 and 43e4c6e.

Specs changed:
- release-management-lifecycle: verify-rc classification as code
  (abd5969, #1619), vote-draft / promote / announce-draft renders
  (c87ad08, d5fe7fd), the per-outcome / backend / classification
  file split across the family, and the SKILL.md size gap closed (all
  ten now under 500 lines).
- adoption-and-setup: the utilities first-run welcome guide and the
  text-file mirror fallback in the family scan (9f8c479, #1669).
- meta-and-quality-tooling: the zero-token /magpie-skills Claude Code
  mod in magpie-utilities (861c84e, #1667).
- agent-isolation-sandbox: the agent-guard --junie adapter (6c24f30,
  #1666) and sandbox-lint refusing a tracked .claude/settings.json
  (4a07965, #1675).
- adapters, security-issue-lifecycle, project-agnosticism: the canonical
  apache-magpie status-rollup marker, preferred over and replacing the
  legacy tracker-named one for new rollups (ccead70, #1665).
- .last-sync bumped to 43e4c6e.

No spec change needed (specs already updated in the commit itself):
43e4c6e, 399ab1b, 622bfbc, 5fc6a32, a75734c, e44b44a,
a93a7d1, c67e3c6, a3d9b71, ec015bb.

Exempt (mechanical): 0a79a33 (dev version bump), 80a0f1f (npm pin
bump in prek hooks).

Generated-by: Claude Opus 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

capability:platform Framework / agent substrate skills (install, verify, doctor, override, status, setup bootstrap) family:docs Docs, MISSION.md, READMEs family:setup setup-* skills family:tools tools/* substrate:action-guard Tool substrate: deterministic pre-tool-use command guards substrate:analytics Tool substrate: read-only metrics / dashboards / renderers substrate:framework-dev Tool substrate: build / validate / eval the framework itself

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant