fix: derive plan path from feature.json in update-agent-context by amirreza225 · Pull Request #3069 · github/spec-kit · GitHub
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
c13dfbc
fix: derive plan path from feature.json in update-agent-context
amirreza225 Jun 19, 2026
0710d12
fix: address Copilot review feedback on update-agent-context
amirreza225 Jun 19, 2026
6f302a3
Potential fix for pull request finding
amirreza225 Jun 19, 2026
780d19a
test: replace time.sleep with os.utime and strengthen PS normalizatio…
amirreza225 Jun 19, 2026
1a723d4
Apply suggestions from code review
amirreza225 Jun 19, 2026
5d30c89
Potential fix for pull request finding
amirreza225 Jun 19, 2026
9dc0172
fix: normalize trailing slash and guard non-string feature_directory …
amirreza225 Jun 19, 2026
19d475d
Fix: use .resolve().as_posix().
amirreza225 Jun 19, 2026
8de30cc
fix: use context manager for feature.json open() in bash heredoc
amirreza225 Jun 19, 2026
85ed168
test: add PS coverage for absolute feature_directory outside project …
amirreza225 Jun 19, 2026
900b98f
fix: guard null feature_directory, re-check empty after trailing-slas…
amirreza225 Jun 19, 2026
90cf965
test: add stale plan to absolute-path tests so feature.json preferenc…
amirreza225 Jun 19, 2026
ad51464
test: convert absolute paths to MSYS2 style for Git-for-Windows bash …
amirreza225 Jun 19, 2026
a73e611
fix: revert PS test to native path, fix bash outside-root assertion f…
amirreza225 Jun 19, 2026
1e75990
fix: use _to_bash_path in not-in assertion for Git bash Windows compat
amirreza225 Jun 19, 2026
5f7a1d9
fix: add ConvertFrom-Json fallback in PS script, write test config as…
amirreza225 Jun 23, 2026
db5e8ac
fix: use OS-appropriate StringComparison in PS prefix-strip (matches …
amirreza225 Jun 23, 2026
92ad472
fix: emit project-relative POSIX path from mtime fallback; use upstre…
amirreza225 Jun 23, 2026
2e8f99e
fix: write config as JSON directly, drop _install_agent_context_config
amirreza225 Jun 23, 2026
94f714b
fix: normalize backslashes to forward slashes in feature_directory be…
amirreza225 Jun 23, 2026
0cf914d
fix: treat drive-qualified paths (C:/...) as absolute after backslash…
amirreza225 Jun 25, 2026
d98c55e
fix: resolve symlinks when computing relative plan path; use UTF8 enc…
amirreza225 Jun 25, 2026
d16e485
fix: use bash-side path for outside-root case to avoid WindowsPath ba…
amirreza225 Jun 25, 2026
3c67851
fix: use .as_posix() instead of PurePosixPath() to avoid backslashes …
amirreza225 Jun 25, 2026
91b672e
fix: resolve ./.. segments in PS feature_directory via GetFullPath be…
amirreza225 Jun 25, 2026
45cd965
fix: replace $IsWindows guard with OSVersion.Platform check for PS 5.…
amirreza225 Jun 25, 2026
b153b66
fix: guard empty relDir to avoid leading slash in PlanPath when featu…
amirreza225 Jun 25, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 68 additions & 13 deletions extensions/agent-context/scripts/bash/update-agent-context.sh
Loading