Skip to content

feat: initialize typescript project#1

Merged
TabishB merged 3 commits into
mainfrom
project-setup
Aug 5, 2025
Merged

feat: initialize typescript project#1
TabishB merged 3 commits into
mainfrom
project-setup

Conversation

@TabishB

@TabishB TabishB commented Aug 5, 2025

Copy link
Copy Markdown
Contributor

Summary

  • Set up TypeScript project with ESM module support
  • Created initial CLI structure with commander.js
  • Added OpenSpec documentation clarifications for infrastructure changes

Test plan

  • Verify TypeScript builds successfully: pnpm build
  • Test CLI runs: node bin/openspec.js --help
  • Confirm all tasks marked complete and change archived

@TabishB TabishB merged commit ed04971 into main Aug 5, 2025
TabishB added a commit that referenced this pull request Aug 25, 2025
Based on OPENSPEC_COMPREHENSIVE_RETROSPECTIVE.md analysis:

Added critical missing documentation:
- Scenario formatting requirements (#### Scenario: headers) - #1 pain point
- Complete spec file structure examples with ADDED/MODIFIED sections
- Delta file location and extraction explanation
- Debugging commands (show --json --deltas-only)
- Troubleshooting section with common errors and solutions

Expanded implementation:
- Added 2 new task sections (Spec File Documentation, Troubleshooting)
- Increased from 41 to 52 total implementation tasks
- Added critical items to CLAUDE.md template tasks

This directly addresses the retrospective's top issues:
1. Scenario format documentation (marked "COMPLETELY MISSING")
2. Complete spec file examples
3. Delta detection debugging
4. Silent parsing failure explanations
drvova pushed a commit to drvova/VovaSpec that referenced this pull request Oct 13, 2025
drvova pushed a commit to drvova/VovaSpec that referenced this pull request Oct 13, 2025
Based on OPENSPEC_COMPREHENSIVE_RETROSPECTIVE.md analysis:

Added critical missing documentation:
- Scenario formatting requirements (#### Scenario: headers) - Fission-AI#1 pain point
- Complete spec file structure examples with ADDED/MODIFIED sections
- Delta file location and extraction explanation
- Debugging commands (show --json --deltas-only)
- Troubleshooting section with common errors and solutions

Expanded implementation:
- Added 2 new task sections (Spec File Documentation, Troubleshooting)
- Increased from 41 to 52 total implementation tasks
- Added critical items to CLAUDE.md template tasks

This directly addresses the retrospective's top issues:
1. Scenario format documentation (marked "COMPLETELY MISSING")
2. Complete spec file examples
3. Delta detection debugging
4. Silent parsing failure explanations
TabishB added a commit that referenced this pull request Dec 26, 2025
Adds two change proposals for implementing Slice 3 of the artifact POC:

1. restructure-schema-directories
   - Move schemas from embedded TS objects to self-contained directories
   - Each schema becomes a directory with schema.yaml + templates/
   - Enables co-located templates for user extensibility
   - 2-level resolution: user override → package built-in

2. add-instruction-loader (depends on #1)
   - Load templates from schema directories
   - Enrich templates with change context (dependencies, next steps)
   - Format change status for CLI output
   - New instruction-loader capability

These proposals complete Slice 3 from docs/artifact_poc.md.
TabishB added a commit that referenced this pull request Dec 26, 2025
* proposal: add instruction loader and schema restructure (Slice 3)

Adds two change proposals for implementing Slice 3 of the artifact POC:

1. restructure-schema-directories
   - Move schemas from embedded TS objects to self-contained directories
   - Each schema becomes a directory with schema.yaml + templates/
   - Enables co-located templates for user extensibility
   - 2-level resolution: user override → package built-in

2. add-instruction-loader (depends on #1)
   - Load templates from schema directories
   - Enrich templates with change context (dependencies, next steps)
   - Format change status for CLI output
   - New instruction-loader capability

These proposals complete Slice 3 from docs/artifact_poc.md.

* fix: include full requirement block in MODIFIED spec

Update the Schema Loading requirement to include all original scenarios
(modified as needed) per the MODIFIED requirement guidelines. The archiver
replaces the entire requirement with the provided content.
@evilsamaritan evilsamaritan mentioned this pull request Jan 29, 2026
torykit pushed a commit to OpenLoaf/OpenSpec-Chinese that referenced this pull request Feb 21, 2026
…ssion-AI#410)

* proposal: add instruction loader and schema restructure (Slice 3)

Adds two change proposals for implementing Slice 3 of the artifact POC:

1. restructure-schema-directories
   - Move schemas from embedded TS objects to self-contained directories
   - Each schema becomes a directory with schema.yaml + templates/
   - Enables co-located templates for user extensibility
   - 2-level resolution: user override → package built-in

2. add-instruction-loader (depends on Fission-AI#1)
   - Load templates from schema directories
   - Enrich templates with change context (dependencies, next steps)
   - Format change status for CLI output
   - New instruction-loader capability

These proposals complete Slice 3 from docs/artifact_poc.md.

* fix: include full requirement block in MODIFIED spec

Update the Schema Loading requirement to include all original scenarios
(modified as needed) per the MODIFIED requirement guidelines. The archiver
replaces the entire requirement with the provided content.
@1code-async 1code-async Bot mentioned this pull request Feb 23, 2026
SWolfeCAI referenced this pull request in AnchorSpec/AnchorSpec Mar 27, 2026
remove PostHog telemetry completely
StevenWolfe referenced this pull request in AnchorSpec/AnchorSpec Mar 27, 2026
…ssion-AI#410)

* proposal: add instruction loader and schema restructure (Slice 3)

Adds two change proposals for implementing Slice 3 of the artifact POC:

1. restructure-schema-directories
   - Move schemas from embedded TS objects to self-contained directories
   - Each schema becomes a directory with schema.yaml + templates/
   - Enables co-located templates for user extensibility
   - 2-level resolution: user override → package built-in

2. add-instruction-loader (depends on #1)
   - Load templates from schema directories
   - Enrich templates with change context (dependencies, next steps)
   - Format change status for CLI output
   - New instruction-loader capability

These proposals complete Slice 3 from docs/artifact_poc.md.

* fix: include full requirement block in MODIFIED spec

Update the Schema Loading requirement to include all original scenarios
(modified as needed) per the MODIFIED requirement guidelines. The archiver
replaces the entire requirement with the provided content.
StevenWolfe referenced this pull request in AnchorSpec/AnchorSpec Mar 27, 2026
remove PostHog telemetry completely
shwcsmack referenced this pull request in shwcsmack/c3spec May 27, 2026
Flesh out the shorthand backlog entry on reducing git prompts into a
full-context idea matching the format of #1–#17, grounded in the actual
prompt surfaces in the tier skills and the finishing-a-development-branch
handoff. Calls out concrete defaults, an opt-out lever, and cross-refs
to ideas #3, #6, and #16.

Co-authored-by: Cursor <cursoragent@cursor.com>
pfurini referenced this pull request in pfurini/OpenSpec Jun 13, 2026
Deterministic, enforced counterpart to the prompt-level ADR drift hint (the real
fix vs a model hint). New extensible mechanism:

- src/core/lint/: LintRule/LintFinding/LintContext types + a rule registry
  (ALL_RULES). runLint(projectRoot, opts) resolves the ADR dir and runs selected
  rules.
- rule #1 adr-registry: pure checkAdrRegistry({adrs,errors,registryContent,
  adrDirExists}) -> findings (TDD'd red-first): registry missing -> error;
  drift vs frontmatter -> error; malformed ADR -> error; no ADR dir -> skip.
  Reuses scanAdrDir + renderRegistry.
- command `openspec lint [--adr] [--adr-dir <path>] [--json]`; exits non-zero on
  any error finding (CI/hook-ready). + completion registry entry.

Future rules (Files-to-Change exist, design Open-Questions gate — the deferred
B/C work) slot into ALL_RULES. 9 new tests; suite 1700/1700. No template changes
-> no parity re-harvest.
pfurini referenced this pull request in pfurini/OpenSpec Jun 14, 2026
The change-gate agent runs the FULL gate (vitest-all + coverage + Playwright e2e) inside its own
turn → blows the claude-terminal turn cap (live run: all 5 waves green, then change-gate timed
out). Violates Archon good-practice #1 (deterministic work belongs in bash, not the AI). Fix
(do after the current run): move the gate RUN to until_bash/bash (captures failures to an
$ARTIFACTS_DIR file, no agent-turn cap); the agent loop only FIXES the captured failures (bounded
turn). Loop exposes no until_bash-output var (only LOOP_PREV_OUTPUT/LOOP_USER_INPUT), so failures
pass via file. Generalizes: deterministic test runs in bash, agent only fixes — default for all
gate/fix loops.
pfurini referenced this pull request in pfurini/OpenSpec Jun 14, 2026
handoff-tail-restructure.md carries the next build session's prompt (close the last v1 bar +
change-gate turn-cap): edit the lexup generator, the 5-item punch list (§14/§15/§16.4), gotchas
(worktree config load, resume-by-run-id, turnTimeoutMs back to 900000 since the restructure
removes the band-aid). README open-stack #1 points to it.
pfurini referenced this pull request in pfurini/OpenSpec Jun 14, 2026
…ot (§16.5)

Mark the §16.4 tail-restructure punch list DONE (lexup dev 84a0ea2a). New §16.5
records what was built and the one forced mechanism change: the archon loop's
until_bash hook is hardcapped at 120s (dag-executor.ts:2470, no node.timeout), too
short for the Playwright e2e gate — so the loop is infeasible for a slow gate. The
change-gate is therefore UNROLLED bash gate-run + agent fix slots (the harness idiom,
the note's sanctioned "preceding bash step"), which keeps §14's principle (gate in
bash, agent only fixes) intact. Also records: forked opsx-* base-diff review commands
emitted from the generator (decision 16 single-source), the create-pr-on-red policy +
3-state report, and stub-probe verification of the gate cascade. Archon follow-up
noted (make until_bash honor node.timeout). Open stack #1 → BUILT; handoff → DONE.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant