Files
markitect-main/examples/infospace-with-history/output/mappings/book-1-chapter-06-prompt.md
tegwick 41773f1320 feat(llm): add OpenAI adapter, entity archive policy, process chapters 5-7
Add OpenAIAdapter for the OpenAI chat completions API (apikey-chatgpt.txt
or OPENAI_API_KEY). Set default model to arcee-ai/trinity-large-preview:free
for the infospace pipeline and increase max_tokens from 4096 to 8192.

Reprocess chapter 05 with Trinity Large (was Gemini: 1 truncated entity,
now 19 complete entities). Process chapters 06 (Aurora Alpha, 10 entities)
and 07 (Trinity Large, 15 entities including regenerated violent-policy.md).
Canonical set now at 85 unique entities.

Add entity archive policy: entities are never silently deleted. Retired
entities move to output/entities/archive/ with a dated reason header.
New CLI option: --archive-entity <slug> --reason "...". The --list
output shows the archive count alongside the canonical set.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-11 23:39:44 +01:00

474 lines
22 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Map Economic Entities to VSM Concepts
You are a systems theorist specializing in Stafford Beer's Viable System Model.
Your task is to map extracted economic entities to VSM concepts.
## Extracted Entities
--- ENTITY: component-part-of-price ---
# component part of price
**Definition**
A component part of price is one of the distinct elements that together determine the overall monetary value of a commodity. In Smiths analysis, the price of a commodity is broken down into three primary components: wages of labour, profit of stock, and rent of land. Each component reflects a different source of economic value and is measured by the labour required to acquire or produce the commodity.
**Source Chapter**
*The Wealth of Nations*, Book1, Chapter6.
**Context**
Smith introduces the idea when discussing how the “whole produce of labour” is allocated and how the “price of commodities” resolves into separate parts. He argues that the price is not a single monolithic figure but a composite of labour, profit, and rent.
**Economic Domain**
Exchange
**Smiths Original Wording**
> “In the price of commodities, therefore, the profits of stock constitute a component part altogether different from the wages of labour, and regulated by quite different principles.”
**Modern Interpretation**
In contemporary economics, this concept aligns with the coststructure analysis of a product, where total price = variable costs (labour) + fixed costs (capital profit) + land rent (resource rent). It underpins the decomposition of price into factorincome components.
--- ENTITY: stock ---
# stock
**Definition**
Stock refers to the accumulated capital, materials, and resources that an entrepreneur or employer invests in order to employ labour and produce commodities. It includes both the physical inputs (raw materials, tools) and the financial capital required to sustain production until the product is sold.
**Source Chapter**
*The Wealth of Nations*, Book1, Chapter6.
**Context**
Smith discusses stock when describing how “stock has accumulated in the hands of particular persons” and how it is employed to “set to work industrious people.” He links stock to the ability to earn profit and to the wages paid to labourers.
**Economic Domain**
Accumulation
**Smiths Original Wording**
> “As soon as stock has accumulated in the hands of particular persons, some of them will naturally employ it in setting to work industrious people…”
**Modern Interpretation**
In modern terms, stock is synonymous with capital stock—the total value of physical and financial assets used in production. It is a key input in the production function and a determinant of a firms capacity to generate profit.
--- ENTITY: rent-of-land ---
# rent of land
**Definition**
Rent of land is the portion of a commoditys price that compensates the landowner for the use of the lands natural produce. It represents a payment for the exclusive right to exploit the lands resources, such as timber, grass, or other natural fruits, which would otherwise be freely gathered.
**Source Chapter**
*The Wealth of Nations*, Book1, Chapter6.
**Context**
Smith introduces rent of land after describing the transition to private property, noting that landlords “demand a rent even for its natural produce.” He explains that this rent becomes a component of the price of commodities like corn.
**Economic Domain**
Distribution
**Smiths Original Wording**
> “When the land of any country has all become private property, the landlords… demand a rent even for its natural produce.”
**Modern Interpretation**
Rent of land corresponds to economic rent in contemporary theory—the surplus payment to a factor of production (land) that exceeds its opportunity cost. It is a key element in the factorincome distribution of national accounts.
--- ENTITY: profit-of-stock ---
# profit of stock
**Definition**
Profit of stock is the return earned by the owner of capital stock after covering the costs of materials, wages, and other inputs. It reflects the surplus generated by the productive use of accumulated capital and is proportional to the extent of the stock employed.
**Source Chapter**
*The Wealth of Nations*, Book1, Chapter6.
**Context**
Smith distinguishes profit of stock from wages of labour, stating that it is “regulated altogether by the value of the stock employed.” He provides numerical examples showing how profit varies with the amount of capital invested.
**Economic Domain**
Distribution
**Smiths Original Wording**
> “The profits of stock … are regulated altogether by the value of the stock employed, and are greater or smaller in proportion to the extent of this stock.”
**Modern Interpretation**
Profit of stock aligns with the concept of capital income or return on investment (ROI). It is the residual income after paying for labor and material costs, central to the theory of distribution and the measurement of economic growth.
--- ENTITY: wages-of-labour ---
# wages of labour
**Definition**
Wages of labour are the monetary compensation paid to workers for their time, effort, and skill in producing commodities. They represent the labour component of a commoditys price and are determined by the quantity and difficulty of the labour required.
**Source Chapter**
*The Wealth of Nations*, Book1, Chapter6.
**Context**
Smith repeatedly references wages when discussing how the “whole produce of labour belongs to the labourer” and how wages are part of the price composition. He also notes that wages can be adjusted for hardship or skill.
**Economic Domain**
Distribution
**Smiths Original Wording**
> “The value which the workmen add to the materials, therefore, resolves itself … into two parts, of which the one pays their wages…”
**Modern Interpretation**
Wages of labour correspond to labor compensation in modern economics, encompassing wages, salaries, and benefits. They are a primary factor of production cost and a key variable in labor market analysis.
--- ENTITY: inspection-and-direction-labour ---
# inspection and direction labour
**Definition**
Inspection and direction labour denotes the managerial activity of supervising, inspecting, and directing the work of other labourers. It is a specialized form of labour that adds value through organization, quality control, and coordination, distinct from the manual labour of production.
**Source Chapter**
*The Wealth of Nations*, Book1, Chapter6.
**Context**
Smith treats inspection and direction as a “particular sort of labour” whose wages are separate from the profit of stock. He argues that its value is not proportional to the amount of stock but is regulated by the stocks value.
**Economic Domain**
Production
**Smiths Original Wording**
> “The profits of stock … are only a different name for the wages of a particular sort of labour, the labour of inspection and direction.”
**Modern Interpretation**
This concept parallels modern managerial or supervisory labour, which is compensated through managerial salaries and is essential for efficient production processes.
--- ENTITY: principal-clerk ---
# principal clerk
**Definition**
A principal clerk is a senior administrative officer who oversees the inspection and direction labour in large manufacturing enterprises. His wages represent the value of managerial supervision and are often the primary recipient of the profit component in such enterprises.
**Source Chapter**
*The Wealth of Nations*, Book1, Chapter6.
**Context**
Smith mentions the principal clerk when describing “many great works” where “the whole labour of this kind is committed to some principal clerk.” He notes that the clerks wages express the value of inspection and direction labour.
**Economic Domain**
Production
**Smiths Original Wording**
> “In many great works, almost the whole labour of this kind is committed to some principal clerk. His wages properly express the value of this labour of inspection and direction.”
**Modern Interpretation**
The principal clerk is analogous to a senior manager or operations director who coordinates production activities, reflecting the modern role of middlemanagement in organizational hierarchies.
--- ENTITY: interest-of-money ---
# interest of money
**Definition**
Interest of money is the compensation paid by a borrower to a lender for the use of capital (money) over time. It is a derivative revenue that must be paid from profit, other income, or by incurring additional debt if profits are insufficient.
**Source Chapter**
*The Wealth of Nations*, Book1, Chapter6.
**Context**
Smith introduces interest when distinguishing revenue sources, stating that “the revenue derived from labour is called wages; that derived from stock … is called profit; that derived from it … is called the interest or the use of money.”
**Economic Domain**
Exchange
**Smiths Original Wording**
> “The revenue derived from it … is called the interest or the use of money. It is the compensation which the borrower pays to the lender, for the profit which he has an opportunity of making by the use of the money.”
**Modern Interpretation**
Interest of money corresponds to the modern concept of the cost of capital or the return on lending, fundamental to financial markets, investment decisions, and the time value of money.
--- ENTITY: revenue ---
# revenue
**Definition**
Revenue is the total inflow of economic value received by an individual, firm, or institution from its productive activities. It can originate from labour (wages), capital (profit), land (rent), or financial assets (interest).
**Source Chapter**
*The Wealth of Nations*, Book1, Chapter6.
**Context**
Smith discusses revenue toward the end of the chapter, stating that “All other revenue is ultimately derived from some one or other of those three original sources of revenue.” He categorizes revenue into wages, profit, and rent.
**Economic Domain**
General Theory
**Smiths Original Wording**
> “All other revenue is ultimately derived from some one or other of those three original sources of revenue, and are paid either immediately or mediately from the wages of labour, the profits of stock, or the rent of land.”
**Modern Interpretation**
Revenue is a core accounting term representing total income before expenses. In macroeconomics, it aligns with factor income distribution and the national accounts measurement of Gross Domestic Product (GDP) components.
--- ENTITY: capital ---
# capital
**Definition**
Capital is the accumulated stock of assets—such as machinery, tools, raw materials, and financial resources—used to produce commodities. It is a factor of production that enables labour to generate output and is the basis for profit generation.
**Source Chapter**
*The Wealth of Nations*, Book1, Chapter6.
**Context**
Smith refers to capital when explaining that “the profits of stock … are greater or smaller in proportion to the extent of this stock,” and when he discusses the “capital which employs the weavers.” Capital is presented as the underlying resource that determines the scale of profit.
**Economic Domain**
Accumulation
**Smiths Original Wording**
> “The capital which employs the weavers … must be greater than that which employs the spinners … because it not only replaces that capital with its profits, but pays, besides, the wages of the weavers.”
**Modern Interpretation**
Capital corresponds to the modern economic concept of physical and financial capital, a primary input in production functions (e.g., CobbDouglas) and a driver of economic growth through investment.
## VSM Framework Reference
---
id: vsm-framework
name: vsm_framework
artifact_type: content
description: Stafford Beer's Viable System Model reference for economic analysis
version: 1.0.0
---
# Stafford Beer's Viable System Model (VSM)
The Viable System Model (VSM) is a model of the organisational structure of any
autonomous system capable of producing itself. It was created by management
cybernetician Stafford Beer in his books *Brain of the Firm* (1972) and
*The Heart of Enterprise* (1979).
## Core Principle: Viability
A viable system is any system organised in such a way as to meet the demands
of surviving in a changing environment. One of the prime features of systems
that survive is that they are adaptable. The VSM expresses a model for a
viable system, which is an abstracted cybernetic description applicable to
any organisation that is a going concern.
## The Five Systems
### System 1 (S1) — Operations
The primary activities that produce the organisation's purpose. These are the
operational units that directly create value. Each operational element is itself
a viable system (the principle of recursion).
**In economic terms:** Productive enterprises, factories, farms, workshops,
individual labourers performing specialised tasks, merchant operations.
**Key properties:** Autonomy within constraints, self-organisation,
direct engagement with the environment.
### System 2 (S2) — Coordination
The information channels and bodies that allow the primary activities in
System 1 to communicate with each other and that allow System 3 to monitor
and coordinate activities. System 2 dampens oscillations and resolves
conflicts between operational units.
**In economic terms:** Market price mechanisms, trade customs, standard
weights and measures, commercial law, banking clearinghouses, trade guilds.
**Key properties:** Anti-oscillatory, dampening, scheduling, conflict
resolution, standardisation.
### System 3 (S3) — Control / Operational Management
The structures and controls that establish the rules, resources, rights,
and responsibilities of System 1 and provide an interface between Systems 1
and Systems 4/5. System 3 represents the day-to-day control of the
organisation. It optimises the internal environment.
**In economic terms:** Government regulation of trade, taxation policy, labour
laws, enforcement of contracts, the "invisible hand" as emergent internal
regulation, guilds and corporations governing members.
**Key properties:** Internal regulation, resource allocation, accountability,
synergy extraction, performance management.
### System 3* (S3*) — Audit / Monitoring
The audit and monitoring channel that allows System 3 to verify information
coming from System 1 through channels other than those provided by System 2.
System 3* provides sporadic, direct access to operational reality.
**In economic terms:** Market inspections, quality checks, auditing of accounts,
surprise investigations into trade practices, verification of weights and measures.
**Key properties:** Sporadic direct investigation, reality checking, bypassing
normal reporting channels.
### System 4 (S4) — Intelligence / Adaptation
The bodies and processes that look outward to the environment to monitor
how the organisation needs to adapt to remain viable. System 4 captures
all relevant information about the outside-and-then environment. It is
responsible for strategic responses.
**In economic terms:** Foreign intelligence about trade opportunities,
market research, new technology adoption, colonial exploration and trade
route development, understanding of foreign economic systems.
**Key properties:** Environmental scanning, future orientation, strategic
planning, modelling, research and development.
### System 5 (S5) — Policy / Identity
The policy-making body that balances demands from Systems 3 and 4 and defines
the identity, values, and purpose of the organisation. System 5 provides
closure to the whole system and represents its supreme authority.
**In economic terms:** Sovereign authority, constitutional principles governing
economic policy, national economic identity, the philosophical foundations
of economic systems (mercantilism vs. free trade), the overarching purpose
of the commonwealth.
**Key properties:** Identity, ethos, supreme command, policy closure,
balancing internal and external perspectives.
## Key Concepts
### Recursion
Every viable system contains and is contained in a viable system. The same
five-system structure recurs at every level of organisation. A workshop is
a viable system within a factory, which is a viable system within an
industry, which is a viable system within a national economy.
### Variety
A measure of the number of possible states of a system. The Law of Requisite
Variety (Ashby's Law) states that only variety can absorb variety. A
controller must have at least as much variety as the system it controls.
### Requisite Variety
The principle that for effective regulation, the variety of the regulator
must match the variety of the system being regulated. This is achieved
through variety attenuation (reducing the variety coming up from operations)
and variety amplification (increasing the variety of management's responses).
### Attenuation and Amplification
Variety engineering mechanisms. Attenuation reduces variety (e.g., reporting
summaries, statistical aggregation, standardisation). Amplification increases
variety (e.g., delegation, empowerment, decentralisation).
### Algedonic Signals
Emergency signals that bypass the normal management hierarchy to alert
higher systems of critical situations requiring immediate attention. Named
from the Greek words for pain (algos) and pleasure (hedone).
**In economic terms:** Market panics, famine signals, sudden price collapses,
trade embargoes, economic crises that demand immediate sovereign intervention.
### Autonomy
The degree of freedom granted to operational units (System 1) to self-organise
within constraints set by System 3. Beer argued that maximum autonomy
consistent with systemic cohesion yields maximum viability.
### Viability
The capacity of a system to maintain a separate existence and survive in a
changing environment. A viable system continuously adapts while maintaining
its identity.
## Mapping Guidelines
---
id: mapping-rules
name: mapping_rules
artifact_type: content
description: Guidelines for mapping economic entities to VSM concepts
version: 1.0.0
---
# VSM Mapping Rules
## Mapping Principles
1. **Ground in Beer's definitions.** Every mapping rationale must reference
the specific VSM system function, not just a superficial resemblance.
2. **Prefer structural over metaphorical mappings.** A mapping is strong
when the economic entity performs the same *functional role* in Smith's
economic system as the VSM component performs in an organisation.
3. **Allow multiple mappings.** A single economic entity may map to
multiple VSM systems. For example, "the sovereign" may map to both
S3 (regulation) and S5 (policy). Create separate mapping documents
for each relationship.
4. **Respect recursion.** Consider at which level of recursion the mapping
applies. The division of labour within a single workshop (S1-level)
differs from the division of labour across an entire national economy
(higher recursion level).
## Mapping Strength Criteria
### Strong
- The entity directly performs the function of the VSM system.
- The mapping would be recognisable to a VSM practitioner without explanation.
- Example: "market price mechanism" → S2 (Coordination) — prices coordinate
supply and demand between producers.
### Moderate
- The entity partially performs the function or performs it in a limited context.
- The mapping requires some argument but is defensible.
- Example: "merchant" → S4 (Intelligence) — merchants gather information
about foreign markets, but this is not their primary function.
### Weak
- The mapping is speculative or metaphorical rather than structural.
- The connection exists but requires significant interpretive work.
- Example: "moral sentiments" → S5 (Policy) — broad ethical framework
shapes economic behaviour, but the connection is indirect.
## What NOT to Map
- Do not force mappings where none exist. It is valid for an entity to have
no clear VSM mapping — flag it with "Mapping Strength: Weak" and explain
the difficulty.
- Do not map purely descriptive/historical content that lacks functional
significance.
## VSM System Checklist
When mapping, consider each system:
| System | Question to Ask |
|--------|----------------|
| S1 | Does this entity directly produce value or output? |
| S2 | Does this entity coordinate between operational units? |
| S3 | Does this entity regulate internal operations? |
| S3* | Does this entity provide audit or verification? |
| S4 | Does this entity scan the environment or plan for the future? |
| S5 | Does this entity define identity, policy, or purpose? |
Also consider the key concepts:
- **Recursion**: At what level does this entity operate?
- **Variety**: Does this entity manage variety (attenuate or amplify)?
- **Algedonic signals**: Does this entity serve as an emergency signal?
- **Autonomy**: Does this entity relate to operational autonomy?
## Instructions
1. Review each extracted economic entity carefully.
2. For each entity, determine which VSM system(s) it most closely relates to.
3. Produce a mapping document for each entity-VSM relationship following
the VSM Mapping Schema v1.0.
4. Each mapping document must include:
- An H1 heading in the format "Entity Name -> VSM Concept Name"
- An Economic Entity Reference section
- A VSM Concept Reference section
- A Mapping Rationale section (minimum 30 words) grounded in Beer's definitions
- A Mapping Strength section rated as Strong, Moderate, or Weak
5. Where an entity maps to multiple VSM systems (recursion), create
separate mapping documents for each relationship.
6. Flag entities that don't clearly map to any VSM concept with a
"Mapping Strength: Weak" and note the difficulty in the rationale.
## Output Format
Output each mapping as a separate markdown document, delimited by
`--- MAPPING: <entity-name>-to-<vsm-concept> ---` markers.