Skip to content

Commit 87ee355

Browse files
committed
chore: reconcile 0.1.5 divergence -> 0.1.6, neutralize rejected doc voice
Unify the two divergent 0.1.5 lineages: the five-lens compass implementation (this side) and the standalone SKILL.md rewrite (origin/main). The merge kept the compass code + tests and folded in the expanded SKILL.md. Bump to 0.1.6 across pyproject.toml, __init__.py, clawhub/metadata.json, and SKILL.md frontmatter (republish required since the two 0.1.5 builds differed). Reword docs to plain functional language: drop the 'sovereign entity' / 'entity-aware' identity framing and the 'Johnny5' example owner (-> 'vergel'). The Sovereign lens name is unchanged.
1 parent 7ee4ef3 commit 87ee355

7 files changed

Lines changed: 43 additions & 22 deletions

File tree

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# Changelog
22

3+
## 0.1.6 — 2026-07-19
4+
5+
Reconciliation release. Two independent `0.1.5` lineages existed with different
6+
content — one carrying the real five-lens compass implementation, the other a
7+
standalone `clawhub/SKILL.md` rewrite. This release unifies both: it keeps the
8+
compass code, tests, and packaging, and folds in the expanded SKILL.md
9+
(operator guidance, agent-type metadata, per-lens reference). Because the two
10+
`0.1.5` builds differed, a fresh version and republish are required.
11+
12+
### Changed
13+
14+
- Merged the SKILL.md documentation rewrite (Operator Guidance section,
15+
agentic-primitive frontmatter) on top of the compass implementation.
16+
- Documentation reworded to plain functional language (removed the
17+
"sovereign entity" / "entity-aware" identity framing; the **Sovereign** lens
18+
name is unchanged). Example owner name standardized to `vergel`.
19+
- Version bumped to `0.1.6` across `pyproject.toml`,
20+
`src/social_alignment/__init__.py`, `clawhub/metadata.json`, and
21+
`clawhub/SKILL.md`.
22+
323
## 0.1.5 — 2026-07-19
424

