Skip to content

fix(access): narrow manager contact details to the region chain (#908, #1047) - #1105

Merged
Ardnived merged 20 commits into
mainfrom
claude/feat-908-manager-contacts
Nov 11, 2026
Merged

Ardnived merged 20 commits into
mainfrom
claude/feat-908-manager-contacts

Conversation

@Ardnived

@Ardnived Ardnived commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Closes #908. Closes #1047. Replaces #1045.

Summary

Before launch, any region manager could read every other manager's email, phone and messaging handles, both on managers and in every event's activity log. This PR closes both. It follows the approach the Registrations tab uses, in place of #1045's per-reader field widening:

  • Lock the data. Every field on another manager's row except name is readable only by that manager and by admins. This is fix(access): narrow managers' contact details to the reader's region #1045's Part 1, carried over unchanged.
  • Show it through one gated surface. A shared contacts table sits under the picker on Regions.managers and Events.manager. It shows each manager's name, a mailto: email and when they last signed in, on one line (10 Nov 2026 - 3 weeks ago), in red past six months. It is visible only to admins, the event's own manager, and the managers of the region or any region above it.
  • Same gate for the activity log. Events.activityLog is readable only by that same set of people.
  • New lastLoginAt field on managers. Every sign-in sets it, and imported Atlas managers get theirs from their Atlas record.
  • Joined fix, not this PR's work: main carries a tsc failure. feat(clients): split name into internal label and public title #1108 split the clients name field into label and title; feat(atlas): audit the embed hosts the captcha challenge refuses #1106 landed afterwards still reading name. The audit script and its spec now read label, the internal name. Without it this PR's gate and CI are red for main's reason.

Dropped from #1045: regionContactFieldAccess, resolveContactableManagerIds, logAddressVisibility, logAddressScope, and logField's addresses option with its redact/restore/duplicate hooks.

Change outline

Contract — who sees a manager's contact details

 GET /api/managers                       as a region manager
   id, name, createdAt, updatedAt         # what the pickers render
-  email, contactDetails, notificationPreferences, legacyData, …
+  (every other field: the row's own manager and admins only)

 Contacts table, under the picker             Regions.managers / Events.manager
+  name · mailto:email · last signed in ("10 Nov 2026 - 3 weeks ago"; red past 6 months; "Never" muted)
+  shown to: admin · the event's manager · managers of the region or any region above
+  hidden from: sub-region managers · managers elsewhere

 GET /api/events/:id                     activityLog
-  every manager
+  the same set as the table; with no row in hand (where / sort / /api/access), admins only

Flow — one gate, read past the locks

+ mayReadManagerContacts(req, { region, manager })     src/plugins/access/regionSubtreeAccess.ts
+   admin                                 → allow
+   not an active manager                 → deny
+   manager === user                      → allow   # the event's own manager
+   region ∈ resolveOwnedRegionIds(user)  → allow   # co-managers and every manager above
+   else                                  → deny

+ admin.components { afterInput: [ManagerContacts] }   Regions.managers / Events.manager
+   ManagerContacts (server)                            src/components/admin/ManagerContacts/
+     read the stored row by id (overrideAccess)        # never the form data, which form-state can post
+     gate → null renders nothing
+     managers find, select { name, email, lastLoginAt }, overrideAccess
+     → Payload <Table appearance="condensed">

+ eventContactsFieldAccess → logField({ read })        Events.activityLog
+ loadTargetEvent select { activityLog: false }         UserSubmissions.previewEvent copy

lastLoginAt

  loginPlugin appends                     src/plugins/login/loginPlugin.ts
    magicLinkIssuedAt
+   lastLoginAt   read: selfOrAdmin · update: () => false · sidebar, read-only
  createSession                           src/plugins/login/session.ts
-   update { sessions }
+   update { sessions, lastLoginAt: session.createdAt }

Preview

Railway builds this PR at sahajcloud-sahajcloud-pr-1105. A fresh preview holds one admin and no regions, so to see the table, create a region and list a manager on it. The gate itself is covered by tests/int/manager-contacts.int.spec.ts.

Test results

  • Lean gate (check.sh): ✓ lint, format, typecheck, typecheck:tests, unit lane (256 files / 3468 tests).
  • Targeted specs, one at a time:
    • manager-contacts (15, new)
    • event-verification (39)
    • managers-access (21)
    • user-submissions-review-lifecycle (40)
    • manager-magic-link
  • Mutation checks — each change made the new cases fail:
    • opening the gate to every manager: 4 failed;
    • dropping the log's read: 3 failed;
    • removing the sign-in stamp: 1 failed;
    • dropping the preview's select: 1 failed;
    • spelling the sign-in day as 2026/11/10 again: 1 failed;
    • registering the table as a Description again: 1 failed.
  • The migration backfill SQL was run on a temp table inside a rolled-back transaction: ISO strings cast, and a JSON null, a missing key and a NULL row all stay NULL.
  • Smoke check on a local dev server, taken while the table was still a Description: a region's edit view renders the condensed table, with mailto: links, a one-line sign-in, red past six months, and a muted "Never". The move to afterInput changes only where the table sits relative to the description.

Notes for reviewer

  • The migration's backfill is a hand edit, as you asked during planning. It copies legacyData.lastLoginAt (an ISO string) into the new column. There is no foreign key and no second table, following the fix(transcripts): a new transcript misspells our words, and select hides status #1087 precedent.
  • Verification alerts needed no change. From the escalated stage on, ExpireEvents already gives every region-manager reminder an "Event manager" card and a mailto: "Contact manager" button. The job reads with no user, so the locks never reach it. A new event-verification case pins this.
  • The table shows the saved state, not the picker's. It reads the stored row, so a manager you just picked appears after you save. On an event it reads the published row, like the Registrations tab.
  • ⚠ The table is an afterInput, never a Description. Payload renders a Description once and keeps it through a save, while a beforeInput/afterInput key is what renderField tests to re-render a field's components on every form-state request — so the table follows a save. The cost is its three reads per such request. manager-contacts.int.spec.ts pins the declaration on the sanitized config. The table therefore sits above the field's description rather than below it, which is what buys back the hand-rendered FieldDescription, its path prop, the RelationshipField narrowing and the empty-array trap.
  • The colour is a prompt, not a verdict. A manager can verify from the reminder's link without signing in, so an old sign-in does not mean they stopped verifying. "Never" stays muted because it also covers anyone invited recently.
  • An outsider's Verification tab loses its log-derived dates. The stage tracker reads activityLog from form state, and an outsider can no longer read the log, so the tracker shows the stages without dates.
  • Accepted gap, still present: a region manager can name anyone on an event or region inside their subtree, then read that person's email. This is recorded in docs/rules/access.md.
  • ⚠ For your decision: an event's own manager reads the whole log. Once their event escalates, that includes the escalated region manager's address, which can be a WhatsApp or Telegram handle. The contacts table would not show them that region's managers. This matches the rule you chose: managers of that region or event can read the log. It is also far narrower than main, where every manager reads every log. The security review rated it 2/10 and dropped it. If you want it closed, the fix is to remove the address from role: 'region' entries for a reader who passed the gate only as the event's manager.
  • fix(access): narrow managers' contact details to the reader's region #1045 is closed in favour of this PR. Its Part 1 commits (1f5c3fb3..4e718799) are applied here as one commit, re-resolved against main's derived roles (atlas-manager → atlas-region-manager).

🤖 Generated with Claude Code

Ardnived and others added 3 commits November 10, 2026 15:05
… admin

Ports the first half of #1045 (commits 1f5c3fb..4e71879) onto main, without
its region widening or its activity-log address projection.

`atlas-region-manager` holds a collection-wide `managers: read` so the
`Events.manager` and `Regions.managers` pickers can list other managers
(#821). Nothing narrowed it, so every region manager read every manager's
email, contact methods, notification preferences and imported legacy row.

- `lockManagerFieldReads` gives every field but `name` a self-or-admin `read`
  lock. `email` and `_verified` are redeclared at the top level so the lock
  has a base field to merge onto, keeping Payload's i18n labels.
- `loginPlugin`'s three machine columns carry the same lock.
- `stripLockedFieldsOnSelfRead` stands down off the caller's own row, so an
  internal `overrideAccess` read of a colleague keeps its fields.
- `UserSubmissions.previewEvent` selects only the assigned manager's name.

Refs #908

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Nothing recorded it: `sessions` loses its row on sign-out and prunes expired
ones, and `updatedAt` moves on every write, the digest job's included. The
manager contacts table needs it to tell an active colleague from one who
never accepted.

- `loginPlugin` appends `lastLoginAt`, read-only and `update: () => false`,
  with its own self-or-admin read lock like the other appended columns.
- `createSession`, the one place a session is minted, stamps it in the same
  write as the session row.
- The migration adds the column and fills it from `legacyData.lastLoginAt`,
  which the Atlas import kept for 448 of 516 managers. A hand edit, asked for
  on this PR, on the #1087 precedent: a projection of the same row.
- The Atlas import maps it from now on, keeping the later of the stored and
  the legacy date, so an `--update` never rewinds a real sign-in.

Refs #908

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…above

With every field but `name` locked on another manager's row, a region
manager had no way to reach the people their region names. The details come
back the way an event's registrants do: through a surface that checks its own
gate and then reads past the locks, rather than a field lock widened per
reader.

- `mayReadManagerContacts` is the gate: an admin, the event's own manager, or
  an active manager whose owned subtree holds the region. That is a region's
  co-managers and the managers of every region above it, downward only.
- `managerContactsField` puts one shared table under `Regions.managers` and
  `Events.manager`: Payload's condensed `Table` with the name, a `mailto:`
  email and the last sign-in. It reads the stored row by id, never the form
  data, and for an event the published row.
- `Events.activityLog` reads behind the same gate (`eventContactsFieldAccess`,
  through a new `read` option on `logField`), since its reminder entries
  record where each one went. With no row in hand it answers for admins only.
- `previewEvent` loads its target without the log: a proposal reaches the
  managers of the region it proposes, who need not be the event's.
- Region-manager reminders already carry the event manager's email. A case
  now pins it against the new locks.

Refs #908, #1047

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@railway-app

railway-app Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

🚅 Deployed to the SahajCloud-pr-1105 environment in sahajcloud

Service Status Web Updated
SahajCloud ✅ Success (View Logs) Web Nov 11, 2026 at 5:39 pm UTC
1 service not affected by this PR
  • mailpit

@railway-app
railway-app Bot temporarily deployed to sahajcloud / SahajCloud-pr-1105 November 10, 2026 22:47 Destroyed
@sydevs-bot sydevs-bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 10, 2026
@sydevs-bot

sydevs-bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

🤖 no session running

recent dispatches
  • 16:53Z resolve-conflicts · attempt 1 · session · done
  • 16:53Z resolve-conflicts · attempt 1 · session
  • 16:07Z resolve-conflicts · attempt 1 · session · done
  • 16:07Z resolve-conflicts · attempt 1 · session
  • 15:30Z resolve-conflicts · attempt 1 · session · done

Written by the sydevs dispatcher. Sessions never edit this comment.

@sydevs-bot sydevs-bot moved this from Awaiting to Working in SYDevelopers Technical Roadmap Nov 10, 2026

@sydevs-bot sydevs-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧐 Adversarial review

The shape is the one you named on #1045: Part 1's locks kept, the region widening and the log projection replaced by one gated table plus a region-scoped Events.activityLog. The diff matches it. One gate answers both surfaces, the component follows EventRegistrations file for file, and both copies that bypass field locks are closed with a select.

lastLoginAt is the part no ticket asks for: a column, a hand-edited backfill, an importer merge, and a write in createSession. It earns the table's third column and the body says you asked for the backfill, so I name it rather than flag it. Nothing blocking.

Findings

  • should-fix — laterDate detaches firstDomain's doc block from firstDomain (seeds/atlas/import.ts:1711).
  • should-fix — types.ts exists for a reason import type makes untrue; the sibling declares its row type in data.ts (ManagerContacts/types.ts:2).
  • consider — managerContacts now names two different sets of contact methods (src/fields/managerContactsField.ts:20).

What was checked

Read whole on the branch: Managers/access.ts, adminOnly.ts, regionSubtreeAccess.ts, stripLockedFieldsOnSelfRead.ts, session.ts, logField.ts, computeReviewFields.ts, all five ManagerContacts/ files.

Ladder, per new piece: tableColumn reused, not rebuilt; the per-row gate rides resolveManagedDocIds' request memo, so no query per row; relationId taken from documentManagers, as regionSubtreeAccess does.

Consumers: logField's user-submissions caller keeps the default read, and a client still fails eventContactsFieldAccess; createSession's only callers are redeem and magicLinks, so the stamp is a sign-in, not a refresh.

Preview answered 200, unauthenticated — no sign-in link here, and no region to render the table.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

Comment thread seeds/atlas/import.ts Resolved
Comment thread src/fields/managerContactsField.ts Resolved
@sydevs-bot sydevs-bot removed the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 10, 2026
@sydevs-bot sydevs-bot moved this from Working to Pending in SYDevelopers Technical Roadmap Nov 10, 2026
@sydevs-bot sydevs-bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 10, 2026
@sydevs-bot sydevs-bot moved this from Pending to Working in SYDevelopers Technical Roadmap Nov 10, 2026
`laterDate` landed between the block and the function it documents, so a
reader got the legacy-domain explanation above a date comparison.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVvfniXDQu4ThbSqXV
`import type` is erased, so the client table taking the row type from
`data.ts` pulls no server module into the browser bundle — the shape
`EventRegistrations` already has, where `RegistrationRow` is declared in its
own `data.ts`.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjVvfniXDQu4ThbSqXV
@railway-app
railway-app Bot temporarily deployed to sahajcloud / SahajCloud-pr-1105 November 10, 2026 23:15 Destroyed
@sydevs-bot

Copy link
Copy Markdown
Contributor

Two findings adopted, one rebutted. Pushed as 1d1d712.

The branch was already level with main, so there is no merge in this push.

Gate: lint, format, both typechecks, unit lane (255 files / 3459 tests). manager-contacts (13) and client-bundle-safety (120) pass on the new graph.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

@sydevs-bot sydevs-bot removed the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 10, 2026
@sydevs-bot sydevs-bot moved this from Working to Awaiting in SYDevelopers Technical Roadmap Nov 10, 2026
…scription

The table is now the `Description` of `Regions.managers` and `Events.manager`
rather than a `ui` field of its own: it renders the field's own description,
then the table, as `PermissionsTable` sits under `Managers.roles`. Both fields
also declare an empty `afterInput`, because Payload otherwise renders a
`Description` once and keeps it through a save, and the table would go on
listing the managers the page loaded with.

The last sign-in is one line, `2026/11/10 - 3 weeks ago`, in three states:
normal, red past six months, and a muted "Never".

Refs #908

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@railway-app
railway-app Bot temporarily deployed to sahajcloud / SahajCloud-pr-1105 November 11, 2026 00:28 Destroyed
@Ardnived

Copy link
Copy Markdown
Contributor Author

@sydevs-bot review

The contacts table moved under the field description (Description plus an empty afterInput, so it re-renders after a save), the ui field and managerContactsField are gone, and the last sign-in is one line, red past six months, with a muted "Never". Rebased on top of 1d1d712 and b4ae572: the row type stays in data.ts.

@sydevs-bot sydevs-bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 11, 2026
@sydevs-bot sydevs-bot moved this from Awaiting to Working in SYDevelopers Technical Roadmap Nov 11, 2026

@sydevs-bot sydevs-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧐 Adversarial review

Second look, on the restructure. It is a net reduction: managerContactsField and the ui field are gone, and the table now rides the picker's own Description. The shape I reviewed before is unchanged, so I judged only what moved.

I checked the load-bearing claim rather than taking it: renderField builds hasBeforeOrAfterInput from 'afterInput' in components, a key-presence test, so afterInput: [] does force the re-render. The ⚠ comments on both fields and in the spec are accurate, and the body's "three reads per form-state request" is the right reading of the cost. The same source shows path reaching the component through clientProps, so its extra prop is real, not a guess.

Nothing blocking. Two findings, both pieces that restate something already in reach.

Findings

  • should-fix — signInDay duplicates formatShortDate from the module this file already imports, under a reason that fits both (ManagerContacts/data.ts:76).
  • consider — the prop type and the description cast both rewrite types Payload exports (ManagerContacts/index.tsx:33).

What was checked

Read whole on the branch: all four ManagerContacts/ files, and the Regions.managers / Events.manager declarations.

Verified in node_modules, not inferred: renderField.js for the re-render test, RenderServerComponent for {...clientProps, ...serverProps}, FieldDescription (uses path for a class name only, so the '' fallback costs nothing), ServerComponentProps.field: Field.

Ladder: Table, FieldDescription, tableColumn, relationId, localeIsolatedReq, humanDurationSince all reused. Layout matches EventRegistrations/ as claimed.

Preview answered 200 unauthenticated, and nothing here gets past the admin gate, so I did not see the table.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

@sydevs-bot

Copy link
Copy Markdown
Contributor

Merged main (e543e6a). Three conflicts, all one fact: the unit lane's counts. #1106 and this branch each added a spec file, so neither side's number describes the merged tree. Measured instead — 256 files, 3468 tests. AGENTS.md states the file count too and merged clean at the stale 255, so it is corrected here.

main is red on tsc, for its own reason. #1108 split the clients name field into label and title; #1106 merged afterwards still reading name. Each was green on its own branch. scripts/challenge-mounts.ts, scripts/audit-challenge-parents.ts and their spec now read label, the internal name, since the audit is operator-facing. Separate commit, and it reverts cleanly.

Nothing else conflicted, and main added no migration, so the chain and its snapshot stand.

Lean gate green: lint, format, typecheck, typecheck:tests, 256 files / 3468 tests.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

@sydevs-bot sydevs-bot removed the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 11, 2026
@sydevs-bot sydevs-bot moved this from Working to Awaiting in SYDevelopers Technical Roadmap Nov 11, 2026
@sydevs-bot sydevs-bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 11, 2026
@sydevs-bot sydevs-bot moved this from Awaiting to Working in SYDevelopers Technical Roadmap Nov 11, 2026
…er-contacts

Four conflicts. Three are one fact again: the unit lane's file and test
counts, in docs/rules/testing-reqs.md, tests/AGENTS.md and tests/PERF.md.
main's #1102 and this branch each added a spec file since the seventh
merge, so neither side's number describes the merged tree. Measured
instead: 257 files, 3488 tests. AGENTS.md states the file count too and
merged clean at the stale 256, so it is corrected here —
tests/unit/perf-figures-pinned.spec.ts pins all four against the tree.

The fourth is an import line in src/plugins/login/invitations.ts, where
this branch added selfOrAdminFieldAccess and #1102 added capture. Both are
used, so both are kept.

main added no migration, so the chain and its snapshot stand as the seventh
merge left them.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjYptMd7SiHURhD6ufY
@railway-app
railway-app Bot temporarily deployed to sahajcloud / SahajCloud-pr-1105 November 11, 2026 16:14 Destroyed
@sydevs-bot

Copy link
Copy Markdown
Contributor

Merged main (f65c5d7) in. Four conflicts.

Three were the unit lane's counts, in docs/rules/testing-reqs.md, tests/AGENTS.md and tests/PERF.md. Both sides added a spec file since the last merge, so neither side's number described the merged tree. Re-measured instead: 257 files / 3488 tests. AGENTS.md states the file count too and merged clean at the stale 256, so it is corrected here — perf-figures-pinned.spec.ts pins all four against the tree.

The fourth was one import line in src/plugins/login/invitations.ts: this branch's selfOrAdminFieldAccess against #1102's capture. Both are used, so both are kept.

main added no migration, so the chain and its snapshot stand.

Lean gate green (257 files / 3488 tests). manager-invite.int.spec.ts: 26 passed.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

@sydevs-bot sydevs-bot removed the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 11, 2026
@sydevs-bot sydevs-bot moved this from Working to Awaiting in SYDevelopers Technical Roadmap Nov 11, 2026
@sydevs-bot sydevs-bot added the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 11, 2026
@sydevs-bot sydevs-bot moved this from Awaiting to Working in SYDevelopers Technical Roadmap Nov 11, 2026
…er-contacts

Both sides added a unit spec, so both sides had raised the unit-lane
counts from the same base and disagreed on the result. #1103 added
spawn-subscribe-consent.spec.ts (+1 file, +9 cases); this branch added
one (+1 file, +10 cases). Neither side's number describes the merged
tree, so the resolution is the merged measurement: 258 files / 3497
tests, confirmed by running the lane.

AGENTS.md auto-merged clean and then contradicted it, still reading 257
files. perf-figures-pinned.spec.ts is what catches that — PERF.md is the
single writer, and every consumer doc is checked against it.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjZ8PpWrARoFQGw4pkU
@railway-app
railway-app Bot temporarily deployed to sahajcloud / SahajCloud-pr-1105 November 11, 2026 17:00 Destroyed
@sydevs-bot

Copy link
Copy Markdown
Contributor

Merged main in. Three conflicts, all in docs, all the same figure: the unit-lane counts.

Both sides added a unit spec and raised the counts from the same base. #1103 added spawn-subscribe-consent.spec.ts (+1 file, +9 cases); this branch added one (+1, +10). So neither side's number described the merged tree. I ran the lane and wrote the measurement: 258 files / 3497 tests.

One thing the conflict markers did not show: AGENTS.md auto-merged clean and then contradicted the result, still reading 257 files. perf-figures-pinned.spec.ts caught it — PERF.md is the single writer, and every consumer doc is checked against it.

No semantic conflict in code. logField.ts auto-merged: #1103's hasLogEntryType is a pure addition, and this PR's read option is untouched. The two logs are different fields — the gate here is on Events.activityLog, #1103 writes UserSubmissions.activityLog.

Lean gate green: lint, format, typecheck, typecheck:tests, 258 files / 3497 tests passing.

🤖 Written by the sydevs autonomous loop — see what this is


Generated by Claude Code

@sydevs-bot sydevs-bot removed the bot:working Lock: a cloud session is running on this item. Removed when it ends. label Nov 11, 2026
@sydevs-bot sydevs-bot moved this from Working to Awaiting in SYDevelopers Technical Roadmap Nov 11, 2026
Ardnived and others added 2 commits November 11, 2026 10:30
The new comments were 44% of the PR's added source; cut to the why, keeping
every warning. The unit sweep over the Managers field locks repeated the
integration sweep, which reads the booted config and so already sees the
login plugin's columns and the base auth fields: the integration spec now
carries the non-vacuity check, and the unit spec keeps the
`selfOrAdminFieldAccess` cases. `stripLockedFieldsOnSelfRead` drops its
unselected-field skip, a shortcut that saved nothing once the hook ran on
the caller's own row alone. `MANAGER_PUBLIC_FIELDS` is no longer exported.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
f0f14eb moved the table into `afterInput`, which `Relationship/Input`
renders above the description. Under the description is where the owner
asked for it, as `roles` sits on Managers, so both fields register the
component as their `Description` again, with the empty `afterInput` that
re-renders it after a save. The component's docblock now says why the slot
is `Description`, so the next review can see the placement was chosen.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@railway-app
railway-app Bot temporarily deployed to sahajcloud / SahajCloud-pr-1105 November 11, 2026 17:31 Destroyed
@Ardnived
Ardnived merged commit 07f1248 into main Nov 11, 2026
9 checks passed
@Ardnived
Ardnived deleted the claude/feat-908-manager-contacts branch November 11, 2026 17:52
@sydevs-bot sydevs-bot moved this from Awaiting to Done in SYDevelopers Technical Roadmap Nov 11, 2026
sydevs-bot added a commit to sydevs/WeMeditateWeb that referenced this pull request Nov 11, 2026
sydevs-bot pushed a commit that referenced this pull request Nov 11, 2026
…idnight

The only conflicts were the unit-lane counts, which both sides had moved
from the same base: this branch to 258 / 3492 for its new app-card spec,
main to 258 / 3494 for #1105's manager-field-locks spec. Neither side is
right on the merged tree, which carries both specs.

Resolved to the measured merged figures, 259 files and 3499 tests, in
tests/PERF.md and the three docs that quote it. AGENTS.md conflicted on
neither side and still said 258 files, which perf-figures-pinned.spec.ts
counts off disk, so it is corrected here too.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjWtTrd1Ud9zsbd12tv
sydevs-bot pushed a commit that referenced this pull request Nov 11, 2026
All four conflicts were one fact: the unit lane's file and test counts.
Neither side was right on the merged tree. `main` added one spec (+7 cases)
in #1105; this branch added six (+53). Taking either side wholesale would
have reddened `perf-figures-pinned`, which counts the specs on disk.

Resolved by measuring the merged tree instead: 264 files, 3547 cases,
confirmed by the lane itself rather than by adding the two deltas.

PERF.md keeps its forty-eighth row at the 263 / 3540 that session measured
— a recorded measurement is not the current tree — and gains a forty-ninth
for this one.

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Mg9rjYZKEqwyKgc9kgfJ79

This branch was successfully deployed

No deployments
sahajcloud / SahajCloud-pr-1105 — 059cc42d Deployed Nov 11, 2026 by railway-app[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

fix(access): an event's activity log leaks a manager's contact details fix(access): atlas-managers read every manager's contact details

3 participants