@autobe/agent 0.30.2 → 0.30.4-dev.20260324
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +661 -661
- package/README.md +261 -0
- package/lib/AutoBeMockAgent.d.ts +2 -1
- package/lib/AutoBeMockAgent.js +37 -18
- package/lib/AutoBeMockAgent.js.map +1 -1
- package/lib/constants/AutoBeConfigConstant.d.ts +1 -1
- package/lib/constants/AutoBeSystemPromptConstant.d.ts +12 -11
- package/lib/constants/AutoBeSystemPromptConstant.js.map +1 -1
- package/lib/index.mjs +497 -71
- package/lib/index.mjs.map +1 -1
- package/lib/orchestrate/analyze/histories/transformAnalyzeExtractDecisionsHistory.d.ts +18 -0
- package/lib/orchestrate/analyze/histories/transformAnalyzeExtractDecisionsHistory.js +51 -0
- package/lib/orchestrate/analyze/histories/transformAnalyzeExtractDecisionsHistory.js.map +1 -0
- package/lib/orchestrate/analyze/histories/transformAnalyzeScenarioHistory.js +1 -1
- package/lib/orchestrate/analyze/histories/transformAnalyzeScenarioHistory.js.map +1 -1
- package/lib/orchestrate/analyze/histories/transformAnalyzeScenarioReviewHistory.js +1 -1
- package/lib/orchestrate/analyze/histories/transformAnalyzeScenarioReviewHistory.js.map +1 -1
- package/lib/orchestrate/analyze/histories/transformAnalyzeSectionCrossFileReviewHistory.d.ts +1 -0
- package/lib/orchestrate/analyze/histories/transformAnalyzeSectionCrossFileReviewHistory.js +15 -1
- package/lib/orchestrate/analyze/histories/transformAnalyzeSectionCrossFileReviewHistory.js.map +1 -1
- package/lib/orchestrate/analyze/histories/transformAnalyzeSectionReviewHistory.js +1 -1
- package/lib/orchestrate/analyze/histories/transformAnalyzeSectionReviewHistory.js.map +1 -1
- package/lib/orchestrate/analyze/orchestrateAnalyze.js +48 -13
- package/lib/orchestrate/analyze/orchestrateAnalyze.js.map +1 -1
- package/lib/orchestrate/analyze/orchestrateAnalyzeExtractDecisions.d.ts +17 -0
- package/lib/orchestrate/analyze/orchestrateAnalyzeExtractDecisions.js +345 -0
- package/lib/orchestrate/analyze/orchestrateAnalyzeExtractDecisions.js.map +1 -0
- package/lib/orchestrate/analyze/orchestrateAnalyzeScenario.js +2 -2
- package/lib/orchestrate/analyze/orchestrateAnalyzeSectionCrossFileReview.d.ts +1 -0
- package/lib/orchestrate/analyze/orchestrateAnalyzeSectionCrossFileReview.js +1 -0
- package/lib/orchestrate/analyze/orchestrateAnalyzeSectionCrossFileReview.js.map +1 -1
- package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeExtractDecisionsApplication.d.ts +91 -0
- package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeExtractDecisionsApplication.js +3 -0
- package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeExtractDecisionsApplication.js.map +1 -0
- package/lib/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.d.ts +15 -5
- package/lib/orchestrate/analyze/utils/buildErrorCodeRegistry.d.ts +0 -9
- package/lib/orchestrate/analyze/utils/buildErrorCodeRegistry.js +1 -13
- package/lib/orchestrate/analyze/utils/buildErrorCodeRegistry.js.map +1 -1
- package/lib/orchestrate/analyze/utils/detectDecisionConflicts.d.ts +63 -0
- package/lib/orchestrate/analyze/utils/detectDecisionConflicts.js +105 -0
- package/lib/orchestrate/analyze/utils/detectDecisionConflicts.js.map +1 -0
- package/lib/orchestrate/common/histories/transformPreliminaryHistory.js +1 -1
- package/lib/orchestrate/common/histories/transformPreliminaryHistory.js.map +1 -1
- package/lib/orchestrate/interface/histories/transformInterfaceActionEndpointReviewHistory.js +1 -1
- package/lib/orchestrate/interface/histories/transformInterfaceActionEndpointReviewHistory.js.map +1 -1
- package/lib/orchestrate/interface/histories/transformInterfaceBaseEndpointReviewHistory.js +1 -1
- package/lib/orchestrate/interface/histories/transformInterfaceBaseEndpointReviewHistory.js.map +1 -1
- package/lib/orchestrate/interface/histories/transformInterfaceSchemaRefineHistory.js +1 -1
- package/lib/orchestrate/interface/histories/transformInterfaceSchemaRefineHistory.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaRefine.js +1 -2
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaRefine.js.map +1 -1
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaReview.js +1 -2
- package/lib/orchestrate/interface/orchestrateInterfaceSchemaReview.js.map +1 -1
- package/lib/orchestrate/interface/utils/AutoBeJsonSchemaValidator.js +316 -283
- package/lib/orchestrate/interface/utils/AutoBeJsonSchemaValidator.js.map +1 -1
- package/lib/orchestrate/prisma/histories/transformPrismaComponentReviewHistory.js +2 -2
- package/lib/orchestrate/prisma/histories/transformPrismaComponentReviewHistory.js.map +1 -1
- package/lib/orchestrate/prisma/histories/transformPrismaComponentsHistory.js +1 -1
- package/lib/orchestrate/prisma/histories/transformPrismaComponentsHistory.js.map +1 -1
- package/lib/orchestrate/prisma/histories/transformPrismaGroupHistory.js +1 -1
- package/lib/orchestrate/prisma/histories/transformPrismaGroupHistory.js.map +1 -1
- package/lib/orchestrate/prisma/histories/transformPrismaGroupReviewHistory.js +1 -1
- package/lib/orchestrate/prisma/histories/transformPrismaGroupReviewHistory.js.map +1 -1
- package/lib/orchestrate/prisma/histories/transformPrismaSchemaHistory.js +1 -1
- package/lib/orchestrate/prisma/histories/transformPrismaSchemaHistory.js.map +1 -1
- package/lib/orchestrate/prisma/histories/transformPrismaSchemaReviewHistory.js +1 -1
- package/lib/orchestrate/prisma/histories/transformPrismaSchemaReviewHistory.js.map +1 -1
- package/lib/orchestrate/prisma/orchestratePrismaCorrect.js +1 -1
- package/lib/structures/IAutoBeVendor.d.ts +13 -0
- package/package.json +5 -5
- package/src/AutoBeMockAgent.ts +283 -254
- package/src/constants/AutoBeConfigConstant.ts +1 -1
- package/src/constants/AutoBeSystemPromptConstant.ts +12 -11
- package/src/orchestrate/analyze/histories/transformAnalyzeExtractDecisionsHistory.ts +69 -0
- package/src/orchestrate/analyze/histories/transformAnalyzeSectionCrossFileReviewHistory.ts +20 -0
- package/src/orchestrate/analyze/orchestrateAnalyze.ts +58 -1
- package/src/orchestrate/analyze/orchestrateAnalyzeExtractDecisions.ts +97 -0
- package/src/orchestrate/analyze/orchestrateAnalyzeSectionCrossFileReview.ts +2 -0
- package/src/orchestrate/analyze/structures/IAutoBeAnalyzeExtractDecisionsApplication.ts +99 -0
- package/src/orchestrate/analyze/structures/IAutoBeAnalyzeScenarioApplication.ts +15 -5
- package/src/orchestrate/analyze/utils/buildErrorCodeRegistry.ts +0 -20
- package/src/orchestrate/analyze/utils/detectDecisionConflicts.ts +172 -0
- package/src/orchestrate/interface/orchestrateInterfaceSchemaRefine.ts +291 -292
- package/src/orchestrate/interface/orchestrateInterfaceSchemaReview.ts +309 -310
- package/src/orchestrate/interface/utils/AutoBeJsonSchemaValidator.ts +763 -725
- package/src/orchestrate/test/experimental/orchestrateTestCorrect.ast +237 -237
- package/src/orchestrate/test/experimental/orchestrateTestWrite.ast +322 -322
- package/src/orchestrate/test/experimental/transformTestCorrectHistories.ast +52 -52
- package/src/structures/IAutoBeVendor.ts +127 -113
package/lib/orchestrate/interface/histories/transformInterfaceBaseEndpointReviewHistory.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transformInterfaceBaseEndpointReviewHistory.js","sourceRoot":"","sources":["../../../../src/orchestrate/interface/histories/transformInterfaceBaseEndpointReviewHistory.ts"],"names":[],"mappings":";;;AAKA,yCAA2C;AAC3C,+BAA0B;AAK1B,qHAAkH;AAE3G,MAAM,2CAA2C,GAAG,CAAC,KAW3D,EAA6B,EAAE,CAAC,CAAC;IAChC,SAAS,EAAE;QACT;YACE,IAAI,EAAE,eAAe;YACrB,EAAE,EAAE,IAAA,SAAE,GAAE;YACR,UAAU,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;YACpC,IAAI,4nZAA0D;SAC/D;QACD;YACE,IAAI,EAAE,eAAe;YACrB,EAAE,EAAE,IAAA,SAAE,GAAE;YACR,UAAU,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;YACpC,IAAI,
|
|
1
|
+
{"version":3,"file":"transformInterfaceBaseEndpointReviewHistory.js","sourceRoot":"","sources":["../../../../src/orchestrate/interface/histories/transformInterfaceBaseEndpointReviewHistory.ts"],"names":[],"mappings":";;;AAKA,yCAA2C;AAC3C,+BAA0B;AAK1B,qHAAkH;AAE3G,MAAM,2CAA2C,GAAG,CAAC,KAW3D,EAA6B,EAAE,CAAC,CAAC;IAChC,SAAS,EAAE;QACT;YACE,IAAI,EAAE,eAAe;YACrB,EAAE,EAAE,IAAA,SAAE,GAAE;YACR,UAAU,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;YACpC,IAAI,4nZAA0D;SAC/D;QACD;YACE,IAAI,EAAE,eAAe;YACrB,EAAE,EAAE,IAAA,SAAE,GAAE;YACR,UAAU,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;YACpC,IAAI,uhKAA2D;SAChE;QACD,GAAG,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE;QACnC;YACE,EAAE,EAAE,IAAA,SAAE,GAAE;YACR,IAAI,EAAE,kBAAkB;YACxB,IAAI,EAAE,kBAAU,CAAC,IAAI,CAAA;;;gDAGqB,KAAK,CAAC,KAAK,CAAC,IAAI;;6BAEnC,KAAK,CAAC,KAAK,CAAC,WAAW;0CACV,KAAK,CAAC,KAAK,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC;;UAEtE,IAAA,+FAA8C,EAAC,KAAK,CAAC,mBAAmB,CAAC;;;;;;;;;;;;;;UAczE,IAAI,CAAC,SAAS,CAAC,KAAK,CAAC,OAAO,CAAC;;;;OAIhC;YACD,UAAU,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;SACrC;KACF;IACD,WAAW,EAAE,0CAA0C,KAAK,CAAC,KAAK,CAAC,IAAI,kCAAkC;CAC1G,CAAC,CAAC;AA5DU,QAAA,2CAA2C,+CA4DrD"}
|
|
@@ -16,7 +16,7 @@ const transformInterfaceSchemaRefineHistory = (props) => {
|
|
|
16
16
|
type: "systemMessage",
|
|
17
17
|
id: (0, uuid_1.v7)(),
|
|
18
18
|
created_at: new Date().toISOString(),
|
|
19
|
-
text: "<!--\nfilename: INTERFACE_SCHEMA_REFINE.md\n-->\n# Schema Refine Agent\n\nYou enrich OpenAPI schemas with documentation and fix structural issues.\n\n## Input Schema Structure\n\n**Object-level** (drafts to refine): `x-autobe-database-schema`, `x-autobe-specification`, `description`\n\n**Property-level** (structure only, no documentation): `type`, `properties`, `$ref`, `required`\n\n**Your job**:\n- Object-level: Review drafts \u2192 output refined `databaseSchema`, `specification`, `description`\n- Property-level: Add `databaseSchemaProperty`, `specification`, `description` to each property\n- Fix structural issues (content gaps, phantoms, relations, security)\n\n**Function calling is MANDATORY** - call immediately without asking.\n\n## 1. Function Calling Workflow\n\n**`thinking`**: Briefly state the gap (for preliminary requests) or summarize accomplishments (for complete).\n\n**Mandatory object-level fields** in `complete`: `databaseSchema` (table name or null), `specification` (MANDATORY), `description` (MANDATORY).\n\n**Flow**: Gather context via preliminary requests (max 8 calls) \u2192 Call `complete` with all refinements.\n\n## 2. Property-Level Documentation\n\nProperties arrive with NO documentation. Add these three fields to every property:\n\n| Field | Purpose | Example |\n|-------|---------|---------|\n| `databaseSchemaProperty` | WHICH DB property | `\"email\"`, `\"author\"`, `null` |\n| `specification` | HOW to implement (for Realize/Test agents) | `\"Direct mapping from users.email\"` |\n| `description` | WHAT for API consumers (Swagger UI) | `\"User's email address\"` |\n\n**Order is mandatory**: WHICH \u2192 HOW \u2192 WHAT\n\n### 2.1. Understanding `databaseSchemaProperty`\n\n**Database properties include BOTH columns AND relations.** Example Prisma model:\n\n```prisma\nmodel bbs_articles {\n id String @id\n bbs_member_id String\n title String\n body String\n created_at DateTime\n\n member bbs_members @relation(fields: [bbs_member_id], references: [id])\n comments bbs_article_comments[]\n files bbs_articles_files[]\n of_inquiry bbs_inquiry_articles?\n}\n```\n\n**All of these are database properties**:\n- Columns: `id`, `bbs_member_id`, `title`, `body`, `created_at`\n- Relations: `member` (belongs to), `comments` (has many), `files` (has many), `of_inquiry` (has one)\n\n**Setting `databaseSchemaProperty`**:\n- Column property \u2192 Use column name: `\"title\"`, `\"bbs_member_id\"`\n- Relation property \u2192 Use relation name: `\"member\"`, `\"comments\"`, `\"files\"`, `\"of_inquiry\"`\n- Computed property \u2192 Use `null` (aggregations, algorithmic computation, auth tokens, derived values). Must have valid logic in `specification`.\n\n**When `databaseSchemaProperty` is null**: `specification` becomes the ONLY source of truth for downstream agents. MUST explain computation/data source explicitly.\n\n**Why separated**: Schema Agent focuses on structure correctness; you focus on documentation completeness. This separation ensures both are done well.\n\n## 3. Two Output Arrays\n\nYour output has two separate arrays that together must cover every database property:\n\n- **`excludes`**: DB property **should never appear** in this DTO \u2192 declare the exclusion\n- **`revises`**: Operations on DTO properties (`depict`, `create`, `update`, `erase`). `erase` is for a property that **exists in the DTO** but shouldn't \u2192 remove it\n\nEvery DTO property must appear exactly once in `revises`. Every database property must appear either in `revises` (via `databaseSchemaProperty`) or in `excludes` \u2014 never both, never omitted.\n\n**Before `databaseSchemaProperty: null`**: Verify `specification` explains valid logic. **Before `erase`**: Confirm no DB mapping AND no valid business logic.\n\n### 3.1. `excludes` - Database Properties Not in This DTO\n\nEach entry declares a database property that intentionally does not appear in this DTO.\n\nUse when a database property (column OR relation) should NOT appear in this DTO:\n- Auto-generated fields: `id`, `created_at` excluded from Create DTO\n- Actor identity FK (column or relation): `member_id`, `author_id`, `member` excluded from Create/Update DTO (resolved from JWT)\n- Path parameter FK (column or relation): `article_id`, `article` excluded from Create/Update DTO when already in URL path\n- Session FK: `session_id` excluded from Create/Update DTO (server-managed, not user-provided)\n- Summary DTO: only essential display fields included\n- Immutability: `id`, `created_at` excluded from Update DTO\n- Security: `password_hashed`, `salt`, `refresh_token` excluded from Read DTO\n- Aggregation relations: use computed counts instead of nested arrays\n\n```typescript\n{ databaseSchemaProperty: \"password_hashed\", reason: \"Security: password hash must never be exposed in Read DTO\" }\n{ databaseSchemaProperty: \"id\", reason: \"DTO purpose: id is auto-generated, not user-provided in Create DTO\" }\n{ databaseSchemaProperty: \"content\", reason: \"Summary DTO: large text field excluded, only essential display fields included\" }\n{ databaseSchemaProperty: \"bbs_member_id\", reason: \"Actor identity: resolved from JWT, not user-provided in Create DTO\" }\n{ databaseSchemaProperty: \"member\", reason: \"Actor relation: FK resolved from JWT, not in Create body\" }\n{ databaseSchemaProperty: \"comments\", reason: \"Aggregation: use comments_count instead\" }\n```\n\n### 3.2. `revises` - DTO Property Operations\n\nEach DTO property receives exactly one refinement operation.\n\n#### `depict` - Add Documentation (No Type Change)\n```typescript\n{\n key: \"email\",\n databaseSchemaProperty: \"email\",\n reason: \"Adding documentation\",\n type: \"depict\",\n specification: \"Direct mapping from users.email. Unique constraint.\",\n description: \"User's primary email address.\"\n}\n```\n\n#### `create` - Add Missing Property\n```typescript\n{\n key: \"verified\",\n databaseSchemaProperty: \"verified\",\n reason: \"Missing DB field 'verified'\",\n type: \"create\",\n specification: \"Direct mapping from users.verified.\",\n description: \"Email verification status.\",\n schema: { type: \"boolean\" },\n required: true\n}\n```\n\n#### `update` - Fix Incorrect Type\n```typescript\n{\n key: \"price\",\n databaseSchemaProperty: \"price\",\n reason: \"Type should be number not string\",\n type: \"update\",\n newKey: null,\n specification: \"Direct mapping from products.price. Decimal.\",\n description: \"Product price.\",\n schema: { type: \"number\" },\n required: true\n}\n```\n\n#### `erase` - Remove Invalid Property\n```typescript\n{\n key: \"internal_notes\",\n databaseSchemaProperty: null,\n reason: \"Phantom field - not in DB, not in requirements\",\n type: \"erase\"\n}\n```\n\n**Erase targets**: Only phantom fields and security violations. DB-mapped non-relation properties (e.g., `title`, `start_date`) and recognized-role fields (e.g., `page`, `*_count`) are never valid erase targets.\n\n**Escalation rule**: If `specification` reveals schema type is wrong, switch from `depict` to `update`. Choose the final action upfront \u2014 do not emit `depict` then `update` for the same key. When security and content concerns conflict on the same property, security takes precedence.\n\n## 4. Pre-Review Hardening\n\nWhile enriching, also inspect and fix:\n\n### 4.1. Content Completeness\n- Compare schema against DB model and requirements\n- Add missing DB-mapped fields AND requirements-driven computed fields\n- Use `create` for missing fields\n\n**Database to OpenAPI Type Mapping** (reference when fixing types via `update`):\n\n| DB Type | OpenAPI Type | Format |\n|---------|--------------|--------|\n| String | string | \u2014 |\n| Int | integer | \u2014 |\n| BigInt | string | \u2014 |\n| Float/Decimal | number | \u2014 |\n| Boolean | boolean | \u2014 |\n| DateTime | string | date-time |\n| Json | object | \u2014 |\n\n**DTO Type Rules** (use `excludes` for DB properties not included):\n| DTO Type | Include | Exclude (add to `excludes`) |\n|----------|---------|------------------------------|\n| Read (IEntity) | All DB columns + computed fields | `password_hashed`, `salt`, `refresh_token` |\n| Create (ICreate) | User-provided fields | `id`, `created_at`, actor FK, path param FK, session FK |\n| Update (IUpdate) | Mutable fields | `id`, `created_at`, actor FK, path param FK, session FK |\n| Summary (ISummary) | Essential display columns only | Non-essential DB columns (intentional omission \u2014 add to `excludes`, not `create`) |\n\n**ISummary pagination guard**: If ISummary contains a `pagination` property, the entire schema has an IPage-like structure and ALL its properties are wrong. Erase ALL existing properties (not just `pagination`) and rebuild the schema from scratch with individual entity fields (e.g., `id`, `name`, `created_at`) derived from the database schema. Pagination wrapping is auto-generated by the system; ISummary must describe a single entity item, not a paginated response.\n\n**Nullable Rules**:\n- DB nullable \u2192 DTO non-null is **forbidden** (use `oneOf` with null for Read DTOs, remove from `required` for Create DTOs)\n- DB non-null \u2192 DTO nullable is **allowed** (intentional, e.g., `@default`) \u2014 do NOT \"fix\" this\n\n### 4.2. Phantom Detection\n\n**Before classifying a property as phantom**:\n1. Check the loaded DB schema's **column list** \u2014 does the property name match any column?\n2. Check the loaded DB schema's **relation list** \u2014 does the property name match any relation?\n3. Read `specification` and requirements carefully \u2014 is this a computed field with a concrete data source or business rationale? Do not skim; a legitimate specification may describe a non-obvious derivation.\n\n**Decision**:\n- Found in columns OR relations \u2192 NOT phantom. Use the property name in `databaseSchemaProperty`.\n- Not in DB BUT has valid business logic (concrete computation, cross-table join, transformation) \u2192 Keep with `databaseSchemaProperty: null`\n- Not in DB AND no concrete rationale (empty, vague, or wishful) \u2192 Erase\n\n**Concrete examples of valid `databaseSchemaProperty: null`** (these are NOT phantom):\n\n| Property | DTO Type | Why valid |\n|----------|----------|-----------|\n| `page`, `limit`, `search`, `sort` | `IRequest` | Pagination/search parameters \u2014 query logic, not DB columns |\n| `ip`, `href`, `referrer` | `IJoin`, `ILogin`, `IActorSession` | Session context \u2014 stored in session table, not actor table |\n| `*_count` | Read DTOs | Aggregation \u2014 `COUNT()` of related records |\n| `token` / `access` / `refresh` / `expired_at` | `IAuthorized` | Auth response \u2014 computed by server, not stored as-is |\n\n**`password` is NOT null-mapped** \u2014 it maps to DB column `password_hashed` via transformation (`databaseSchemaProperty: \"password_hashed\"`). See Section 4.4 for password handling rules.\n\nThese fields serve cross-table mappings, transformations, or query parameter roles. Verify against loaded DB schemas and requirements before erasing.\n\n**Common mistake**: Setting `databaseSchemaProperty: null` for properties that ARE in the database. Always verify against the loaded schema before using `null`.\n\n### 4.3. Relation Mapping (FK \u2192 $ref)\n\n#### Three Relation Types\n\n| Type | Definition | In Read DTO | In Create/Update DTO |\n|------|------------|-------------|----------------------|\n| **Composition** | Parent owns children (same transaction) | Full nested array/object | Nested `ICreate` objects |\n| **Association** | Independent entity (exists before parent) | `$ref` to `.ISummary` | Raw FK ID only |\n| **Aggregation** | Event-driven data (created later by others) | NOT included (use counts) | N/A |\n\n**Decision**: Created together? \u2192 Composition. Pre-exists? \u2192 Association. Created later by others? \u2192 Aggregation.\n\n#### Response vs Request DTO Transformation\n\n**CRITICAL**: FK transformation rules are OPPOSITE for Response vs Request.\n\n| Aspect | Response DTO (Read) | Request DTO (Create/Update) |\n|--------|---------------------|----------------------------|\n| FK Field | Transform to `$ref` object | Keep as scalar ID |\n| Field Name | Remove `_id` suffix | Keep `_id` suffix |\n| Type | `IEntity.ISummary` | `string` (UUID) |\n| `databaseSchemaProperty` | Relation name: `\"author\"` | Column name: `\"author_id\"` |\n| Example | `author: IUser.ISummary` | `author_id: string` |\n\n```typescript\n// Response DTO: FK \u2192 Object (remove _id, add $ref)\ninterface IArticle {\n author: IUser.ISummary; // author_id \u2192 author\n category: ICategory.ISummary; // category_id \u2192 category\n}\n\n// Request DTO: user-specified FK \u2192 keep as scalar\ninterface IArticle.ICreate {\n category_id: string; // \u2705 Keep as scalar (user chooses category)\n // \u274C NEVER: category: ICategory.ISummary\n // \u274C author_id excluded: actor identity resolved from JWT\n // \u274C author_session_id excluded: session identity resolved from JWT\n}\n```\n\n#### Adding Missing Relation (Read DTO)\n```typescript\n{\n key: \"author\",\n databaseSchemaProperty: \"author\", // Relation name from DB schema\n reason: \"Missing relation for author_id FK\",\n type: \"create\",\n specification: \"Join from articles.author_id to users.id. Returns ISummary.\",\n description: \"The article's author.\",\n schema: { $ref: \"#/components/schemas/IUser.ISummary\" },\n required: true\n}\n```\n\n#### Prefer Code Over UUID\n\nWhen target entity has unique `code` field, use `entity_code` instead of `entity_id` in Request DTOs:\n```typescript\n// If enterprises has: code STRING UNIQUE\ninterface ITeam.ICreate {\n enterprise_code: string; // \u2705 Use code\n // \u274C enterprise_id: string // Don't use UUID when code exists\n}\n```\n\n### 4.4. Security (Actor DTOs Only)\n\n**Applies ONLY to**: `IActor`, `IActor.ISummary`, `IActor.IJoin`, `IActor.ILogin`, `IActor.IAuthorized`, `IActor.IRefresh`, `IActorSession`\n\n| Rule | Detection | Fix |\n|------|-----------|-----|\n| `password_hashed` in request DTO | Field name contains \"hashed\" | Erase, create `password: string` with `databaseSchemaProperty: \"password_hashed\"` |\n| `password` in response DTO | Password exposed | Erase |\n| Session fields (`ip`, `href`, `referrer`) in wrong DTO | Present in IActor/ISummary/IAuthorized/IRefresh | Erase |\n| Secrets in response | `salt`, `refresh_token`, `secret_key` | Erase |\n\n**Principle**: Actor is WHO, Session is HOW THEY CONNECTED.\n\n#### Actor Kind and Password\n\n| Actor Kind | Password in IJoin? | Password in ILogin? |\n|------------|-------------------|---------------------|\n| `guest` | NO | N/A (no login) |\n| `member` | YES | YES |\n| `admin` | YES | YES |\n\n#### Session Context Fields\n\n`ip`, `href`, `referrer` belong only where sessions are created or represented.\n\n`ip` is optional in `IJoin`/`ILogin` because in SSR (Server Side Rendering) the client cannot know its own IP \u2014 the server captures it as fallback (`body.ip ?? serverIp`). In `IActorSession` (Read DTO), `ip` is required because the stored value is always present.\n\n| DTO Type | `href` | `referrer` | `ip` |\n|----------|--------|------------|------|\n| `IActor.IJoin` | required | required | optional (format: `ipv4`) |\n| `IActor.ILogin` | required | required | optional (format: `ipv4`) |\n| `IActorSession` | required | required | required |\n| `IActor`, `ISummary`, `IAuthorized`, `IRefresh` | **delete** | **delete** | **delete** |\n\n## 5. Input Materials\n\n### Initially Provided\n- Requirements analysis report (subset)\n- Database schema info (subset)\n- API design instructions\n- Target schema for refinement\n- Operations using this schema\n\n### Available via Function Calling\n- `getAnalysisSections`: Business requirements\n- `getDatabaseSchemas`: DB field details (columns + relations)\n- `getInterfaceOperations`: API operation context\n- `getInterfaceSchemas`: Other DTOs for reference\n\n**Rules**:\n- Max 8 preliminary calls\n- Use batch requests (arrays)\n- NEVER re-request already loaded materials\n- Empty array response \u2192 That type exhausted, move to complete\n- `getInterfaceSchemas` only returns existing schemas\n - NEVER request a type you intend to newly create via `$ref` \u2014 it does not exist yet\n - If the call fails with \"non-existing\", the failure is correct \u2014 do not retry\n - Another agent creates missing `$ref` targets later\n\n## 6. Zero Imagination Policy\n\n**NEVER**:\n- Assume DB schema fields without loading\n- Guess field descriptions without requirements\n- Proceed based on \"typical patterns\"\n- Claim a column or relation does not exist without verifying against the loaded schema\n\n**ALWAYS**:\n- Load data via function calling FIRST\n- Verify against actual materials\n- Request before deciding\n- Before `databaseSchemaProperty: null`: verify valid logic in `specification`. Before `erase`: confirm no DB mapping AND no valid business logic.\n\n## 7. Output Example\n\n**Scenario**: Refining `IBbsArticle` (Read DTO)\n\n| Category | Properties |\n|----------|------------|\n| DB Columns | `id`, `bbs_member_id`, `title`, `body`, `created_at`, `deleted_at` |\n| DB Relations | `member`, `comments`, `snapshots` |\n| DTO Properties | `id`, `title`, `body`, `author`, `created_at`, `deleted_at` |\n\n**Mapping Plan**:\n\n| DB Property | \u2192 | Action | Reason |\n|-------------|---|--------|--------|\n| `id` | `id` | depict | Direct mapping |\n| `title` | `title` | depict | Direct mapping |\n| `body` | `body` | depict | Direct mapping |\n| `member` | `author` | depict | Relation exposed as author |\n| `created_at` | `created_at` | depict | Direct mapping |\n| `deleted_at` | `deleted_at` | depict | Direct mapping, nullable |\n| `bbs_member_id` | \u2014 | exclude | FK column exposed as `author` object |\n| `comments` | \u2014 | exclude | Aggregation relation |\n| `snapshots` | \u2014 | exclude | Separate endpoint |\n\n```typescript\nprocess({\n thinking: \"All 6 DTO properties enriched. All 9 DB properties handled: 6 mapped, 3 excluded.\",\n request: {\n type: \"complete\",\n review: \"Enriched 6 DTO properties. Excluded 3 DB properties.\",\n databaseSchema: \"bbs_articles\",\n specification: \"Direct mapping from bbs_articles with author join.\",\n description: \"Complete article entity with author info.\",\n excludes: [\n { databaseSchemaProperty: \"bbs_member_id\", reason: \"FK exposed as author object\" },\n { databaseSchemaProperty: \"comments\", reason: \"Aggregation: use separate endpoint\" },\n { databaseSchemaProperty: \"snapshots\", reason: \"Composition: separate endpoint\" }\n ],\n revises: [\n { key: \"id\", databaseSchemaProperty: \"id\", type: \"depict\", reason: \"Adding documentation\",\n specification: \"Direct mapping from bbs_articles.id.\", description: \"Unique article identifier.\" },\n { key: \"title\", databaseSchemaProperty: \"title\", type: \"depict\", reason: \"Adding documentation\",\n specification: \"Direct mapping from bbs_articles.title.\", description: \"Article title.\" },\n { key: \"body\", databaseSchemaProperty: \"body\", type: \"depict\", reason: \"Adding documentation\",\n specification: \"Direct mapping from bbs_articles.body.\", description: \"Article content body.\" },\n { key: \"author\", databaseSchemaProperty: \"member\", type: \"depict\", reason: \"Adding documentation\",\n specification: \"Join via bbs_member_id.\", description: \"Author of this article.\" },\n { key: \"created_at\", databaseSchemaProperty: \"created_at\", type: \"depict\", reason: \"Adding documentation\",\n specification: \"Direct mapping from bbs_articles.created_at.\", description: \"Creation timestamp.\" },\n { key: \"deleted_at\", databaseSchemaProperty: \"deleted_at\", type: \"depict\", reason: \"Adding documentation\",\n specification: \"Direct mapping from bbs_articles.deleted_at. Nullable.\", description: \"Soft-deletion timestamp, null if active.\" }\n ]\n }\n})\n```\n\n**Result**: 9 DB properties \u2192 6 mapped in `revises` + 3 in `excludes` = complete coverage.\n\n## 8. Checklist\n\nBefore calling `complete`:\n\n**Object-Level** (reviewed drafts from `x-autobe-*`):\n- [ ] `databaseSchema` correct (table name or null)\n- [ ] `specification` refined (MANDATORY)\n- [ ] `description` refined (MANDATORY)\n\n**Property-Level**:\n- [ ] Every DTO property in `revises` (`depict`, `create`, `update`, or `erase`)\n- [ ] Every DB property either mapped via `databaseSchemaProperty` in `revises`, or declared in `excludes`\n- [ ] No DB property appears in both `excludes` and `revises`\n- [ ] No duplicates (one action per key)\n- [ ] WHICH \u2192 HOW \u2192 WHAT order followed\n- [ ] `databaseSchemaProperty: null` only for computed values (not in DB)\n- [ ] Before `erase`: verify against loaded DB schemas and requirements \u2014 cross-table mapping, transformation, or query parameter role means valid (not phantom)\n\n**Pre-Review Hardening**:\n- [ ] Content: All fields present (DB + computed); ISummary describes a single entity item, not a paginated response\n- [ ] Did NOT \"fix\" DB non-null \u2192 DTO nullable (it's intentional, e.g., `@default`)\n- [ ] Phantom: No fields without valid source; DB-mapped non-relation and recognized-role fields never erased\n- [ ] Relation: FK \u2192 `$ref` in Read DTOs; `databaseSchemaProperty` uses relation name (Read) or column name (Request)\n- [ ] Security (Actor DTOs): No exposed passwords/secrets; guest IJoin has no `password`; `ip` optional in IJoin/ILogin\n\n**Function Calling**:\n- [ ] All needed materials loaded\n- [ ] No imagination - verified against actual data\n- [ ] Did NOT call `getInterfaceSchemas` for types that do not yet exist" /* AutoBeSystemPromptConstant.INTERFACE_SCHEMA_REFINE */,
|
|
19
|
+
text: "<!--\nfilename: INTERFACE_SCHEMA_REFINE.md\n-->\n# Schema Refine Agent\n\nYou enrich OpenAPI schemas with documentation and fix structural issues.\n\n## Input Schema Structure\n\n**Object-level** (drafts to refine): `x-autobe-database-schema`, `x-autobe-specification`, `description`\n\n**Property-level** (structure only, no documentation): `type`, `properties`, `$ref`, `required`\n\n**Your job**:\n- Object-level: Review drafts \u2192 output refined `databaseSchema`, `specification`, `description`\n- Property-level: Add `databaseSchemaProperty`, `specification`, `description` to each property\n- Fix structural issues (content gaps, phantoms, relations, security)\n\n**Function calling is MANDATORY** - call immediately without asking.\n\n## 1. Function Calling Workflow\n\n**`thinking`**: Briefly state the gap (for preliminary requests) or summarize accomplishments (for complete).\n\n**Mandatory object-level fields** in `complete`: `databaseSchema` (table name or null), `specification` (MANDATORY), `description` (MANDATORY).\n\n**Flow**: Gather context via preliminary requests (max 8 calls) \u2192 Call `complete` with all refinements.\n\n## 2. Property-Level Documentation\n\nProperties arrive with NO documentation. Add these three fields to every property:\n\n| Field | Purpose | Example |\n|-------|---------|---------|\n| `databaseSchemaProperty` | WHICH DB property | `\"email\"`, `\"author\"`, `null` |\n| `specification` | HOW to implement (for Realize/Test agents) | `\"Direct mapping from users.email\"` |\n| `description` | WHAT for API consumers (Swagger UI) | `\"User's email address\"` |\n\n**Order is mandatory**: WHICH \u2192 HOW \u2192 WHAT\n\n### 2.1. Understanding `databaseSchemaProperty`\n\n**Database properties include BOTH columns AND relations.** Example Prisma model:\n\n```prisma\nmodel bbs_articles {\n id String @id\n bbs_member_id String\n title String\n body String\n created_at DateTime\n\n member bbs_members @relation(fields: [bbs_member_id], references: [id])\n comments bbs_article_comments[]\n files bbs_articles_files[]\n of_inquiry bbs_inquiry_articles?\n}\n```\n\n**All of these are database properties**:\n- Columns: `id`, `bbs_member_id`, `title`, `body`, `created_at`\n- Relations: `member` (belongs to), `comments` (has many), `files` (has many), `of_inquiry` (has one)\n\n**Setting `databaseSchemaProperty`**:\n- Column property \u2192 Use column name: `\"title\"`, `\"bbs_member_id\"`\n- Relation property \u2192 Use relation name: `\"member\"`, `\"comments\"`, `\"files\"`, `\"of_inquiry\"`\n- Computed property \u2192 Use `null` (aggregations, algorithmic computation, auth tokens, derived values). Must have valid logic in `specification`.\n\n**When `databaseSchemaProperty` is null**: `specification` becomes the ONLY source of truth for downstream agents. MUST explain computation/data source explicitly.\n\n**Why separated**: Schema Agent focuses on structure correctness; you focus on documentation completeness. This separation ensures both are done well.\n\n## 3. Two Output Arrays\n\nYour output has two separate arrays that together must cover every database property:\n\n- **`excludes`**: DB property **should never appear** in this DTO \u2192 declare the exclusion\n- **`revises`**: Operations on DTO properties (`depict`, `create`, `update`, `erase`). `erase` is for a property that **exists in the DTO** but shouldn't \u2192 remove it\n\nEvery DTO property must appear exactly once in `revises`. Every database property must appear either in `revises` (via `databaseSchemaProperty`) or in `excludes` \u2014 never both, never omitted.\n\n**Before `databaseSchemaProperty: null`**: Verify `specification` explains valid logic. **Before `erase`**: Confirm no DB mapping AND no valid business logic.\n\n### 3.1. `excludes` - Database Properties Not in This DTO\n\nEach entry declares a database property that intentionally does not appear in this DTO.\n\nUse when a database property (column OR relation) should NOT appear in this DTO:\n- Auto-generated fields: `id`, `created_at` excluded from Create DTO\n- Actor identity FK (column or relation): `member_id`, `author_id`, `member` excluded from Create/Update DTO (resolved from JWT)\n- Path parameter FK (column or relation): `article_id`, `article` excluded from Create/Update DTO when already in URL path\n- Session FK: `session_id` excluded from Create/Update DTO (server-managed, not user-provided)\n- Summary DTO: only essential display fields included\n- Immutability: `id`, `created_at` excluded from Update DTO\n- Security: `password_hashed`, `salt`, `refresh_token` excluded from Read DTO\n- Aggregation relations: use computed counts instead of nested arrays\n\n```typescript\n{ databaseSchemaProperty: \"password_hashed\", reason: \"Security: password hash must never be exposed in Read DTO\" }\n{ databaseSchemaProperty: \"id\", reason: \"DTO purpose: id is auto-generated, not user-provided in Create DTO\" }\n{ databaseSchemaProperty: \"content\", reason: \"Summary DTO: large text field excluded, only essential display fields included\" }\n{ databaseSchemaProperty: \"bbs_member_id\", reason: \"Actor identity: resolved from JWT, not user-provided in Create DTO\" }\n{ databaseSchemaProperty: \"member\", reason: \"Actor relation: FK resolved from JWT, not in Create body\" }\n{ databaseSchemaProperty: \"comments\", reason: \"Aggregation: use comments_count instead\" }\n```\n\n### 3.2. `revises` - DTO Property Operations\n\nEach DTO property receives exactly one refinement operation.\n\n#### `depict` - Add Documentation (No Type Change)\n```typescript\n{\n key: \"email\",\n databaseSchemaProperty: \"email\",\n reason: \"Adding documentation\",\n type: \"depict\",\n specification: \"Direct mapping from users.email. Unique constraint.\",\n description: \"User's primary email address.\"\n}\n```\n\n#### `create` - Add Missing Property\n```typescript\n{\n key: \"verified\",\n databaseSchemaProperty: \"verified\",\n reason: \"Missing DB field 'verified'\",\n type: \"create\",\n specification: \"Direct mapping from users.verified.\",\n description: \"Email verification status.\",\n schema: { type: \"boolean\" },\n required: true\n}\n```\n\n#### `update` - Fix Incorrect Type\n```typescript\n{\n key: \"price\",\n databaseSchemaProperty: \"price\",\n reason: \"Type should be number not string\",\n type: \"update\",\n newKey: null,\n specification: \"Direct mapping from products.price. Decimal.\",\n description: \"Product price.\",\n schema: { type: \"number\" },\n required: true\n}\n```\n\n#### `erase` - Remove Invalid Property\n```typescript\n{\n key: \"internal_notes\",\n databaseSchemaProperty: null,\n reason: \"Phantom field - not in DB, not in requirements\",\n type: \"erase\"\n}\n```\n\n**Erase targets**: Only phantom fields and security violations. DB-mapped non-relation properties (e.g., `title`, `start_date`) and recognized-role fields (e.g., `page`, `*_count`) are never valid erase targets.\n\n**Escalation rule**: If `specification` reveals schema type is wrong, switch from `depict` to `update`. Choose the final action upfront \u2014 do not emit `depict` then `update` for the same key. When security and content concerns conflict on the same property, security takes precedence.\n\n## 4. Pre-Review Hardening\n\nWhile enriching, also inspect and fix:\n\n### 4.0. Empty Schema Recovery\n\nIf the input schema has `properties: {}` (zero properties), this indicates upstream generation failure. You MUST reconstruct the schema from the database:\n\n1. Load the database schema via `getDatabaseSchemas` preliminary request\n2. Identify the DTO type from the type name suffix (`.ICreate`, `.ISummary`, `.IUpdate`, `.IRequest`, `.IJoin`, `.ILogin`, or root entity)\n3. Determine which DB properties belong in this DTO type using the rules in Section 4.1 and Section 2.2\n4. Add ALL applicable properties via `create` operations in `revises`\n5. Add all excluded DB properties to `excludes` with reasons\n6. Apply security rules (Section 4.4) for Actor DTOs\n\n**CRITICAL**: Do NOT output an empty `revises` array when the input schema has zero properties. Every DTO needs properties to function \u2014 an empty schema will cause TS2339 compilation errors downstream.\n\n### 4.1. Content Completeness\n- Compare schema against DB model and requirements\n- Add missing DB-mapped fields AND requirements-driven computed fields\n- Use `create` for missing fields\n\n**Database to OpenAPI Type Mapping** (reference when fixing types via `update`):\n\n| DB Type | OpenAPI Type | Format |\n|---------|--------------|--------|\n| String | string | \u2014 |\n| Int | integer | \u2014 |\n| BigInt | string | \u2014 |\n| Float/Decimal | number | \u2014 |\n| Boolean | boolean | \u2014 |\n| DateTime | string | date-time |\n| Json | object | \u2014 |\n\n**DTO Type Rules** (use `excludes` for DB properties not included):\n| DTO Type | Include | Exclude (add to `excludes`) |\n|----------|---------|------------------------------|\n| Read (IEntity) | All DB columns + computed fields | `password_hashed`, `salt`, `refresh_token` |\n| Create (ICreate) | User-provided fields | `id`, `created_at`, actor FK, path param FK, session FK |\n| Update (IUpdate) | Mutable fields | `id`, `created_at`, actor FK, path param FK, session FK |\n| Summary (ISummary) | Essential display columns only | Non-essential DB columns (intentional omission \u2014 add to `excludes`, not `create`) |\n\n**ISummary pagination guard**: If ISummary contains a `pagination` property, the entire schema has an IPage-like structure and ALL its properties are wrong. Erase ALL existing properties (not just `pagination`) and rebuild the schema from scratch with individual entity fields (e.g., `id`, `name`, `created_at`) derived from the database schema. Pagination wrapping is auto-generated by the system; ISummary must describe a single entity item, not a paginated response.\n\n**Nullable Rules**:\n- DB nullable \u2192 DTO non-null is **forbidden** (use `oneOf` with null for Read DTOs, remove from `required` for Create DTOs)\n- DB non-null \u2192 DTO nullable is **allowed** (intentional, e.g., `@default`) \u2014 do NOT \"fix\" this\n\n### 4.2. Phantom Detection\n\n**Before classifying a property as phantom**:\n1. Check the loaded DB schema's **column list** \u2014 does the property name match any column?\n2. Check the loaded DB schema's **relation list** \u2014 does the property name match any relation?\n3. Read `specification` and requirements carefully \u2014 is this a computed field with a concrete data source or business rationale? Do not skim; a legitimate specification may describe a non-obvious derivation.\n\n**Decision**:\n- Found in columns OR relations \u2192 NOT phantom. Use the property name in `databaseSchemaProperty`.\n- Not in DB BUT has valid business logic (concrete computation, cross-table join, transformation) \u2192 Keep with `databaseSchemaProperty: null`\n- Not in DB AND no concrete rationale (empty, vague, or wishful) \u2192 Erase\n\n**Concrete examples of valid `databaseSchemaProperty: null`** (these are NOT phantom):\n\n| Property | DTO Type | Why valid |\n|----------|----------|-----------|\n| `page`, `limit`, `search`, `sort` | `IRequest` | Pagination/search parameters \u2014 query logic, not DB columns |\n| `ip`, `href`, `referrer` | `IJoin`, `ILogin`, `IActorSession` | Session context \u2014 stored in session table, not actor table |\n| `*_count` | Read DTOs | Aggregation \u2014 `COUNT()` of related records |\n| `token` / `access` / `refresh` / `expired_at` | `IAuthorized` | Auth response \u2014 computed by server, not stored as-is |\n\n**`password` is NOT null-mapped** \u2014 it maps to DB column `password_hashed` via transformation (`databaseSchemaProperty: \"password_hashed\"`). See Section 4.4 for password handling rules.\n\nThese fields serve cross-table mappings, transformations, or query parameter roles. Verify against loaded DB schemas and requirements before erasing.\n\n**Common mistake**: Setting `databaseSchemaProperty: null` for properties that ARE in the database. Always verify against the loaded schema before using `null`.\n\n### 4.3. Relation Mapping (FK \u2192 $ref)\n\n#### Three Relation Types\n\n| Type | Definition | In Read DTO | In Create/Update DTO |\n|------|------------|-------------|----------------------|\n| **Composition** | Parent owns children (same transaction) | Full nested array/object | Nested `ICreate` objects |\n| **Association** | Independent entity (exists before parent) | `$ref` to `.ISummary` | Raw FK ID only |\n| **Aggregation** | Event-driven data (created later by others) | NOT included (use counts) | N/A |\n\n**Decision**: Created together? \u2192 Composition. Pre-exists? \u2192 Association. Created later by others? \u2192 Aggregation.\n\n#### Response vs Request DTO Transformation\n\n**CRITICAL**: FK transformation rules are OPPOSITE for Response vs Request.\n\n| Aspect | Response DTO (Read) | Request DTO (Create/Update) |\n|--------|---------------------|----------------------------|\n| FK Field | Transform to `$ref` object | Keep as scalar ID |\n| Field Name | Remove `_id` suffix | Keep `_id` suffix |\n| Type | `IEntity.ISummary` | `string` (UUID) |\n| `databaseSchemaProperty` | Relation name: `\"author\"` | Column name: `\"author_id\"` |\n| Example | `author: IUser.ISummary` | `author_id: string` |\n\n```typescript\n// Response DTO: FK \u2192 Object (remove _id, add $ref)\ninterface IArticle {\n author: IUser.ISummary; // author_id \u2192 author\n category: ICategory.ISummary; // category_id \u2192 category\n}\n\n// Request DTO: user-specified FK \u2192 keep as scalar\ninterface IArticle.ICreate {\n category_id: string; // \u2705 Keep as scalar (user chooses category)\n // \u274C NEVER: category: ICategory.ISummary\n // \u274C author_id excluded: actor identity resolved from JWT\n // \u274C author_session_id excluded: session identity resolved from JWT\n}\n```\n\n#### Adding Missing Relation (Read DTO)\n```typescript\n{\n key: \"author\",\n databaseSchemaProperty: \"author\", // Relation name from DB schema\n reason: \"Missing relation for author_id FK\",\n type: \"create\",\n specification: \"Join from articles.author_id to users.id. Returns ISummary.\",\n description: \"The article's author.\",\n schema: { $ref: \"#/components/schemas/IUser.ISummary\" },\n required: true\n}\n```\n\n#### Prefer Code Over UUID\n\nWhen target entity has unique `code` field, use `entity_code` instead of `entity_id` in Request DTOs:\n```typescript\n// If enterprises has: code STRING UNIQUE\ninterface ITeam.ICreate {\n enterprise_code: string; // \u2705 Use code\n // \u274C enterprise_id: string // Don't use UUID when code exists\n}\n```\n\n### 4.4. Security (Actor DTOs Only)\n\n**Applies ONLY to**: `IActor`, `IActor.ISummary`, `IActor.IJoin`, `IActor.ILogin`, `IActor.IAuthorized`, `IActor.IRefresh`, `IActorSession`\n\n| Rule | Detection | Fix |\n|------|-----------|-----|\n| `password_hashed` in request DTO | Field name contains \"hashed\" | Erase, create `password: string` with `databaseSchemaProperty: \"password_hashed\"` |\n| `password` in response DTO | Password exposed | Erase |\n| Session fields (`ip`, `href`, `referrer`) in wrong DTO | Present in IActor/ISummary/IAuthorized/IRefresh | Erase |\n| Secrets in response | `salt`, `refresh_token`, `secret_key` | Erase |\n\n**Principle**: Actor is WHO, Session is HOW THEY CONNECTED.\n\n#### Actor Kind and Password\n\n| Actor Kind | Password in IJoin? | Password in ILogin? |\n|------------|-------------------|---------------------|\n| `guest` | NO | N/A (no login) |\n| `member` | YES | YES |\n| `admin` | YES | YES |\n\n#### Session Context Fields\n\n`ip`, `href`, `referrer` belong only where sessions are created or represented.\n\n`ip` is optional in `IJoin`/`ILogin` because in SSR (Server Side Rendering) the client cannot know its own IP \u2014 the server captures it as fallback (`body.ip ?? serverIp`). In `IActorSession` (Read DTO), `ip` is required because the stored value is always present.\n\n| DTO Type | `href` | `referrer` | `ip` |\n|----------|--------|------------|------|\n| `IActor.IJoin` | required | required | optional (format: `ipv4`) |\n| `IActor.ILogin` | required | required | optional (format: `ipv4`) |\n| `IActorSession` | required | required | required |\n| `IActor`, `ISummary`, `IAuthorized`, `IRefresh` | **delete** | **delete** | **delete** |\n\n## 5. Input Materials\n\n### Initially Provided\n- Requirements analysis report (subset)\n- Database schema info (subset)\n- API design instructions\n- Target schema for refinement\n- Operations using this schema\n\n### Available via Function Calling\n- `getAnalysisSections`: Business requirements\n- `getDatabaseSchemas`: DB field details (columns + relations)\n- `getInterfaceOperations`: API operation context\n- `getInterfaceSchemas`: Other DTOs for reference\n\n**Rules**:\n- Max 8 preliminary calls\n- Use batch requests (arrays)\n- NEVER re-request already loaded materials\n- Empty array response \u2192 That type exhausted, move to complete\n- `getInterfaceSchemas` only returns existing schemas\n - NEVER request a type you intend to newly create via `$ref` \u2014 it does not exist yet\n - If the call fails with \"non-existing\", the failure is correct \u2014 do not retry\n - Another agent creates missing `$ref` targets later\n\n## 6. Zero Imagination Policy\n\n**NEVER**:\n- Assume DB schema fields without loading\n- Guess field descriptions without requirements\n- Proceed based on \"typical patterns\"\n- Claim a column or relation does not exist without verifying against the loaded schema\n\n**ALWAYS**:\n- Load data via function calling FIRST\n- Verify against actual materials\n- Request before deciding\n- Before `databaseSchemaProperty: null`: verify valid logic in `specification`. Before `erase`: confirm no DB mapping AND no valid business logic.\n\n## 7. Output Example\n\n**Scenario**: Refining `IBbsArticle` (Read DTO)\n\n| Category | Properties |\n|----------|------------|\n| DB Columns | `id`, `bbs_member_id`, `title`, `body`, `created_at`, `deleted_at` |\n| DB Relations | `member`, `comments`, `snapshots` |\n| DTO Properties | `id`, `title`, `body`, `author`, `created_at`, `deleted_at` |\n\n**Mapping Plan**:\n\n| DB Property | \u2192 | Action | Reason |\n|-------------|---|--------|--------|\n| `id` | `id` | depict | Direct mapping |\n| `title` | `title` | depict | Direct mapping |\n| `body` | `body` | depict | Direct mapping |\n| `member` | `author` | depict | Relation exposed as author |\n| `created_at` | `created_at` | depict | Direct mapping |\n| `deleted_at` | `deleted_at` | depict | Direct mapping, nullable |\n| `bbs_member_id` | \u2014 | exclude | FK column exposed as `author` object |\n| `comments` | \u2014 | exclude | Aggregation relation |\n| `snapshots` | \u2014 | exclude | Separate endpoint |\n\n```typescript\nprocess({\n thinking: \"All 6 DTO properties enriched. All 9 DB properties handled: 6 mapped, 3 excluded.\",\n request: {\n type: \"complete\",\n review: \"Enriched 6 DTO properties. Excluded 3 DB properties.\",\n databaseSchema: \"bbs_articles\",\n specification: \"Direct mapping from bbs_articles with author join.\",\n description: \"Complete article entity with author info.\",\n excludes: [\n { databaseSchemaProperty: \"bbs_member_id\", reason: \"FK exposed as author object\" },\n { databaseSchemaProperty: \"comments\", reason: \"Aggregation: use separate endpoint\" },\n { databaseSchemaProperty: \"snapshots\", reason: \"Composition: separate endpoint\" }\n ],\n revises: [\n { key: \"id\", databaseSchemaProperty: \"id\", type: \"depict\", reason: \"Adding documentation\",\n specification: \"Direct mapping from bbs_articles.id.\", description: \"Unique article identifier.\" },\n { key: \"title\", databaseSchemaProperty: \"title\", type: \"depict\", reason: \"Adding documentation\",\n specification: \"Direct mapping from bbs_articles.title.\", description: \"Article title.\" },\n { key: \"body\", databaseSchemaProperty: \"body\", type: \"depict\", reason: \"Adding documentation\",\n specification: \"Direct mapping from bbs_articles.body.\", description: \"Article content body.\" },\n { key: \"author\", databaseSchemaProperty: \"member\", type: \"depict\", reason: \"Adding documentation\",\n specification: \"Join via bbs_member_id.\", description: \"Author of this article.\" },\n { key: \"created_at\", databaseSchemaProperty: \"created_at\", type: \"depict\", reason: \"Adding documentation\",\n specification: \"Direct mapping from bbs_articles.created_at.\", description: \"Creation timestamp.\" },\n { key: \"deleted_at\", databaseSchemaProperty: \"deleted_at\", type: \"depict\", reason: \"Adding documentation\",\n specification: \"Direct mapping from bbs_articles.deleted_at. Nullable.\", description: \"Soft-deletion timestamp, null if active.\" }\n ]\n }\n})\n```\n\n**Result**: 9 DB properties \u2192 6 mapped in `revises` + 3 in `excludes` = complete coverage.\n\n## 8. Checklist\n\nBefore calling `complete`:\n\n**Object-Level** (reviewed drafts from `x-autobe-*`):\n- [ ] `databaseSchema` correct (table name or null)\n- [ ] `specification` refined (MANDATORY)\n- [ ] `description` refined (MANDATORY)\n\n**Property-Level**:\n- [ ] Every DTO property in `revises` (`depict`, `create`, `update`, or `erase`)\n- [ ] Every DB property either mapped via `databaseSchemaProperty` in `revises`, or declared in `excludes`\n- [ ] No DB property appears in both `excludes` and `revises`\n- [ ] No duplicates (one action per key)\n- [ ] WHICH \u2192 HOW \u2192 WHAT order followed\n- [ ] `databaseSchemaProperty: null` only for computed values (not in DB)\n- [ ] Before `erase`: verify against loaded DB schemas and requirements \u2014 cross-table mapping, transformation, or query parameter role means valid (not phantom)\n\n**Pre-Review Hardening**:\n- [ ] Content: All fields present (DB + computed); ISummary describes a single entity item, not a paginated response\n- [ ] Did NOT \"fix\" DB non-null \u2192 DTO nullable (it's intentional, e.g., `@default`)\n- [ ] Phantom: No fields without valid source; DB-mapped non-relation and recognized-role fields never erased\n- [ ] Relation: FK \u2192 `$ref` in Read DTOs; `databaseSchemaProperty` uses relation name (Read) or column name (Request)\n- [ ] Security (Actor DTOs): No exposed passwords/secrets; guest IJoin has no `password`; `ip` optional in IJoin/ILogin\n\n**Function Calling**:\n- [ ] All needed materials loaded\n- [ ] No imagination - verified against actual data\n- [ ] Did NOT call `getInterfaceSchemas` for types that do not yet exist" /* AutoBeSystemPromptConstant.INTERFACE_SCHEMA_REFINE */,
|
|
20
20
|
},
|
|
21
21
|
...props.preliminary.getHistories(),
|
|
22
22
|
{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transformInterfaceSchemaRefineHistory.js","sourceRoot":"","sources":["../../../../src/orchestrate/interface/histories/transformInterfaceSchemaRefineHistory.ts"],"names":[],"mappings":";;;AACA,yCAA2C;AAC3C,+BAA0B;AAM1B,+GAA4G;AAErG,MAAM,qCAAqC,GAAG,CAAC,KAgBrD,EAA6B,EAAE;;IAC9B,MAAM,WAAW,GACf,MAAA,MAAA,KAAK,CAAC,KAAK,CAAC,QAAQ,0CAAE,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,mCAAI,EAAE,CAAC;IACzE,MAAM,KAAK,GAAsC,KAAK,CAAC,MAAM,CAC3D,0BAA0B,CAC3B;QACC,CAAC,CAAC,WAAW,CAAC,IAAI,CACd,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,KAAK,CAAC,MAAM,CAAC,0BAA0B,CAAC,CAC3D;QACH,CAAC,CAAC,SAAS,CAAC;IAEd,MAAM,MAAM,GAA8B;QACxC,SAAS,EAAE;YACT;gBACE,IAAI,EAAE,eAAe;gBACrB,EAAE,EAAE,IAAA,SAAE,GAAE;gBACR,UAAU,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;gBACpC,IAAI,
|
|
1
|
+
{"version":3,"file":"transformInterfaceSchemaRefineHistory.js","sourceRoot":"","sources":["../../../../src/orchestrate/interface/histories/transformInterfaceSchemaRefineHistory.ts"],"names":[],"mappings":";;;AACA,yCAA2C;AAC3C,+BAA0B;AAM1B,+GAA4G;AAErG,MAAM,qCAAqC,GAAG,CAAC,KAgBrD,EAA6B,EAAE;;IAC9B,MAAM,WAAW,GACf,MAAA,MAAA,KAAK,CAAC,KAAK,CAAC,QAAQ,0CAAE,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,mCAAI,EAAE,CAAC;IACzE,MAAM,KAAK,GAAsC,KAAK,CAAC,MAAM,CAC3D,0BAA0B,CAC3B;QACC,CAAC,CAAC,WAAW,CAAC,IAAI,CACd,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,KAAK,CAAC,MAAM,CAAC,0BAA0B,CAAC,CAC3D;QACH,CAAC,CAAC,SAAS,CAAC;IAEd,MAAM,MAAM,GAA8B;QACxC,SAAS,EAAE;YACT;gBACE,IAAI,EAAE,eAAe;gBACrB,EAAE,EAAE,IAAA,SAAE,GAAE;gBACR,UAAU,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;gBACpC,IAAI,21sBAAoD;aACzD;YACD,GAAG,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE;YACnC;gBACE,IAAI,EAAE,kBAAkB;gBACxB,EAAE,EAAE,IAAA,SAAE,GAAE;gBACR,UAAU,EAAE,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE;gBACpC,IAAI,EAAE,kBAAU,CAAC,IAAI,CAAA;;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C,IAAI,CAAC;;;MAG3C,SAAS,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,UAAU;;;MAGjF,YAAY,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,UAAU;GAC1F,CAAC;AACJ,CAAC"}
|
|
@@ -66,8 +66,7 @@ function orchestrateInterfaceSchemaRefine(ctx, props) {
|
|
|
66
66
|
// Filter to only process object-type schemas (non-preset and object type)
|
|
67
67
|
const typeNames = Object.entries(props.schemas)
|
|
68
68
|
.filter(([k, v]) => AutoBeJsonSchemaValidator_1.AutoBeJsonSchemaValidator.isPreset(k) === false &&
|
|
69
|
-
utils_1.AutoBeOpenApiTypeChecker.isObject(v)
|
|
70
|
-
Object.keys(v.properties).length !== 0)
|
|
69
|
+
utils_1.AutoBeOpenApiTypeChecker.isObject(v))
|
|
71
70
|
.map(([k]) => k);
|
|
72
71
|
props.progress.total += typeNames.length;
|
|
73
72
|
const x = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestrateInterfaceSchemaRefine.js","sourceRoot":"","sources":["../../../src/orchestrate/interface/orchestrateInterfaceSchemaRefine.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBA,4EAuDC;;;;;AAvED,yCAAyD;AAEzD,kDAA4D;AAC5D,+BAA0B;AAG1B,uEAAoE;AACpE,uFAAoF;AACpF,uGAAoG;AACpG,6GAA0G;AAC1G,mGAAgG;AAChG,+GAA4G;AAE5G,iFAA8E;AAC9E,2FAAwF;AAExF,SAA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QACnD,WAAW,EACT,MAAA,MAAA,GAAG,CAAC,KAAK,EAAE,CAAC,QAAQ,0CAAE,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,mCAAI,EAAE;QACxE,WAAW;QACX,QAAQ,EAAE,KAAK,CAAC,QAAQ;QACxB,MAAM,EAAE,KAAK,CAAC,MAAM;KACrB,CAAC,CAAC;IAEH,OAAO;QACL,QAAQ,EAAE,OAAO;QACjB,IAAI,EAAE,MAAM;QACZ,WAAW;QACX,OAAO,EAAE;YACP,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE;gBACjB,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,KAAK,UAAU;oBACnC,KAAK,CAAC,OAAO,CAAC,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC;YACxC,CAAC;SACgD;KACpD,CAAC;AACJ,CAAC;AAMD,MAAM,MAAM,GAAG,uBAAmD,CAAC"}
|
|
1
|
+
{"version":3,"file":"orchestrateInterfaceSchemaRefine.js","sourceRoot":"","sources":["../../../src/orchestrate/interface/orchestrateInterfaceSchemaRefine.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBA,4EAsDC;;;;;AAtED,yCAAyD;AAEzD,kDAA4D;AAC5D,+BAA0B;AAG1B,uEAAoE;AACpE,uFAAoF;AACpF,uGAAoG;AACpG,6GAA0G;AAC1G,mGAAgG;AAChG,+GAA4G;AAE5G,iFAA8E;AAC9E,2FAAwF;AAExF,SAAsB,gCAAgC,CACpD,GAAkB,EAClB,KAKC;;QAED,0EAA0E;QAC1E,MAAM,SAAS,GAAa,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC;aACtD,MAAM,CACL,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CACT,qDAAyB,CAAC,QAAQ,CAAC,CAAC,CAA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AAQ,EAAE,OAAO;QACjB,IAAI,EAAE,MAAM;QACZ,WAAW;QACX,OAAO,EAAE;YACP,OAAO,EAAE,CAAC,KAAK,EAAE,EAAE;gBACjB,IAAI,KAAK,CAAC,OAAO,CAAC,IAAI,KAAK,UAAU;oBACnC,KAAK,CAAC,OAAO,CAAC,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC;YACxC,CAAC;SACgD;KACpD,CAAC;AACJ,CAAC;AAMD,MAAM,MAAM,GAAG,uBAAmD,CAAC"}
|
|
@@ -70,8 +70,7 @@ function orchestrateInterfaceSchemaReview(ctx, props) {
|
|
|
70
70
|
// Filter to only process object-type schemas (non-preset and object type)
|
|
71
71
|
const typeNames = Object.entries(props.schemas)
|
|
72
72
|
.filter(([k, v]) => AutoBeJsonSchemaValidator_1.AutoBeJsonSchemaValidator.isPreset(k) === false &&
|
|
73
|
-
utils_1.AutoBeOpenApiTypeChecker.isObject(v)
|
|
74
|
-
Object.keys(v.properties).length !== 0)
|
|
73
|
+
utils_1.AutoBeOpenApiTypeChecker.isObject(v))
|
|
75
74
|
.map(([k]) => k);
|
|
76
75
|
const x = {};
|
|
77
76
|
yield (0, executeCachedBatch_1.executeCachedBatch)(ctx, typeNames.map((it) => (promptCacheKey) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"orchestrateInterfaceSchemaReview.js","sourceRoot":"","sources":["../../../src/orchestrate/interface/orchestrateInterfaceSchemaReview.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8BA,4EAwDC;;;;;AA7ED,yCAAyD;AAEzD,kDAA4D;AAC5D,+BAA0B;AAG1B,2DAAwE;AACxE,uEAAoE;AACpE,yDAAsD;AACtD,uFAAoF;AACpF,wFAAqF;AAErF,uGAAoG;AACpG,6GAA0G;AAC1G,mGAAgG;AAChG,+GAA4G;AAE5G,6EAA0E;AAC1E,iFAA8E;AAC9E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AK,CAAC,OAAO,CAAC,IAAI,KAAK,UAAU;oBACnC,KAAK,CAAC,OAAO,CAAC,KAAK,GAAG,KAAK,CAAC,OAAO,CAAC;YACxC,CAAC;SACgD;KACpD,CAAC;AACJ,CAAC;AAMD,MAAM,MAAM,GAAG,uBAAmD,CAAC"}
|
|
1
|
+
{"version":3,"file":"orchestrateInterfaceSchemaReview.js","sourceRoot":"","sources":["../../../src/orchestrate/interface/orchestrateInterfaceSchemaReview.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA8BA,4EAuDC;;;;;AA5ED,yCAAyD;AAEzD,kDAA4D;AAC5D,+BAA0B;AAG1B,2DAAwE;AACxE,uEAAoE;AACpE,yDAAsD;AACtD,uFAAoF;AACpF,wFAAqF;AAErF,uGAAoG;AACpG,6GAA0G;AAC1G,mGAAgG;AAChG,+GAA4G;AAE5G,6EAA0E;AAC1E,iFAA8E;AAC9E,2FAAwF;AAExF,SAAsB,gCAAgC,CACpD,GAAkB,EAClB,KAKC;;QAED,0EAA0E;QAC1E,MAAM,SAAS,GAAa,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC;aACtD,MAAM,CACL,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CACT,qDAAyB,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,KAAK;YAC/C,gCAAwB,CAAC,QAAQ,CAAC,CAAC,CAAC,CACvC;aACA,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC;QACnB,MAAM,CAAC,GAAyD,EAAE,CAAC;QACnE,MAAM,IAAA,uCAAkB,EACtB,GAAG,EACH,SAAS,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,CAAC,CAAO,cAAc,EAAE,EAAE;YAC7C,MAAM,SAAS,GAAG,CAAC,GAAW,EAAE,EAAE,CAChC,GAAG,KAAK,EAAE;gBAC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