Skip to content

project-transfer: renaming project and owning org#56

Merged
akollegger merged 2 commits intomainfrom
project-transfer
Feb 12, 2026
Merged

project-transfer: renaming project and owning org#56
akollegger merged 2 commits intomainfrom
project-transfer

Conversation

@akollegger
Copy link
Contributor

This pull request updates documentation, instructions, and design files to rename the project from "gram-hs" to "pattern-hs" throughout the codebase. The changes ensure consistency in project naming and clarify the canonical JSON format and alignment decisions. The most important changes are grouped below.

Project Naming and Documentation Alignment:

  • Updated all references from gram-hs to pattern-hs in documentation files, including .github/copilot-instructions.md, README.md, JSON-SCHEMA-DECISION.md, and design documents. This includes project structure, CLI tool names, and test directory references. [1] [2] [3] [4] [5] [6] [7] [8]

JSON Format and Decision Documentation:

  • Revised JSON-SCHEMA-DECISION.md to clarify that "pattern-hs" is the canonical reference implementation, updating field names, rationale, and comparison matrices to reflect the new project name and alignment with gram-rs. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15]

Design and Implementation Plans:

  • Updated CLI design and implementation plan files to reference pattern-hs-cli instead of gram-hs-cli, and adjusted example commands and implementation notes to match the new naming. [1] [2]

Reference and Alignment Documentation:

  • Changed canonical JSON alignment documentation to reference pattern-hs as the Haskell implementation, ensuring alignment discussions are accurate and up-to-date.

These updates bring the documentation and project structure in line with the new naming convention, clarify the canonical JSON format, and improve consistency across the codebase.

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

This PR standardizes the repository’s documentation and related artifacts to reflect the rename from gram-hs to pattern-hs, including updates to canonical JSON alignment/decision docs and schema metadata references.

Changes:

  • Renamed project references across specs, docs, design notes, and helper scripts (gram-hspattern-hs).
  • Updated canonical JSON documentation and generated-type headers to match the new project name.
  • Updated the JSON Schema $id URL to the new GitHub Pages path.

Reviewed changes

Copilot reviewed 29 out of 29 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
specs/030-separate-container-content-parsing/research.md Rename references in research notes for container/content parsing.
specs/030-separate-container-content-parsing/quickstart.md Update quickstart wording to the new project name.
specs/030-separate-container-content-parsing/plan.md Update plan summary to reference pattern-hs.
specs/029-canonical-json-pattern/spec.md Update porting user story to reference pattern-hs.
specs/029-canonical-json-pattern/quickstart.md Update GitHub issues link to the renamed repo.
specs/029-canonical-json-pattern/contracts/typescript-types.ts Update generated-from header; minor formatting change in a function signature.
specs/029-canonical-json-pattern/contracts/rust-types.rs Update generated-from header to pattern-hs.
specs/027-docs-reorganization/spec.md Rename project references in documentation reorg spec.
specs/025-decouple-identity-assignment/tasks.md Update spec frontmatter description to pattern-hs.
specs/024-codefence-strings/plan.md Update plan metadata to reference pattern-hs.
specs/022-documentation-reorganization/spec.md Rename gram-hs references across doc reorg user stories/requirements.
specs/022-cli-improvements/spec.md Update porting stories and design doc pointer for CLI improvements.
specs/020-subject-serialization/tasks.md Update spec frontmatter description to pattern-hs.
specs/019-integration-polish/data-model.md Update public API surface description to pattern-hs.
specs/017-gram-serializer-updates/plan.md Update plan metadata to reference pattern-hs monorepo.
scripts/init-submodules.sh Update script banner output to pattern-hs.
scripts/ci-check.sh Update script banner output to pattern-hs.
scripts/README.md Update example paths/output to pattern-hs.
proposals/pattern-reconciliation.md Rename proposal references to pattern-hs.
libs/gram/src/Gram/Schema/TypeScript.hs Update generated TS header to pattern-hs.
libs/gram/src/Gram/Schema/Rust.hs Update generated Rust header to pattern-hs.
libs/gram/src/Gram/Schema/JSONSchema.hs Update schema $id URL to pattern-hs GitHub Pages path.
docs/reference/PORTING-GUIDE.md Rename project references and CLI section wording for pattern-hs.
docs/reference/CANONICAL-JSON-ALIGNMENT.md Rename canonical alignment doc references to pattern-hs.
design/gram-hs-cli-plan.md Update implementation/reference paths to apps/gramref-cli/.
design/gram-hs-cli-improvements.md Rename test-directory references to pattern-hs.
README.md Update structure/example references to pattern-hs and gramref-cli.
JSON-SCHEMA-DECISION.md Rename decision analysis framing to pattern-hs.
.github/copilot-instructions.md Update Copilot instructions header and structure references to pattern-hs.

