Skip to content

About

A deterministic, rule-based engine for analysing the structure, integrity and tension of articulated visions and plans.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Structural Analysis Engine

A deterministic, rule-based engine for analysing the structure, integrity and tension of articulated visions and plans.

Origin

Originally developed by Askim Stucki as the analytical kernel of Basivis in April 2026, before the current cognitive research direction of LogicBasis. This historical implementation is released for independent study, modification and integration. It is not actively maintained.

Structural model

The original Four Rooms model consists of:

Dimension Purpose
Direction Intended outcome and orientation
Tragline Carrying principle or mechanism
Elements Required components and processes
Constraints Limits, risks and resistance

analyzeBasivis(input) accepts four strings and returns a score, summary, integrity levels, blindspots, improvements, tension, extracted signals and balance flags. The engine is synchronous, deterministic and has no runtime dependencies, database connections or AI model calls.

Usage

With Node.js and npm installed:

npm install
npm test

Example (TypeScript):

import { analyzeBasivis } from './basivisRules';

const result = analyzeBasivis({
  direction: 'Build a system for operational analysis.',
  tragline: 'A deterministic rule engine is the core mechanism.',
  elements: 'A data module, workflow and reporting service.',
  constraints: 'Limited time and budget.'
});
console.log(result);

Limitations

The original implementation uses substring matching, predominantly English keywords, word counts and manually defined thresholds. It does not perform semantic analysis or establish objective validity, honesty, feasibility or psychological characteristics. Negation and context are not reliably understood. Only four explicit tension patterns are implemented. The score is capped at 100; empty input scores 40 under the original rules. The honestyGap flag is a length-based heuristic, not a judgement of a person. The length-balance check excludes cases with an empty dimension. These behaviours are intentionally preserved. The included smoke checks verify selected behaviours, not scientific validity or production readiness.

Repository contents

  • basivisRules.ts — original, unchanged analytical kernel.
  • package.json, tsconfig.json — publication build configuration.
  • test.cjs — newly added smoke checks.
  • README.md, LICENSE, .gitignore — documentation and repository metadata.

The former Basivis website, API, state store and unfinished mechanism-classification experiments are not included. The original kernel is independent of that infrastructure.

License

MIT License. Copyright (c) 2026 Askim Stucki. Provided as is, without warranty or commitment to maintenance.

About

A deterministic, rule-based engine for analysing the structure, integrity and tension of articulated visions and plans.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages