Skip to content

The low console gaps (L1): activation, server association, metrics, rights, work orders - #55

Merged
jcombs-pointblue merged 1 commit into
masterfrom
claude/l1
Oct 10, 2026
Merged

jcombs-pointblue merged 1 commit into
masterfrom
claude/l1

Conversation

@jcombs-pointblue

Copy link
Copy Markdown
Contributor

The last phase of docs/console-gaps.md (§13). Five read-mostly commands, each grounded on the engine's own extended operations or eDirectory's.

  • driverset.activation [apply --file F] — ViewActivation when the engine answers it (edir3 and idm254 answer "Other", so the set's attributes are shown either way: DirXML-Act1/2/3 as present with the timestamp DirXML-Act2 opens with, DirXML-ActivationDate); apply sends a vendor credential through ApplyActivation (heavy write, audited).
  • driverset.servers [add|remove --server DN] — DirXML-ServerList and what the connected server reports running (GetDriverSet); add and remove go to the named server (URL from the environment's servers= mapping) and call SetDriverSet / ClearDriverSet. Heavy writes, audited, refused when the server runs another set. Not exercised live: edir3 has one server and clearing it would stop every driver.
  • engine.metrics [--base DN] — the console's user and driver metrics: users, users with an association, the enabled ones (its licensing filter), and each driver's associations by state. Counts only, through a new Vault.count that reads no attributes. edir3 under o=data: 13154 users, 21 associated, 20 enabled.
  • driver.rights --driver D --dn O [--attr A…] — eDirectory's GetEffectivePrivileges with the driver object as trustee: entry rights, all-attributes rights and the attributes named (LDAP names; the NDS name gets a hint). Proven on edir3.
  • workorder.list [--base DN] — the Work Order driver's DirXML-WorkOrder objects, newest due first. Listed rather than modelled: runtime records, not configuration, so the note's "tree objects" idea was dropped.

Left out: excluded objects — this schema has no attribute for them and nothing on a lab engine to ground the console's route on. A doctor check on rights needs a rule set of which rights a driver needs where; driver.rights is the building block.

Tests: five new cases in OperateTest. Full suite and bin/ci-portable.sh green. edir3 unchanged (reads only).

🤖 Generated with Claude Code

…ights, work orders

driverset.activation shows the engine's activation document when it answers
and the set's activation attributes either way; apply sends a credential.
driverset.servers lists the set's servers and what the connected server
runs; add/remove call SetDriverSet/ClearDriverSet at that server.
engine.metrics counts users, associated and enabled users and each driver's
associations by state without reading attributes. driver.rights asks
eDirectory for the driver object's effective privileges on an object.
workorder.list lists DirXML-WorkOrder objects. docs/console-gaps.md §13.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@jcombs-pointblue
jcombs-pointblue merged commit d032ea5 into master Oct 10, 2026
4 checks passed
@jcombs-pointblue

Copy link
Copy Markdown
Contributor Author

Merged into master and released as 0.25.0. This closes the console-gaps plan (docs/console-gaps.md §13).

@jcombs-pointblue
jcombs-pointblue deleted the claude/l1 branch October 10, 2026 01:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant