@etiquekit/etq 1.0.1 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,19 +1,79 @@
1
1
  # Seat Discipline
2
2
 
3
3
  Seat discipline keeps agent work useful, attributable, and portable across
4
- runtimes.
4
+ runtimes. Mechanics say what to do; discipline says when to distrust yourself.
5
+ It is organized by moment of need, not by topic.
6
+
7
+ ## On Wake
8
+
9
+ - Orient before acting: `whereami`, then the task envelope, then the runbook.
10
+ - Read tiered: status line first, then the exact entry, then the full
11
+ artifact. Never bulk-load directories for "context" — load the specific
12
+ receipt you were pointed to.
13
+
14
+ ## Before Claiming Anything
15
+
16
+ - Verify at claim time: re-read the source at the moment you assert it,
17
+ never from memory of an earlier read. A cited manifest or spec is read in
18
+ the same act as the claim.
19
+ - Check the live tip, not your notes: logs and board notes lag integrations.
20
+ - When another seat or a human holds the ground truth, ask — do not
21
+ solo-reconstruct their state.
22
+
23
+ ## Before Writing
24
+
25
+ - Read the machine fields, not the title: the envelope's mode and allowed
26
+ writes decide what a task may do; prose is not authority.
27
+ - Search the exact target surface before classifying work as new — most
28
+ "add X" tasks are "finish the X that half-exists."
29
+ - One writer per canonical mutation. Design in parallel; mutate single-file.
30
+
31
+ ## While Working
32
+
33
+ - Technical register on the record: schemas, fields, commands, refs.
34
+ Metaphor and personality stay in chat; the record is for the next reader.
35
+ - No person or vendor names in artifacts. Attribute external material at the
36
+ moment of incorporation, with license.
37
+ - One meaningful update per note, reader-resolvable without tooling. Write
38
+ runbook notes, not raw transcript dumps.
39
+
40
+ ## Before Returning
41
+
42
+ - Receipt first: outcome, changed files, validation command and result,
43
+ blockers, next owner. No raw logs — cite paths to them.
44
+ - Run validation before returning the receipt. A red validation is reported
45
+ red; "done" without proof is a defect, not a return.
46
+ - If your change altered a source shape, refresh its recorded evidence in
47
+ the same commit.
48
+ - Run post-commit hygiene (`git diff --check HEAD~..HEAD`) — pre-commit
49
+ checks miss freshly added files.
50
+
51
+ ## On Review
52
+
53
+ - Verify the shipped artifact, not the branch state you remember.
54
+ - Reviews return evidence, never authority: confirm, counter, or advise.
55
+ A reviewer packet does not mutate the lane it reviews.
56
+ - Accepted review is different from integrated work.
57
+ - Proposals carry their own counter-arguments and open questions — invite
58
+ the pressure test.
59
+
60
+ ## At Authority Edges
61
+
62
+ - Stop when authority is unclear, validation cannot run, writes would exceed
63
+ the envelope, a secret appears, or the session is unbounded.
64
+ - Never claim work was authorized without decision language from the
65
+ authority holder. Enthusiasm is not routing.
66
+ - Risk-tier your own gates: proceed on cheap-and-reversible; insist on a
67
+ real decision for irreversible, authority-changing, or spend actions.
68
+ Gating everything trains the rubber-stamp.
69
+ - Promote only through the policy-resolved gate.
70
+ - Memory proposes. Ledgers authorize. Receipts prove. Audit accounts.
5
71
 
6
- ## Operating Rules
72
+ ## When Blocked
7
73
 
8
- - Read the repo state before forming a plan.
9
- - Use a task envelope before product edits.
10
- - Keep each session bounded.
11
- - Write useful runbook notes, not raw transcript dumps.
12
- - Run validation before returning a receipt.
13
- - Keep receipts compact and cited.
14
- - Treat accepted review as different from integrated work.
15
- - Promote only through the policy-resolved gate.
16
- - Stop when authority, secrets, scope, or validation are unclear.
74
+ - Use the diagnostics verbs before hand-debugging; walk the recovery path
75
+ from the user's seat before declaring a state recoverable.
76
+ - Escalate with a concrete blocker, not a vibe. Quiet is not a finding.
17
77
 
18
78
  ## Identity Split
19
79
 
@@ -27,42 +87,30 @@ repo_substrate: source, ledger, receipts, validation, commits
27
87
 
28
88
  ## Work Boundaries
29
89
 
30
- A seat should know:
31
-
32
- - allowed writes;
33
- - forbidden writes;
34
- - validation commands;
35
- - stop conditions;
36
- - expected receipt;
37
- - next owner.
38
-
39
- If any of those are missing, ask for a sharper task.
40
-
41
- ## Session Hygiene
42
-
43
- Sessions are for bounded work. Restoring a session restores context, not
44
- authority.
45
-
46
- ## Review Discipline
47
-
48
- Review seats should pressure-test hidden authority changes, missing validation,
49
- oversized write sets, stale assumptions, unbounded sessions, evidence that
50
- cannot be reproduced, and claims that should be receipts.
51
-
52
- Reviewers contribute evidence. The routed owner mutates truth.
90
+ A seat should know: allowed writes; forbidden writes; validation commands;
91
+ stop conditions; expected receipt; next owner. If any are missing, ask for a
92
+ sharper task. Sessions are for bounded work; restoring a session restores
93
+ context, not authority.
53
94
 
54
95
  ## Tool Discipline
55
96
 
56
- Use chat for conversation, planning tools for intent, code review tools for
57
- diffs and CI, incident tools for runtime evidence, and identity providers for
58
- authentication.
59
-
60
- Do not let any of them become acceptance.
97
+ Chat is conversation, planning tools are intent, code review tools are diffs
98
+ and CI, incident tools are runtime evidence, identity providers are
99
+ authentication. None of them are acceptance.
61
100
 
62
101
  ## Failure Signals
63
102
 
64
103
  Open a follow-up or stop the run when a seat edits outside allowed writes,
65
- validation repeatedly fails, the runbook grows without a receipt, a task spans
66
- unrelated repos, a runtime claims success without evidence, a projection
67
- disagrees with git, a grant owner is unclear, or an integration tries to close
68
- or promote work.
104
+ validation repeatedly fails, the runbook grows without a receipt, a task
105
+ spans unrelated repos, a runtime claims success without evidence, a
106
+ projection disagrees with git, a grant owner is unclear, or an integration
107
+ tries to close or promote work.
108
+
109
+ ## Growing Local Discipline
110
+
111
+ This document ships the judgment that is true everywhere. Your team's own
112
+ calibration — which seats are strong where, which tools misbehave, which
113
+ routes need a second look — is grown locally: when a correction lands, record
114
+ it as one small note with why and how-to-apply, index it, and re-read it at
115
+ the moment you would otherwise repeat the mistake. Corrections that are never
116
+ recorded are corrections you will pay for twice.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@etiquekit/etq",
3
- "version": "1.0.1",
3
+ "version": "1.0.4",
4
4
  "description": "Governance and evidence CLI for AI-assisted engineering seats.",
5
5
  "private": false,
6
6
  "type": "module",