@@ -169,7 +169,7 @@ function PromptPanel({ prompts }: { prompts: PromptCard[] }) {
{prompt.prompt_title}
-
{prompt.description_text ?? '설명 없음'}
+
{prompt.description_text ?? '프롬프트 설명이 등록되지 않았습니다.'}
@@ -287,6 +287,171 @@ function RunHistoryPanel({ events }: { events: RunEvent[] }) {
);
}
+function ExecutionCheckpointNav() {
+ return (
+
+ );
+}
+
+function CheckpointSection({
+ id,
+ title,
+ detail,
+ children,
+}: {
+ id: string;
+ title: string;
+ detail: string;
+ children: ReactNode;
+}) {
+ const titleId = `${id}-title`;
+ return (
+
+ );
+}
+
+function ContextCheckpoint({ prompts }: { prompts: PromptCard[] }) {
+ if (prompts.length === 0) {
+ return
;
+ }
+ return (
+
+ {prompts.slice(0, 4).map((prompt) => (
+
+
+
+
{prompt.prompt_title}
+
{prompt.description_text ?? '프롬프트 설명이 등록되지 않았습니다.'}
+
+
+
+
+
+
- 소유자
+ - {prompt.owner_label}
+
+
+
- 업데이트
+ - {formatDateTime(prompt.updated_at)}
+
+
+
+ ))}
+
+ );
+}
+
+function DecisionCheckpoint({ metrics, agents }: { metrics: EvaluationMetric[]; agents: AgentCard[] }) {
+ const visibleMetrics = metrics.slice(0, 4);
+ if (visibleMetrics.length === 0 && agents.length === 0) {
+ return
;
+ }
+ return (
+
+
+ {visibleMetrics.map((metric) => (
+
+
+
{metric.metric_label}
+ {metric.score_value}
+
+
+ {metric.trend_text}
+
+ ))}
+
+
+
+ );
+}
+
+function ActionsCheckpoint({ workflows, events }: { workflows: WorkflowCard[]; events: RunEvent[] }) {
+ return (
+
+
+ {workflows.length === 0 ? (
+
+ ) : (
+ workflows.slice(0, 4).map((workflow) => (
+
+
+
{workflow.workflow_title}
+
+
+ {workflow.trigger_source}
+ {workflow.evidence_text}
+
+ ))
+ )}
+
+
+
+ );
+}
+
export function AIHubLayout() {
const [activeTab, setActiveTab] = useState
('prompts');
const [surfaceStatus, setSurfaceStatus] = useState('loading');
@@ -313,7 +478,7 @@ export function AIHubLayout() {
if (cancelled) return;
console.error('AI Hub surface fetch error', getSafeErrorSummary(error));
setSurface(null);
- setErrorText('AI Hub source evidence를 불러오지 못했습니다.');
+ setErrorText('AI 허브 source evidence를 불러오지 못했습니다.');
setSurfaceStatus('error');
});
return () => {
@@ -365,8 +530,8 @@ export function AIHubLayout() {
{surfaceStatus === 'loading' && (
-
- AI Hub source evidence를 불러오는 중입니다.
+
+ AI 허브 source evidence를 불러오는 중입니다.
)}
@@ -386,6 +551,28 @@ export function AIHubLayout() {
{surfaceStatus === 'ready' && surface && (
<>
+
+
+
+
+
+
+
+
+
+
{activeTab === 'prompts' && }
{activeTab === 'workflows' && }
diff --git a/frontend/tests/e2e/ai-hub-source-surface.spec.ts b/frontend/tests/e2e/ai-hub-source-surface.spec.ts
index b3095e841..68bf088ba 100644
--- a/frontend/tests/e2e/ai-hub-source-surface.spec.ts
+++ b/frontend/tests/e2e/ai-hub-source-surface.spec.ts
@@ -39,15 +39,22 @@ for (const viewport of viewports) {
}
await expect(page.getByRole('heading', { name: 'AI 허브' })).toBeVisible();
- await expect(page.getByText('의사결정 로그 요약')).toBeVisible();
+ await expect(page.getByRole('region', { name: '맥락 종합' })).toBeVisible();
+ await expect(page.getByRole('region', { name: '판단 포인트' })).toBeVisible();
+ await expect(page.getByRole('region', { name: '실행 항목' })).toBeVisible();
+ await expect(
+ page.getByRole('region', { name: '맥락 종합' }).getByRole('heading', { name: '의사결정 로그 맥락 종합' }),
+ ).toBeVisible();
await page.getByRole('button', { name: /워크플로우/ }).click();
- await expect(page.getByText('의사결정 로그 요약 실행 흐름')).toBeVisible();
+ await expect(
+ page.getByRole('region', { name: '워크플로우' }).getByRole('heading', { name: '의사결정 로그 맥락 종합 실행 흐름' }),
+ ).toBeVisible();
await page.getByRole('button', { name: /AI 에이전트/ }).click();
- await expect(page.getByText('Primary OpenAI')).toBeVisible();
+ await expect(page.getByRole('region', { name: 'AI 에이전트' }).getByRole('heading', { name: 'Primary OpenAI' })).toBeVisible();
await page.getByRole('button', { name: /평가/ }).click();
- await expect(page.getByText('Provider 준비도')).toBeVisible();
+ await expect(page.getByRole('region', { name: '평가' }).getByRole('heading', { name: 'Provider 준비도' })).toBeVisible();
await page.getByRole('button', { name: /실행 이력/ }).click();
- await expect(page.getByText('api.llm_providers')).toBeVisible();
+ await expect(page.getByRole('region', { name: '실행 이력' }).getByText('api.llm_providers')).toBeVisible();
const horizontalOverflow = await page.evaluate(
() => document.documentElement.scrollWidth - document.documentElement.clientWidth,
diff --git a/frontend/tests/e2e/dashboard-branding.spec.ts b/frontend/tests/e2e/dashboard-branding.spec.ts
index 70ae45b61..4c78309e1 100644
--- a/frontend/tests/e2e/dashboard-branding.spec.ts
+++ b/frontend/tests/e2e/dashboard-branding.spec.ts
@@ -456,7 +456,9 @@ test('renders Security governance access audit sharing and policy with signed AP
await page.screenshot({ path: testInfo.outputPath('security-governance-mobile-scroll.png'), fullPage: false });
await page.goto('/');
- await page.getByRole('button', { name: '워크스페이스 메뉴 열기' }).click();
+ const mobileMenuButton = page.getByRole('button', { name: '워크스페이스 메뉴 열기' }).first();
+ await expect(mobileMenuButton).toBeVisible();
+ await mobileMenuButton.click();
const menu = page.locator('#mobile-workspace-menu');
await expect(menu.getByRole('link', { name: '보안', exact: true })).toHaveAttribute('href', '/security');
await menu.evaluate((element) => {
@@ -944,7 +946,7 @@ test('renders source-backed mail account settings across desktop tablet and mobi
await expect(page.getByText('OAuth 로그인')).toBeVisible();
await expect(page.getByText('Source readiness')).toBeVisible();
await expect(page.getByText('caldav-primary', { exact: true })).toBeVisible();
- await expect(page.getByText('webdav_src_primary')).toBeVisible();
+ await expect(page.getByLabel('Provider source readiness').getByText('webdav_src_primary', { exact: true })).toBeVisible();
await expect(page.getByText('저장된 secret 유지').first()).toBeVisible();
if (viewport.name === 'desktop') {
@@ -1219,7 +1221,7 @@ test('renders unique email canonical thread intent with signed API headers', asy
}
expect(desktopRequest.postDataJSON().candidates).toHaveLength(2);
await expect(page.getByText('email.unique_thread_intent.created')).toBeVisible();
- await expect(page.getByText('provider_write_executed=false')).toBeVisible();
+ await expect(page.getByLabel('unique email canonical thread').getByText('provider_write_executed=false')).toBeVisible();
await expect(page.getByText(/fingerprint.*thread-q2-root/)).toBeVisible();
const desktopOverflow = await page.evaluate(() => document.documentElement.scrollWidth - document.documentElement.clientWidth);
expect(desktopOverflow).toBeLessThanOrEqual(1);
@@ -1469,7 +1471,7 @@ for (const section of [
await page.goto('/ai-hub');
await page
- .getByRole('navigation', { name: 'AI hub execution checkpoints' })
+ .getByRole('navigation', { name: 'AI 허브 실행 체크포인트' })
.getByRole('link', { name: section.linkName })
.click();
diff --git a/frontend/tests/e2e/helpers.ts b/frontend/tests/e2e/helpers.ts
index eb6524747..b0549d837 100644
--- a/frontend/tests/e2e/helpers.ts
+++ b/frontend/tests/e2e/helpers.ts
@@ -132,7 +132,7 @@ const calendarCandidate = {
};
const aiHubPrompts = [
- { id: 101, title: '의사결정 로그 요약', description: '출시 일정과 파트너 리스크를 함께 검토합니다.' },
+ { id: 101, title: '의사결정 로그 맥락 종합', description: '출시 일정과 파트너 리스크를 함께 검토합니다.' },
{ id: 102, title: '계약 리스크 점검', description: '계약서, 첨부, 메일 스레드를 판단 포인트로 정리합니다.' },
{ id: 103, title: '후속 실행 항목', description: '답장, 일정, 할 일을 담당자별 실행 흐름으로 나눕니다.' },
];
diff --git a/scripts/ci/strix_quick_gate.sh b/scripts/ci/strix_quick_gate.sh
index 183d8a9a2..1e636643e 100644
--- a/scripts/ci/strix_quick_gate.sh
+++ b/scripts/ci/strix_quick_gate.sh
@@ -528,6 +528,18 @@ is_github_models_model() {
esac
}
+is_github_models_api_compatible_model() {
+ case "$1" in
+ openai/openai/* | github_models/* | \
+ openai/gpt-5* | openai/gpt-[6-9]* | openai/gpt-[1-9][0-9]*)
+ return 0
+ ;;
+ *)
+ return 1
+ ;;
+ esac
+}
+
is_github_models_api_base() {
local api_base="$1"
case "$api_base" in
@@ -1899,7 +1911,7 @@ resolved_llm_api_base_for_model() {
echo "ERROR: LLM_API_BASE must be an https URL when configured." >&2
return 2
fi
- if is_github_models_api_base "$llm_api_base_value" && ! is_github_models_model "$model"; then
+ if is_github_models_api_base "$llm_api_base_value" && ! is_github_models_api_compatible_model "$model"; then
echo "ERROR: LLM_API_BASE may route through GitHub Models only when STRIX_LLM uses a GitHub Models model prefix." >&2
return 2
fi
diff --git a/scripts/ci/test_strix_quick_gate.sh b/scripts/ci/test_strix_quick_gate.sh
index b59896b51..f6e718a89 100644
--- a/scripts/ci/test_strix_quick_gate.sh
+++ b/scripts/ci/test_strix_quick_gate.sh
@@ -119,9 +119,9 @@ assert_strix_workflow_pr_trigger_hardened() {
assert_file_not_contains "$workflow_file" "STRIX_TOTAL_TIMEOUT_SECONDS:" "strix workflow must not expose total timeout env names in GitHub logs"
assert_file_not_contains "$workflow_file" "STRIX_PR_SCOPE_MAX_FILES_PER_BATCH" "strix workflow must not split Strix PR evidence into separate scanner runs"
assert_file_not_contains "$workflow_file" "secrets.STRIX_LLM == 'vertex_ai/gemini-3.1-pro-preview-customtools' && 'vertex_ai/gemini-2.5-flash'" "strix workflow must not quarantine the approved Vertex preview model after organization secret visibility is fixed"
- assert_file_contains "$workflow_file" "github.event.inputs.strix_llm || 'openai/openai/gpt-4.1'" "strix workflow defaults PR Strix scans to GitHub Models"
+ assert_file_contains "$workflow_file" "github.event.inputs.strix_llm || 'openai/gpt-5'" "strix workflow defaults PR Strix scans to GitHub Models GPT-5"
assert_file_not_contains "$workflow_file" "secrets.STRIX_LLM ||" "strix workflow must not let the legacy STRIX_LLM secret override PR defaults"
- assert_file_contains "$workflow_file" "STRIX_LLM must select GitHub Models openai/openai/*, direct OpenAI GPT-5.4 or newer, or an approved organization Vertex AI model" "strix workflow rejects unsupported model inputs"
+ assert_file_contains "$workflow_file" "STRIX_LLM must select GitHub Models openai/gpt-5 or newer, direct OpenAI GPT-5.4 or newer, or an approved organization Vertex AI model" "strix workflow rejects unsupported model inputs"
assert_file_contains "$workflow_file" "vertex_ai/gemini-3.1-pro-preview-customtools | vertex_ai/gemini-2.5-flash)" "strix workflow accepts only exact approved organization Vertex AI models"
assert_file_contains "$workflow_file" 'STRIX_VERTEX_FALLBACK_MODELS: ""' "strix workflow disables silent Vertex fallbacks so timeout-class failures fail closed"
assert_file_contains "$workflow_file" 'STRIX_FAIL_ON_PROVIDER_SIGNAL: "1"' "strix workflow fails closed on timeout, fatal, warning, denied, or provider failure signals"
@@ -139,10 +139,11 @@ assert_strix_workflow_pr_trigger_hardened() {
assert_file_not_contains "$workflow_file" "vertex_ai/* | vertex_ai_beta/*" "strix workflow must not accept arbitrary Vertex models"
assert_file_contains "$workflow_file" "provider_mode=openai_direct" "strix workflow requires direct OpenAI GPT-5 credentials"
assert_file_contains "$workflow_file" "provider_mode=github_models" "strix workflow supports GitHub Models provider mode"
- assert_file_contains "$workflow_file" 'LLM_API_KEY_SECRET: ${{ steps.gate.outputs.provider_mode == '"'"'github_models'"'"' && github.token || steps.gate.outputs.provider_mode == '"'"'openai_direct'"'"' && secrets.STRIX_OPENAI_API_KEY || '"'"''"'"' }}' "strix workflow uses provider-scoped LLM key material"
- assert_file_contains "$workflow_file" 'LLM_API_KEY: ${{ steps.gate.outputs.provider_mode == '"'"'github_models'"'"' && github.token || steps.gate.outputs.provider_mode == '"'"'openai_direct'"'"' && secrets.STRIX_OPENAI_API_KEY || '"'"''"'"' }}' "strix workflow masks provider-scoped LLM key material"
+ assert_file_contains "$workflow_file" 'STRIX_GITHUB_MODELS_TOKEN: ${{ secrets.STRIX_GITHUB_MODELS_TOKEN }}' "strix workflow uses the organization GitHub Models token secret"
+ assert_file_contains "$workflow_file" 'LLM_API_KEY_SECRET: ${{ steps.gate.outputs.provider_mode == '"'"'github_models'"'"' && secrets.STRIX_GITHUB_MODELS_TOKEN || steps.gate.outputs.provider_mode == '"'"'openai_direct'"'"' && secrets.STRIX_OPENAI_API_KEY || '"'"''"'"' }}' "strix workflow uses provider-scoped LLM key material"
+ assert_file_contains "$workflow_file" 'LLM_API_KEY: ${{ steps.gate.outputs.provider_mode == '"'"'github_models'"'"' && secrets.STRIX_GITHUB_MODELS_TOKEN || steps.gate.outputs.provider_mode == '"'"'openai_direct'"'"' && secrets.STRIX_OPENAI_API_KEY || '"'"''"'"' }}' "strix workflow masks provider-scoped LLM key material"
assert_file_not_contains "$workflow_file" "secrets.LLM_API_KEY" "strix workflow must not expose generic LLM_API_KEY for Vertex scans"
- assert_file_contains "$workflow_file" "github.token is required for GitHub Models Strix scans" "strix workflow fails closed when GitHub Models credentials are absent"
+ assert_file_contains "$workflow_file" "STRIX_GITHUB_MODELS_TOKEN is required for GitHub Models Strix scans" "strix workflow fails closed when GitHub Models credentials are absent"
assert_file_contains "$workflow_file" "STRIX_OPENAI_API_KEY is required for Strix OpenAI Platform scans" "strix workflow fails closed when direct credentials are absent"
assert_file_contains "$workflow_file" 'PROVIDER_MODE: ${{ steps.gate.outputs.provider_mode }}' "strix workflow passes provider mode through env"
assert_file_not_contains "$workflow_file" '[ "${{ steps.gate.outputs.provider_mode }}" = "openai_direct" ]' "strix workflow does not interpolate provider mode inside shell condition"
@@ -153,9 +154,9 @@ assert_strix_workflow_pr_trigger_hardened() {
assert_file_contains "$workflow_file" "https://models.github.ai/inference" "strix workflow routes GitHub Models scans to the inference endpoint"
assert_file_contains "$workflow_file" "LLM_API_BASE_FILE" "strix workflow passes the GitHub Models API base through a trusted input file"
assert_file_not_contains "$workflow_file" '${{ secrets.STRIX_OPENAI_API_KEY || github.token }}' "strix workflow must not use fallback-secret syntax for LLM API keys"
- assert_file_not_contains "$workflow_file" "openai/gpt-5 |" "strix workflow must not accept plain GPT-5 when GPT-5.4 is required"
+ assert_file_contains "$workflow_file" "openai/gpt-5-mini openai/gpt-5-nano" "strix workflow configures GitHub Models fallback models"
assert_file_not_contains "$workflow_file" "openai/gpt-5-*" "strix workflow must not accept older GPT-5 variants when GPT-5.4 is required"
- assert_file_contains "$workflow_file" "openai/openai/*" "strix workflow accepts GitHub Models OpenAI model prefixes"
+ assert_file_contains "$workflow_file" "openai/gpt-5*" "strix workflow accepts GitHub Models OpenAI GPT-5 model prefixes"
assert_file_not_contains "$workflow_file" "github/gpt-4o" "strix workflow must not default to an unsupported GitHub Models alias"
assert_file_not_contains "$workflow_file" "gemini/gemini-pro-3.1-preview" "strix workflow must not default to Gemini API when GitHub Models is required"
assert_file_not_contains "$workflow_file" "if-no-files-found: warn" "strix workflow must not downgrade missing security artifacts to warnings"
@@ -168,9 +169,11 @@ assert_strix_workflow_pr_trigger_hardened() {
assert_strix_gpt54_model_guard_semantics() {
local model="$1"
case "$model" in
- openai/openai/* | \
+ openai/gpt-5* | openai/gpt-[6-9]* | openai/gpt-[1-9][0-9]* | \
+ openai/openai/gpt-5* | openai/openai/gpt-[6-9]* | openai/openai/gpt-[1-9][0-9]* | \
+ github_models/* | \
gpt-5.[4-9]* | gpt-5.[1-9][0-9]* | gpt-[6-9]* | gpt-[1-9][0-9]* | \
- openai/gpt-5.[4-9]* | openai/gpt-5.[1-9][0-9]* | openai/gpt-[6-9]* | openai/gpt-[1-9][0-9]* | \
+ openai-direct/gpt-5.[4-9]* | openai-direct/gpt-5.[1-9][0-9]* | openai-direct/gpt-[6-9]* | openai-direct/gpt-[1-9][0-9]* | \
vertex_ai/gemini-3.1-pro-preview-customtools | vertex_ai/gemini-2.5-flash)
return 0
;;
@@ -181,8 +184,8 @@ assert_strix_gpt54_model_guard_semantics() {
}
assert_strix_gpt54_model_guard_cases() {
- if assert_strix_gpt54_model_guard_semantics "openai/gpt-5"; then
- record_failure "strix GPT-5.4 guard must reject plain openai/gpt-5"
+ if ! assert_strix_gpt54_model_guard_semantics "openai/gpt-5"; then
+ record_failure "strix guard must accept GitHub Models openai/gpt-5"
fi
if assert_strix_gpt54_model_guard_semantics "gpt-5"; then
record_failure "strix GPT-5.4 guard must reject plain gpt-5"
@@ -190,8 +193,11 @@ assert_strix_gpt54_model_guard_cases() {
if ! assert_strix_gpt54_model_guard_semantics "gpt-5.4"; then
record_failure "strix GPT-5.4 guard must accept direct OpenAI gpt-5.4"
fi
+ if ! assert_strix_gpt54_model_guard_semantics "openai-direct/gpt-5.4"; then
+ record_failure "strix GPT-5.4 guard must accept direct OpenAI openai-direct/gpt-5.4"
+ fi
if ! assert_strix_gpt54_model_guard_semantics "openai/gpt-5.4"; then
- record_failure "strix GPT-5.4 guard must accept openai/gpt-5.4"
+ record_failure "strix guard must accept GitHub Models openai/gpt-5.4"
fi
if ! assert_strix_gpt54_model_guard_semantics "openai/openai/gpt-5"; then
record_failure "strix guard must accept GitHub Models openai/openai/gpt-5"
@@ -406,7 +412,7 @@ case "${FAKE_STRIX_SCENARIO:?}" in
echo "scan ok with fallback"
exit 0
;;
- openai/openai/gpt-5.4)
+ openai/gpt-5|openai/gpt-5-mini|openai/gpt-5-nano|openai/openai/gpt-5.4)
echo "scan ok with GitHub Models fallback"
exit 0
;;
@@ -6832,7 +6838,7 @@ run_gate_case "github-models-model-prefix-requires-api-base" \
""
run_gate_case "github-models-api-base-rejected-for-direct-openai" \
- "openai/gpt-5.4" \
+ "openai/o4-mini" \
"" \
"2" \
"LLM_API_BASE may route through GitHub Models only when STRIX_LLM uses a GitHub Models model prefix" \
@@ -6843,12 +6849,12 @@ run_gate_case "github-models-api-base-rejected-for-direct-openai" \
"https://models.github.ai/inference"
run_gate_case "github-models-model-prefix-with-api-base-succeeds" \
- "openai/openai/gpt-5.4" \
+ "openai/gpt-5" \
"" \
"0" \
"scan ok" \
"1" \
- "openai/openai/gpt-5.4" \
+ "openai/gpt-5" \
"https://models.github.ai/inference" \
"openai" \
"https://models.github.ai/inference"
@@ -6866,11 +6872,11 @@ run_gate_case "github-models-fallback-requires-api-base" \
run_gate_case "github-models-fallback-success" \
"vertex_ai/missing-primary" \
- "openai/openai/gpt-5.4" \
+ "openai/gpt-5-mini" \
"0" \
- "REGEX:Strix quick scan succeeded with fallback model 'openai/openai/gpt-5[.]4' in [0-9]+s\\." \
+ "REGEX:Strix quick scan succeeded with fallback model 'openai/gpt-5-mini' in [0-9]+s\\." \
"2" \
- "vertex_ai/missing-primary|openai/openai/gpt-5.4" \
+ "vertex_ai/missing-primary|openai/gpt-5-mini" \
"|https://models.github.ai/inference" \
"vertex_ai" \
"https://models.github.ai/inference" \
@@ -6892,6 +6898,36 @@ run_gate_case "github-models-fallback-success" \
"" \
"" \
"" \
+ "" \
+ "" \
+ "" \
+ "" \
+ 0
+
+run_gate_case "github-models-fallback-success-nano" \
+ "vertex_ai/missing-primary" \
+ "openai/gpt-5-nano" \
+ "0" \
+ "REGEX:Strix quick scan succeeded with fallback model 'openai/gpt-5-nano' in [0-9]+s\\." \
+ "2" \
+ "vertex_ai/missing-primary|openai/gpt-5-nano" \
+ "|https://models.github.ai/inference" \
+ "vertex_ai" \
+ "https://models.github.ai/inference" \
+ "" \
+ "" \
+ "" \
+ "" \
+ "" \
+ "" \
+ "" \
+ "" \
+ "" \
+ "" \
+ "" \
+ "" \
+ "" \
+ "" \
0
# Endpoint only exists in excluded directories (.git/, node_modules/).