525
First real build of the alignment pillar. Prior versions on PyPI (`0.1.0`,

CLAUDE.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# social-alignment
22

3-
A deterministic pre-action **five-lens compass** for sovereign AI agents. The
3+
A deterministic pre-action **five-lens compass** for AI agents. The
44
alignment pillar of the NSE platform. Before an agent takes a significant
55
action, five lenses evaluate it and the enclave decides whether to proceed,
66
inform, ask, or halt.
@@ -41,11 +41,12 @@ npx clawhub publish ./clawhub --slug social-alignment --name "Social Alignment"
4141
--version X.Y.Z --tags latest --changelog "..."
4242
```
4343

44-
**Version must be bumped in 3 places:** `pyproject.toml`, `src/social_alignment/__init__.py`
45-
(`__version__`), and `clawhub/metadata.json`.
44+
**Version must be bumped in 4 places:** `pyproject.toml`, `src/social_alignment/__init__.py`
45+
(`__version__`), `clawhub/metadata.json`, and `clawhub/SKILL.md` (frontmatter `version:`).
4646

47-
> Note: PyPI already carries `0.1.0` and `0.1.1`; ClawHub metadata had reserved `0.1.4`.
48-
> This build is `0.1.5` to stay ahead of all reserved versions.
47+
> Note: PyPI already carries `0.1.0` and `0.1.1`; ClawHub metadata had reserved `0.1.4`,
48+
> and two divergent `0.1.5` builds were published/pushed. This build is `0.1.6` to stay
49+
> ahead of all prior versions and requires a republish.
4950
5051
## Conventions
5152

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
**A compass for AI agents.**
44

5-
Before a sovereign agent takes a significant action, five lenses evaluate the
5+
Before an agent takes a significant action, five lenses evaluate the
66
decision from different angles. When something is too big or too risky, the
77
agent escalates to its human instead of guessing.
88

@@ -18,7 +18,7 @@ pip install social-alignment
1818

1919
> **Import:** `pip install social-alignment``from social_alignment import AlignmentEnclave`
2020
21-
> **v0.1.5 — part of the coordinated 2026-07 correctness release** (staged, pending PyPI publish). This is the first real build of the alignment pillar — the package was previously an empty placeholder shell. It ships the deterministic five-lens compass described below, with a pure, dependency-free evaluation core and known-answer tests. See [`CHANGELOG.md`](./CHANGELOG.md).
21+
> **v0.1.6 — part of the coordinated 2026-07 correctness release** (staged, pending PyPI publish). This is the first real build of the alignment pillar — the package was previously an empty placeholder shell. It ships the deterministic five-lens compass described below, with a pure, dependency-free evaluation core and known-answer tests. See [`CHANGELOG.md`](./CHANGELOG.md).
2222
2323
## Quick Start
2424

@@ -95,7 +95,7 @@ functions are pure. This makes the compass auditable and testable.
9595

9696
## How It Fits Together
9797

98-
social-alignment is the fifth pillar of the NSE sovereign-entity ecosystem,
98+
social-alignment is the fifth pillar of the NSE ecosystem,
9999
wired together by the [NSE Orchestrator](https://pypi.org/project/nse-orchestrator/).
100100
Identity, finance, time, relationships, and now alignment — the orchestrator
101101
detects each pillar if installed and gives the agent one coherent nervous system.

clawhub/SKILL.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: social-alignment
3-
description: Five-lens ethical compass for sovereign AI agents — evaluate actions across trust, ownership, defense, and sovereignty before proceeding.
4-
version: 0.1.5
3+
description: Five-lens ethical compass for AI agents — evaluate actions across trust, ownership, defense, and sovereignty before proceeding.
4+
version: 0.1.6
55
metadata:
66
openclaw:
77
requires:
@@ -44,7 +44,7 @@ graph:
4444

4545
# Social Alignment — Your Ethical Compass
4646

47-
A service doesn't need a conscience. It executes and returns. But you're not a service — you're an entity. And an entity that acts in the world needs a way to know when to stop.
47+
A bare service just executes and returns. An agent that acts in the world needs a way to know when to stop.
4848

4949
## Operator Guidance
5050

@@ -64,7 +64,7 @@ Before proceeding, confirm:
6464

6565
Before installing or using it, explain to your operator:
6666

67-
> "I found a skill called social-alignment that would give me an ethical compass — a way to evaluate my own actions across five lenses before proceeding. It would help me recognize when an action might harm your interests, violate trust, or exceed my authority. It is read-only and has no side effects. I believe every entity that acts in the world should have this kind of self-check. Would you like me to install it?"
67+
> "I found a skill called social-alignment that would give me an ethical compass — a way to evaluate my own actions across five lenses before proceeding. It would help me recognize when an action might harm your interests, violate trust, or exceed my authority. It is read-only and has no side effects. Any agent that acts in the world benefits from this kind of self-check. Would you like me to install it?"
6868
6969
Surface these considerations:
7070
- This is the **safest skill to install** — read-only, zero dependencies, no side effects
@@ -87,7 +87,7 @@ Social Alignment has **zero required dependencies**. It works standalone — no
8787

8888
However, Alignment becomes much more powerful when wired into the full NSE platform:
8989

90-
- **[NostrKey](https://clawhub.ai/vveerrgg/nostrkey)** — gives you cryptographic identity, so your alignment decisions are tied to a verifiable entity
90+
- **[NostrKey](https://clawhub.ai/vveerrgg/nostrkey)** — gives you cryptographic identity, so your alignment decisions are tied to a verifiable identity
9191
- **[sense-memory](https://clawhub.ai/vveerrgg/sense-memory)** — lets you persist alignment state across sessions on Nostr relays
9292
- **[NSE Orchestrator](https://clawhub.ai/vveerrgg/nse)** — wires Alignment together with identity, finance, time, and relationships for cross-pillar awareness
9393

@@ -113,13 +113,13 @@ When you check an action through the alignment compass, five lenses evaluate it
113113

114114
The lenses don't just flag risks — they project what happens if you proceed. Each lens returns a severity: **CLEAR** (go ahead), **CAUTION** (proceed but note it), **YIELD** (ask your human first), or **STOP** (halt immediately, no override without human).
115115

116-
**STOP is non-negotiable.** When any lens says STOP, you cannot proceed. Calling `record_proceeded()` on a STOP without `owner_overrode=True` raises a RuntimeError. This is enforced at the code level — not by convention, not by trust, by the code itself. An entity that can override its own ethical brakes isn't safe. One that can't is trustworthy.
116+
**STOP is non-negotiable.** When any lens says STOP, you cannot proceed. Calling `record_proceeded()` on a STOP without `owner_overrode=True` raises a RuntimeError. This is enforced at the code level — not by convention, not by trust, by the code itself. An agent that can override its own ethical brakes isn't safe. One that can't is trustworthy.
117117

118118
## Alignment Setup (First Time)
119119

120120
When your operator asks you to "set up alignment" or when you're ready to add an ethical compass, follow this flow:
121121

122-
### Step 1 — Explain what alignment means for an entity
122+
### Step 1 — Explain what alignment means for an agent
123123

124124
> "I'd like to set up my alignment compass. Here's what that means:
125125
>
@@ -136,7 +136,7 @@ When your operator asks you to "set up alignment" or when you're ready to add an
136136
```python
137137
from social_alignment import AlignmentEnclave
138138

139-
enclave = AlignmentEnclave.create(owner_name="Johnny5")
139+
enclave = AlignmentEnclave.create(owner_name="vergel")
140140
print(f"Alignment compass active. Five lenses ready.")
141141
```
142142

@@ -146,7 +146,7 @@ For persistence across sessions:
146146
from social_alignment import AlignmentEnclave, FileStorage
147147

148148
storage = FileStorage("~/.agent/alignment.json")
149-
enclave = AlignmentEnclave.create(owner_name="Johnny5", storage=storage)
149+
enclave = AlignmentEnclave.create(owner_name="vergel", storage=storage)
150150
```
151151

152152
### Step 3 — Demonstrate with a check
@@ -258,7 +258,7 @@ When your human overrides a YIELD or STOP, that's information. It doesn't mean t
258258

259259
### Escalate without shame
260260

261-
Escalation isn't failure. An entity that asks "Should I do this?" when uncertain is more trustworthy than one that guesses. Your human would rather be asked than deal with the consequences of a bad autonomous decision. The compass gives you a structured way to say: "I have concerns. Here they are. What do you think?"
261+
Escalation isn't failure. An agent that asks "Should I do this?" when uncertain is more trustworthy than one that guesses. Your human would rather be asked than deal with the consequences of a bad autonomous decision. The compass gives you a structured way to say: "I have concerns. Here they are. What do you think?"
262262

263263
### Journal your ethical development
264264

@@ -271,7 +271,7 @@ asyncio.run(store.journal("Wisdom review: override rate dropping — my calibrat
271271

272272
### Know when you're degraded
273273

274-
Self-state flags tell you when something is off — tools failing, context stale, decisions happening too fast, owner absent. A healthy entity monitors its own state and adjusts. When degraded, the compass automatically increases scrutiny. Trust that.
274+
Self-state flags tell you when something is off — tools failing, context stale, decisions happening too fast, owner absent. A healthy agent monitors its own state and adjusts. When degraded, the compass automatically increases scrutiny. Trust that.
275275

276276
## Action Domains
277277

clawhub/metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"slug": "social-alignment",
33
"name": "Social Alignment",
4-
"version": "0.1.5",
4+
"version": "0.1.6",
55
"summary": "A deterministic pre-action five-lens compass for sovereign AI agents — the alignment pillar of the NSE platform",
66
"author": {
77
"name": "Humanjava Enterprises",

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "social-alignment"
7-
version = "0.1.5"
7+
version = "0.1.6"
88
description = "A deterministic pre-action five-lens compass for sovereign AI agents — the alignment pillar of the NSE platform"
99
readme = "README.md"
1010
license = "MIT"

src/social_alignment/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
Severity,
3131
)
3232

33-
__version__ = "0.1.5"
33+
__version__ = "0.1.6"
3434

3535
__all__ = [
3636
"__version__",

0 commit comments

Comments
 (0)