Commit Graph

21 Commits

Author SHA1 Message Date
kjh2064 07ad98ec12 refactor(docs): Optimize CLAUDE.md structure (47KB→12KB) + expand AGENTS.md v16.0
## Summary
- **CLAUDE.md optimization:** Move engineering guidelines to AGENTS.md only (governance lock)
  - Removed: Governance, Testing Strategy, Observability details, Common Workflows, Guardrails
  - Kept: Project status, timeline, architecture high-level overview, quick reference
  - Result: 47KB → 12.1KB (75% reduction, well within 40KB limit)

- **AGENTS.md expansion:** Add 5 missing engineering procedure sections
  - v16.0 Testing Strategy (xUnit/Vitest/Playwright organization, commands, rules)
  - v16.0 Backend Architecture (Vertical Slice, Database/Migrations, Hangfire Job Design)
  - v16.0 Frontend Architecture (Registry-driven screens, KBX contracts, UI adapter boundary)
  - v16.0 Observability (Logging, Tracing, Dashboards, Metrics)
  - v16.0 Common Workflows (Adding Vertical Slices, Refactoring, Creating Jobs)

- **New companion docs** (no duplication, supplement AGENTS.md):
  - docs/ARCHITECTURE_DETAILED.md — Deep dive on backend/frontend patterns
  - docs/COMMON_WORKFLOWS.md — Workflow procedures with examples
  - docs/GITEA_API_REFERENCE.md — Gitea API + External data sources

## Governance (enforced)
- All engineering procedures now in AGENTS.md ONLY
- CLAUDE.md = project context only (status, timeline, overview)
- Companion docs reference AGENTS.md (no duplicate guidance)
- No conflicting guidance across multiple sources

## Result
- CLAUDE.md: 12.1KB  (within 40KB limit)
- AGENTS.md: 44.8KB (comprehensive procedures)
- Single source of truth for all engineering guidelines

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-08-16 14:47:41 +09:00
kjh2064 1d0fdcc013 fix(fe): PageLayout grid-based layout - eliminate flex gap height calculation error
Root cause: PageLayout's flex-direction: column + gap was not counted in flex: 1 height calculations, causing children to overflow and trigger scroll.

Solution: Convert PageLayout from flexbox to CSS Grid with explicit grid-template-rows. Grid automatically accounts for gaps in row sizing.

Changes:
- PageLayout.vue: display: flex → display: grid
- grid-template-rows: auto auto auto auto 1fr auto auto
- .ks-page__content/.ks-page__aside: height: 100% → flex: 1
- .ks-page__workspace: removed flex: 1 (grid cell, not flex)

Impact:
- models-master fits viewport without page-level scroll ✓
- All screen-types layouts auto-fit with correct height propagation
- Fix applies to all pages using PageLayout

AGENTS.md v16.0: Added Layout Rule #7 (PageLayout grid requirement)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-08-16 00:41:30 +09:00
kjh2064 2b4f043989 fix(fe): exclude all footers - maximize screen real estate
Changes:
  • PageLayout: .ks-page__footer { display: none; }
  • AppShellLayout: .ks-shell__footer { display: none; }
  • AGENTS.md: Enhanced footer policy (all levels excluded)

