Files
ARTEX/config.example.json
BaaRai e233c02314 Translate all Chinese text to English
Comments, doc comments, UI labels, log and error messages, LLM prompt
strings, markdown docs, test data and assertions. Identifiers, enum
keys, routes, placeholders and code structure are unchanged.

Notes:
- docs/漏洞流量证据.md renamed to docs/vulnerability-traffic-evidence.md
- tests that exercised CJK specific handling (GBK zip names, Chinese
  full text search) now use ASCII equivalents; go build passes and the
  test suite matches the pre translation baseline (remaining failures
  need a PostgreSQL DSN and fail identically on the original)
- frontend mention syntax now uses English kinds (finding, asset, ...)
  matching the backend, chat mentions tests pass
2026-10-08 23:14:34 +02:00

24 lines
1.2 KiB
JSON

{
"_comment": "Copy as config.json (or point elsewhere with the ARTEX_CONFIG environment variable). This file only carries database and skill_dir; LLM and other settings come from environment variables or in-app settings, not this file.",
"_comment_database": "PostgreSQL connection. Precedence: environment variable ARTEX_PG_DSN > database in this file. Two ways, pick one: (A) fill in the component fields below; (B) fill only database.dsn with a full connection string.",
"database": {
"host": "127.0.0.1",
"port": 5433,
"user": "artex",
"password": "",
"dbname": "artex",
"sslmode": "disable"
},
"_comment_database_dsn": "Form (B): delete the database above and use a full DSN instead. When dsn is non-empty the component fields are ignored.",
"_example_database_dsn": {
"database": {
"dsn": "postgres://user:pass@db.example.com:5432/artex?sslmode=require"
}
},
"_comment_skill_dir": "Skill root directory (one skill per subdirectory, each with a SKILL.md). Precedence: environment variable ARTEX_SKILL_DIR > this field > default (skills/ next to the executable). Leave empty or delete this field to use the default. Relative paths resolve against the current working directory.",
"skill_dir": "/opt/artex/skills"
}