Repository navigation
Fix Directory Logic issues - #360
Merged
Merged
Conversation
SharonStrats
force-pushed
the
fix/friends
branch
3 times, most recently
from
November 21, 2026 19:10
f8cffa8 to
a4639c1
Compare
SharonStrats
marked this pull request as ready for review
December 1, 2026 19:13
SharonStrats
force-pushed
the
fix/friends
branch
from
December 1, 2026 19:37
97e699d to
edf7d81
Compare
This was
linked to
issues
Dec 1, 2026
Co-authored-by: GPT-5.6 Luna <gpt-5.6-luna@openai.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
SharonStrats
force-pushed
the
fix/friends
branch
from
December 2, 2026 00:52
edf7d81 to
7cf000d
Compare
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The WebID name fallback mishandles /profile/card.ttl#me, producing card.ttl instead of the account name and excluding friends without stored names from account-name searches.
1 open issue
What changed in this PR
Improves SolidOS directory discovery so people without stored names can appear in searches, and adds atomic container-access swaps.
Changes:
- Expands directory labels, URI fallbacks, and friend-discovery coverage.
- Corrects private type-index lookup.
- Adds ACL scope swapping and updates the package version.
| File | Description |
|---|---|
| test/resourceLogic.test.ts | Adds the ACL swap mock. |
| test/directoryLogic.test.ts | Tests public contacts and label handling. |
| test/aclLogic.test.ts | Tests scope swaps and condition preservation. |
| src/types.ts | Exposes the ACL swap API. |
| src/typeIndex/typeIndexLogic.ts | Reads private-index links from preferences. |
| src/directory/friendsDirectory.ts | Includes unnamed friends and simplifies deduplication. |
| src/directory/friendsDirectory.test.ts | Tests unnamed friends, nicknames, and cycles. |
| src/directory/directoryHelpers.ts | Expands label selection and URI normalization. |
| src/acl/aclLogic.ts | Implements atomic folder/content access swaps. |
| package.json | Bumps the prerelease version. |
| package-lock.json | Updates version metadata and enhanced-resolve. |
Review effort: Balanced
Refactor fallbackLabel function to clean up URI. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Fix directory discovery and container ACL update issues affecting SolidOS access management.
Changes
Directory and friend discovery
Private type indexes
solid:privateTypeIndexfrom the preferences document graph, where it is stored.Container ACL updates
Controlbefore revoking the current owner.