Resync hq ADR references 0044-0054 -> 0039-0049 after the hq record reconciliation
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// The Gitea API client — gitea's own code, living in the module (novox/hq ADR 0044). Moved out of
|
||||
// The Gitea API client — gitea's own code, living in the module (novox/hq ADR 0039). Moved out of
|
||||
// the shared hal sdk, where a change to Gitea's API rebuilt everything; here it rebuilds only
|
||||
// gitea. Both this module's tools and its events entrypoint import it, and nothing outside gitea
|
||||
// does.
|
||||
@@ -44,7 +44,7 @@ export interface GiteaLabel {
|
||||
name: string;
|
||||
}
|
||||
|
||||
/** The settings-merged config the mesh delivers (novox/hq ADR 0051): { url, apiKey, token, password, user, ... }. */
|
||||
/** The settings-merged config the mesh delivers (novox/hq ADR 0046): { url, apiKey, token, password, user, ... }. */
|
||||
function meshConfig(file?: string): Record<string, string> {
|
||||
if (!file) return {};
|
||||
try { return JSON.parse(readFileSync(file, "utf8")) as Record<string, string>; }
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// gitea's events. The tool runtime imports this once the broker is bound. It watches the forge and
|
||||
// emits what appeared.
|
||||
//
|
||||
// Emits (novox/hq ADR 0046/0047):
|
||||
// Emits (novox/hq ADR 0041/0042):
|
||||
// module.gitea.repo.created — a repository appeared, however it was made (push, web UI, or tool)
|
||||
//
|
||||
// issue.opened and pull.merged are emitted from the tools (tools/index.ts), at the instant the mesh
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "@novox/module-gitea",
|
||||
"version": "0.1.0",
|
||||
"description": "gitea — git hosting. Its API client, tools and events live here (novox/hq ADR 0044).",
|
||||
"description": "gitea — git hosting. Its API client, tools and events live here (novox/hq ADR 0039).",
|
||||
"type": "module",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// gitea's tools — moved here from the shared sdk (novox/hq ADR 0044), importing gitea's own client.
|
||||
// gitea's tools — moved here from the shared sdk (novox/hq ADR 0039), importing gitea's own client.
|
||||
// They return structured data; the mesh serves them through the sdk's tool harness.
|
||||
//
|
||||
// Two tools emit an event at the natural point of the action they take (novox/hq ADR 0046/0047):
|
||||
// Two tools emit an event at the natural point of the action they take (novox/hq ADR 0041/0042):
|
||||
// create-issue emits issue.opened, merge-pull-request emits pull.merged — the mesh's own hand on
|
||||
// the forge, announced the instant it moves. repo.created is deliberately NOT emitted here: repos
|
||||
// are far more often born from a `git push` or the web UI than from this tool, so the events
|
||||
|
||||
Reference in New Issue
Block a user