Repository navigation
feat(boot): Issue #68 PR-B — Step 7 Agent Init を AgentTeams.psm1 でワイヤリング #80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -191,16 +191,23 @@ Describe 'Start-*.ps1 dry-run flows' { | |||||||||||||
| $output | Should -Match '\[DRY RUN\] No side effects will be applied' | ||||||||||||||
| } | ||||||||||||||
|
|
||||||||||||||
| It 'Start-ClaudeOS.ps1 の Step 3/5/6/7/8 がプレースホルダー SKIP になること' { | ||||||||||||||
| It 'Start-ClaudeOS.ps1 の Step 3/5/6/8 がプレースホルダー SKIP になること' { | ||||||||||||||
| $scriptPath = Join-Path $script:RepoRoot 'scripts\main\Start-ClaudeOS.ps1' | ||||||||||||||
| $output = & $script:PowerShellExe -NoProfile -File $scriptPath -NonInteractive 2>&1 | Out-String | ||||||||||||||
| $LASTEXITCODE | Should -Be 0 | ||||||||||||||
| $output | Should -Match '\[Step 3\].*Memory Restore.*SKIP' | ||||||||||||||
| $output | Should -Match '\[Step 5\].*Executive Init.*SKIP' | ||||||||||||||
| $output | Should -Match '\[Step 6\].*Management Init.*SKIP' | ||||||||||||||
| $output | Should -Match '\[Step 7\].*Agent Init.*SKIP' | ||||||||||||||
| $output | Should -Match '\[Step 8\].*Loop Engine Start.*SKIP' | ||||||||||||||
| } | ||||||||||||||
|
|
||||||||||||||
| It 'Start-ClaudeOS.ps1 の Step 7 が Agent Init として実行されること (PR-B)' { | ||||||||||||||
| $scriptPath = Join-Path $script:RepoRoot 'scripts\main\Start-ClaudeOS.ps1' | ||||||||||||||
| $output = & $script:PowerShellExe -NoProfile -File $scriptPath -NonInteractive 2>&1 | Out-String | ||||||||||||||
| $LASTEXITCODE | Should -Be 0 | ||||||||||||||
| $output | Should -Match '\[Step 7\].*Agent Init' | ||||||||||||||
| $output | Should -Not -Match '\[Step 7\].*Agent Init.*SKIP' | ||||||||||||||
|
||||||||||||||
| $output | Should -Not -Match '\[Step 7\].*Agent Init.*SKIP' | |
| $output | Should -Not -Match '\[Step 7\].*Agent Init.*SKIP' | |
| $output | Should -Match '(\[OK\] Agent definitions:|Backlog rules\s*:\s*\[OK\]\s*found)' | |
| $output | Should -Match 'Boot Summary' | |
| $output | Should -Match 'OK\s*:\s*\d+' | |
| $output | Should -Match 'SKIP\s*:\s*\d+' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Start-ClaudeOS.ps1 のヘッダー説明で「Steps 3, 5, 6, 7, 8 are placeholders」となっていますが、この変更で Step 7 はプレースホルダーではなく実装されています。スクリプト上部の DESCRIPTION を現状(Step 7 は AgentTeams.psm1 を参照して初期化を試行する)に合わせて更新してください。