Policy: Single-screen principle
  ✓ NO page-level footers (PageLayout #footer)
  ✓ NO global footers (AppShellLayout footer)
  ✓ All controls → header/command-bar/summary
  ✓ Maximize content area (recover ~48-64px per page)
  ✓ Mobile-friendly (bottom footer = hard to reach)

Structure preserved (v-if, grid-areas) for backward compatibility.
CSS hiding allows future restoration if needed.

Reference: Session 2026-08-16, responsive design + content-first UX

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-08-16 00:24:59 +09:00
kjh2064 2c934f866c docs(AGENTS): add page footer exclusion policy - consolidate controls to header/command-bar
Policy: No footer sections in PageLayout. All footer functionality must move to:
  • Header actions slot (Help, AI Suggest, etc.)
  • Command bar (Save, Reset, Approve buttons)
  • Summary area (Status, watermark, owner info)

Rationale:
  ✓ Single-screen principle: all interactive controls in initial viewport
  ✓ Mobile UX: bottom footer buttons are hard to reach
  ✓ Information density: header/command-bar conveys status
  ✓ Eliminates wasted ~48px footer space

Example: Move button actions from <template #footer> to <template #commandBar>

Reference: Session 2026-08-16, responsive design standardization

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-08-16 00:22:39 +09:00
kjh2064 ffc1f5b1b5 fix(fe): responsive design standardization - CSS variables and unified breakpoints
- FormPageLayout: hardcoded minmax(18rem, 26rem) → var(--ks-preview-width)
- ReviewWorkbenchLayout: hardcoded minmax values → var(--ks-detail-width) + var(--ks-aside-width)
- OperationsConsoleLayout: hardcoded minmax(18rem, 28rem) → var(--ks-detail-width)
- Unified all breakpoints: 950px/1000px/1200px → 1100px (tablet), 768px (mobile)
- PageLayout: footer sticky overflow issue fixed (flex: 0 0 auto)

Fixes responsive design for all screen sizes (768px mobile → 1920px fullHD → 2560px 4K).
Reference: docs/FRONTEND-RESPONSIVE-DESIGN-STANDARD.md

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-08-16 00:12:21 +09:00
kjh2064 be672d90e7 style(fe): define global default control width tokens for Select (160px), Search Input (220px), Date (140px) in tokens.css, base.css and AGENTS.md 2026-08-15 22:07:15 +09:00
kjh2064 358ad7aa65 style(fe): standardize AG Grid Odd/Even Zebra Stripes, Sky Blue hover and active row selection tokens in tokens.css and AGENTS.md 2026-08-15 22:03:20 +09:00
kjh2064 1d0867d039 feat(fe): auto-prepend pinned left No. row-number column in KsDataGrid and harness in AGENTS.md 2026-08-15 21:51:01 +09:00
kjh2064 72d0da0383 style(fe): enforce global design tokens for grid density, font scale and component heights in tokens.css and base.css 2026-08-15 21:47:32 +09:00
kjh2064 db3865cb6c feat(fe): standardize empty data state with EmptyStatePlaceholder component and AGENTS.md rule 2026-08-15 21:45:50 +09:00
kjh2064 c320318207 feat(fe): standardize loading UI using shimmer SkeletonLoader across QueryStateBoundary and AGENTS.md 2026-08-15 21:44:45 +09:00
kjh2064 dff10d305a docs(constitution): harness button placement standardization rule for CRUD and batch processing 2026-08-15 21:41:38 +09:00
kjh2064 0d80575e75 docs(constitution): harness Viewport-Fit Zero-Scroll Layout as non-negotiable iron rule in AGENTS.md 2026-08-15 21:18:47 +09:00
kjh2064 9d541a5982 docs: GOVERNANCE LOCK — AGENTS.md is the ONLY source of guidelines
Establish unambiguous governance:
- AGENTS.md v16.0 is the ONLY document that contains engineering guidelines
- All procedures, harnesses, rules, decision frameworks live in AGENTS.md
- CLAUDE.md, GEMINI.md, and all other documents FOLLOW AGENTS.md
- Other documents ONLY reference AGENTS.md with explicit links
- If any document conflicts with AGENTS.md, AGENTS.md is authoritative

Changes:
- AGENTS.md: Add 'GOVERNANCE LOCK' section at top (5 rules, scope definition)
- CLAUDE.md: Add critical warning (context only, not guidelines)
- Rules: Never add procedures to supplementary documents

Non-negotiable enforcement:
- New guidelines → AGENTS.md only
- Found guidelines elsewhere → move to AGENTS.md, replace with reference
- Conflicting guidance → AGENTS.md wins
- Exception: Project status, architecture context, navigation (CLAUDE.md only)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-08-15 10:55:10 +09:00
kjh2064 d090538b17 docs: Unify guidance — AGENTS.md as source of truth
Establish clear governance hierarchy:
1. AGENTS.md — AI coding constitution, authoritative
2. CLAUDE.md — Project context, supplements AGENTS.md
3. Code — Implementation, must comply with AGENTS.md

Changes:
- AGENTS.md: Add explicit declaration that this is the authoritative source
- CLAUDE.md: Add governance statement, redirect database config to AGENTS.md
- Quick Start: Remove stale/incorrect database credentials, point to appsettings.Development.json

Prevent guidance fragmentation:
- Do not add conflicting rules to CLAUDE.md
- All harnesses and procedures go to AGENTS.md
- Supplementary info only in CLAUDE.md (status, architecture, overview)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-08-15 10:53:24 +09:00
kjh2064 6abc0551c5 docs: AGENTS.md v16.0 — development configuration harness
Add explicit development environment configuration to AGENTS.md:
- Database connection (appsettings.Development.json sourcing)
- Backend startup (dotnet run with Debug mode)
- Frontend dev server (pnpm dev on port 5174)
- SSH tunnel requirement (PostgreSQL access)
- Authentication headers (DevelopmentHeader mode)
- Rules to prevent config mistakes (no invented credentials, no user prompts)

Enforces: Read config files directly, never make up settings, never ask user.
Database: kartselldb:5432 (NOT kartsell), password kartsell4321@!
Auth: DevelopmentHeader (X-KArtSell-User, X-KArtSell-Role headers)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-08-15 10:51:40 +09:00
kjh2064 8e296c2958 docs: make WBS procedure the default workflow (AEG-X-001)
ci / backend (push) Failing after 1s
ci / publish (push) Has been cancelled
ci / static (push) Has been cancelled
ci / frontend (push) Has been cancelled
ci / backend (pull_request) Failing after 1s
ci / publish (pull_request) Has been cancelled
ci / static (pull_request) Has been cancelled
ci / frontend (pull_request) Has been cancelled
Build & Test with Secrets / build (pull_request) Failing after 1s
Build & Test with Secrets / security-scan (pull_request) Has been cancelled
Build & Test with Secrets / notification (pull_request) Has been cancelled
Build & Test with Secrets / frontend (pull_request) Has been cancelled
2026-08-06 14:08:15 +09:00
kjh2064 74ddd95a05 테스트 DB 계약과 실행 안전성 정렬
ci / backend (push) Failing after 0s
ci / static (push) Failing after 6s
ci / backend (pull_request) Failing after 1s
ci / static (pull_request) Failing after 7s
Build & Test with Secrets / build (pull_request) Failing after 1s
ci / frontend (push) Failing after 48s
Build & Test with Secrets / security-scan (pull_request) Successful in 5s
Build & Test with Secrets / frontend (pull_request) Failing after 1m23s
ci / frontend (pull_request) Failing after 1m32s
Build & Test with Secrets / notification (pull_request) Failing after 2s
2026-08-02 17:37:12 +09:00
kjh2064 e9f9c6615c docs: Add Gitea API automation guide to AGENTS.md and CLAUDE.md
ci / backend (push) Failing after 1s
ci / static (push) Failing after 4s
ci / frontend (push) Failing after 10s
Enhance project governance with CI/CD automation capabilities:

AGENTS.md additions:
- v16.0 Gitea API & CI/CD Automation section
- Environment setup (GITEA_TOKEN_TAXBAIK)
- Common API patterns (PR comments, labels, releases)
- Gitea Actions workflow integration
- Automation best practices (labels, milestones, release tagging)

CLAUDE.md additions:
- Gitea API setup instructions
- Practical automation tasks (build verification, auto-labeling, debt tracking)
- Gitea Actions integration example for PR verification

This enables:
- Automated PR verification comments with test results
- Auto-labeling by affected modules
- Tech debt tracking via issue linking
- Release management automation
- CI/CD pipeline transparency

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-08-02 05:43:42 +09:00
kjh2064 ddc68f28f5 docs: Add v16.0 Strategic Architecture & Engineering Excellence guidelines to AGENTS.md
ci / backend (push) Failing after 1s
ci / frontend (push) Failing after 5s
ci / static (push) Failing after 36s
Add comprehensive decision framework for all work:
- SOLID principles with domain context
- Code refactoring (complexity, mass)
- Data integrity (PIT, revision, audit)
- Necessity-driven (no gold-plating)
- Normalization strategy (3NF writes, denormalized reads)
- Process simplification (single responsibility, clarity)
- Patterns & standards (Vertical Slice, standardized components)
- Guardrails (AI, traceability of decisions)
- Reproducibility & history (traceability, repeatability)
- Reliability (idempotency, rollback, failure modes)
- Componentization & maturity (versioning, contracts-first)
- Right way not shortcuts (root cause, review discipline)
- Tech debt management (registry, paydown cadence)

Include:
- Rationale for each dimension
- Application guidance
- Decision checklist for all tasks
- Anti-patterns (explicit blockers)

This ensures every AI-assisted change, refactor, and decision follows architectural excellence criteria, not convenience.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2026-08-02 05:39:06 +09:00
kjh2064 dcd1322d41 Initial commit: Add project files
ci / backend (push) Failing after 12s
ci / frontend (push) Failing after 19s
ci / static (push) Failing after 45s
2026-08-02 05:15:36 +09:00