Skip to content

Conversation

@localden
Copy link
Collaborator

@localden localden commented Oct 21, 2025

Description

Screenshots

Hand-offs

image image

Version

image

References

Behavior notes

  • There is an unexpected behavior when hand-off occurs, resetting to Agent Mode. This will be fixed by the VS Code team.

Copilot AI review requested due to automatic review settings October 21, 2025 17:28

This comment was marked as outdated.

Copilot AI review requested due to automatic review settings October 21, 2025 17:39

This comment was marked as outdated.

Copilot AI review requested due to automatic review settings October 21, 2025 20:17

This comment was marked as outdated.

Copy link

@crisweber2600 crisweber2600 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥🔥🔥

Copilot AI review requested due to automatic review settings October 21, 2025 21:34

This comment was marked as outdated.

@localden localden self-assigned this Oct 21, 2025
@localden localden added enhancement templates Related to template definition and not the CLI. labels Oct 21, 2025
Copilot AI review requested due to automatic review settings October 21, 2025 22:06

This comment was marked as outdated.

Copilot AI review requested due to automatic review settings October 21, 2025 22:21

This comment was marked as outdated.

This comment was marked as outdated.

Copilot AI review requested due to automatic review settings October 21, 2025 23:32

This comment was marked as outdated.

localden and others added 2 commits October 21, 2025 16:56
…n permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Copilot AI review requested due to automatic review settings October 22, 2025 02:36

This comment was marked as outdated.

Copilot AI review requested due to automatic review settings October 22, 2025 02:38

This comment was marked as outdated.

Copilot AI review requested due to automatic review settings October 22, 2025 03:10
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 19 out of 19 changed files in this pull request and generated 2 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link

Copilot AI commented Oct 22, 2025

@localden I've opened a new pull request, #1004, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI review requested due to automatic review settings October 22, 2025 20:17
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Copilot reviewed 21 out of 21 changed files in this pull request and generated 3 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment on lines +1282 to +1287
import tomllib
pyproject_path = Path(__file__).parent.parent.parent / "pyproject.toml"
if pyproject_path.exists():
with open(pyproject_path, "rb") as f:
data = tomllib.load(f)
cli_version = data.get("project", {}).get("version", "unknown")
Copy link

Copilot AI Oct 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tomllib is only available in Python 3.11+. While the project requires Python >=3.11 according to pyproject.toml, the import should be wrapped in a try-except block since it's already inside an exception handler and a fallback version of "unknown" is acceptable.

Suggested change
import tomllib
pyproject_path = Path(__file__).parent.parent.parent / "pyproject.toml"
if pyproject_path.exists():
with open(pyproject_path, "rb") as f:
data = tomllib.load(f)
cli_version = data.get("project", {}).get("version", "unknown")
try:
import tomllib
except ImportError:
# tomllib not available, fallback to "unknown"
pass
else:
pyproject_path = Path(__file__).parent.parent.parent / "pyproject.toml"
if pyproject_path.exists():
with open(pyproject_path, "rb") as f:
data = tomllib.load(f)
cli_version = data.get("project", {}).get("version", "unknown")

Copilot uses AI. Check for mistakes.
info_table.add_row("Template Version", template_version)
info_table.add_row("Released", release_date)
info_table.add_row("", "")
info_table.add_row("Python", f"{sys.version_info.major}.{sys.version_info.minor}.{sys.version_info.micro}")
Copy link

Copilot AI Oct 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The version string could be simplified using platform.python_version() which returns the same information in a cleaner way.

Suggested change
info_table.add_row("Python", f"{sys.version_info.major}.{sys.version_info.minor}.{sys.version_info.micro}")
info_table.add_row("Python", platform.python_version())

Copilot uses AI. Check for mistakes.
$branches = git branch -a 2>$null
if ($LASTEXITCODE -eq 0) {
foreach ($branch in $branches) {
# Clean branch name: remove leading markers and remote prefixes
Copy link

Copilot AI Oct 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The regex pattern could be made more readable with a comment explaining that it removes Git's current branch marker (*), whitespace, and remote prefixes (e.g., 'remotes/origin/').

Suggested change
# Clean branch name: remove leading markers and remote prefixes
# Clean branch name: remove leading markers and remote prefixes
# The following regex removes:
# - Git's current branch marker ('*') and leading whitespace (e.g., '* main')
# - Remote prefixes (e.g., 'remotes/origin/')

Copilot uses AI. Check for mistakes.
@N0SAFE
Copy link

N0SAFE commented Oct 23, 2025

in vscode insiders i have a warning saying "Chat modes have been renamed to agents. Please move this file to .github/agents/speckit.[prompt].agent.md". should you not put this inside the new designated folder and file from vscode ?

@mfsbo
Copy link

mfsbo commented Oct 26, 2025

I recommend that chatmodes, prompts should be named with prompt name first and .speckit after. So instead of speckit.plan it will be better to save as plan.speckit.prompt.md or plan.speckit.chatmode.md
This would be easy on eye and search to find plans and chat modes.

@artk42
Copy link

artk42 commented Oct 29, 2025

Hey guys, just two linting errors to fix pls. Seems the spec-it popularity is driving crazy release api rate limits and it's almost impossible to use specify init, it always fails with API rate limit exceeded 403 for https://api.github.com/repos/github/spec-kit/releases/latest Initialization failed: 1

@anchildress1
Copy link

I was just going to say the same thing @Nosafe did 😆 They've officially moved from .github/chatmodes/*.chatmode.md to .github/agents/*.agent.md. At this point it's pretty much a rename lift and shift, though.

# Create prompt file with agent frontmatter
cat > "$prompt_file" <<EOF
---
agent: ${basename}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't see any tools loaded anywhere—has this given you issues before? Every single time I forget to set a tool back in one of these agent files, it seems to stop everything... but as frequently as they're changing things, I've stopped trying to guess. 😆 Just calling out as something to verify before you merge.


1. For each task in the list, use the GitHub MCP server to create a new issue in the repository that is representative of the Git remote.

**UNDER NO CIRCUMSTANCES EVER CREATE ISSUES IN REPOSITORIES THAT DO NOT MATCH THE REMOTE URL**

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a thought: Do you think it would be worth it to hard-code these checks in and not even load the prompt if the repo doesn't match? It's really more of a longer-term solution but might be worth a discussion. I'm not sure what that would even look like, tbh, but maybe worth a discussion at some point 🤷🏻‍♀️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement templates Related to template definition and not the CLI.

Projects

None yet

7 participants