Skip to the result

ArchKeel.

Report · FAIL · commit d88547f88

Verdict: FAIL

FAIL

2 rules violated in 2 places, 6 unknown, 11 gaps with no rule

A violation is a fact of this run. An unknown rule is not a pass.

Rules PASS
26
Rules FAIL
2
Rules UNKNOWN
6
Gaps with no rule
11

Stated assumption: Code outside the scan roots, including test code, hands in no module object of the scan and writes no binding of a module or class of the scan.

Calls: 10 of 63 resolved (15.9%); 0 partly resolved, 6 builtin, 9 outside the scan, 38 unresolved.

An unresolved call has no proven target and is no edge. A rule that reads calls cannot decide from it and stays UNKNOWN; a rule of imports does not read it.

NEXT

  1. Close the gaps behind 3 unknown rules: incomplete scope: the receipt of the rule is not complete: construct absence is not completely observed. Causes.
  2. Remove 2 violated places. Evidence: 1, 2.
  3. Remove the cause that keeps the run open (1 gap): contract hygiene boundary_type_position: architecture-contract.json/rules/39 shop.app.orders.place_order:return: field_walk: Order.
  4. 13 jobs more: see the causes.
  5. Every row behind this page: archkeel report --topology --output report.json --format json

Architecture

9 components, 15 modules. 1 with a violation, 0 with an open gap. This page shows one part of the system: its python modules. Another part has its own run and contract; a system document joins the parts into one page. 1 violation outside any component (the module has no owner in the contract): assign the package of its module to a component of the contract, a root package too. See the violations below. 11 gaps of the run name no component: see Unknown. Open a box to see its parts; As-Is, Target and Diff switch the view.

Skip the Explorer

Component dependencies

How to read this report

Components are declared responsibility and ownership boundaries, not classes or files. Packages here are namespace groups; they do not prove a directory or __init__.py. Modules represent source units: in Python, normally a .py file, including __init__.py. Details shows recorded file paths and separates the view group from the code container. Component roles describe architecture responsibilities; an interface node describes a language interface, such as a Python Protocol.

Gold and the component glyph mark architecture boundaries. Blue document glyphs mark modules; grey folder glyphs mark namespace groups. Classes use purple compartments, interfaces use teal circles, enumerations use pink compartments. Functions use ƒ and methods use (). Visibility: + public, − private, # protected, ~ package, ? unknown. These conventions do not claim Python access enforcement. Border verdicts and edge styles are separate from element types. Mixins appear as their own classifier and use a directed edge distinct from inheritance. Use the relationship legend to filter edges.

As-Is uses observed source facts with declared boundaries for navigation. Target uses independent declarations; missing file paths remain undeclared. Diff uses recorded Core assessments. Select for details; double-click, press Enter or Open selected to explore one level. Breadcrumbs include the kind. Drag the background to pan; use Zoom or Fit overview to change scale. Arrows run from source to target. Allowed component imports are permissions, not proof of a call or import.

Worth a look

Legend

Violations

2 places in the code, 2 rules broken. One block for each place; a place lists each rule that fails there.

1

shop.model.entities imports shop.app.orders

  1. componentmodel
  2. moduleshop.model.entities
  3. fileshop/model/entities.py
  • IMPORTSline 11
  1. componentapp
  2. moduleshop.app.orders
  3. fileshop/app/orders.py

Evidence: shop/model/entities.py:11

  • Violates DEP-MODEL-NO-APP · forbidden dependency · cause: forbidden dependency · forbids: model to app
2

Cycle of 3 members

3 members are in this cycle. Shortest closed path shown: 2 steps. Step 2 imports app, where step 1 starts.
StepFromToImports
1appmodelshop/app/orders.py:12 ×3
2modelappshop/model/entities.py:11
  • Violates COMPONENT-NO-CYCLES · no component cycles · cause: dependency cycle

Unknown

6 rules cannot be decided, from 15 causes. An UNKNOWN rule is not a pass.

incomplete scope: the receipt of the rule is not complete: construct absence is not completely observed

3 rules

Holds CONSTRUCT-NO-ANY, CONSTRUCT-NO-PLACEHOLDER, CONSTRUCT-NO-STRING-LITERAL-COMPARE

contract hygiene boundary_type_position: architecture-contract.json/rules/39 shop.app.orders.place_order:return: field_walk: Order

