Skip to content

Commit 274d816

Browse files
committed
docs: update GitHub audit
1 parent 5551e18 commit 274d816

1 file changed

Lines changed: 19 additions & 19 deletions

File tree

reports/github-audit.md

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,30 +5,30 @@ Generated: 2026-09-06 (America/Lima)
55
## Environment
66

77
- Git: `2.55.0.windows.5`
8-
- GitHub CLI: not installed or not available on `PATH`; `gh --version` and `gh auth status` could not run.
9-
- Git identity in the parent workspace: `DSRP Ops <panel@local>`.
8+
- GitHub CLI: installed and authenticated as `Cuica20` through the system keyring.
9+
- GitHub token scopes verified: `gist`, `read:org`, `repo`, `workflow`.
10+
- Viewer role for `DataScienceResearchPeru/ai-community`: `ADMIN`.
1011

11-
## Detected repository
12+
## Detected repository and organization
1213

13-
- `https://github.com/DataScienceResearchPeru/ai-community.git` responded successfully to `git ls-remote` but has no refs, indicating an empty repository at audit time.
14-
- The local clone was created only after the read-only audit, on branch `feature/community-foundation`.
15-
16-
## Unknown until GitHub CLI is available
17-
18-
- Authenticated user and token scopes
19-
- Organization membership and role
20-
- Related DSRP repositories
21-
- Existing teams and permissions
22-
- Repository plan and branch-protection capabilities
14+
- Repository: `DataScienceResearchPeru/ai-community`.
15+
- Visibility: private. Description and topics are empty.
16+
- Issues are enabled; Discussions are disabled.
17+
- Default branch: `feature/community-foundation`; `main` does not yet exist.
18+
- The pushed foundation commit is `5551e18` on `origin/feature/community-foundation`.
19+
- Organization: `DataScienceResearchPeru`, plan `free`, 106 public repositories and 6 private repositories.
20+
- Existing team: `dsrp-github-team` (closed). The proposed `community`, `mentors`, and `maintainers` teams do not exist.
21+
- Related repositories include `AI_Curriculum`, `Semilleros-DSRP`, `Retos`, `GithubParticipantes`, `rules`, and many public learning repositories.
2322

2423
## Risks
2524

26-
- GitHub administration cannot be safely inspected or automated without `gh` authentication.
27-
- Existing GitHub settings may exist even though the repository is empty; do not overwrite them.
25+
- GitHub's API rejects branch protection for this private repository on the Free plan. It must be public before protections for `main` can be applied.
26+
- Changing public visibility exposes all current and future repository content. Review the branch before making that change.
27+
- Making `main` the default branch requires first creating it from the reviewed foundation commit. The existing feature branch should be retained until the transition is confirmed.
2828

2929
## Recommendations and proposed actions
3030

31-
1. Install GitHub CLI and run `gh auth status`.
32-
2. Run `scripts/github/audit-github.sh` with `GITHUB_ORG=DataScienceResearchPeru`.
33-
3. Review `scripts/github/*.sh --dry-run` before any remote change.
34-
4. Confirm the organization plan before designing an exact branch protection rule payload.
31+
1. Review the foundation branch, then create `main` from commit `5551e18` and set it as the default branch.
32+
2. Change the repository to public, add the approved description and topics, and enable Discussions.
33+
3. Create the three proposed teams only if desired; do not modify `dsrp-github-team`.
34+
4. Once public, recheck branch-protection availability and apply the reviewed rule for `main`.

0 commit comments

Comments
 (0)