Skip to content

Rebuild the object in a reference image as a code-only, procedural, quality-gated, animation-ready Three.js model. Token-efficient image-to-3D.

docs: correct the two statements the domain changes made false

kokorolx4b7b910aa2d6
diff --git a/CHANGELOG.md b/CHANGELOG.md
index fc43033..9da8e9a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -5,6 +5,34 @@ All notable changes to **img2threejs** are documented here.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
+## [Unreleased]
+
+### Changed — BREAKING
+
+- **A domain is no longer inferred from the target's name.** `detect_cs2_intent` and its 17-keyword
+ table (including bare `"fade"` and `"karambit"`) are removed, so a target called
+ `"AK-47 | Redline"` or `"Karambit Doppler"` no longer identifies itself as CS2 — it resolves to the
+ generic `core_3d` evidence collection like any other object. Declare the domain instead; `--cs2`
+ and `--profile cs2` are unchanged. Name similarity is not a legitimate resolution input
+ (`PLUGIN_CONTRACT.md` §13), and the old heuristic silently applied CS2's quality floors and
+ evidence collection to anything whose name happened to contain one of those words.
+- The local-spec-search collection now defaults to `core_3d` rather than `cs2`. That step runs on
+ every profile, so every generic run was previously searching a domain corpus by default.
+- `objectClass.cs2: true` is replaced by `objectClass.domain: "<id>"`. Specs authored before this
+ change carry the old field.
+- `weapon-v1.4` no longer requires a CS2 marker to pass strict validation. It is the weapon *shape*
+ template, keyed by classified kind, and CS2 is a finish/material domain riding the generic
+ hard-surface path — so requiring the marker meant a plain sword could pass only by being labelled a
+ CS2 skin. Domain coherence is still enforced by `validate_cs2_contract`.
+
+### Added
+
+- `forge/_shared/domains/` — a domain registry. Each module declares one `DOMAIN` mapping
+ contributing checklist steps, a splice anchor, and an evidence collection; registration is by
+ presence, so the base pipeline holds no list of domain names. `--profile` choices derive from it,
+ and an unregistered profile fails loud naming what is available instead of quietly running as
+ generic. `workflow_state.py` and `forge/state.py` now contain no domain name at all.
+
## [1.5.1] — 2026-08-22
### Added
diff --git a/SKILL.md b/SKILL.md
index 55aa909..2997478 100644
--- a/SKILL.md
+++ b/SKILL.md
@@ -58,7 +58,7 @@ Conversation context is disposable; `.img2threejs/state.json` is the local check
Initialize once per reconstruction, then gate every step through it:
```bash
-python3 forge/state.py init --state .img2threejs/state.json --reference <img> --profile <generic|cs2|character> --spec object-sculpt-spec.json
+python3 forge/state.py init --state .img2threejs/state.json --reference <img> --profile <generic|installed-domain> --spec object-sculpt-spec.json
python3 forge/next.py --state .img2threejs/state.json [object-sculpt-spec.json]
python3 forge/state.py mark <step-id> --state .img2threejs/state.json --evidence <path>
```
@@ -98,7 +98,8 @@ Full flags: `grimoire/scripts.md`. Never let a script *score* visuals — that i
1a. **Local Spec Search** — after image analysis, before writing or refining a spec, pull local
domain evidence (anatomy/PBR/wear/geometry/runtime/physics) rather than inventing it:
`python3 forge/stage2_spec/new_pre_spec_assessment.py "Name" --image <img> --out assessment.json`
- (auto-runs BM25, auto-picks `cs2`/`core_3d` collection, writes a `localSpecSearch` bundle that
+ (auto-runs BM25 over the `core_3d` collection, or the collection a declared domain contributes
+ -- the collection is NEVER guessed from the target name; writes a `localSpecSearch` bundle that
`new_sculpt_spec.py --assessment` carries into the spec). Full query-expansion recipe
(bilingual terms, focused `search_specs.py` retrieval, cache rules):
`grimoire/intake/local_spec_search.md`. MUST read it before retrying an incomplete or