Skip to content

feat: GitHub integration, mobile responsive UI, and tooling#1

Merged
corvid-agent merged 2 commits intomainfrom
feat/github-integration
Feb 24, 2026
Merged

feat: GitHub integration, mobile responsive UI, and tooling#1
corvid-agent merged 2 commits intomainfrom
feat/github-integration

Conversation

@corvid-agent
Copy link
Owner

Summary

  • GitHub Integration: New GitHubService and GitHubConnectComponent enabling users to connect to a GitHub repo, pull .spec.md files, push changes to new branches, and create pull requests — all from the browser
  • Mobile Responsive UI: Full mobile layout with sidebar overlay, section nav toggle, touch-friendly button sizes, and responsive breakpoints at 768px
  • CI Spec Validation: New spec-check CI job validates all .spec.md files on push/PR, plus bun run spec-check script
  • Tooling: spec-check.ts CLI validator, CLAUDE.md agent instructions, .speckit/constitution.md
  • Bug Fix: Validator no longer false-positives on sections with subsections (e.g., ## Public API with ### Exported Types beneath it)
  • Specs: 2 new specs (github-service, github-connect), 5 updated specs, all 14 pass validation

New Files

File Purpose
src/app/services/github.service.ts GitHub REST API client with PAT auth
src/app/components/github-connect/* Sidebar component for repo connection
specs/services/github-service.spec.md Spec for GitHub service
specs/components/github-connect.spec.md Spec for GitHub connect component
tools/spec-check.ts CLI validator for .spec.md files
CLAUDE.md AI agent development instructions
.speckit/constitution.md Project principles and workflow

Test plan

  • bun run build succeeds
  • bun run spec-check specs/ passes all 14 specs with 0 errors, 0 warnings
  • Mobile responsive layout works at < 768px viewport
  • GitHub connect form accepts PAT, owner, repo, branch, specsPath
  • Pull Specs fetches .spec.md files from connected repo
  • Create PR button appears on editor for GitHub-sourced specs
  • Validator no longer warns on sections with subsection content

🤖 Generated with Claude Code

corvid-agent and others added 2 commits February 24, 2026 10:01
- Add mobile-responsive layout with sidebar overlay and section nav toggle
- Add spec-check CI job to validate .spec.md files on push/PR
- Add spec-check CLI tool and package.json script
- Add CLAUDE.md agent instructions and .speckit/ constitution
- Fix validator false-positive: sections with subsections no longer flagged as empty

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add GitHubService for connecting to GitHub repos via REST API with PAT auth:
- Pull all .spec.md files from a configured repo/branch/path
- Push spec changes to new branches and create pull requests
- Track GitHub blob SHAs for clean updates

Add GitHubConnectComponent in sidebar for repo connection management.
Add "Create PR" button to editor page for GitHub-sourced specs.
Add githubSha field to Spec model for tracking remote file state.
Update importMarkdownFiles to accept optional SHA from GitHub pulls.
Add specs for github-service and github-connect, update 5 existing specs.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@corvid-agent corvid-agent merged commit b66dbde into main Feb 24, 2026
2 checks passed
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