Pattern
Server mapping
const harnessByFeature = {
contract_review: "chrn_...",
game_generation: "chrn_..."
};
const harnessId = harnessByFeature[featureKey];Rules
- Do not let the browser submit arbitrary
harness_idvalues. - Keep the mapping in trusted server configuration or a protected database table.
- Use separate configured agents when purpose, data access, tools, permissions, model policy, or artifact contract differs.
