260806_01_ENH: Agent Harness 연동 및 KriCommon 버전 고정
This commit is contained in:
@@ -6,7 +6,7 @@ __DESCRIPTION__
|
||||
|
||||
- Java 17
|
||||
- Spring Boot 3.5.7
|
||||
- `com.kri.common:starter:latest.release`
|
||||
- `com.kri.common:starter:beta.1.6.3`
|
||||
- JPA + QueryDSL + JdbcTemplate
|
||||
- EmbeddedId 예제
|
||||
- MyBatis는 생성 옵션에 따라 포함
|
||||
@@ -71,3 +71,11 @@ kri:
|
||||
```
|
||||
|
||||
프로젝트 내부에 JWT/API Key 필터를 중복 구현하지 않습니다.
|
||||
|
||||
## Agent Harness
|
||||
|
||||
- 프로젝트 ID: `__AGENT_PROJECT_ID__`
|
||||
- 프로젝트 유형: `__AGENT_PROJECT_TYPE__`
|
||||
- 권위 원본: `.agent/profile.yml`, `.agent/project.md`
|
||||
|
||||
`AGENTS.md`와 `CLAUDE.md`는 중앙 Agent Harness가 합성합니다. 두 파일을 직접 수정하지 않습니다.
|
||||
|
||||
21
templates/base/_agent/profile.yml
Normal file
21
templates/base/_agent/profile.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
schema_version: 1
|
||||
|
||||
project:
|
||||
id: __AGENT_PROJECT_ID__
|
||||
name: __AGENT_PROJECT_NAME_YAML__
|
||||
type: __AGENT_PROJECT_TYPE__
|
||||
layer: backend
|
||||
legacy: false
|
||||
|
||||
stack:
|
||||
- java-springboot
|
||||
|
||||
shared_contracts:
|
||||
consumes:
|
||||
- kri-common
|
||||
|
||||
databases:
|
||||
- id: primary
|
||||
engine: __DATABASE__
|
||||
role: primary
|
||||
access: read-write
|
||||
8
templates/base/_agent/project.md
Normal file
8
templates/base/_agent/project.md
Normal file
@@ -0,0 +1,8 @@
|
||||
## Generated Spring Boot Repository Rules
|
||||
|
||||
- This backend application was generated by `@kri/create-spring-app` with Java 17 and Spring Boot 3.5.7.
|
||||
- Consume KriCommon through `com.kri.common:starter:beta.1.6.3`; do not change that approved version or duplicate shared behavior without explicit approval.
|
||||
- The selected primary database is `__DATABASE__`. Preserve its configured dialect, driver, transaction, schema, and migration conventions.
|
||||
- Keep controllers thin and preserve the generated service, DTO, persistence, configuration, QueryDSL, JDBC, and optional MyBatis boundaries.
|
||||
- `AGENTS.md` and `CLAUDE.md` are central-harness generated outputs. Never edit them directly; update `.agent/profile.yml` or `.agent/project.md` and recompose.
|
||||
- Use the repository Gradle Wrapper and run `.\gradlew.bat compileJava` followed by focused tests for relevant changes.
|
||||
@@ -1,3 +1,7 @@
|
||||
/gradlew text eol=lf
|
||||
*.bat text eol=crlf
|
||||
*.jar binary
|
||||
/AGENTS.md text eol=lf
|
||||
/CLAUDE.md text eol=lf
|
||||
/.agent/*.md text eol=lf
|
||||
/.agent/*.yml text eol=lf
|
||||
|
||||
@@ -45,7 +45,7 @@ configurations.configureEach {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'com.kri.common:starter:latest.release'
|
||||
implementation 'com.kri.common:starter:beta.1.6.3'
|
||||
|
||||
implementation 'org.springframework.boot:spring-boot-starter-web'
|
||||
implementation 'org.springframework.boot:spring-boot-starter-security'
|
||||
|
||||
Reference in New Issue
Block a user