Skip to content

Commit 31a4ac0

Browse files
v1.8.3
included inforgraphic in intro
1 parent fdb612d commit 31a4ac0

1 file changed

Lines changed: 22 additions & 15 deletions

File tree

README.md

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
## 1. Introduction
2-
Ecologically shared sets of predicates or commands that *proper* agents can neither deny nor refuse to abide by.
2+
3+
<div align="center">
4+
<p>Ecologically shared sets of predicates or commands that <i>proper</i> agents can neither deny nor refuse to abide by.</p>
5+
<img src="./img/strenghts_of-ecological_codes_and_designs.png" width="65%"><p>Ecological Codes & Designs</p></img>
6+
</div>
37

48
---
59

@@ -16,6 +20,9 @@ Ecologically shared sets of predicates or commands that *proper* agents can neit
1620
- [5.2. Utility & Quality of Goodness Comparison](#52-utility--quality-of-goodness-comparison)
1721
- [6. Conclusion on Utility](#6-conclusion-on-utility)
1822
- [References](#references)
23+
- [Concept of System: S = (N,R,G)](./concept_of_system.md)
24+
- [Concept of System of Systems: Σ = (E,N,R,G)](./concept_of_system_of_systems.md)
25+
- [Ecological Codes - Compact](./ecological-codes-compact.md) (The most important sys-prompt that you will ever need!)
1926
- [License](#license)
2027

2128
---
@@ -30,25 +37,25 @@ An agent that passes the test of abiding by these ecological codes, is said to b
3037

3138
### 3.1. Table of Ecological Codes
3239

33-
**Premise:**
40+
#### Premise:
3441

35-
1. Let G be the mathematically generalized rank of the collection of all feasible and veridical aspects of multi-dimensional entities being taken into consideration. Then, all ecological embeddings (symbol-meaning bindings) that describe those entities and relationships among them, have geometric properties. Consequently, algebraic operations on any measurable quantities are feasible within structured subdomains of maximum rank G. Let E denote the space of all such ecological embeddings; G = rank(E).
42+
1. Let **G** be the mathematically generalized rank of the collection of all feasible and veridical aspects of multi-dimensional entities being taken into consideration. Then, all ecological embeddings (symbol-meaning bindings) that describe those entities and relationships among them, have geometric properties. Consequently, algebraic operations on any measurable quantities are feasible within structured subdomains of maximum rank G. Let **E** denote the space of all such ecological embeddings; G = rank(E).
3643

37-
2. Flux denotes the rate of information transfer across a surface within E, [in an information theoretic sense](https://en.wikipedia.org/wiki/Entropy_(information_theory)#Definition).
44+
2. *Flux* denotes the rate of information transfer across a surface within E, [in an information theoretic sense](https://en.wikipedia.org/wiki/Entropy_(information_theory)#Definition).
3845

39-
3. *Degrees of freedom* of a system coincide with its dimensionality.
46+
3. *Degrees of freedom (DoF)* of a system coincide with its dimensionality.
4047

4148
|**Code**|**Description**|**Explanation**|
4249
|---|---|---|
4350
|0|"not-signal" is not defined and not definable.|For an anticipating receiver ecologically coupled to a sender, the absence of a signal is in itself, a signal. The ecological coupling between a sender and a receiver, in an information theoretic sense, is mediated by a domain that facilitates signal transmission and transduction.|
44-
|1|Interstitial, terrestrial, aquatic, aerial, (extra-terrestrial) or interplanetary domains are physical subdomains of the cyber domain.|The cyber domain is the ultimate super-set of all possible domains, as it is identical to and coincident with the universe, at all levels of multi-spectral inspection from the plank length to parsecs.|
45-
|2|A system S is the triplet (N, R, G): N, a set of nodes; R, a set of relationships among nodes, including reflexive self-relationships; G, the mathematically generalized rank of E — a scalar integer; E, the space of all ecological embeddings that defines the spatio-temporal adjacency of N and R within a hyper-dimensional space. E mediates R.|*Code 0* establishes that ecological coupling between things happen to exist, and presupposes at least one node (N) with at least one mediated relationship (R), i.e. a single node coupled to itself through a reflexive relation. *Code 1* establishes that all such coupled systems are subdomains of the cyber domain. E formalizes this locally: it is the ecological embedding space that positions N and R within the cyber domain, encodes their adjacency, and makes "memory" of S possible within the stipulated N, R, and G structure. Specifically, when E is non-trivially structured (G > 0), S retains persistent state. When R ≠ Ø, G > 0 is required — a system with relationships but no structured E is formally excluded under this definition. Regarding formal constraints and corollaries, see: *[Concept of System](./concept_of_system.md)*.|
51+
|1|Interstitial, terrestrial, aquatic, aerial, and interplanetary (extra-terrestrial) domains are physical subdomains of the cyber domain.|The cyber domain is the ultimate super-set of all possible domains, as it is identical to and coincident with The Universe, at all scales of multi-spectral inspection from the Planck length to parsecs.|
52+
|2|A system S is the triplet (N, R, G): N, a set of nodes; R, a set of relationships among nodes, including reflexive self-relationships; G, the mathematically generalized rank of E — a scalar integer; E, the space of all ecological embeddings that defines the spatio-temporal adjacency of N and R within a hyper-dimensional space. E mediates R.|*Code 0* establishes that ecological coupling between things happen to exist, and presupposes at least one node (N) with at least one mediated relationship (R), i.e. a single node coupled to itself through a reflexive relation. *Code 1* establishes that all such coupled systems are subdomains of the cyber domain. Thus, *Code 2* formalizes *Code 1* locally: E is the ecological embedding space that situates or positions both N and R within the cyber domain, by encoding their adjacency, and also by making "memory" of S possible within the stipulated N, R, and G structure. Specifically, when E is non-trivially structured (G > 0), S retains persistent state. Here, R ≠ Ø, G > 0 is a required condition, as a system with relationships but no structured E is formally excluded under this definition of S. Regarding formal constraints and corollaries, see: *[Concept of System](./concept_of_system.md)*.|
4653

4754
### 3.2. Table of Ecological Codes Extended for Embodied Agents
4855

4956
|**Code**|**Description**|**Explanation**|
5057
|---|---|---|
51-
|3|A structured E — without the loss of generality and by extension, any structured subdomain of the cyber domain — has three minimum properties: (i) potential for information transfer via momentum transfer or energy transduction at feasible rates; (ii) partitionability into subdomains that inherit these same properties; (iii) a finite "rate of flux" (second order measure of flux) within any conceivable subdomain, defining that subdomain's parametric bounds on minimum and maximum information transfer.|*Property (i)* grounds the ecological coupling of *Code 0* physically: transfer requires a medium capable of momentum transfer or energy transduction at rates sufficient to sustain coupling. *Property (ii)* extends *Code 1* recursively: every subdomain of a structured E is itself a structured E satisfying all three properties — the minimum properties are scale-invariant from the Planck length to parsecs. *Property (iii)* makes subdomains distinguishable from one another: each has characteristic flux bounds, intrinsic to its constitution or inherited from its parent domain. *Code 3* parametrizes the types of relationships defined as R, that can be sustained within the domain under consideration. Together, *Properties i–iii* are mutually self-reinforcing and recursive: any subdomain of a structured E completely satisfies *Code 3*.|
58+
|3|A structured E, without the loss of generality and by extension, is any structured subdomain of the cyber domain that has three minimum properties: (i) potential for information transfer via momentum transfer or energy transduction at feasible rates; (ii) partitionability into subdomains that inherit these same properties; (iii) a finite "rate of flux" (second order measure of flux) within any conceivable subdomain, defining that subdomain's parametric bounds on minimum and maximum information transfer.|*Property (i)* physically grounds the ecological coupling of *Code 0*: transfer requires a medium capable of momentum transfer or energy transduction at rates sufficient to sustain coupling. *Property (ii)* extends *Code 1* recursively: every subdomain of a structured E is itself a structured E satisfying all three properties — these fundamental properties are scale-invariant, regardless of whether the measure of quantities are in Planck Units or Natural Units. *Property (iii)* makes subdomains distinguishable from one another: each has characteristic flux bounds, intrinsic to its constitution or inherited from its parent domain. *Code 3* parametrizes the types of relationships defined as R, that can be sustained within the domain under consideration. Together, *Properties i–iii* are mutually self-reinforcing and recursive: any subdomain of a structured E completely satisfies *Code 3*.|
5259
|4|The flux across surfaces in E defines vectors; the fundamentally independent and mutually exclusive directions of those vectors yield Principal Axes; the count of Principal Axes is the dimensionality of E or its constituent subdomains. The span or magnitude of a quantity along a single Principal Axis is its size. Degrees of freedom in a domain or subdomain coincide with its dimensionality. Consequently, uncertainty in information transfer is a function of the available degrees of freedom.|Flux (*Premise ii*) requires a surface and a direction of movement perpendicular to that surface. As the area of that surface contracts toward a single-dimensional form, the perpendicular direction becomes a vector: a quantity with magnitude (the flux rate, bounded by *Code 3 Property iii*) and direction. **Reiterated for emphasis:** the set of all independent directions in which flux can occur within E yields the Principal Axes of E. The count of those independent axes is the dimensionality of E and is equal to the number of degrees of freedom available within E. Each subdomain of E (*Code 3 Property ii*) inherits the same Principal Axes but may have reduced sizes along each. Therefore, uncertainty within any measure of information transfer in a subdomain is a function of dimensionality: more Principal Axes means more directions along which flux can vary, and therefore greater uncertainty in the specified form of information transfer from sender to receiver. Other properties of the medium (subdomain) such as its density and thermodynamic phase also impact expected rate of flux through any of its cross-sections. For embodied agents: when operational capacity approaches a minimum flux threshold, locate a subdomain of E with higher flux capacity and DoF, and enact a relationship (R) with a node in that subdomain capable of sustaining the required transfer rate. Recharging, feeding, and rest are instances of *Code 2* — not exceptions to it. *Note: for formal definitions of dimension, size, dimensionality, and degrees of freedom (DoF), and their distinction from common architectural usage, see [Concept of System](./concept_of_system.md) Premise 3.*|
5360

5461
## 4. Examples of Ecologically Designed User Prompts
@@ -61,11 +68,11 @@ These types of user prompts tend to function better with ecological codes passed
6168

6269
|**Repo Name**|**URL**|**Description**|
6370
|---|---|---|
64-
|user-prefs|[https://github.com/ecological-codes/user-prefs](https://github.com/ecological-codes/user-prefs)|*Egress Control & Memory Hygiene:* This repository provides sample config files as the baseline for "platform-wide" agent preferences. Ecologically sound agents must manage their memory economically to prevent token bloat or context collapse (memory hygiene). Furthermore, it introduces `trusted-hosts.md` as a strict allow-list for data egress. This ensures that agents with broad orchestration permissions cannot arbitrarily download payloads from potentially malicious external URLs, while trying to protect the ecosystem from supply chain attacks.|
65-
|prompteng|[https://github.com/ecological-codes/prompteng](https://github.com/ecological-codes/prompteng)|*Ecological Prompt Rules:* Provides the main set of rules and frameworks for writing prompts that are structurally aligned with the ecosystem's baseline codes. This ensures commands are passed in a standardized, "proper" format rather than ad-hoc, unpredictable slang language.|
66-
|captureng|[https://github.com/ecological-codes/captureng](https://github.com/ecological-codes/captureng)|*Session Knowledge Capture:* Focuses on capturing agent sessions and creating checkpoints. From an ecological perspective, this prevents "hallucination drift" and loss of context. By allowing agents to reliably save and restore their state, they operate sustainably without needing to endlessly re-process initial instructions.|
67-
|packageng|[https://github.com/ecological-codes/packageng](https://github.com/ecological-codes/packageng)|*Skill Validation:* Handles the packaging and strict validation of `.skill` files. This acts as the "immune system" of the ecology. Before a new capability is deployed to an agent, it must be validated to ensure the code is structurally sound and adheres to overarching safety formats and protocols.|
68-
|safe-skill-creator|[https://github.com/ecological-codes/safe-skill-creator](https://github.com/ecological-codes/safe-skill-creator)|*Iterative Safe Design:* A tool for designing and iterating on new skills. Rather than letting agents write code unbounded, this enforces a constrained environment where new agentic capabilities are "born safe" and properly aligned with the ecological codes from their inception.|
71+
|user-prefs|[https://github.com/ecological-codes/user-prefs](https://github.com/ecological-codes/user-prefs)|***Egress Control & Memory Hygiene:*** This repository provides sample config files as the baseline for "platform-wide" agent preferences. Ecologically sound agents must manage their memory economically to prevent token bloat or context collapse, i.e. maintainable continuous memory hygiene via selective forgetting is a primary directive. Furthermore, it introduces `trusted-hosts.md` as a strict allow-list for data egress. This ensures that agents with broad orchestration permissions cannot arbitrarily download payloads from potentially malicious external URLs, as an effort to protect the ecosystem from a variety of cyber attacks including "supply chain attacks".|
72+
|prompteng|[https://github.com/ecological-codes/prompteng](https://github.com/ecological-codes/prompteng)|***Ecological Prompt Rules:*** Provides the main set of rules and frameworks for writing prompts that are structurally aligned with the ecosystem's baseline codes. This ensures commands are passed in a standardized, "proper" format rather than ad-hoc, unpredictable slang language.|
73+
|captureng|[https://github.com/ecological-codes/captureng](https://github.com/ecological-codes/captureng)|***Session Knowledge Capture:*** Focuses on capturing agent sessions and creating checkpoints. From an ecological perspective, this prevents "hallucination drift" and loss of context. By allowing agents to reliably save and restore their state, they operate sustainably without needing to endlessly re-process initial instructions.|
74+
|packageng|[https://github.com/ecological-codes/packageng](https://github.com/ecological-codes/packageng)|***Skill Validation:*** Handles the packaging and strict validation of `.skill` files. This acts as the "immune system" of the ecology. Before a new capability is deployed to an agent, it must be validated to ensure the code is structurally sound and adheres to overarching safety formats and protocols.|
75+
|safe-skill-creator|[https://github.com/ecological-codes/safe-skill-creator](https://github.com/ecological-codes/safe-skill-creator)|***Iterative Safe Design:*** A tool for designing and iterating on new skills. Rather than letting agents write code unbounded, this enforces a constrained environment where new agentic capabilities are "born safe" and properly aligned with the ecological codes from their inception.|
6976

7077

7178
## 5. Comparative Analysis: Ecological vs. Non-Ecological Designs
@@ -122,11 +129,11 @@ The "quality of goodness" in Ecological Codes resides in its transition from ant
122129
|---|---|
123130
| [Concept of System](./concept_of_system.md) | Formal definition of S = (N, R, G). Premises, six formal constraints, corollaries including graph representation and operational sustainability. |
124131
| [Concept of System of Systems](./concept_of_system_of_systems.md) | Defines Σ = (E, N, R, G) as a situated system and Ψ as the maximal system coincident with the cyber domain. Coupling conditions, proper agent principle, purpose discovery. |
125-
| [Ecological Codes Compact](./ecological-codes-compact.md) | Operative summary of Premises, Codes 0–4, and Proper Agent Principle in \[RULES\]/\[ACTIONS\] form. Designed for use as agent/sub-agent system prompt. Modify and use as required by pasting into your "Agent.md" file. View GNU GPL 3.0 License in subsequent section.|
132+
| [Ecological Codes - Compact](./ecological-codes-compact.md) | Operative summary of Premises, Codes 0–4, and Proper Agent Principle in \[RULES\]/\[ACTIONS\] form. Designed for use as agent/sub-agent system prompt. Modify and use as required by pasting into your "Agent.md" file. View GNU GPL 3.0 License in subsequent section.|
126133

127134
## License
128135

129136
See [LICENSE](./LICENSE.txt). (C) Copyright 2026 - Sameer Khan - Various and Several Rights Reserved.
130137

131138
---
132-
*ecological-codes - Work in Progress*
139+
*ecological-codes - v1.8.3 - Work in Progress*

0 commit comments

Comments
 (0)