TECHNOLOGY

Check the description by regenerating code.

Generate documentation from code, then regenerate code from that documentation. Review discrepancies within the verification scope of the selected mode.

01ARCHITECTURE

How it all works

Congruve does not leave everything to AI. It works by combining procedures, rules and checking mechanisms. This is the overall picture of the internal workings, from reading your system to handing over the design documents and the verification records.

InputYour system
  • Source code
  • Settings and database definitions
  • Existing documents
Handled as read-only
Skills (procedures for each phase)
  1. Acquisition
  2. Assessment
  3. Inventory
  4. Writing design documents
  5. Reversibility verification
  6. Overall design
  7. Testing
The foundation that supports the skills
Writing rules

The rules for how design documents are written: rules common to all of them, and rules for each type, such as APIs, screens and reports.

Language profiles

A summary, for each language or product, of the points to examine and the behaviors that are easy to miss.

Checking tools

Tools that carry out format checks, inventory and comparison mechanically, without relying on AI judgment.

Templates

Fixed forms for design documents and registers. Every project comes out with the same structure.

Safety mechanisms
  • Your source is never rewritten (a setting that rejects writes)
  • The verifying AI is not shown the original code
  • We do not fill gaps with guesses; what cannot be confirmed is written as “unknown”
DeliverablesA set of AI-Ready design documents
  • Design documents for each feature
  • Overall design documents (lists and diagrams)
  • Basic design documents
  • Test procedures
  • Verification records
HTML that both AI and people can read
The improvement cycle
  1. Results from projects and internal evaluations
  2. Fix the rules and tools
  3. Confirm with tests and evaluations
  4. Distribute a new version
See updatesSee supported products
Figure: Overview of how it works. Skills carry the procedures for each phase, and the writing rules, language profiles, checking tools and templates support them.

02VERIFICATION

How we confirm correctness

Whether the design documents are correct is confirmed not only by human eyes, but also by regenerating code from the design documents and comparing it with the original code. We separate AIs with different roles and proceed so that they cannot see each other’s answers.

  1. InputThe original code

    The source code of the system that is running now. We use this as the only basis.

  2. The AI that writes the design documentsAI-Ready design documents

    It reads the code and writes down the processing flow, the input checks, and the data reads and writes.

  3. HandoverA copy with the hints removed

    We prepare a copy of the design documents with the verification results and source references removed.

  4. The AI that regeneratesRegenerated code

    Without seeing the original code, it regenerates code from the copy of the design documents alone.

  5. The AI that comparesComparison by aspect

    It compares the original code and the regenerated code, aspect by aspect, in terms of behavior visible from outside.

When there are differences

Differences are treated as omissions in the design document. We fix the design document and regenerate once more (up to 3 times per design document).

When there are 0 differences

The comparison results are kept in the design document as a verification record.

Figure: The flow of reversibility verification. The AI that writes the design documents, the AI that regenerates and the AI that compares are kept separate.

Start with your system.

Discuss your requirements and the support you need.