Comment on lines +204 to +207
- **pattern-hs JSON Schema**: `../pattern-hs/specs/029-canonical-json-pattern/contracts/json-schema.json`
- **pattern-hs Spec**: `../pattern-hs/specs/029-canonical-json-pattern/spec.md`
- **pattern-hs Data Model**: `../pattern-hs/specs/029-canonical-json-pattern/data-model.md`
- **pattern-hs TypeScript Types**: `../pattern-hs/specs/029-canonical-json-pattern/contracts/typescript-types.ts`
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

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

These reference links point to ../pattern-hs/specs/..., but there is no docs/pattern-hs/ directory in this repo, so the paths are broken. Consider using correct in-repo relative paths (e.g., ../../specs/...) or absolute GitHub URLs.

Suggested change
- **pattern-hs JSON Schema**: `../pattern-hs/specs/029-canonical-json-pattern/contracts/json-schema.json`
- **pattern-hs Spec**: `../pattern-hs/specs/029-canonical-json-pattern/spec.md`
- **pattern-hs Data Model**: `../pattern-hs/specs/029-canonical-json-pattern/data-model.md`
- **pattern-hs TypeScript Types**: `../pattern-hs/specs/029-canonical-json-pattern/contracts/typescript-types.ts`
- **pattern-hs JSON Schema**: `../../specs/029-canonical-json-pattern/contracts/json-schema.json`
- **pattern-hs Spec**: `../../specs/029-canonical-json-pattern/spec.md`
- **pattern-hs Data Model**: `../../specs/029-canonical-json-pattern/data-model.md`
- **pattern-hs TypeScript Types**: `../../specs/029-canonical-json-pattern/contracts/typescript-types.ts`

Copilot uses AI. Check for mistakes.
**Verdict**: ✅ **gram-rs approach is superior - use `identity`**

**Action**: gram-hs should change `symbol` → `identity` (see GRAM-HS-JSON-ALIGNMENT.todo.md)
**Action**: pattern-hs should change `symbol` → `identity` (see pattern-hs-JSON-ALIGNMENT.todo.md)
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

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

This references pattern-hs-JSON-ALIGNMENT.todo.md, but that file does not exist in the repository root. Either add the referenced TODO file, or update the link to point at an existing tracking document (e.g., TODO.md) so readers aren’t sent to a dead reference.

Suggested change
**Action**: pattern-hs should change `symbol``identity` (see pattern-hs-JSON-ALIGNMENT.todo.md)
**Action**: pattern-hs should change `symbol``identity` (see TODO.md)

Copilot uses AI. Check for mistakes.
2. Update JSON Schema, TypeScript types, Rust types
3. Update all documentation and examples
4. See **GRAM-HS-JSON-ALIGNMENT.todo.md** for detailed tasks
4. See **pattern-hs-JSON-ALIGNMENT.todo.md** for detailed tasks
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

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

This references pattern-hs-JSON-ALIGNMENT.todo.md, but that file does not exist in the repository. Add it or update this reference to an existing doc to avoid dead links.

Copilot uses AI. Check for mistakes.
**Action Items**:
1. ✅ Created GRAM-HS-JSON-ALIGNMENT.todo.md for gram-hs changes
1. ✅ Created pattern-hs-JSON-ALIGNMENT.todo.md for pattern-hs changes
2. ✅ Updated ALIGNMENT.todo.md Phase 0 for gram-rs changes
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

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

Action item references ALIGNMENT.todo.md, but there is no such file in this repository. Either add the file (if it’s intended to exist here) or update the reference to the correct location/name so the action item is actionable.

Suggested change
2. ✅ Updated ALIGNMENT.todo.md Phase 0 for gram-rs changes
2. ✅ Updated gram-rs Phase 0 alignment plan for gram-rs changes

Copilot uses AI. Check for mistakes.
@@ -1,6 +1,6 @@
# Gram HS
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

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

The README title still says "Gram HS", but this PR’s purpose is to rename the project/repo to "pattern-hs". Update the heading to match the new project name so the README is consistent with the rest of the renames.

Suggested change
# Gram HS
# pattern-hs

Copilot uses AI. Check for mistakes.
Comment on lines 176 to 209
@@ -199,13 +199,13 @@ Generate test patterns and data for your implementation:

```bash
# Generate test patterns
gram-hs generate --type pattern --count 100 --format json > test-patterns.json
pattern-hs generate --type pattern --count 100 --format json > test-patterns.json

# Generate test graphs
gram-hs generate --type graph --count 50 --format gram > test-graphs.gram
pattern-hs generate --type graph --count 50 --format gram > test-graphs.gram

# Generate property-based test suites
gram-hs generate --type property --complexity standard --format json > property-tests.json
pattern-hs generate --type property --complexity standard --format json > property-tests.json
```
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

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

This section/documentation uses pattern-hs as the CLI command (e.g., pattern-hs generate/parse/...), but the repository’s CLI executable is gramref (built via cabal build gramref-cli). Update the examples and wording to invoke gramref ... (and optionally clarify that "pattern-hs" is the repo name, not the binary name).

Copilot uses AI. Check for mistakes.
@akollegger akollegger merged commit e718900 into main Feb 12, 2026
7 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