chore(rebar): Pier_T_rebar 작업 폴더 초기 구성 및 외부 의존 파일 통합
- Code\rebar_pipeline, review_pipeline, pier-program을 정션에서 실제 폴더로 전환 - Code\rhino_mcp 및 CLAUDE_rhino배경.md 추가, .mcp.json은 PYTHONPATH로 새 위치 사용 - pier-program 내부 .git 제거(이력은 backup\pier-program_20261028.bundle에 보관) - worktree 가이드 반영(CLAUDE.local.md, HANDOFF.md) - D:\Rhino-MCP 경로 참조를 새 위치로 치환 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
964a841de1
3978 files changed
+58013356
No files matched your search
@@ -0,0 +1,16 @@
|
||||
$ErrorActionPreference = 'Stop'
|
||||
$tokens = $null
|
||||
$errors = $null
|
||||
$ast = [System.Management.Automation.Language.Parser]::ParseFile(
|
||||
(Join-Path $PSScriptRoot 'configure-caddy.ps1'), [ref]$tokens, [ref]$errors)
|
||||
if ($errors.Count) { throw ($errors | Out-String) }
|
||||
$fn = $ast.Find({param($n) $n -is [System.Management.Automation.Language.FunctionDefinitionAst]}, $true)
|
||||
Invoke-Expression $fn.Extent.Text
|
||||
$good = '{"handle":[{"handler":"subroute","routes":[{"match":[{"path":["/"]}],"handle":[{"handler":"static_response"}]},{"handle":[{"handler":"static_response"}]}]}]}' | ConvertFrom-Json
|
||||
if (-not (Test-StaticFallback @($good))) { throw 'Static fallback rejected' }
|
||||
$good.handle[0].routes[1].handle[0].handler = 'authentication'
|
||||
if (Test-StaticFallback @($good)) { throw 'Authentication fallback accepted' }
|
||||
$good.handle[0].routes[1].handle[0].handler = 'reverse_proxy'
|
||||
if (Test-StaticFallback @($good)) { throw 'Proxy fallback accepted' }
|
||||
if (Test-StaticFallback @()) { throw 'Empty fallback accepted' }
|
||||
Write-Output 'PASS: syntax, nested static fallback, authentication/proxy/empty guards'
|
||||
Reference in new issue
Block a user