JunieのナレッジベースBusabase × Junie

Junieのナレッジベース

JunieはJetBrains IDE、interactive CLI、headless CI、GitHub Actions、GitLab pipelinesで動作します。Project trust、guidelines、Skills、MCP、approval modes、sandbox policy、review agentsによりrunの条件が変わります。Durable knowledgeはexecution surfaceから記録します。

Cross-surface evidence proposalAwaiting accountable review
Junie task evidenceを確認するBusabase
同じrepositoryでもIDE、CLI controls、CI automationは異なるexecution contextです。

Execution surfaces

IDE、CLI、CI runは同一のtrust/approval modelを継承しない。

JunieはJetBrains IDE、interactive terminal、headless pipelineで動きます。Surface、authentication、checkout、model/provider、人が介入できたかを記録します。

SurfaceHuman interactionPrimary evidence
JetBrains IDEInteractiveIDE actions、inspections、diff
Junie CLIInteractive / headlessSession events、commands、files
GitHub ActionPipeline-triggeredPR、checks、action logs
GitLab CI/CDIssue/MR-triggeredPipeline、MR、artifacts

Project trust

RepositoryがwritableでもJunie configはuntrustedのままにできる。

Interactive CLIはproject config、MCP、hooks、agents、commands、Skills、guidelines、memoryをloadする前にtrustを確認します。Untrusted projectはtemporary storageを使います。Non-interactive/ACPはprompt不可のためtrusted扱いなのでpipeline governanceが必要です。

PATH CANONICALIZED

Symlink/scopeを解決

TRUST DECISION

Exact project / parent scope

CONFIG LOADED

Trusted sourcesのみ

TASK EXECUTED

Surface controls適用

OUTCOME REVIEWED

Ownerがshared stateをaccept

Guidelinesとmemory

AGENTS.mdはpersistent guidance、memoryはcurationが必要なcontext。

`.junie/AGENTS.md`、root AGENTS.md + playbook/rules、legacy guidelinesの順序とproject/global guidanceを記録します。Instructionはversioned、changing decisionはreviewed recordへ移します。

PROJECT GUIDELINES

Repository conventions / commands

GLOBAL GUIDELINES

Personal / organization preferences

MEMORY

Later session用に抽出したcontext

REVIEWED RECORD

Owner/freshness付きaccepted state

Agent Skills

Portable Skillsはprocedure/support filesを持ち、current approval stateは持たない。

Project、user、`.agents`、extension、custom locationsからloadされ、自動またはslash commandで実行されます。Bundled scriptsを含むthird-party Skillはrevisionをpinし内容をreviewします。

SKILL OWNS

Procedure、templates、scripts、checklist

RECORD OWNS

Accepted outcome、owner、lifecycle

Approval stack

Action Allowlist、Brave mode、sandboxは異なるfriction/blast radiusを制御する。

Allowlistはpromptを省略し、Brave modeはask頻度を変え、sandboxはterminal commandsだけをwrapします。File edits、MCP、hooks、Junie-managed Git operationsは対象外です。

ControlChangesDoes not prove
Action AllowlistMatched action promptResult correctness
Brave modeAsk / auto / broad executionCredential appropriateness
SandboxTerminal filesystem/network riskAll Junie actions isolated
Change RequestShared record acceptanceExecution repeatability

MCP scopes

Project/user MCP configはsharingとsecret riskが異なる。

Projectは`.junie/mcp/mcp.json`、userは`~/.junie/mcp/mcp.json`です。Local/remote、OAuth、runtime statusを保持します。ACP clientsはlist可能ですがinstallation assistantでconfig editしません。

PROJECT MCP

Shareable config、secretをcommitしない

USER MCP

Private machine-wide config

ACP SESSION

Client-supplied/local runtime list

REVIEWED RESULT

Execution後のevidence-backed state

Review evidence

Code review agentはread-only analysisでありsuggestion acceptanceは別action。

Diff/project contextを読みますがfile edit、build/test、commit/pushはしません。Target、finding、accept/dismiss、patch、tests、final revisionを保存します。

01 · TARGET

Branch、commit、range、staged/unstaged

02 · FINDING

Read-only review comment

03 · DECISION

Accept / dismiss

04 · PATCH

Separate implementation

05 · VERIFY

Tests / final revision

Junie review evidenceを保存するBusabase

Knowledge contract

結果を実行時のJunie環境と制御状態へ結び付ける。

Compact recordにreproduce/challenge可能なprovenanceを保持します。

outcome_keyStable identity
execution_surfaceIDE、CLI、GitHub、GitLab
session_or_runSession、pipeline、action ref
trust_configProject trust / config digest
guidance_refsAGENTS.md、Skills、memory
action_evidenceCommands、MCP calls、diffs、logs
verificationReview、tests、readback
owner_decisionAcceptance / freshness

実務上の質問

JunieナレッジベースのFAQ

BusabaseはJunie guidelinesを置換しますか?

いいえ。Guidelinesはbehavior、Busabaseはselected reviewed outcomesです。

Untrusted projectはunreadableですか?

いいえ。Workspace filesは利用でき、project-provided configだけloadされません。

SandboxはMCP/file editsをcoverしますか?

いいえ。Current docsではterminal commandsのみです。

Action AllowlistはMCP resultをapproveしますか?

いいえ。Confirmation promptとresult reviewは別です。

Code review findingを直接recordにできますか?

Findingはevidenceであり、accepted patch、verification、owner、final revisionが必要です。

1つのverified Junie runから始める

Surface、trust decision、controls、final repository evidenceを記録する。

Stable outcomeに到達したIDE、CLI、CI taskを選び、execution boundaryを保存し、reusable resultだけreviewへ送ります。