Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ A clear description of the bug.
## Steps to Reproduce

1. Create config with...
2. Run `archgate check`
2. Run `layerguard check`
3. See error

## Expected Behavior
Expand All @@ -26,15 +26,15 @@ What actually happened.

## Environment

- Archgate version:
- Layerguard version:
- Node.js version:
- TypeScript version:
- OS:

## Config File

```typescript
// archgate.config.ts (redacted if needed)
// layerguard.config.ts (redacted if needed)
```

## Additional Context
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ jobs:
- name: Lint
run: pnpm lint

- name: Run tests
run: pnpm test

- name: Build
run: pnpm build

- name: Run tests
run: pnpm test

- name: Self-hosting test
run: pnpm test:self

Expand All @@ -63,6 +63,9 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Build
run: pnpm build

- name: Run tests with coverage
run: pnpm test:coverage

Expand Down
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ dist/
*.swp
*.swo

# Archgate cache
.archgate-cache/
# Layerguard cache
.layerguard-cache/

# OS files
.DS_Store
Expand All @@ -30,7 +30,7 @@ npm-debug.log*
.cache/

coverage/
archgate-report.html
layerguard-report.html

# VS Code extension build artifacts
*.vsix
Expand Down
8 changes: 4 additions & 4 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Archgate Development Guide for Agentic Coding Agents
# Layerguard Development Guide for Agentic Coding Agents

This guide provides essential information for agentic coding agents working with the Archgate codebase.
This guide provides essential information for agentic coding agents working with the Layerguard codebase.

## Project Overview

Archgate is a framework-agnostic CLI tool that enforces architectural layer boundaries in TypeScript/JavaScript projects. It helps maintain clean architecture by preventing inappropriate dependencies between layers.
Layerguard is a framework-agnostic CLI tool that enforces architectural layer boundaries in TypeScript/JavaScript projects. It helps maintain clean architecture by preventing inappropriate dependencies between layers.

## Build Commands

Expand Down Expand Up @@ -41,7 +41,7 @@ pnpm test:watch
# Run tests with coverage report
pnpm test:coverage

# Run self-check (archgate checking itself)
# Run self-check (layerguard checking itself)
pnpm test:self

# Run a single test file
Expand Down
18 changes: 9 additions & 9 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Contributing to Archgate
# Contributing to Layerguard

Thank you for your interest in contributing to Archgate! This document provides guidelines and information for contributors.
Thank you for your interest in contributing to Layerguard! This document provides guidelines and information for contributors.

## Development Setup

1. **Clone the repository**
```bash
git clone https://github.com/yourusername/archgate.git
cd archgate
git clone https://github.com/yourusername/layerguard.git
cd layerguard
```

2. **Install dependencies**
Expand All @@ -28,7 +28,7 @@ Thank you for your interest in contributing to Archgate! This document provides
## Project Structure

```
archgate/
layerguard/
src/
cli/ # CLI commands (check, init, show)
config/ # Config loading and validation
Expand All @@ -40,7 +40,7 @@ archgate/
unit/ # Unit tests
integration/ # Integration tests with fixtures
bin/
archgate.js # CLI entry point
layerguard.js # CLI entry point
```

## Development Scripts
Expand All @@ -64,7 +64,7 @@ npm run test:coverage
# Type check without emitting
npm run typecheck

# Run archgate on itself (self-hosting test)
# Run layerguard on itself (self-hosting test)
npm run test:self
```

Expand Down Expand Up @@ -94,7 +94,7 @@ describe('parseFlowRules', () => {

## Adding a Framework Plugin

Framework plugins help Archgate understand framework-specific conventions. To add a new plugin:
Framework plugins help Layerguard understand framework-specific conventions. To add a new plugin:

1. **Create the plugin file** in `src/plugins/`:

Expand Down Expand Up @@ -195,7 +195,7 @@ test: add edge case tests for sublayer flow

When reporting issues, please include:

1. **Archgate version** (`npx archgate --version`)
1. **Layerguard version** (`npx layerguard --version`)
2. **Node.js version** (`node --version`)
3. **TypeScript version** (`npx tsc --version`)
4. **Your config file** (redacted if needed)
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2024 Archgate Contributors
Copyright (c) 2024 Layerguard Contributors

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading