Repository navigation
Engineering Guardrails
rbiswas5888 edited this page Oct 23, 2026
·
1 revision
Before feature implementation, inspect the repository and document:
- Current stack, build and test commands
- Existing document model and rendering approach
- State management and command paths
- Save/open/import/export behavior
- Existing AI/agent and MCP integration
- Current user-visible features and regression risks
Do not replace working functionality with mockups, placeholders, or dead controls.
The supplied master prompt defines the following as protected unless an explicit approval authorizes a change:
- MCP integration: servers, tool definitions, names, schemas, transports, authentication and registration
- Existing AI/agent structure: local/offline LLM path, pluggable cloud-agent layer, prompts, orchestration, model routing, fallback logic and configuration
- Existing agent behavior rules for token/component reuse, unavailable-component notes, and offline/online operation
Required process:
- Inventory the protected files, directories, and symbols in
docs/frozen-zone.md. - Mark them read-only in the implementation plan.
- Add a CI check that detects changes to protected file hashes.
- Keep new editor behavior in new modules or adapters.
- Preserve exact existing contracts when calling protected functionality.
- If a requirement cannot be delivered without changing a protected contract, stop and request approval; propose an adapter-based alternative first.
- Audit before coding.
- Record current architecture and known gaps.
- Agree on the architecture and phased plan.
- Make small, reviewable changes.
- Prefer existing dependencies and conventions.
- Record ambiguous choices in
docs/decisions.md. - End each phase with a working demo, tests, changelog, updated parity matrix and protected-zone check.
- Report what was tested and what remains incomplete.
Use DesignForge’s own name, logo, iconography, and visual identity. Reproduce useful interaction conventions, not proprietary implementation or branding. .dforge is DesignForge’s native format; do not claim compatibility with proprietary formats unless an independently verified importer/exporter exists and its scope is documented.
- Do not call a placeholder functional.
- Do not claim performance targets without benchmark results.
- Do not claim all device presets or file formats are supported without catalog/fixture tests.
- Do not silently drop unsupported design or prototype semantics during export.
- Do not treat AI-generated output as trusted merely because it matches a JSON shape; validate it against domain invariants.