1 named gap

contract hygiene closed_world.observed_forbidden: architecture-contract.json/rules model -> app: An observed component dependency is also …

1 named gap
What the core says

contract hygiene closed_world.observed_forbidden: architecture-contract.json/rules model -> app: An observed component dependency is also forbidden.

contract hygiene graph.drift: architecture-contract.json/components docs/architecture/shop.md (component graph): The marked component graph …

1 named gap
What the core says

contract hygiene graph.drift: architecture-contract.json/components docs/architecture/shop.md (component graph): The marked component graph differs from observed imports; drawn and not found: none; found and not drawn: model->app.

unsupported: rule kind BoundedNumericOperand: the slice of its family ports it

1 named gap

unsupported: rule kind CallOwner: the slice of its family ports it

1 named gap

unsupported: rule kind CatalogArgument: the slice of its family ports it

1 named gap

unsupported: rule kind CatalogUse: the slice of its family ports it

1 named gap

unsupported: rule kind ForbiddenCallArgument: the slice of its family ports it

1 named gap

unsupported: rule kind ForbiddenEffectUnderCondition: the slice of its family ports it

1 named gap

unsupported: rule kind ProtocolDeclarations: the slice of its family ports it

1 named gap

unsupported: rule kind SourceOwnership: the slice of its family ports it

1 named gap

The page shows 12 of 15 causes, the largest first.

Components with an exception

Modules, files and imports of each component with an exception

Open a component for its modules and files, and for its imports with file and line. The frame holds no level below a file.

1 of 9 components have a violation or a gap. All tables for 1 component. The others are in the Explorer. Every row: archkeel report --topology --output report.json --format json

WITH A VIOLATION · 1

componentmodel1 module · uses 1 · used by 41 violationFAIL
Modules: 1 of 1
Module FileException
shop.model.entitiesshop/model/entities.py1
Imports of other components: 2 of 2
TargetImportsFirst evidence
app1shop/model/entities.py:11
outside the contract3shop/model/entities.py:6, shop/model/entities.py:8, shop/model/entities.py:9
Imports by other components: 4 of 4
SourceImportsFirst evidence
app3shop/app/orders.py:12
render1shop/render/text.py:8
codec2shop/store/codec.py:11
repository1shop/store/repository.py:11

Rules

26 rules hold, 6 rules declare a permission, 2 fail, 6 are unknown.

The rules that hold, by kind: one line each

RULES THAT HOLD

complete assignment · 1 rule
  • ASSIGNMENT-COMPLETE
complete external scope · 1 rule
  • EXTERNAL-COMPLETE
external dependency scope · 1 rule
  • EXTERNAL-JSON-STORE
forbidden construct · 2 rules
  • CONSTRUCT-NO-ASSERT
  • CONSTRUCT-NO-BROAD-EXCEPT
forbidden dependency · 16 rules
  • DEP-APP-NO-CLI
  • DEP-APP-NO-RENDER
  • DEP-APP-NO-STORE-BACKEND
  • DEP-APP-NO-STORE-SQLITE
  • DEP-CLI-NO-MODEL
  • DEP-CLI-NO-STORE
  • DEP-MODEL-NO-CLI
  • DEP-MODEL-NO-RENDER
  • DEP-MODEL-NO-STORE
  • DEP-RENDER-NO-APP
  • DEP-RENDER-NO-CLI
  • DEP-RENDER-NO-STORE
  • DEP-STORE-NO-APP
  • DEP-STORE-NO-CLI
  • DEP-STORE-NO-MONEY
  • DEP-STORE-NO-RENDER
interface boundary · 1 rule
  • INTERFACE-BOUNDARY
layer order · 1 rule
  • LAYERS-MODEL
root layout · 1 rule
  • ROOT-LAYOUT
sibling isolation · 1 rule
  • STORE-PEERS-ISOLATED
symbol placement · 1 rule
  • MODEL-TYPES-IN-ENTITIES

PERMISSION DECLARATIONS: NO VERDICT

allowed dependency · 6 rules
  • DEP-APP-ALLOWS-MODEL
  • DEP-APP-ALLOWS-STORE
  • DEP-CLI-ALLOWS-APP
  • DEP-CLI-ALLOWS-RENDER
  • DEP-RENDER-ALLOWS-MODEL
  • DEP-STORE-ALLOWS-MODEL