Source code dependencies MUST only point inward. Inner layers MUST NOT know anything about outer layers.
- Entities MUST NOT import Domain, Data, or Presentation code
description: AI Self-Correction Loop - A universal pattern where AI owns the full feedback loop: writing automated checks first, implementing to satisfy them, and iterating until all validations pass.
Transition from "AI as autocomplete" to "AI as owner" by enforcing a closed feedback loop across any domain. The AI must verify its own work through automated checks before presenting results.
This document describes the Identity and Access Management (IAM) architecture for our suite of admin consoles (CMS, OMS, PIM, etc.). The architecture centralizes authentication and authorization through an API Gateway, allowing individual services to focus on business logic.
Feature Branch: 001-iam-console
Created: 2025-12-18
Status: Draft
Input: Qortex IAM System Architecture Design
Qortex IAM is an independently deployable authentication and access management service providing unified capabilities for the Qortex product family (PIM, OIM, CIAM, Loyalty Console, Marketing Console):
| import type { | |
| FullConfig, | |
| FullResult, | |
| Reporter, | |
| Suite, | |
| TestCase, | |
| TestResult, | |
| } from '@playwright/test/reporter'; | |
| import * as path from 'path'; |
| export default defineConfig({ | |
| maxFailures: 3, | |
| reporter: './tests/e2e/utils/ai-reporter.ts', // Custom AI-friendly reporter | |
| timeout: 5000, // 5s max per test - fail fast | |
| expect: { timeout: 1000 }, // 1s for assertions | |
| use: { | |
| actionTimeout: 1000, // 1s for actions | |
| baseURL: process.env.E2E_TARGET_URL || 'http://localhost:5173', | |
| }, | |
| webServer: undefined, // NEVER let Playwright start the server |
| import type { | |
| FullConfig, | |
| FullResult, | |
| Reporter, | |
| Suite, | |
| TestCase, | |
| TestResult, | |
| TestError, | |
| } from '@playwright/test/reporter'; | |
| import * as path from 'path'; |
It all starts with https://github.com/theplant/htmlgo
It's crazy that we have all these backend template languages around: go template, mustache, jinja2, Laravel Blade...
Yet another language to learn, you forgot how to use it after a few months
mkdir build
cd build
cmake ../
cmake --build . --config=Release在build/Release生成了 chiapos.lib和gochiapos.lib等文件
main.go