spec-kit icon indicating copy to clipboard operation
spec-kit copied to clipboard

Cannot use in air-gapped environment

Open maxiwu opened this issue 10 months ago • 3 comments

Reproduce steps:

VSCode version: 1.106.3 Python: 3.11.4 Already installed uv. Setup a virtual (.venv)

The instructions in speckit.specify.prompt.md outline a detailed process for creating a feature specification and branch. To proceed, I need a feature description (the text after /speckit.specify) to generate a branch name, create a feature structure, and follow the outlined steps.

I've also tried to run in my VSCode terminal (powershell) (.venv) PS F:\src\project_root> init --here --force --ai copilot --no-git

I can see selected AI assistant: copilot and Selected script type: ps

Error downloading template EOF occurred in violation of protocol (_ssl.c:1001)


How do I correctly use spec-kit in air-gapped machine?

maxiwu avatar Jan 23 '26 16:01 maxiwu

Hi,

I have a modification to fix the issue. Here is the proposal:

I need to add an option, --load_tmpl to load local template zip file instead of load from internet. If --load_tmpl follows a directory, the file is matched line #672-675. If --load_tmpl follows a file, use the file as zip file path. When load_tmpl option is added, skip the download_tmplate_from_github and use the specified zip file (or matched file) as zip_path to do extraction and following steps.

You can use similar prompt with some AI code tool to update src/specify_cli/init.py. I checked how to create a PR but I found this project is not well maintained now. https://github.com/github/spec-kit/discussions/1482.

Thanks, David

riggy2013 avatar Jan 27 '26 03:01 riggy2013

This issue has been automatically marked as stale because it has not had any activity for 150 days. It will be closed in 30 days if no further activity occurs.

github-actions[bot] avatar Jun 27 '26 01:06 github-actions[bot]

This issue has been automatically closed due to inactivity (180 days total). If you believe this issue is still relevant, please reopen it or create a new issue.

github-actions[bot] avatar Jul 28 '26 00:07 github-actions[bot]