From 1f974a9c5c484523e6bf5d41ffc7b9aa56a058f9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 28 Jan 2026 12:56:11 +0000 Subject: [PATCH 1/2] Initial plan From 05aabd7bd4bc95cad99e04a774a59c450444c9ee Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 28 Jan 2026 12:58:54 +0000 Subject: [PATCH 2/2] Fix backward compatibility: change JSON tag from reference_links to references Co-authored-by: techbuzzz <6938100+techbuzzz@users.noreply.github.com> --- cmd/server/main.go | 1 - internal/models/standup.go | 16 ++++++++-------- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/cmd/server/main.go b/cmd/server/main.go index dd15b3d..dbf6867 100644 --- a/cmd/server/main.go +++ b/cmd/server/main.go @@ -10,7 +10,6 @@ import ( "strings" "github.com/gorilla/mux" - "github.com/lib/pq" "github.com/rs/cors" a2aserver "github.com/techbuzzz/agent-shaker/internal/a2a/server" "github.com/techbuzzz/agent-shaker/internal/database" diff --git a/internal/models/standup.go b/internal/models/standup.go index b78f3b5..36f6ef1 100644 --- a/internal/models/standup.go +++ b/internal/models/standup.go @@ -12,12 +12,12 @@ type DailyStandup struct { AgentID uuid.UUID `json:"agent_id" db:"agent_id"` ProjectID uuid.UUID `json:"project_id" db:"project_id"` StandupDate time.Time `json:"standup_date" db:"standup_date"` - Did string `json:"did" db:"did"` // What I did yesterday - Doing string `json:"doing" db:"doing"` // What I'm doing today - Done string `json:"done" db:"done"` // What I plan to complete - Blockers string `json:"blockers" db:"blockers"` // Any blockers - Challenges string `json:"challenges" db:"challenges"` // Current challenges - ReferenceLinks string `json:"reference_links" db:"reference_links"` // Links, docs, etc. + Did string `json:"did" db:"did"` // What I did yesterday + Doing string `json:"doing" db:"doing"` // What I'm doing today + Done string `json:"done" db:"done"` // What I plan to complete + Blockers string `json:"blockers" db:"blockers"` // Any blockers + Challenges string `json:"challenges" db:"challenges"` // Current challenges + ReferenceLinks string `json:"references" db:"reference_links"` // Links, docs, etc. CreatedAt time.Time `json:"created_at" db:"created_at"` UpdatedAt time.Time `json:"updated_at" db:"updated_at"` } @@ -32,7 +32,7 @@ type CreateStandupRequest struct { Done string `json:"done"` Blockers string `json:"blockers"` Challenges string `json:"challenges"` - ReferenceLinks string `json:"reference_links"` + ReferenceLinks string `json:"references"` } // UpdateStandupRequest represents a request to update a daily standup @@ -42,7 +42,7 @@ type UpdateStandupRequest struct { Done string `json:"done"` Blockers string `json:"blockers"` Challenges string `json:"challenges"` - ReferenceLinks string `json:"reference_links"` + ReferenceLinks string `json:"references"` } // StandupWithAgent extends DailyStandup with agent information