Add wrapper to be able to tie the version to a repository

Open
#2,280 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript

Research direction

Start by reading the repository's CLI entry points and configuration and installation documentation to understand how OpenSpec is currently installed, configured, and launched. Then assess how a repository-local wrapper could select and download a pinned version, support enterprise proxies, and handle committed profiles; done means those behaviors and their configuration are defined and work across repositories.

Written by the indexing model from the issue text.

Description

enhancement needs-triage
The problem, in one or two sentences

If there are multiple people working on the same repo or I work on multiple repos with committed skills, there's always tool version vs skills version drift. And If skills are not committed, then there's always inconsistent behaviour between team members for the same repo, and still high chance of skills version vs tool version drift across multiple repos.

Who this affects

Anyone working on multiple repos and/or in a team environment.

Alternatives you considered

The only option really is to update everything at once, which is cumbersome and forcing team members to update is not viable as well.

Why it's worth the added complexity

It will fix version consistency issues across the team and multiple repos. And provide a way to configure the tool within a repo.

What you have in mind

There are very convenient wrappers, like e.g. Maven Wrapper or Gradle Wrapper, that allow you to drop a couple of scripts into your repo and use them instead of the tool. They wrap it, download the executable into a cache and run it.
The benefits are significant in my opinion:

  • it binds tool version to the config persisted in the repo, so it never drifts,
  • team members don't need any setup, it just works for them,
  • each repo can have it's own version and can be updated independently.
    It'd be convenient to have config (i.e. profiles) to be committed along in the repo as well. And for folks in enterprise it would be important to have an option to download executable from their corporate proxy.
Dominant language
TypeScript
Stars
76k
Forks
5.2k
Avg merge
1d 5h
Merged PRs (30d)
58

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Fission-AI/OpenSpec

All issues in Fission-AI/OpenSpec

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.